CaptainSolo_de Posted April 10, 2002 Posted April 10, 2002 I want to use this (like in CounterStrike the alias e.g.): ----- alias t_wpns "t_wpns1" alias t_wpns1 "weapon 1; wait; wait; alias t_wpns t_wpns2;" alias t_wpns2 "weapon 4; wait; wait; alias t_wpns t_wpns1;" bind "MOUSE4" "t_wpns" ----- But there is no alias known... Can somebody say me how I can make / change this?! Greetz, CS
WhiteChedda Posted April 11, 2002 Posted April 11, 2002 Originally posted by CaptainSolo_de I want to use this (like in CounterStrike the alias e.g.): ----- alias t_wpns "t_wpns1" alias t_wpns1 "weapon 1; wait; wait; alias t_wpns t_wpns2;" alias t_wpns2 "weapon 4; wait; wait; alias t_wpns t_wpns1;" bind "MOUSE4" "t_wpns" ----- But there is no alias known... Can somebody say me how I can make / change this?! Greetz, CS The Q3 engine, and likewise RTCW, JO, and MOH:AA do NOT support aliases. the correct way to do this should be set t_wpns1 "weapon 1; wait; wait; vstr t_wpns t_wpns2;" set t_wpns2 "weapon 4; wait; wait; setv t_wpns t_wpns1;" set t_wpns " vstr t_wpns1" bind "MOUSE4" "t_wpns" This assumes the rest of your commands were correct. you realise wait is all of one tick [NOT VERY LONG] you may want to try using something like wait 50 or wait 100 if you get into using force powers with this stuff.
CaptainSolo_de Posted April 11, 2002 Author Posted April 11, 2002 SUPER! THANK U!!! (if it worx! ) Greetz, CS
CaptainSolo_de Posted April 11, 2002 Author Posted April 11, 2002 This is the right: ----- set t_wpns1 "weapon 1; wait; wait; set t_wpns vstr t_wpns2; echo Laser-Sword seleted" set t_wpns2 "weapon 6; wait; wait; set t_wpns vstr t_wpns1; echo Secondary weapon selected" set t_wpns "vstr t_wpns1" bind "MOUSE5" "vstr t_wpns" ----- But for better work u must also set this: ----- bind MOUSE4 "weapon 1; set t_wpns vstr t_wpns2" ----- Greetz, CS
WhiteChedda Posted April 11, 2002 Posted April 11, 2002 Originally posted by CaptainSolo_de It becomes rather unclear for later editing when you start obfusiating it with setting variables in the bind, IMO. but to each thier own.
CaptainSolo_de Posted April 12, 2002 Author Posted April 12, 2002 Who said that I want to edit this later?! I search 4 my best config and this is then the last config!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.