Some weap Scripts
Wear Scripts
#1
Posted 15 February 2011 - 07:19 PM
LR , DE KEVLAR HELMET || NADE.HE
LR , DE KEVLAR HELMET || MEDKIT Button = 7
LR , DE KEVLAR HELMET || LASER
m4,DE KEVLAR HELMET || NADE.HE
G36,DE KEVLAR HELMET||MEDKIT Button = 8
AK-103,DE KEVLAR HELMET || MEDKIT
Sr8,DE KEVLAR HELMET || NADE.HE
Sr8,DE KEVLAR HELMET || MEDKIT Button = 9
Sr8,DE,KEVLAR HELMET || LASER
Now i say thx and hf :)
#2
Posted 15 February 2011 - 08:40 PM
If yes, then there's a gear script generator, intended for exactly that kind of applications.
Beginner’s Guide to Urban Terror (woefully out of date)
Daily Deadnade (Last updated September 9, 2016)
#3
Posted 16 February 2011 - 04:13 AM
edit: grammar?
This post has been edited by Runamok: 16 February 2011 - 04:15 AM
cyrus: "Camping" is a non-issue for a player that uses his/her head.
#4
Posted 16 February 2011 - 04:28 AM
just copy and paste this into a "gear.cfg" and put "exec gear.cfg" into your autoexec
you use 9 to change the selected weapon (you specified DE always, so I've left that in always)
you use 8 to change the selected gear (you specified VEST and HELM always, so they're in there too)
and you use 7 to actually change to the currently selected gear :)
edit: every combination of the weapons/gear you asked for is in there, just to make it easier to use the binds :)
This post has been edited by Runamok: 18 February 2011 - 04:23 AM
cyrus: "Camping" is a non-issue for a player that uses his/her head.
#5
Posted 16 February 2011 - 01:58 PM
I allready tried to do it.. :
set lo_1 "set load vstr lo_2; gear GLAAVRW; ut_echo LR+KEV+LASER"
set lo_2 "set load vstr lo_3; gear GLAORWA; ut_echo LR+NADES+KEV"
set lo_3 "set load vstr lo_1; gear GLAORWA; ut_echo LR+NADES+LASER"
set load "vstr lo_1" // Default
bind 8 "vstr load"
and in my autoexec is: exec gear
What I am doing wrong?
If you have time to help me you can creat a weap script for me?
I only need this gears: LR+NADES+LASER, LR+NADES+KEV, LR+KEV+LASER
Thx :)
#7
Posted 16 February 2011 - 03:33 PM
Respekt, on 16 February 2011 - 01:58 PM, said:
and in my autoexec is: exec gear
What I am doing wrong?
And what exactly is wrong? I can see that your lo_2 and lo_3 are identical, you probably intended lo_3 as GLAOVWA (laser instead of kevlar); is that what you mean?
Beginner’s Guide to Urban Terror (woefully out of date)
Daily Deadnade (Last updated September 9, 2016)
#8
Posted 16 February 2011 - 08:10 PM
JRandomNoob, on 16 February 2011 - 03:33 PM, said:
The point is that I just tried to copy things to get this script :/
and i don't know how to use it. so i put this in my q3ut4 folder. if i write into my console /exec gear it says couldn't exec gear.
Yoou understand me?
#9
Posted 16 February 2011 - 08:30 PM
Respekt, on 16 February 2011 - 08:10 PM, said:
and i don't know how to use it. so i put this in my q3ut4 folder. if i write into my console /exec gear it says couldn't exec gear.
Yoou understand me?
Ah. "/exec gear" tries to execute gear.cfg -- that's what you should name your script file (I take it you named it gear.txt or something?). Of course, there's no need for such finesses, you can just add this script to your autoexec.cfg and it will Just Work (that's the very idea of autoexecs).
Beginner’s Guide to Urban Terror (woefully out of date)
Daily Deadnade (Last updated September 9, 2016)
#10
Posted 17 February 2011 - 01:56 AM
edit: and thanks for the 'amazing' comment :)
This post has been edited by Runamok: 17 February 2011 - 01:57 AM
cyrus: "Camping" is a non-issue for a player that uses his/her head.