Forum
Need help! Forward spawn/change spawn Position script
Created 16th June 2010 @ 19:27
Add A Reply Pages: 1 2 3 Next »
Could someone write or link me a script wich, when executed changes you to a random class then back to the same class you played before? I looked for it, but only found a broken version.
Last edited by Stranger,
bind “f1” “forwardspawn_toggle”
// Spawn move
alias “forwardspawn_random” “join_class “random”; alias “forwardspawn_toggle” “forwardspawn_medic””
alias “forwardspawn_medic” “join_class “medic”; alias “forwardspawn_toggle” “forwardspawn_random”;say_team “*** MOVED SPAWN ***””
alias “forwardspawn_toggle” “forwardspawn_random”
From http://fakkelbrigade.eu/chris/configs/cfg/medic.htm
Change medic to the respective class obviously, should work, if not chris will come correct me :<
Quoted from Imperium
bind “f1” “forwardspawn_toggle”
// Spawn move
alias “forwardspawn_random” “join_class “random”; alias “forwardspawn_toggle” “forwardspawn_medic””
alias “forwardspawn_medic” “join_class “medic”; alias “forwardspawn_toggle” “forwardspawn_random”;say_team “*** MOVED SPAWN ***””
alias “forwardspawn_toggle” “forwardspawn_random”
From http://fakkelbrigade.eu/chris/configs/cfg/medic.htm
Change medic to the respective class obviously, should work, if not chris will come correct me :<
Big thanks! Will try this when i get back home.
yes, that will work fine, but you need to replace ‘medic’ with the class you’re wanting.
Last edited by octochris,
Class swich with numpad is quite nice aswell.
You just need to get used to it.
bind “KP_END” “join_class scout”
bind “KP_DOWNARROW” “join_class soldier”
bind “KP_PGDN” “join_class pyro”
bind “KP_LEFTARROW” “join_class demoman”
bind “KP_5” “join_class heavyweapons”
bind “KP_RIGHTARROW” “join_class engineer”
bind “KP_HOME” “join_class medic”
bind “KP_UPARROW” “join_class sniper”
bind “KP_PGUP” “join_class spy”
Quoted from Imperium
say_team “*** MOVED SPAWN ***””
Because people totally give a crap about this
Quoted from d1ck j0nes
[…]
Because people totally give a crap about this
you gave enough of a crap to give this thread a 3-day bump, and i said it was copied from chris’ config. you can remove it if you want :)
Quoted from d1ck j0nes
[…]
Because people totally give a crap about this
maybe you will appreciate it when you l2p
Maybe then I won’t need scripts for doing the simplest of tasks, eh.
@Imperator:
Quoted from Imperium
bind “f1” “forwardspawn_toggle”
// Spawn move
alias “forwardspawn_random” “join_class “random”; alias “forwardspawn_toggle” “forwardspawn_medic””
alias “forwardspawn_medic” “join_class “medic”; alias “forwardspawn_toggle” “forwardspawn_random”;say_team “*** MOVED SPAWN ***””
alias “forwardspawn_toggle” “forwardspawn_random”From http://fakkelbrigade.eu/chris/configs/cfg/medic.htm
Change medic to the respective class obviously, should work, if not chris will come correct me :<
You guys are all ungrateful, but I’ll give you some advice to make the script actually worth running:
open Classmenu_blue.res and Classmenu_red.res, add an alias to the Command item. Replace “joinclass Medic” with this. Script’s now general for all classes. np
Last edited by d1ck j0nes,
Quoted from d1ck j0nes
You guys are all ungrateful, but I’ll give you some advice to make the script actually worth running:
open Classmenu_blue.res and Classmenu_red.res, add an alias to the Command item. Replace “joinclass Medic” with this. Script’s now general for all classes. np
I can’t tell whether you’re kidding or you’re just a terrible troll.
Shit works. If you want clean solutions you wouldn’t be using that script in the first place.
Quoted from d1ck j0nes
Shit works. If you want clean solutions you wouldn’t be using that script in the first place.
And why the fuck would you want to have the ‘medic’ option cause random class selection? Have you thought this through at all?
Quoted from octochris
[…]
And why the fuck would you want to have the ‘medic’ option cause random class selection? Have you thought this through at all?
I didn’t mention putting random class selection anywhere.
Open the resource file, for each class replace the “jointeam ” with an alias.
Use these aliases in your oh-so-fancy forward spawn script.
File looks like this:
http://data.fuskbugg.se/skalman01/Classmenu_blue.res
Maybe you’ll appreciate it when you l2script. ;)
Last edited by d1ck j0nes,
Add A Reply Pages: 1 2 3 Next »