Restrict Race for specific Maps

Read log files for errors! If this fails, come here for help

Moderator: Forum Moderator

Post Reply
Hoelsch
Peon
Posts: 3
Joined: Fri Feb 24, 2006 9:08 am

Restrict Race for specific Maps

Post by Hoelsch » Fri Feb 24, 2006 9:13 am

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
Visit us: 85.14.229.159:27015 *WC3FT*[save xp] Funserver [*Faces of God*] by Servercamp.de

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

Post by Geesu » Fri Feb 24, 2006 9:22 am

Currently no
No Support via PM

Hoelsch
Peon
Posts: 3
Joined: Fri Feb 24, 2006 9:08 am

Post by Hoelsch » Fri Feb 24, 2006 11:10 am

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....
Visit us: 85.14.229.159:27015 *WC3FT*[save xp] Funserver [*Faces of God*] by Servercamp.de

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Fri Feb 24, 2006 3:56 pm

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
Image

No support via PM or Email

User avatar
opion
Peon
Posts: 34
Joined: Fri Nov 11, 2005 8:07 am
Location: Belgium

Post by opion » Fri Feb 24, 2006 5:47 pm

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

erik2k3
Militia
Posts: 73
Joined: Wed Aug 03, 2005 6:34 am
Location: Germany / UK
Contact:

Post by erik2k3 » Thu Mar 02, 2006 7:35 pm

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 :)

Hoelsch
Peon
Posts: 3
Joined: Fri Feb 24, 2006 9:08 am

Post by Hoelsch » Mon Mar 06, 2006 3:41 pm

ok
tank you
its working now
Visit us: 85.14.229.159:27015 *WC3FT*[save xp] Funserver [*Faces of God*] by Servercamp.de

Post Reply