disabledmaps.cfg

Want to talk about war3ft or make suggestions? Post them here

Moderator: Forum Moderator

Post Reply
User avatar
TooL
Peon
Posts: 31
Joined: Wed Jan 04, 2006 2:47 pm
Contact:

disabledmaps.cfg

Post by TooL » Tue Jan 31, 2006 6:41 pm

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.
260servers.net - BF2142 Pimp Shack =RANKED=
Also featuring War3x SAVED XP | 209.40.101.127:27015
Image

User avatar
Krazy
Forum Administrator
Posts: 282
Joined: Wed Jul 06, 2005 9:40 am
Location: Dayton, Ohio
Contact:

Post by Krazy » Tue Jan 31, 2006 6:57 pm

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
Website: www.djpsych.com
Image

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

User avatar
TooL
Peon
Posts: 31
Joined: Wed Jan 04, 2006 2:47 pm
Contact:

Post by TooL » Wed Feb 01, 2006 8:18 am

Ahh - the search button :o

Thanks for the info!
260servers.net - BF2142 Pimp Shack =RANKED=
Also featuring War3x SAVED XP | 209.40.101.127:27015
Image

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Wed Feb 01, 2006 8:55 am

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 ? :) :)
No Support via PM

User avatar
Krazy
Forum Administrator
Posts: 282
Joined: Wed Jul 06, 2005 9:40 am
Location: Dayton, Ohio
Contact:

Post by Krazy » Wed Feb 01, 2006 5:13 pm

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
Website: www.djpsych.com
Image

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

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Wed Feb 01, 2006 6:47 pm

ok next step is to copy some war3x code :)
No Support via PM

User avatar
TooL
Peon
Posts: 31
Joined: Wed Jan 04, 2006 2:47 pm
Contact:

Post by TooL » Thu Feb 02, 2006 10:28 am

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! :mrgreen:
260servers.net - BF2142 Pimp Shack =RANKED=
Also featuring War3x SAVED XP | 209.40.101.127:27015
Image

Post Reply