View Full Version : Scripting
Klownterfit
1st September 2003, 06:16
Has anyone found anything that is the equivalent of the mohaa 'alias' I have looked around but not found it.
Brett-E3
1st September 2003, 06:37
I've been looking for the lean/bind to try it but it looks like you can't because they set differnet speeds...but maybe i can change that =) brb
c00ki3 m0nst3r
1st September 2003, 10:43
it probably uses set and vstr like most q3-powered games (including rtcw, that modified version of the q3 engine was used for this)
Klownterfit
1st September 2003, 23:17
oh, I was hoping it didn't, I saw that ET did, and decided not to try to make scripts for it.
IssisX
1st September 2003, 23:23
Yeh, it does. I was gonna make like a autonade, but i didnt have time. Maybe tonite, if im not out wit da hoes :bunny:
Klownterfit
1st September 2003, 23:31
I just looked at vstr, doesn't look to hard, I'll make a script when I get on the computer that has the game on it.
btw, IssisX, your sig is hilarious
BiGmAc
1st September 2003, 23:37
set nadeon "weaptoggle grenade; wait 5; +attack; bind [key] "vstr nadeoff""
set nadeoff "-attack; vstr back"
set back "weaplast"
bind [key] "vstr nadeon"
should work
c00ki3 m0nst3r
2nd September 2003, 03:06
yeah.. i prefer q3 style configs to q2. all the scripts i do for myself in mohaa are with vstr and set. they just dont get archived to unnamedsoldier.cfg
Klownterfit
2nd September 2003, 03:38
I think I get it, someone from mohaa help me, so a script like this
alias bleh "eh"
alias eh "name Klown; alias bleh ah"
alias ah "name Klownt; alias bleh eh"
bind f "bleh"
would be something like this
set bleh "vstr eh"
set eh "name Klown; vstr bleh ah"
set ah "name Klownt; vstr bleh eh"
bind f "vstr bleh"
right?
c00ki3 m0nst3r
2nd September 2003, 04:18
kinda.. you use vstr to let the game know youre going to use an alias, this seperates commands and aliases.. something q2 the q2 style of scripting doesnt do.
it would be:
set bleh "vstr eh"
set eh "name Klown; set bleh ah"
set ah "name Klownt; set bleh eh"
bind f "vstr bleh"
you mixed the vstr and set. :)
Brett-E3
2nd September 2003, 04:34
Thanks for the info justin.
BiGmAc
2nd September 2003, 11:46
cookie i think u missed out..
set bleh "vstr eh"
set eh "name Klown; set bleh vstr ah"
set ah "name Klownt; set bleh vstr eh"
bind f "vstr bleh"
c00ki3 m0nst3r
3rd September 2003, 04:19
aacK youre right, i went thru it too fast ;x
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.