Team Fortress 2
Rocket jump script
hi...i want to learn how to rocket jump and i need a script that when i'm in the air i can't press W
until i'm on a wall or something like that...

sry for my english :P and ty
< >
Showing 1-7 of 7 comments
I'm afraid that's not possible, as scripting in TF2 does not have "If then" statements like traditional programming does. You'll just have to teach yourself to not press W while rocket jumping.
piruk May 2, 2014 @ 11:39am 
I don't think this is possible, since you're trying to make the script do x if y happens.
Just stick with it and you will have no problem rocketjumping.
You won't even touch that key.
Salty May 2, 2014 @ 12:34pm 
Git gud
[TRU3]Mr.Wolfy May 3, 2014 @ 2:49am 
ty :D
Salty May 3, 2014 @ 6:49am 
Actually, if you want to practice, you can use this config on your private server:

//Personal portable regen for offline jumping!
sv_cheats 1
sv_allow_wait_command 1

wait 5;ent_fire !self addoutput "targetname player_me"
wait 5;ent_fire func_regenerate addoutput "classname func_regenerate_temp"
wait 5;ent_fire info_target addoutput "classname info_target_temp"

wait 10;give info_target
wait 10;give func_regenerate

wait 20;ent_fire info_target addoutput "targetname mytarget"
wait 20;ent_fire func_regenerate addoutput "StartDisabled 1"
wait 20;ent_fire func_regenerate addoutput "mins -100 -100 -100"
wait 20;ent_fire func_regenerate addoutput "maxs 100 100 100"
wait 30;ent_fire func_regenerate addoutput "solid 2"
wait 30;ent_fire func_regenerate addoutput "spawnflags 1"

wait 31;ent_fire info_target setparent player_me
wait 33;ent_fire func_regenerate setparent mytarget
wait 35;ent_fire func_regenerate enable

Just make a *.cfg file in
team fortress 2/tf/cfg
name it whatever you want and use on your server via "exec cfgname.cfg"
Good luck.
[TRU3]Mr.Wolfy May 3, 2014 @ 10:52am 
ty very much :D
< >
Showing 1-7 of 7 comments
Per page: 15 30 50

Date Posted: May 2, 2014 @ 9:11am
Posts: 7