Page 1 of 1

FT_no_gloves_on_ka fy? aim?

Posted: Mon Apr 24, 2006 4:01 pm
by Seehank
Hello my Q is very simple. It would really be cool if you tell me if it is possible to add something like FT_no_gloves_on_FY or AIM ... to WAR3FT mod...

Posted: Wed Apr 26, 2006 4:53 pm
by Krazy
Go into the scripting folder.

Open war3ft/other.inl

Find this:

Code: Select all

if (containi(mapname,"ka_")!=-1 || containi(mapname,"scoutzknivez")!=-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
		}
Change into this:

Code: Select all

if (containi(mapname,"ka_")!=-1 || containi(mapname,"scoutzknivez")!=-1 || containi(mapname,"fy_")!=-1 || containi(mapname,"aim_")!=-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
		}
Then recompile the Warcraft 3 Mod.