Halloween Crit Pumpkin pickup

WhyNott

L1: Registered
Oct 21, 2012
27
1
Hi. In my map, I wanted to give intel carrier crit boost. I dont know if this can be done other way, but I figured out that I can use these for this purpose:

110px-Pumpkin.png


For all I know, they are pickups that gives people crits for a few seconds if they pick them up. So I could make use of env_entity_maker and spawn them exactly at intel's postion every few seconds when the flag is up.


Exept I don't know the entity names. I checked out everything in "Dynamically spawned entities" on developer.valvesoftware.com, and there is nothing that sounds like "item_crit_pumpkin_event". Of course, this is no evidence since the entity list clearly lacks a few other entities that has benn proven to exist in TF2, but I realy dont know if that entity will work outside of halloween mode. So, anyone knows how that thing is called?
 

Yacan1

D I G I T A L I N F L U E N C E R
aa
Nov 7, 2010
411
793
I don't think you can really force it. I've heard of people configuring their server to have 24/7 Halloween mode on. I believe they only are dropped during Halloween anyway.

Also, a crit boost to the intel carrier isn't really going to do much considering the boost is only 3 seconds or so. Unless your map is Halloween themed, a pumpkin drop would look pretty out of the ordinary. An intel carrier might prefer health over crit boost, try out different ammo/health drops near by.
 

WhyNott

L1: Registered
Oct 21, 2012
27
1
For all I know, they are pickups that gives people crits for a few seconds if they pick them up. So I could make use of env_entity_maker and spawn them exactly at intel's postion every few seconds when the flag is up.

The idea is that these pickups will apear exactly at carirers position, so no one will even see them - they will disappear instantly.

However, they NEED to have entity name. Of any sort. And if they have one... Well, they can be spowned. Of course it might just crash the server, but whatever.
 

WhyNott

L1: Registered
Oct 21, 2012
27
1
Okay, this is creepy. They are not affected by impulse 106, nor by ent_remove. HOW
 

tyler

aa
Sep 11, 2013
5,102
4,621
They are a hard coded drop that Valve turns on and off. There's no changing or affecting it without plugins.
 

WhyNott

L1: Registered
Oct 21, 2012
27
1
They are a hard coded drop that Valve turns on and off. There's no changing or affecting it without plugins.

They can be forced to spawn by "tf_forced_holiday 2" command. But anyway, there is realy no way to give people crits?
 

Egan

aa
Feb 14, 2010
1,375
1,721
Only way i can think of would be to use the "addcond 11" client command... Which of course requires cheats to be enabled.

I would find it peculiar if there was no way to do such a seemingly simple thing.

There is a plugin that does this so the server doesn't need sv_cheats on. I used it in a map of mine with no troubles. Here is some guy's repost of it because there was no official thread: https://forums.alliedmods.net/showthread.php?p=1816239