Forums

Pages: [1]
Author Topic: Save/Teleport for local server  (Read 1508 times)
Maggot
*

Posts: 34
wasted a long time on this until i realized valve added a command to easily set the angles. cant save your up and down angle so deal with it.


exec this once to set it up
Code: [Select]
//I still have nightmares about that cat.
sv_cheats 1

//Customize key bindings here
bind \ "savepoint"
bind enter "teleport"

alias savepoint "exec save"
alias teleport "ent_fire tele enable;wait 5;ent_fire tele disable"

ent_fire info_target addoutput "classname info_target_temp"
ent_fire trigger_teleport addoutput "classname tele_temp"
ent_fire !self addoutput "targetname player_me"

wait 10;give info_target
wait 10;give trigger_teleport

wait 15;ent_fire trigger_teleport addoutput "targetname tele"
wait 15;ent_fire info_target addoutput "classname anchor"
wait 20;ent_fire anchor addoutput "targetname anchor"

wait 20;ent_fire trigger_teleport disable
wait 20;ent_fire trigger_teleport addoutput "mins -100 -100 -100"
wait 20;ent_fire trigger_teleport addoutput "maxs 100 100 100"
wait 25;ent_fire trigger_teleport addoutput "solid 2"
wait 25;ent_fire trigger_teleport addoutput "spawnflags 1"
wait 25;ent_fire trigger_teleport addoutput "target teletarget"

wait 30;ent_fire anchor setparent player_me
wait 33;ent_fire trigger_teleport setparent anchor

wait 35;echo "I love choco so hard!"

NAME THIS "SAVE.CFG" or it wont work
Code: [Select]
ent_fire teletarget kill
wait 10;give info_target
wait 15;ent_fire info_target addoutput "targetname teletarget"
wait 20;ent_orient teletarget
   
Offline  Yami
Rocketeer
****

Posts: 252
:o Nice! *applauds*
   
Rocketman
*****

Posts: 518
No tears now; only dreams
Yes thank you!!!!!!!!!! But what exactly do you do with this code? You say exec this once to set it up, but I'm not sure what that means. Never dealt with plugins before.

Also what programming language is this? c++?


---------------------------
   
Offline  Tom
Maggot
*

Posts: 27
But what exactly do you do with this code?

Just tried it out, just save the first bit of code as 'teleport.cfg' or something (doesn't matter) and the second bit as 'save.cfg' then just 'exec teleport' in console.

Also, Jamien, do you mind me posting a link to this on other sites so more people can see it? just want to be safe before I do
« Last Edit: July 05, 2012, 04:08:37 PM by Tom »
   
Maggot
*

Posts: 34
Also, Jamien, do you mind me posting a link to this on other sites so more people can see it? just want to be safe before I do

go for it
   
Rocketman
*****

Posts: 518
No tears now; only dreams
doesnt work with sourcetv active, but after asking jamien about it, you can just type getpos in console then copy paste the red text into console whenever you need to tele to that spot.


---------------------------
   
Maggot
*

Posts: 1
I really want to get infinite ammo to practice some jumps on my own
   
Offline  duppy
Fly
**

Posts: 99
I really want to get infinite ammo to practice some jumps on my own


That's in this post: http://forums.tf2jump.com/index.php/topic,566.0.html
« Last Edit: April 24, 2013, 01:50:21 PM by duppy »
   
0 Members and 1 Guest are viewing this topic.
Pages: [1]
« previous next »


spirit Powered by SMF 2.0 RC5 | SMF © 2006–2011, Simple Machines LLC