Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Pages: [1]   Go Down
  Print  
Author Topic: Map dvars  (Read 4851 times) Bookmark and Share
Jr. Member
**
Posts: 46
Offline Offline
WWW
« on: October 31, 2006, 11:43:38 PM »

Hi,

One question, especial @ xlr8or  Wink
Im very happy with the RotationManager Plugin, but would it possible to create a second plugin or add a function wich chance game dvars in dependence of the current Map and|or gametype?
somewhat like:
 if map == mp_example {
       set sv_allow sniper 2
       set sv_allow someothervar 0
}
if g_gametype == dm {
      set sv_maxnade = 9
}
[...]
after mapchanche i use the <set name="mapdelay">45</set> and fast_restart, so B3 has time to set, and round would be restarted with the new dvars for this map, so this would be no problem.
Would be a cool feature in combination with mods like awe or admiral-mod (no tripwires on deathmatch, only 2 snipers on small maps, allow camping but no killcam @ sd gametype etc..)
Logged

B3 CoDII:  82.98.201.199:28960 (Jenny)
B3 CoDIV: 82.98.201.199:28961 (Nadja)

Used Plugins:
Xlrstats, Echolon, Pubbans, Pingkicker, Rotationsmgr, Chatplugin, Poweradmin2&4, Spreemsg, Configmgr,  Clantag control

[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #1 on: November 01, 2006, 02:40:32 AM »

Interesting... I will go sit on it and let it cook for a while. Wink

edit: doesn't AWE have this already? I think AWE is using BOCO's utility for it.
Logged

Jr. Member
**
Posts: 46
Offline Offline
WWW
« Reply #2 on: November 01, 2006, 09:37:51 AM »


edit: doesn't AWE have this already? I think AWE is using BOCO's utility for it.
Didn't know... i prefer the Bigbrother Way  Cool Im running a  AWE based Mod, (based on awe3b7 + some stuff from admiralmod + some stuff from me) - didn't think about make this ingame. I assume Bigbrother can do this better by rcon.

I'm talking about CoD2, but i think ie disable tanks in some uo maps, disable some weappon in cod"1"  or people who dont like mods would use that too.
Logged

B3 CoDII:  82.98.201.199:28960 (Jenny)
B3 CoDIV: 82.98.201.199:28961 (Nadja)

Used Plugins:
Xlrstats, Echolon, Pubbans, Pingkicker, Rotationsmgr, Chatplugin, Poweradmin2&4, Spreemsg, Configmgr,  Clantag control
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #3 on: November 01, 2006, 11:27:56 AM »

I will think it over, see if B3 can handle this better...

In the mean time here's the code I'm refering to: http://callofduty.snt.utwente.nl/index.php/Scripting:CvarDef
Logged

Sr. Member
****
Posts: 259
Offline Offline
WWW
« Reply #4 on: November 05, 2006, 08:58:31 AM »

It is built into CoD/UO/CoD2.  All you have to do is create a config file (eg: mp_carentan_tdm.cfg) and add what dvars you want.  The only drawback is you have to do it for each map, otherwise whatever you set for the first map, stays.  Any changes that you want globally would have to be done for each map cfg as well.
Logged

Deadbone Platoon
B3 Driven CoD Servers
Jr. Member
**
Posts: 46
Offline Offline
WWW
« Reply #5 on: November 07, 2006, 12:45:23 AM »

Oh, i remember. Well, i havent think about this option because i need it not Maprelated.  I want (dis-)allow some  Feature on some Gametyp. Ie. i have a anticamping feature on, (You will be crushed by a Piano if you dont move for a longer time) Its real funny  in DM or TDM, but in SD you need sometimes a sniper who protect you from one single point. Another example: We use the AWE Tripwire, makes CTF a little more exciting because you cant rush over the map without run in the risk to walk  in the tripwire trap. In DM this would be exploited to place tripwire @ any Spawnpunkt - so you have no Chance to survive.

The script wich xlr8or has posted would do the trick, but i would prefer the  xml-config file from B3 Maprotation Plugin. (Because you dont need to change some different config Files on new added Custommaps, and you dont need to restart the CoD Server, a simple restart or re-read config of B3 is enough)

unfortunately i have no experience in python programming. Maybe someday i would buy a Book about this Smiley
Logged

B3 CoDII:  82.98.201.199:28960 (Jenny)
B3 CoDIV: 82.98.201.199:28961 (Nadja)

Used Plugins:
Xlrstats, Echolon, Pubbans, Pingkicker, Rotationsmgr, Chatplugin, Poweradmin2&4, Spreemsg, Configmgr,  Clantag control
Sr. Member
****
Posts: 259
Offline Offline
WWW
« Reply #6 on: November 07, 2006, 04:03:25 AM »

Ah I see.  You want it tied to the the gametype, not the maps.  That would take a bit of coding.
Logged

Deadbone Platoon
B3 Driven CoD Servers
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #7 on: November 08, 2006, 10:14:14 AM »

ConfigManager is born... http://bigbrotherbot.com/forums/index.php?topic=39.0

Pls post your usefull comments and bugs in the topic above.
Logged

Jr. Member
**
Posts: 46
Offline Offline
WWW
« Reply #8 on: November 08, 2006, 11:41:57 PM »

Hey, kewl!


would you marry me?    Wink

No, seriously, great Work! Immediately installed, but can't test it before tomorrow.
Logged

B3 CoDII:  82.98.201.199:28960 (Jenny)
B3 CoDIV: 82.98.201.199:28961 (Nadja)

Used Plugins:
Xlrstats, Echolon, Pubbans, Pingkicker, Rotationsmgr, Chatplugin, Poweradmin2&4, Spreemsg, Configmgr,  Clantag control
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #9 on: November 09, 2006, 04:13:07 AM »

Your welcome... but I'm already married  Grin

It's a first draft,it should run without errors, but I'm eager to read your bugs/comments in the ConfigManager thread!
Logged

Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal