Page 2 of 2

Re: Help with my gun

Posted: Thu Apr 16, 2009 11:18 am
by Feralidragon
Well, saw the files, and I found your mistake:

What I placed was this above:
Feralidragon wrote: //This replaces both Shock Core and Bullet Box for a God Core
if ((o.isA('ShockCore') && !o.isA('GodCore')) || o.isA('BulletBox'))
{
replaceWith(o, "MyPackage.GodCore");
return false;
}
What you did miss was this:
//This replaces both Shock Core and Bullet Box for a God Core
if ((o.isA('ShockCore') && !o.isA('GodCore')) || o.isA('BulletBox'))
{
replaceWith(o, "MyPackage.GodCore");
return false;
}


If you place that missing pharentesis in the place, it will compile.

Re: Help with my gun

Posted: Thu Apr 16, 2009 11:49 am
by mmdanggg2
thats good it compiles now but the mod dont work it gets rid of all the ammo apart from the shock core

Re: Help with my gun

Posted: Fri Apr 17, 2009 12:08 pm
by Feralidragon
mmdanggg2 wrote:thats good it compiles now but the mod dont work it gets rid of all the ammo apart from the shock core
What do you mean?

Re: Help with my gun

Posted: Fri Apr 17, 2009 12:45 pm
by mmdanggg2
when i add the mod it removes all the ammo from the map apart from the shock core

Re: Help with my gun

Posted: Mon Apr 20, 2009 10:12 am
by Feralidragon
mmdanggg2 wrote:when i add the mod it removes all the ammo from the map apart from the shock core
When I saw your files for the first time, I saw also that you had (maybe) some unnecessary mutators. I mean, you had mutators that only replaced ammo, but what's the use without the respective weapons?
Check if you enabled all the mutators, and enable one by one, and play it seperatelly, and the ones that give you that problem, just copy and paste their code to here.

Re: Help with my gun

Posted: Thu Aug 20, 2009 2:26 am
by zacman
If there are numbers at the beginning of ANY of your Classnames, NOTHING will compile. May want to just check all your classes... Otherwise, I dunno... I could write you one that's a little simpler, without the Or Command...