dswp.de
http://www.dswp.de/old/

I think this is good place for topic...
http://www.dswp.de/old/forum-gameserver-support/i-think-this-is-good-place-for-topic-t2126.html
Page 1 of 1

Author:  HomerFin [ 05.03.10 ]
Post subject:  I think this is good place for topic...

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.

Author:  Samtron [ 05.03.10 ]
Post subject:  Re: I think this is good place for topic...

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

Code:
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.

Author:  dmmh [ 05.03.10 ]
Post subject:  Re: I think this is good place for topic...

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 >:

Author:  HomerFin [ 05.04.10 ]
Post subject:  Re: I think this is good place for topic...

Danke Samtron and dmmh for that site :]

Author:  Cookie [ 05.04.10 ]
Post subject:  Re: I think this is good place for topic...

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...

Author:  HomerFin [ 05.04.10 ]
Post subject:  Re: I think this is good place for topic...

Cookie, I'm not n00000b :D
I have own .cfg file for somethings, like that :shock:

Author:  Cookie [ 05.04.10 ]
Post subject:  Re: I think this is good place for topic...

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.

Author:  HomerFin [ 05.04.10 ]
Post subject:  Re: I think this is good place for topic...

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:

Author:  dmmh [ 05.05.10 ]
Post subject:  Re: I think this is good place for topic...

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...

Author:  Cookie [ 05.06.10 ]
Post subject:  Re: I think this is good place for topic...

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)

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/