Moderator
1329 posts
Registered:
Apr 2006
http://wiki.quakeworld.nu/Weapon_scriptsEdit: god damn forum software, making double posts and when you delete the "second" post (that is identical to the first one) it deletes the whole thread! Sorry Ruskie.
Member
705 posts
Registered:
Feb 2006
Member
229 posts
Registered:
Aug 2007
Someone should update that wikipage. With ezquake you should use weapon commands and there's also cl_weaponpreselect and cl_weaponhide.
For example...
cl_weaponhide 1
alias +rocket "weapon 7;+attack"
alias -rocket "-attack"
bind mouse1 +rocket
Reference: http://ezquake.sourceforge.net/docs/?weapon-handling
TEAM QUAD [need nothing]
shaga loses another friend
shaga discovers blast radius
QUAD
Member
34 posts
Registered:
May 2007
Now it's time even for that "weapon and +/- attack" to change:
use :
cl_weaponhide 1
bind mouse1 "+fire 7 6" // will fire from RL or GL
and no alias or -fire is needed!
ps. commitet to ez source at May 29, 2011, so it dosent work in stable builds from download page at http://ezquake.sourceforge.net/ (2011-04-12), insted use Beta and or Test builds.
Member
38 posts
Registered:
Jan 2006
Does this make any difference in reaction time? For example, those +fire, or "Impulse 7 6 5 4; +attack"? or even the old "impulse 7; wait;+attack"
Administrator
2059 posts
Registered:
Jan 2006
Does this make any difference in reaction time? For example, those +fire, or "Impulse 7 6 5 4; +attack"? or even the old "impulse 7; wait;+attack"
While i have no real idea i don't think there's a difference in speed.
There is a difference between +fire and a custom +rl alias when you hold mouse1 to fire RL, hold mouse2 to fire LG and then swap back to fire RL again. Then the +fire version will continue to fire LG if i'm not mistaken, while the custom alias will stop shooting.
www.facebook.com/QuakeWorld
Member
133 posts
Registered:
Dec 2008
"wait" brings delay of 1 frame length. That is 1/77 part of second.
You can add 77 "wait" into alias to check it really makes delay.
alias +rl "impulse 7; wait;wait;.......77 times.....; +attack"