FT_no_gloves_on_ka fy? aim?

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

Moderator: Forum Moderator

Post Reply
Seehank
Peon
Posts: 15
Joined: Fri Dec 09, 2005 6:21 am
Location: Slovakia
Contact:

FT_no_gloves_on_ka fy? aim?

Post by Seehank » Mon Apr 24, 2006 4:01 pm

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...
Cheater Once cheater Forever!

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

Post by Krazy » Wed Apr 26, 2006 4:53 pm

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.
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!

Post Reply