Read log files for errors! If this fails, come here for help
Moderator: Forum Moderator
*ZhG*RasterMan
Militia
Posts: 66 Joined: Fri Sep 23, 2005 7:58 am
Location: Luton, UK
Contact:
Post
by *ZhG*RasterMan » Sat Nov 12, 2005 5:13 am
I know that wc3xp uses the orc nade cvar 0/1 So is it possable to add it to wc3ft
as a have a few fun maps i.e awp and the critical nade is driving people mad
Geesu
<b>King of the world!</b>
Posts: 3160 Joined: Tue Jul 05, 2005 9:24 pm
Contact:
Post
by Geesu » Sat Nov 12, 2005 10:27 am
This has been discussed before (on the old forums though)... And there is no way I will add this feature
No Support via PM
*ZhG*RasterMan
Militia
Posts: 66 Joined: Fri Sep 23, 2005 7:58 am
Location: Luton, UK
Contact:
Post
by *ZhG*RasterMan » Sun Nov 13, 2005 4:02 am
In the wc3ft config you have this:
FT_no_orcnades 1 // Prevent orc nades on ka_ maps, fy_ maps and jail_riot (default is 0)
Would it be possible to show me where to add in to the sma to add in other maps like you have done for the maps above?
Geesu
<b>King of the world!</b>
Posts: 3160 Joined: Tue Jul 05, 2005 9:24 pm
Contact:
Post
by Geesu » Sun Nov 13, 2005 9:21 am
open others.inl w/in war3ft directory...
First function at the top of the file:
[small]public checkmap(){[/small]
To make the CVAR disable for all maps, you could just change
[small] if(iCvar[FT_NO_ORCNADES]){
if (containi(mapname,"ka_")!=-1 || containi(mapname,"jail_riot")!=-1 || containi(mapname,"fy_")!=-1)
g_notAllowHE=true
else
g_notAllowHE=false
}[/small]
to
[small] if(iCvar[FT_NO_ORCNADES])
{
g_notAllowHE=true
}
else
{
g_notAllowHE=false
}[/small]
No Support via PM
Geesu
<b>King of the world!</b>
Posts: 3160 Joined: Tue Jul 05, 2005 9:24 pm
Contact:
Post
by Geesu » Mon Nov 14, 2005 3:28 pm
np, shhhh... don't tell ne1
No Support via PM
eM-Viper
Militia
Posts: 79 Joined: Thu Jul 07, 2005 9:38 am
Contact:
Post
by eM-Viper » Wed Nov 16, 2005 10:22 am
hehe i did that a while ago
. i been goin over your code and modding it
Marticus
Lead UWC3 Developer
Posts: 281 Joined: Sat Jul 16, 2005 10:47 am
Post
by Marticus » Wed Nov 16, 2005 10:30 am
This is a perfect example where the idea of using a front end method (like a cvar or admin menu or admin command) to disable any number of skills would be beneficial. However, we all understand that you don't like the idea. Although I'm not clear as to why, but that isn't my business if you don't want us to know.
Of course, this is just generally speaking. We know FT is closed to everything but bug fixes, not that there are any bugs.
eM-Viper
Militia
Posts: 79 Joined: Thu Jul 07, 2005 9:38 am
Contact:
Post
by eM-Viper » Wed Nov 16, 2005 10:34 am
he is training us to become better scripters :-p, its his secret plot
Marticus
Lead UWC3 Developer
Posts: 281 Joined: Sat Jul 16, 2005 10:47 am
Post
by Marticus » Wed Nov 16, 2005 10:42 am
I don't want to be a better scripter. To hell with your secret plots! For hate's sake I spit my last breath at thee!
DeadEyeSavage
Peon
Posts: 38 Joined: Fri Jul 08, 2005 7:20 pm
Post
by DeadEyeSavage » Mon Apr 24, 2006 1:28 pm
What if i do this:
Code: Select all
if(iCvar[FT_NO_ORCNADES])
{
g_notAllowHE=true
}
It would basicly say no orc nades period no matter true or false? If teh cvar is set to one? Correct?
Meaning no "else" satement.