Page 1 of 1
disabledmaps.cfg
Posted: Tue Jan 31, 2006 6:41 pm
by TooL
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.
Posted: Tue Jan 31, 2006 6:57 pm
by Krazy
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.
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
and if you want a cvar to do it then heres a link for you
viewtopic.php?t=701
Posted: Wed Feb 01, 2006 8:18 am
by TooL
Ahh - the search button
Thanks for the info!
Posted: Wed Feb 01, 2006 8:55 am
by Geesu
TooL I *could* add it then auto ignore the default maps if they're listed...
Who wants to get me a list of the default maps ?

Posted: Wed Feb 01, 2006 5:13 pm
by Krazy
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
Posted: Wed Feb 01, 2006 6:47 pm
by Geesu
ok next step is to copy some war3x code

Posted: Thu Feb 02, 2006 10:28 am
by TooL
Thanks for doing that - it just makes it easier for the folks that run a few fun type maps that don't have the usual fy_ or ka_ prefix.
I <3 SQLite btw - can't believe how lag free it is!
