Mr. May Soldier Statue Prefab V1
Honor the Fallen
Now you can honor the fallen in a similar fashion to TF2's month of May event.
Here's a use I found for tf_logic_on_holiday to spawn the Mr. May statue only during holidays.
Let's say you want to place this statue in your map, but you don't want it to interfere with gameplay or maybe you don't want the level to feel somber. There is no holiday event for May (yet), so the closest I chose was TFBirthday (August 24th) to spawn the statue on. But you can adjust this to any other holiday like Smissmas or Full Moons for instance.
This download includes:
- A soldier_statue entity prefab, matching the official use with spoken voice lines
- logic_auto to automatically enable the statue on your map during TF's birthday (by default)
- nav_blocker to be bot-friendly (make sure you split your nav squares to fit the statue's placement)
- Comments on entities to assist explaining them
Other notes:
For debugging purposes, you can enter into your console "tf_forced_holiday 1" to enable birthday mode before launching your map to see the statue. More holiday commands can be found here on the TF wiki.This entity is preserved! Killing it will remove it from the world and will not respawn on a new round.
This entity is not in the base FGD by default and will not appear in your editor unless you've defined it in your own FGD. You can optionally copy+paste the spoiler code into your own FGD to see the statue.
@PointClass base(Targetname, Parentname, Angles, RenderFields) studio("models/soldier_statue/soldier_statue.mdl") = entity_soldier_statue : "Rick May Soldier Statue"
[
skin(integer) : "Skin" : 0 : "Some models have multiple versions of their textures, called skins. Set this to a number other than 0 to use that skin instead of the default."
modelscale(float) : "Model Scale" : "1.0" : "A multiplier for the size of the model."
disableshadows(choices) : "Disable Shadows" : 0 : "Used to disable dynamic shadows on this entity." =
[
0 : "No"
1 : "Yes"
]
// Inputs
input Skin(integer) : "Changes the model skin to the specified number."
input DisableShadow(void) : "Turn shadow off."
input EnableShadow(void) : "Turn shadow on."
input AlternativeSorting(bool) : "Used to attempt to fix sorting problems when rendering. True activates, false deactivates"
input SetModelScale(string) : "Takes two values separated by a space. The first is the target model scale. The second value is the number of seconds the change in scale will be spread over."
// Outputs
output OnIgnite(void) : "Fired when this object catches fire."
]
[
skin(integer) : "Skin" : 0 : "Some models have multiple versions of their textures, called skins. Set this to a number other than 0 to use that skin instead of the default."
modelscale(float) : "Model Scale" : "1.0" : "A multiplier for the size of the model."
disableshadows(choices) : "Disable Shadows" : 0 : "Used to disable dynamic shadows on this entity." =
[
0 : "No"
1 : "Yes"
]
// Inputs
input Skin(integer) : "Changes the model skin to the specified number."
input DisableShadow(void) : "Turn shadow off."
input EnableShadow(void) : "Turn shadow on."
input AlternativeSorting(bool) : "Used to attempt to fix sorting problems when rendering. True activates, false deactivates"
input SetModelScale(string) : "Takes two values separated by a space. The first is the target model scale. The second value is the number of seconds the change in scale will be spread over."
// Outputs
output OnIgnite(void) : "Fired when this object catches fire."
]
- License
- Free to use and modify.