need to make anti shark work on the patch cuz i doesnt work dunno why ??
also need to make in game massages like visit us at website,playfair and have fun.
also need to remove the state machine gun from stalin
need to make anti shark work on the patch cuz i doesnt work dunno why ??
also need to make in game massages like visit us at website,playfair and have fun.
also need to remove the state machine gun from stalin
The .pk3 included with Reborn fixes sharking.
For messages on the left of the screen put this into the map.scr.....
while(1)
{
iprintln "put your message here" 1
wait 60 //edit time time here to wait in between messages.
}
To remove the turret, put this into the map.scr
removeclass turretgun
ty
but i need the massage from the above
HI i would like to try this. with the message at the very top. i haven't worked with .scr files before. how do i find the map.src? within all the individual maps? if this is true is there a way to do it to cover all the maps. or am being a noob here lol.
so the code would look like this ? :
while(1)
{
stuffsrv "say messagehere \n" 1
wait 60 //edit time time here to wait in between messages.
}
Last edited by blaz!ng; March 23rd, 2012 at 06:09 AM.
To do this every map, you would have to edit a script file that gets loaded every map. ie: global/dmprecache.scr
If you have mods, then you most likely have one already being loaded from a .pk3, so edit the one that's being used.
For a message on TOP, with reborn add this...
PHP Code:
while(1) //loop for entire map
{
wait 60 //edit time here
stuffsrv "say messagehere \n" //replace messagehere with your message
}
If it doesn't work, then you are using the wrong one.
If you have a folder called global in the main folder of your server, then check there first to see if you have a file called dmprecache.scr
If not...pk3 files get loaded 'alphabetically' so sort your pk3 files that way and start looking at the last one first and move your way up until you find one with global/dmprecache.scr Once you find it. This is where you want to put your code.
Last edited by armageddon; March 23rd, 2012 at 06:30 AM.
Sor wrote a basic tutorial on scripting, maybe it can be added to the docu, maybe someone likes to continue it ?
the code seems to not go by the map. it goes by the round and then starts from the beginning on the next round. some rounds (not all) it will spam all the lines within the loop at once at the start of the round as if it forgets about the waits. do you know how i can stop that?
i have admin pro on the server now is there a way of doing auto messages in that? thx for any help
while(1) //loop for entire map
{
stuffsrv "say Welcome to -=|B2K|=- BORN TO KILL!!! \n"
wait 2
stuffsrv "say Have Fun and Have Some More Fun! \n"
wait 27
stuffsrv "say Join our TeamSpeak3: 31.132.0.60:10074 For PW ask a member. \n"
wait 27
stuffsrv "say We are currently recruiting! Apply online at www.born2killclan.net \n"
wait 27
stuffsrv "say This server IP is: 31.132.1.77:12203 \n"
wait 5
stuffsrv "say We would also like to see you in our FT server: 31.132.1.73:12203 \n"
wait 27
stuffsrv "say Visit our clan website at www.born2killclan.net \n"
wait 27
}
Last edited by blaz!ng; April 1st, 2012 at 05:58 PM.
admin pro has center message function for displaying / announcing stuff. But it will always work on a round basis I believe.
Edit: well, you could with the use of cvars skip a round or more, something like that. Not sure if Razo has allready build date/time into scripting, if then you also round independed annoucement stuff would be possible.
Wasnt there soemthing in RC 3 about announcements ?
If you have a full dedi server you can also use my tool and run it beside the gameserver, should work nice.