Upvote Upvoted 17 Downvote Downvoted
Forward spawn script with item presets
posted in Customization
1
#1
0 Frags +

Banned in esea, ozfortress and asiafortress if used to keep the uber and/or move spawns more info in comments from people that actually play in these leagues.
I've written a little forwards respawn script for myself which also takes item presets into account and preserves it between switching classes and changing servers NOT if you restart game, every time you launch game you will be back on with item_preset 0 on respawn key press, if you know any way of saving it between game launches let me know ;)

When you press f or any desired key on your keyboard in spawn area you will respawn with appropriate item preset and with full heath and ammo. The numpad keys 1-4 are used to change the presets. The script will break and won't work when there's no connection to item servers.

autoexec

alias scout_lp "load_itempreset 0"
alias soldier_lp "load_itempreset 0"
alias pyro_lp "load_itempreset 0"
alias demo_lp "load_itempreset 0"
alias heavy_lp "load_itempreset 0"
alias engi_lp "load_itempreset 0"
alias med_lp "load_itempreset 0"
alias sniper_lp "load_itempreset 0"
alias spy_lp "load_itempreset 0"

alias scout_lp0 "load_itempreset 0"
alias soldier_lp0 "load_itempreset 0"
alias pyro_lp0 "load_itempreset 0"
alias demo_lp0 "load_itempreset 0"
alias heavy_lp0 "load_itempreset 0"
alias engi_lp0 "load_itempreset 0"
alias med_lp0 "load_itempreset 0"
alias sniper_lp0 "load_itempreset 0"
alias spy_lp0 "load_itempreset 0"

bind "kp_end" "item_preset_0"
bind "kp_downarrow" "item_preset_1"
bind "kp_pgdn" "item_preset_2"
bind "kp_leftarrow" "item_preset_3"

class configs

bind "f" "scout_lp"

alias item_preset_0 "echo Item preset 0; alias scout_lp "load_itempreset 0";load_itempreset 0"
alias item_preset_1 "echo Item preset 1; alias scout_lp "load_itempreset 1";load_itempreset 1"
alias item_preset_2 "echo Item preset 2; alias scout_lp "load_itempreset 2";load_itempreset 2"
alias item_preset_3 "echo Item preset 3; alias scout_lp "load_itempreset 3";load_itempreset 3"

scout_lp0

alias scout_lp0 ""

Replace scout with appropriate class name.
It's really simple but helps me a lot.
I hope someone else besides me finds this useful.

[i]Banned in esea, ozfortress and asiafortress if used to keep the uber and/or move spawns[/i] more info in comments from people that actually play in these leagues.
I've written a little forwards respawn script for myself which also takes item presets into account and preserves it between switching classes and changing servers NOT if you restart game, every time you launch game you will be back on with item_preset 0 on respawn key press, [b]if you know any way of saving it between game launches let me know ;)[/b]

When you press f or any desired key on your keyboard in spawn area you will respawn with appropriate item preset and with full heath and ammo. The numpad keys 1-4 are used to change the presets. The script will break and won't work when there's no connection to item servers.

[b]autoexec[/b]
[code]alias scout_lp "load_itempreset 0"
alias soldier_lp "load_itempreset 0"
alias pyro_lp "load_itempreset 0"
alias demo_lp "load_itempreset 0"
alias heavy_lp "load_itempreset 0"
alias engi_lp "load_itempreset 0"
alias med_lp "load_itempreset 0"
alias sniper_lp "load_itempreset 0"
alias spy_lp "load_itempreset 0"

alias scout_lp0 "load_itempreset 0"
alias soldier_lp0 "load_itempreset 0"
alias pyro_lp0 "load_itempreset 0"
alias demo_lp0 "load_itempreset 0"
alias heavy_lp0 "load_itempreset 0"
alias engi_lp0 "load_itempreset 0"
alias med_lp0 "load_itempreset 0"
alias sniper_lp0 "load_itempreset 0"
alias spy_lp0 "load_itempreset 0"

bind "kp_end" "item_preset_0"
bind "kp_downarrow" "item_preset_1"
bind "kp_pgdn" "item_preset_2"
bind "kp_leftarrow" "item_preset_3"
[/code]
[b]class configs[/b]
[code]bind "f" "scout_lp"

alias item_preset_0 "echo Item preset 0; alias scout_lp "load_itempreset 0";load_itempreset 0"
alias item_preset_1 "echo Item preset 1; alias scout_lp "load_itempreset 1";load_itempreset 1"
alias item_preset_2 "echo Item preset 2; alias scout_lp "load_itempreset 2";load_itempreset 2"
alias item_preset_3 "echo Item preset 3; alias scout_lp "load_itempreset 3";load_itempreset 3"

scout_lp0

alias scout_lp0 ""[/code]
[i]Replace scout with appropriate class name.[/i]
It's really simple but helps me a lot.
I hope someone else besides me finds this useful.
2
#2
whitelist.tf
18 Frags +

Also banned in ozfortress when used to maintain ubercharge when switching spawns.

Also banned in ozfortress when used to maintain ubercharge when switching spawns.
3
#3
8 Frags +

Also banned in asiafortress

Also banned in asiafortress
4
#4
40 Frags +

thank god etf2l doesn't say anything about this, right?

https://cdn.frankerfacez.com/emoticon/130762/4

thank god etf2l doesn't say anything about this, right?
[img]https://cdn.frankerfacez.com/emoticon/130762/4[/img]
5
#5
10 Frags +

pretty sure this is also allowed in ESEA and asiafortress, as long as you don't preserve your ubercharge, as mentioned by Wiethoofd

pretty sure this is also allowed in ESEA and asiafortress, as long as you don't preserve your ubercharge, as mentioned by Wiethoofd
6
#6
-3 Frags +

Wasn't it the backspawning on badlands that is banned in ESEA?

Wasn't it the backspawning on badlands that is banned in ESEA?
7
#7
2 Frags +

This is only banned in esea if you are a medic and use it to maintain uber while back/forward spawning. Not sure if it works with soldier banners/any other charge mechanics and not sure how esea rules would treat it but I'd assume that would also be against the rules.

If you don't want to do all the scripting these binds can all be set under keyboard options. A class switch bind is better for forward/back spawning or critical heal resups because it doesn't rely on the item server. However this script is useful if you are a medic on last who needs to resup quickly without losing uber.

This is only banned in esea if you are a medic and use it to maintain uber while back/forward spawning. Not sure if it works with soldier banners/any other charge mechanics and not sure how esea rules would treat it but I'd assume that would also be against the rules.

If you don't want to do all the scripting these binds can all be set under keyboard options. A class switch bind is better for forward/back spawning or critical heal resups because it doesn't rely on the item server. However this script is useful if you are a medic on last who needs to resup quickly without losing uber.
8
#8
2 Frags +
JojoNot sure if it works with soldier banners/any other charge mechanics

It resets banner charge.

[quote=Jojo]Not sure if it works with soldier banners/any other charge mechanics[/quote]
It resets banner charge.
9
#9
2 Frags +

it's legal in esea. it was in the rules a while back and disappeared without any word sometime around s20

it's legal in esea. it was in the rules a while back and disappeared without any word sometime around s20
10
#10
14 Frags +

Closest thing I could find on the ESEA rules:

  • Exploits will be judged on a case by case basis. Ignorance will NOT be a valid excuse for using an exploit, whether it be known or not. If you think something is possibly an exploit, or you are unsure as to whether or not it is, don't do it!

Thanks ESEA I guess you'll just flip a coin or something

Closest thing I could find on the [url=https://play.esea.net/index.php?s=content&d=league_rules_TF2]ESEA rules[/url]:

[list]
[*] Exploits will be judged on a case by case basis. Ignorance will NOT be a valid excuse for using an exploit, whether it be known or not. If you think something is possibly an exploit, or you are unsure as to whether or not it is, don't do it!
[/list]

Thanks ESEA I guess you'll just flip a coin or something
11
#11
0 Frags +

the unwritten rule for esea is that you can use it as long as youre not a medic

the unwritten rule for esea is that you can use it as long as youre not a medic
12
#12
7 Frags +

What's the point of banning g this. It's part of the game since the loadouts came out. Anyone can do it with a simple script, it's not even a script it's a bind

What's the point of banning g this. It's part of the game since the loadouts came out. Anyone can do it with a simple script, it's not even a script it's a bind
13
#13
9 Frags +
maxc232What's the point of banning g this. It's part of the game since the loadouts came out. Anyone can do it with a simple script

you dont even have to script, it's in the keyboard bindings in the game options

[quote=maxc232]What's the point of banning g this. It's part of the game since the loadouts came out. Anyone can do it with a simple script[/quote]
you dont even have to script, it's in the keyboard bindings in the game options
14
#14
1 Frags +
degumaxc232What's the point of banning g this. It's part of the game since the loadouts came out. Anyone can do it with a simple scriptyou dont even have to script, it's in the keyboard bindings in the game options

the difference is this way it keeps your current loadout
i.e., no matter which preset you are currently using you can hit the button and respawn with that same loadout

[quote=degu][quote=maxc232]What's the point of banning g this. It's part of the game since the loadouts came out. Anyone can do it with a simple script[/quote]
you dont even have to script, it's in the keyboard bindings in the game options[/quote]
the difference is this way it keeps your current loadout
i.e., no matter which preset you are currently using you can hit the button and respawn with that same loadout
15
#15
0 Frags +

you are awsome thank you

you are awsome thank you
16
#16
2 Frags +

UPDATE: script now resets loadout preset back to 0 every time you pick the class for the first time after game launch

UPDATE: script now resets loadout preset back to 0 every time you pick the class for the first time after game launch
17
#17
RGL.gg
0 Frags +

I am actually so happy that this particular script exists because it helps me tremendously. Thank you!

I am actually so happy that this particular script exists because it helps me tremendously. Thank you!
18
#18
0 Frags +

But why not just press the load out button that you're already using? This changes your spawn as well, so it seems a bit pointless

But why not just press the load out button that you're already using? This changes your spawn as well, so it seems a bit pointless
19
#19
4 Frags +
MouldBut why not just press the load out button that you're already using? This changes your spawn as well, so it seems a bit pointless

the point of this script is that you don't have to, just one key for all 4 presets, also in situations when you can't hesitate, you can't think what preset you're using (especially on medic) and you need to refill your health you don't want to risk missclicking/remembering wrong preset and losing 97 % uber to 0 % kritz

[quote=Mould]But why not just press the load out button that you're already using? This changes your spawn as well, so it seems a bit pointless[/quote]
the point of this script is that you don't have to, just one key for all 4 presets, also in situations when you can't hesitate, you can't think what preset you're using (especially on medic) and you need to refill your health you don't want to risk missclicking/remembering wrong preset and losing 97 % uber to 0 % kritz
20
#20
-1 Frags +

It is to be noticed that it only works with tf_respawn_on_loadoutchanges "1"

It is to be noticed that it only works with tf_respawn_on_loadoutchanges "1"
21
#21
1 Frags +
if you know any way of saving it between game launches let me know

made just that, thread here :)

[quote]if you know any way of saving it between game launches let me know[/quote]
made just that, thread [url=https://www.teamfortress.tv/55661/improved-resup-bind-and-loadout-specific-settings]here[/url] :)
Please sign in through STEAM to post a comment.