|
|
Portal •
Board index
• Register
• Login
|
|
|
|
It is currently Tue May 21, 2013 3:04 pm
|
|
Page 1 of 1
|
[ 1 post ] |
|
Can I have different settings for different maps/gametypes?
| Author |
Message |
|
t3chn0r
Joined: Thu May 08, 2008 4:15 pm Posts: 6410 Location: Mt. Olive, NJ Country: xfire: t3chn0r
|
 Can I have different settings for different maps/gametypes?
Can I have different settings for different maps or gametypes?
Yes, most of the variables in OpenWarfare support an extended mode where the map, gametype or server load (or all) can be specified in the variable name. These type of variables will have precedence over the variables without map, gametype or server load. So, for example, let's say we want to disable the helicopter for Shipment (any gametype) and for any map in Free For All. To do this we will first set the normal variable scr_hardpoint_allow_helicopter to "1" to enable it for everything, we'll set scr_hardpoint_allow_helicopter_mp_shipment to "0" to disable the helicopter for that map, and we'll set scr_hardpoint_allow_helicopter_dm to "0" to disable it in any map when Free For All is being played, or we'll set scr_hardpoint_allow_helicopter_low to "0" to disable it in any map when the server load is low. Server will read the variables in this order: <variable>_<gametype>_<map>_<load>, <variable>_<gametype>_<map>, <variable>_<map>_<load>, <variable>_<map>, <variable>_<gametype>_<load>, <variable>_<gametype>, <variable>_<load> and <variable>.
_________________
 "Anyone who has never made a mistake has never tried anything new." -- Albert Einstein "Any fool can write code that a computer can understand... But only good programmers write code that humans can understand." -- Martin Fowler
|
| Fri Oct 02, 2009 4:49 pm |
|
 |
|
|
Page 1 of 1
|
[ 1 post ] |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|