Forums Index >> Modding >> weapon modding help



Page : <1> :


Ok I've tryed this a million times but I cant get it too work...i have a few questions..first were do I place the weapon mod lines? I've been given mixed messages a few times saying to put it after something put before something ect. Im trying to make a weapon mod that makes the default weapon useless so it wont fire and cant do damage ,if it somehow did fire. Any help would be appreciated.

Tuesday, January 27, 2004 at 10:41:12 PM

Put these lines under the line that says "OBJECT WRITE END". And, 0 in the damamge field would do no harm.

Wednesday, January 28, 2004 at 5:41:51 AM

Ya thats what I though..but when I test the level with 1 bot I can still shoot the bot and destroy it..i want to make a mod so you can't have Any weapons and the default weapon is out of ammo.

Wednesday, January 28, 2004 at 1:47:18 PM

Ok there has got to be somebody that can help.i've been in games where the default projectile has been changed. And thats all I need to know how to change the default projectile

This is what I have so far on the weapon mod

 

Lighttank.defaultprojectile = "defaultprojectile";

Mediumtank.defaultprojectile = "defaultprojectile";

Heavytank.defaultprojectile = "defaultprojectile";

Defaultprojectile.resource = "game/data/shapes/tanks/tank03.dts";

Defaultexplosion.resource = "game/data/shapes/tanks/TankExplosion01.png";

Defaultprojectile.damage = 0;

Defaultprojectile.count = 0;

Defaultprojectile.burstcount = 0;

Defaultprojectile.gravityscale = 0;

Defaultprojectile.velocity = 0;

Defaultprojectile.sizescale = 1;

Defaultprojectile.reloadtime = 10000000000000000000000000000000000000000;

Defaultprojectile.burstdelay = 1000000000000000000000000000000000000000;

Defaultexplosion.startscale = 1;

Defaultexplosion.endscale = 1;

 

If you can find anything here thats wrong plz tell me cuz im totaly lost as to what to do here.

And for the Defaultprojectile.resource = "game/data/shapes/tanks/tank03.dts"; line I just used the heavey tank thing just for something to take up space.

{edit} ok well I was just making sure I put the codes in right and everything and I made a thing so that the tank wont fire when you have a bounce back power up but now I need help makeing the default weapon not fire.{/edit}

 

Last edited: Wednesday, January 28, 2004 at 10:52:59 PM

Wednesday, January 28, 2004 at 10:33:28 PM

That's a bit too much code for something that only needs one line:

 

Defaultprojectile.count = 0;

 

The rest is just a wast of time.

 

Thursday, January 29, 2004 at 3:24:40 PM

*silence*.,............................. :S so I've spent hours trying to figure out how to do this with all these complex lines and stuff when all it needs is one line.............well now I feel like an idiot well thanks for the help brain. :).

[edit]well as I understand what you said brain is that you only have to put the one line Defaultprojectile.count = 0; in.well I did and it didn't do anything.[/edit]

Last edited: Thursday, January 29, 2004 at 4:57:17 PM

Thursday, January 29, 2004 at 4:50:43 PM

Defaultprojectile.count = 50;

Defualtprojectile.damage = 1;

Try that.

Thursday, January 29, 2004 at 5:46:36 PM

Hmmmmm well the point of making this mod was to get rid of the weapons. So if anyone else has anything to add that may help plz post.

 

Thursday, January 29, 2004 at 7:17:21 PM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald