nFlame Posted April 17, 2003 Share Posted April 17, 2003 what would the command be to switch from blue sabre mode to red sabre mode in 1 command? Link to comment Share on other sites More sharing options...
babywax Posted April 18, 2003 Share Posted April 18, 2003 Just use the saber switch command twice. Link to comment Share on other sites More sharing options...
nFlame Posted April 18, 2003 Author Share Posted April 18, 2003 that runs into a problem. i would need to go from yellow to blue then to red with 2 commands like, i need it to be specifically switching. Link to comment Share on other sites More sharing options...
razorace Posted April 18, 2003 Share Posted April 18, 2003 You can't without code changes. Link to comment Share on other sites More sharing options...
nFlame Posted April 18, 2003 Author Share Posted April 18, 2003 alright, is it possible to cycle backwards at least? Link to comment Share on other sites More sharing options...
razorace Posted April 18, 2003 Share Posted April 18, 2003 Nope. Link to comment Share on other sites More sharing options...
nFlame Posted April 18, 2003 Author Share Posted April 18, 2003 thx for your help. i was trying to makea script for jk2. im new to scripting in jk2, how would aliases work with jk2? as in what file would they have to be placed in? Link to comment Share on other sites More sharing options...
razorace Posted April 18, 2003 Share Posted April 18, 2003 You're welcome. Sorry, but I don't know anything about scripting. Use google to find out. Link to comment Share on other sites More sharing options...
nFlame Posted April 18, 2003 Author Share Posted April 18, 2003 tried, the only results i get are for mapping and the likes Link to comment Share on other sites More sharing options...
UDM Posted April 18, 2003 Share Posted April 18, 2003 /bind <key> <command> (dont include the <> when typing in console) Link to comment Share on other sites More sharing options...
babywax Posted April 19, 2003 Share Posted April 19, 2003 I haven't scripted in a while... but it is very doable, especially since it always goes back to blue stance, what you do is replace the normal saber mode switch with a new alias, and keep track of the stances, like so: alias cycle "saberAttackCycle;" alias cycleT "cycle; cycle;" alias saberCycle "saberSwitchYellow;" alias saberSwitchBlue "switchBlue" alias saberSwitchYellow "switchYellow" alias saberSwitchRed "switchRed" alias switchBlue "switchBlueO; alias saberCycle saberSwitchYellow;" alias switchBlueO "cycle; alias switchBlue switchBlueT;" alias switchBlueT "cycleT; alias switchBlue switchBlueThree; alias switchYellow switchYellowO; alias switchRed switchRedT;" alias switchBlueThree "" alias switchYellow "switchYellowO; alias saberCycle saberSwitchRed;" alias switchYellowO "cycle; alias switchYellow switchYellowT; alias switchBlue switchBlueT; alias switchRed switchRedO;" alias switchYellowT "cycleT; alias switchYellow switchYellowThree; alias switchBlue switchBlueT; alias switchRed switchRedO;" alias switchYellowThree "" alias switchRed "switchRedO; alias saberCycle saberSwitchBlue;" alias switchRedO "cycle; alias switchRed switchRedT; alias switchBlue switchBlueO; alias switchYellow switchYellowT;" alias switchRedT "cycleT; alias switchRed switchRedThree; alias switchBlue switchBlueO; alias switchYellow switchYellowT;" alias switchRedThree "" This way saberSwitchBlue/Red/Yellow will switch to each corresponding color. Haven't tested it, never even really scripted much for JK2 but it should work. Also, just updated it because I forgot, saberCycle will cycle between saber styles just like the normal saberAttackCycle would. Link to comment Share on other sites More sharing options...
razorace Posted April 19, 2003 Share Posted April 19, 2003 That probably won't work. I think you have to pause briefly inbetween saber stance changes. Link to comment Share on other sites More sharing options...
babywax Posted April 19, 2003 Share Posted April 19, 2003 Not in my experience, but if you have to you can add some waits in, probably about 3 but maybe more depending on your machine. Link to comment Share on other sites More sharing options...
babywax Posted April 19, 2003 Share Posted April 19, 2003 TADA! Unknown command: alias Don't think it's possible without aliases sorry. Link to comment Share on other sites More sharing options...
Wudan Posted April 19, 2003 Share Posted April 19, 2003 If I recall, alias is for the original Quake. Try using "set" but I'm not certain if that'll work. I just used BIND. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.