Exclude rcon messages via Dmprecache

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Cobra
Colour Sergeant
Posts: 93
Joined: Sun Jul 17, 2005 9:22 am
Location: The Netherlands
Contact:

Exclude rcon messages via Dmprecache

Post by Cobra »

Anyone know how to exclude rcon messages via Dmprecache.scr. I have search the internet but didnt found a good solution for it. I found many ways to exec iprint messages or bolt messages, but I want to say it in a "console'messages. I have try it with cvars but didnt work yet.

Does anyone know a good solution for it?

Thanks alot! :)
Gamefront.nl
News - Mods - Patches - Maps - Demos
Jardi-Gol
Private
Posts: 4
Joined: Sun May 13, 2007 6:44 pm

Post by Jardi-Gol »

Cobra, I'm looking for someone that can help me in doing those iprint messages at the seconds that I want, with scr files. The way that I know to disable the messages is to edit the file from precache with a program and turn off the messages. Just erase them... Will you help me on iprint messages??
User avatar
Cobra
Colour Sergeant
Posts: 93
Joined: Sun Jul 17, 2005 9:22 am
Location: The Netherlands
Contact:

Post by Cobra »

Iprint messages can quikly be excluded via Dmprecache or whereever else. If you choose for the Dmprecache, put the following lines into your Dmprecache.scr.

Code: Select all

main:
level waittill spawn
thread welcomemsg
wait 10.0
end
welcomemsg:
wait 30.0
iprintln "Welcome to my server"
wait 10.0
iprintln "Enjoy it"
wait 10.0
iprintln "www.myclan.com"
wait 300.0 
goto welcomemsg
end
If this doesnt work, just put it in your server cfg.
Gamefront.nl
News - Mods - Patches - Maps - Demos
Jardi-Gol
Private
Posts: 4
Joined: Sun May 13, 2007 6:44 pm

Post by Jardi-Gol »

But if I want a different message for each map, I need to creat other scr files to be executed??
User avatar
Cobra
Colour Sergeant
Posts: 93
Joined: Sun Jul 17, 2005 9:22 am
Location: The Netherlands
Contact:

Post by Cobra »

All things what be excluded via Dmprecache are autoloaded everytime when a new map loads.
Gamefront.nl
News - Mods - Patches - Maps - Demos
Jardi-Gol
Private
Posts: 4
Joined: Sun May 13, 2007 6:44 pm

Post by Jardi-Gol »

Cobra, I think you didn't understand my pourpose... I want to display a different yellow message for each map on my rotation. So, I need a different .scr file for each map to send the personal messages, right??
User avatar
Cobra
Colour Sergeant
Posts: 93
Joined: Sun Jul 17, 2005 9:22 am
Location: The Netherlands
Contact:

Post by Cobra »

But before my question is gonna to the forgotten corner.. Anyone know a solution on my question?
Gamefront.nl
News - Mods - Patches - Maps - Demos
Post Reply