Urban Terror Forums: Some weap Scripts - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Some weap Scripts Rate Topic: -----

Wear Scripts

#1 User is offline   layce Icon

  • Account: layce
  • Country:
  • Joined: 15-February 11
  • Posts: 0

Posted 15 February 2011 - 07:19 PM

Ok guys am i ask some frinds what about scripts and there done have a answer about my questions :D and now i ask you :D so i need 3 weap scripts here are the informaions

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 User is offline   JRandomNoob Icon

  •   moderator   
    Community Moderator

Posted 15 February 2011 - 08:40 PM

You want that each of the keys (7, 8 and 9) would cycle through three different configurations?

If yes, then there's a gear script generator, intended for exactly that kind of applications.
dswp.de
Beginner’s Guide to Urban Terror (woefully out of date)
Daily Deadnade (Last updated September 9, 2016)

#3 User is offline   Runamok Icon

  • Account: runamok
  • Main tag: -WAR-
  • Country:
  • Joined: 01-March 10
  • Posts: 472

Posted 16 February 2011 - 04:13 AM

I have the basics of a script that I wrote for a clanmate, he wanted something similar to what you want, but I wrote it differently and he likes it a lot better. I'll edit it a little and post it up

edit: grammar?

This post has been edited by Runamok: 16 February 2011 - 04:15 AM

-WAR-Runamok`

cyrus: "Camping" is a non-issue for a player that uses his/her head.

#4 User is offline   Runamok Icon

  • Account: runamok
  • Main tag: -WAR-
  • Country:
  • Joined: 01-March 10
  • Posts: 472

Posted 16 February 2011 - 04:28 AM

double post for ease of use

just copy and paste this into a "gear.cfg" and put "exec gear.cfg" into your autoexec

Spoiler


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

-WAR-Runamok`

cyrus: "Camping" is a non-issue for a player that uses his/her head.

#5 User is offline   Respekt Icon

  • Account: respekt
  • Country:
  • Joined: 28-February 10
  • Posts: 14

Posted 16 February 2011 - 01:58 PM

Hey can you help me too?
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 :)
I really like UrT :o

bullet_loaderAdvertisement

#6 User is offline   YAY5637 Icon

  • Account: yay5637
  • Main tag: <PWC>
  • Country:
  • Joined: 28-February 10
  • Posts: 633

Posted 16 February 2011 - 03:03 PM

@runamok
w00t? that script is amazing! :D

#7 User is offline   JRandomNoob Icon

  •   moderator   
    Community Moderator

Posted 16 February 2011 - 03:33 PM

View PostRespekt, 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?
dswp.de
Beginner’s Guide to Urban Terror (woefully out of date)
Daily Deadnade (Last updated September 9, 2016)

#8 User is offline   Respekt Icon

  • Account: respekt
  • Country:
  • Joined: 28-February 10
  • Posts: 14

Posted 16 February 2011 - 08:10 PM

View PostJRandomNoob, on 16 February 2011 - 03:33 PM, said:

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?


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?
I really like UrT :o

#9 User is offline   JRandomNoob Icon

  •   moderator   
    Community Moderator

Posted 16 February 2011 - 08:30 PM

View PostRespekt, on 16 February 2011 - 08:10 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?

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).
dswp.de
Beginner’s Guide to Urban Terror (woefully out of date)
Daily Deadnade (Last updated September 9, 2016)

#10 User is offline   Runamok Icon

  • Account: runamok
  • Main tag: -WAR-
  • Country:
  • Joined: 01-March 10
  • Posts: 472

Posted 17 February 2011 - 01:56 AM

yeah, you could use the autoexec, I prefer to use my autoexec to start my other configs that I want on startup :)

edit: and thanks for the 'amazing' comment :)

This post has been edited by Runamok: 17 February 2011 - 01:57 AM

-WAR-Runamok`

cyrus: "Camping" is a non-issue for a player that uses his/her head.

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942