War3x uses this file and I think instead of restricting this cvar to fy_, ka_, and jail_riot:
FT_no_orcnades 1
having a disabledmaps.cfg file where we could just add all maps we don't want orc nades might be better? Allowing us to mask maps by adding fy_, ka_, he_, etc, would be ideal :p
Just a thought.
On another note - this plugin runs extremely well with SQLite. I'm amazed at the lack of 'SQL' lag in this plugin compared to UWC3. I think each War3 would benefit from offering a SQLite option.
disabledmaps.cfg
Moderator: Forum Moderator
- Krazy
- Forum Administrator
- Posts: 282
- Joined: Wed Jul 06, 2005 9:40 am
- Location: Dayton, Ohio
- Contact:
This feature has been disscussed many times and Geeus is not going to add it. If you take the time and look through his code you would find the code that allows you to disable orc nade and flaming gloves of warmth on certain maps. The file is called other.inl and i posted below what the start of mine looks like.
and if you want a cvar to do it then heres a link for you
viewtopic.php?t=701
Code: Select all
public checkmap(){
#if ADVANCED_DEBUG
writeDebugInfo("checkmap",0)
#endif
#if MOD ==0
new mapname[32]
get_mapname(mapname,31)
if (containi(mapname,"scout")!=-1 || containi(mapname,"aim_")!=-1 || containi(mapname,"fy_")!=-1 || containi(mapname,"cs_deagle5")!=-1 || containi(mapname,"bok_")!=-1 || containi(mapname,"cs_blitztowers")!=-1 || containi(mapname,"cs_p90")!=-1 || containi(mapname,"awp_")!=-1 || containi(mapname,"usp_")!=-1){
g_givePistol=false
if (iCvar[FT_NO_GLOVES_ON_KA])
g_giveHE=false
else
g_giveHE=true
}
else{
g_giveHE=true
g_givePistol=true
}
if(iCvar[FT_NO_ORCNADES]){
if (containi(mapname,"aim_")!=-1 || containi(mapname,"fy_")!=-1 || containi(mapname,"awp_")!=-1 || containi(mapname,"playground")!=-1 || containi(mapname,"de_westwood")!=-1 || containi(mapname,"cs_blitztowers")!=-1 || containi(mapname,"cs_p90")!=-1 || containi(mapname,"scout")!=-1)
g_notAllowHE=true
else
g_notAllowHE=false
}
#endif
viewtopic.php?t=701
Website: www.djpsych.com

Need help anything to do with Warcraft 3 Mod, installing other plugins, setting up mySQL, installing PsychoStats, or anything else just PM/email me!

Need help anything to do with Warcraft 3 Mod, installing other plugins, setting up mySQL, installing PsychoStats, or anything else just PM/email me!
- Krazy
- Forum Administrator
- Posts: 282
- Joined: Wed Jul 06, 2005 9:40 am
- Location: Dayton, Ohio
- Contact:
Here you go:
as_oilrig
cs_militia
cs_estate
cs_office
cs_italy
cs_assault
cs_backalley
de_dust
de_dust2
de_aztec
de_inferno
de_prodigy
de_cbble
de_chateau
de_survivor
de_piranesi
de_torn
de_train
de_vegas
de_vertigo
de_storm
de_nuke
de_airstrip
cs_havana
de_survivor
cs_siege
cs_747
de_train
as_oilrig
cs_militia
cs_estate
cs_office
cs_italy
cs_assault
cs_backalley
de_dust
de_dust2
de_aztec
de_inferno
de_prodigy
de_cbble
de_chateau
de_survivor
de_piranesi
de_torn
de_train
de_vegas
de_vertigo
de_storm
de_nuke
de_airstrip
cs_havana
de_survivor
cs_siege
cs_747
de_train
Website: www.djpsych.com

Need help anything to do with Warcraft 3 Mod, installing other plugins, setting up mySQL, installing PsychoStats, or anything else just PM/email me!

Need help anything to do with Warcraft 3 Mod, installing other plugins, setting up mySQL, installing PsychoStats, or anything else just PM/email me!