I think this is good place for topic...

Everything technical and nerdy stuff here plz !

I think this is good place for topic...

Postby HomerFin » 05.03.10

So, is it possible:
I press F5 Need medic status: blabla....
2nd time press it says something else, like I need doctor ASAP etc.
Possible?
Just need some kind example.

Hey, thanks nerdies.
User avatar
HomerFin
/reconnect
 
Posts: 28
Joined: 04.03.09

Re: I think this is good place for topic...

Postby Samtron » 05.03.10

That is possible, and not difficult to realize. Put the following stuff at the end of your config file (normally q3ut4 q3config.cfg ):

Code: Select all
set medic_1 "set medic vstr medic_2; ut_radio 3 3 Need medic blabla... Status: $health"
set medic_2 "set medic vstr medic_3; ut_radio 3 3 Need morphium blabla... Status: $health"
set medic_3 "set medic vstr medic_1; ut_radio 3 3 I need a doctor ASAP... Status: $health"
set medic "vstr medic_1"
bind F5 "vstr medic"

I hope you understand this code and can adjust it to your needs. :)
If you want to dive deeper into UrT scripting read the f manual or search this forum, some stuff was already answered... :) Have fun.
Image
User avatar
Samtron
Godlike
 
Posts: 1296
Joined: 01.08.09
Location: Berlin, Germany
-----tdm:  
nick: Samtron
skill: 584.92
kills: 316
deaths: 269
ratio: 1.17

Re: I think this is good place for topic...

Postby dmmh » 05.03.10

hi man!

nice to see you in forums

what you ask can only be done through some scripting and luckily UrT can do that.
I suggest you read the very nice detailed scripting guide here which covers the basics of scripting :)

http://urt.taggedzi.com/guide6.php

I'm sure you will figure out the rest, making the binds themselves is easy enough and explained also on the site

edit: samtron beat me 2 it >:
the meaning of the word cunt....loool

Image
User avatar
dmmh
Godlike
 
Posts: 1134
Joined: 01.19.09

Re: I think this is good place for topic...

Postby HomerFin » 05.04.10

Danke Samtron and dmmh for that site :]
User avatar
HomerFin
/reconnect
 
Posts: 28
Joined: 04.03.09

Re: I think this is good place for topic...

Postby Cookie » 05.04.10

preferably put the script in autoexec.cfg so it starts automatically with the game and not q3config.cfg because you can use custom .cfg files...
Image <- got this from JRandomNoob
User avatar
Cookie
Godlike
 
Posts: 746
Joined: 08.27.09
Location: Zagreb, Croatia
-----tdm:  
nick: Zombie
skill: 1153.35
kills: 2521
deaths: 1384
ratio: 1.82
-----bomb:  
nick: Zombie
skill: 799.915
kills: 649
deaths: 361
ratio: 1.79

Re: I think this is good place for topic...

Postby HomerFin » 05.04.10

Cookie, I'm not n00000b :D
I have own .cfg file for somethings, like that :shock:
User avatar
HomerFin
/reconnect
 
Posts: 28
Joined: 04.03.09

Re: I think this is good place for topic...

Postby Cookie » 05.04.10

Cookie wrote:preferably put the script in autoexec.cfg so it starts automatically with the game and not q3config.cfg because you can use custom .cfg files...


you misunderstood my post. when i wrote "you can use custom .cfg files" meant you most likely use custom .cfg files. problem is, when you use custom cfg files then stuff in q3config.cfg might and might not be loaded, thus nullifying the script you put there (i am not sure about this though). anyway... putting scripts in separate .cfg files and then adding "exec separate.cfg" into autoexec.cfg is preferred way of doing it if you like more than 1 .cfg file.
Image <- got this from JRandomNoob
User avatar
Cookie
Godlike
 
Posts: 746
Joined: 08.27.09
Location: Zagreb, Croatia
-----tdm:  
nick: Zombie
skill: 1153.35
kills: 2521
deaths: 1384
ratio: 1.82
-----bomb:  
nick: Zombie
skill: 799.915
kills: 649
deaths: 361
ratio: 1.79

Re: I think this is good place for topic...

Postby HomerFin » 05.04.10

Cookie wrote:
Cookie wrote:preferably put the script in autoexec.cfg so it starts automatically with the game and not q3config.cfg because you can use custom .cfg files...


you misunderstood my post. when i wrote "you can use custom .cfg files" meant you most likely use custom .cfg files. problem is, when you use custom cfg files then stuff in q3config.cfg might and might not be loaded, thus nullifying the script you put there (i am not sure about this though). anyway... putting scripts in separate .cfg files and then adding "exec separate.cfg" into autoexec.cfg is preferred way of doing it if you like more than 1 .cfg file.


Srsly, my üüüüber fail :lol:
User avatar
HomerFin
/reconnect
 
Posts: 28
Joined: 04.03.09

Re: I think this is good place for topic...

Postby dmmh » 05.05.10

yeah, I have my normal UrT install on my C drive and just have a exec F:backupsaimbot.cfg and exec F:backupswallhack.cfg inside my q3config.cfg...
the meaning of the word cunt....loool

Image
User avatar
dmmh
Godlike
 
Posts: 1134
Joined: 01.19.09

Re: I think this is good place for topic...

Postby Cookie » 05.06.10

actually that would fit better into autoexec.cfg in the q3ut4 folder of the game install according to the scripting manual from urt website (i think so, to lazy to check)
Image <- got this from JRandomNoob
User avatar
Cookie
Godlike
 
Posts: 746
Joined: 08.27.09
Location: Zagreb, Croatia
-----tdm:  
nick: Zombie
skill: 1153.35
kills: 2521
deaths: 1384
ratio: 1.82
-----bomb:  
nick: Zombie
skill: 799.915
kills: 649
deaths: 361
ratio: 1.79


Who is online

Users browsing this forum: No registered users and 0 guests

Misc