Upvote Upvoted 17 Downvote Downvoted
Statues Script (Model Spawner)
posted in Customization
1
#1
0 Frags +

Statues.cfg is a model spawner script that can spawn a variety of models. Its main purpose is to aid mentors and coaches in map reviewing.
The original script was made by Q. Thanks to M17 for showing me it and FlipFTW providing me with more of the pieces.
The original script had some aliases and intended functionality that did not work. I've fixed it up as much as possible to what I believe was the original intent, as well as added some new functionality and cleaned up the file a bit.

List of models you can spawn:

  • All 9 classes, RED and BLU variant
  • RED and BLU stickies (these appear larger so they can be spotted easily from a bird's eye view)
  • RED and BLU sentries
  • RED sticky jumper stickies (these appear larger so they can be spotted easily from a bird's eye view)
  • "Highlight" effect; It's the white moving particle effect shown here around the door

Installation Method 1:

Place statues.cfg wherever you keep custom cfgs.
Next, create a folder and name it "statues". Inside this "statues" folder, create three cfg files as listed below with code as follows:
red.cfg:

ent_fire red_* addoutput "skin 0"

blu.cfg:

ent_fire blu_* addoutput "skin 1"

big_sticky.cfg:

ent_fire red_sticky_statue addoutput "modelscale 3"
ent_fire blu_sticky_statue addoutput "modelscale 3"
ent_fire jump_sticky addoutput "modelscale 3"

Go to line 36, 37, and 38 in statues.cfg, and change the location of these files to the correct path so statues.cfg can execute them.

Installation Method 2:
Alternatively, download my TF2 settings repository on Github (click green Code button, download ZIP), go to cfg/overrides/, take statues.cfg and the folder statues, and throw them in where you keep your cfgs. Correct the lines 36-38 as stated above.

Regardless, it should end up something like this:

https://i.imgur.com/DC7e70H.png

Usage:
Execute it as you would any other script; the console will then be cleared and a list of the current binds and aliases for the script will show up for ease of use.

It is highly recommended you have a script to reset your binds to your preferred keys already installed, as this script will change them.

[b]Statues.cfg[/b] is a model spawner script that can spawn a variety of models. Its main purpose is to aid mentors and coaches in map reviewing.
The original script was made by [url=https://rgl.gg/Public/PlayerProfile.aspx?p=76561198302747796&r=24]Q[/url]. Thanks to M17 for showing me it and FlipFTW providing me with more of the pieces.
The original script had some aliases and intended functionality that did not work. I've fixed it up as much as possible to what I believe was the original intent, as well as added some new functionality and cleaned up the file a bit.

List of models you can spawn:
[list]
[*] All 9 classes, RED and BLU variant
[*] RED and BLU stickies (these appear larger so they can be spotted easily from a bird's eye view)
[*] RED and BLU sentries
[*] RED sticky jumper stickies (these appear larger so they can be spotted easily from a bird's eye view)
[*] "Highlight" effect; [url=https://www.youtube.com/watch?v=78iFQwrCykQ&t=92s]It's the white moving particle effect shown here around the door[/url]
[/list]

[h]Installation Method 1:[/h]

Place [url=https://raw.githubusercontent.com/blakeplusplus/tf2plusplus/main/cfg/overrides/statues.cfg]statues.cfg[/url] wherever you keep custom cfgs.
Next, create a folder and name it "statues". Inside this "statues" folder, create three cfg files as listed below with code as follows:
[b]red.cfg:[/b]
[code]ent_fire red_* addoutput "skin 0"[/code]
[b]blu.cfg:[/b]
[code]ent_fire blu_* addoutput "skin 1"[/code]
[b]big_sticky.cfg:[/b]
[code]ent_fire red_sticky_statue addoutput "modelscale 3"
ent_fire blu_sticky_statue addoutput "modelscale 3"
ent_fire jump_sticky addoutput "modelscale 3"[/code]


Go to line 36, 37, and 38 in statues.cfg, and change the location of these files to the correct path so statues.cfg can execute them.

[h]Installation Method 2:[/h]
Alternatively, download my [url=https://github.com/blakeplusplus/tf2plusplus]TF2 settings repository on Github[/url] (click green Code button, download ZIP), go to cfg/overrides/, take statues.cfg and the folder statues, and throw them in where you keep your cfgs. Correct the lines 36-38 as stated above.

Regardless, it should end up something like this:
[img]https://i.imgur.com/DC7e70H.png[/img]

[h]Usage:[/h]
Execute it as you would any other script; the console will then be cleared and a list of the current binds and aliases for the script will show up for ease of use.

It is highly recommended you have a script to reset your binds to your preferred keys already installed, as this script will change them.
2
#2
RGL.gg
6 Frags +

Q is the coaching goat. thanks for fixing this up :D

Q is the coaching goat. thanks for fixing this up :D
3
#3
0 Frags +

thanks czarchasmo my glorious team leader

thanks czarchasmo my glorious team leader
4
#4
1 Frags +

seems quicker to use than the previous web based tools that allowed to put class icons over map pictures, well done

seems quicker to use than the previous web based tools that allowed to put class icons over map pictures, well done
5
#5
3 Frags +

I screwed up and put in a last-minute change to some aliases but forgot to replicate the changes across the whole file. As a result, the kill_ alias does not work. It's a pretty simple fix, but regardless, be sure to update your statues.cfg with the one in the OP so your alias will work.

You can see the specific changes here.

I screwed up and put in a last-minute change to some aliases but forgot to replicate the changes across the whole file. As a result, the kill_ alias does not work. It's a pretty simple fix, but regardless, be sure to update your statues.cfg with the one in the OP so your alias will work.

You can see the specific changes [url=https://github.com/czarchasm00/tf2-czettings/commit/9ca8b69c8d30dcd0325c529d479c3955dcd122b4]here.[/url]
6
#6
2 Frags +

Minor update:

I've added an option to clear the "highlight" effects. This update only affects the main file, statues.cfg.

You can see the specific changes here.

Minor update:

I've added an option to clear the "highlight" effects. This update only affects the main file, statues.cfg.

You can see the specific changes [url=https://github.com/czarchasm00/tf2-czettings/commit/78ecfac06b1acfda7a040ec279986e387b7404f9]here.[/url]
7
#7
2 Frags +

Valve broke "setinfo" in a recent update, which caused aliases to break. I don't really know of a way around this so I've just removed it.

setinfo was used to allow suggestions to work in console as well as provide quick descriptions for aliases. It was just a QoL thing, so no real functionality removed from the script. I've tested it and everything seems to work fine now.

If anyone knows of a way to get setinfo working again with aliases, let me know

Valve broke "setinfo" in a recent update, which caused aliases to break. I don't really know of a way around this so I've just removed it.

setinfo was used to allow suggestions to work in console as well as provide quick descriptions for aliases. It was just a QoL thing, so no real functionality removed from the script. I've tested it and everything seems to work fine now.

If anyone knows of a way to get setinfo working again with aliases, let me know
Please sign in through STEAM to post a comment.