Page 1 of 1

Restrict Race for specific Maps

Posted: Fri Feb 24, 2006 9:13 am
by Hoelsch
Hello
First sorry for my bad English. Im German ;)
Ok. My Problem. My Clan's running a CS 1.6 Server with WC3FT Plugin. We have a lot of funmaps and now ive the problem, that ther is no fun, if there is a orc and the orc throws a grenade. Cause the hole team is dead after the nade.
Now i want to know, if there is a possibilty to deactivate or restrict a specific race (e.g. orc) for specific maps. Is there a cvar i can use?

Please help!

MfG Hoelsch

Posted: Fri Feb 24, 2006 9:22 am
by Geesu
Currently no

Posted: Fri Feb 24, 2006 11:10 am
by Hoelsch
Hmm ok :(
Is it possible to add it to the plugin? Its really important, cause i love Funmaps and im tired of warn the people to don't throw hes....

Posted: Fri Feb 24, 2006 3:56 pm
by YamiKaitou
If you have the Restrict Weapons plugin activated, then you can create config files for certian maps that restrict hes. Just make sure that you put in your amxx config file to unrestrict any weapons that you restrict

Posted: Fri Feb 24, 2006 5:47 pm
by opion
You can always disable orc nades on funmaps and jailt_riot.
You can find that option at the bottom of the wc3ft.cfg file
I think there are 3 options about orc nades on specific maps.
I hope i could help you with this.
I'm not sure about this cuz i play uwc3 but i owned a wc3ft server before so i think i'm telling you the correct information

Posted: Thu Mar 02, 2006 7:35 pm
by erik2k3
technicially quite simple :

u locate the file "other.inl" in "addons\amxmodx\scripting\war3ft", add a code like that :

Code: Select all

if(iCvar[FT_NO_ORCNADES]){
			if (containi(mapname,"ka_")!=-1 || containi(mapname,"jail_riot")!=-1 || containi(mapname,"fy_")!=-1 || containi(mapname,"rats")!=-1 || containi(mapname,"he_")!=-1) 
				g_notAllowHE=true
			else
				g_notAllowHE=false
		}
as you can see, IF you turn the he on jail and riot ( in the wc3.cfg ) on, orc will not be given the critical strike on all the maps specified here !

if you want people prevent from using the gloves of warmth, simply put in the map names in the coondition above and they wont be able to purchase the gloves on the maps specified.

Once done that, recompile warcraft3ft.sma to the amxx, upload into your plugins folder, mapchange and voila ! orcs ham keine kritischen schaden mehr :)

Posted: Mon Mar 06, 2006 3:41 pm
by Hoelsch
ok
tank you
its working now