Forums Index >> Modding >> Big problem in creating new wep!!! help



Page : <1> :


Can any body tell me whats wrong here?
it doesn't work

 

//-------------------------------------------------------
//----------------New Projectiles----------------
//------------------------------------------------------
Datablock ProjectileData(Custom) // Projectile Name Within ( )
{
velocity = 500.0; // meters per second
inheritVelocity = 1.00; // how much of shooters velocity to inherit
numBounce = 0; // usually 0
splashArea = 0; // usually 0
count = 500; // how many shots per clip?
saveOldCartridge = true; // chuck old cartridge or keep it around
canSave = false; // can this cartridge be saved if another comes along?
reloadTime = 1000; // in milliseconds
burstDelay = 1000; // milliseconds until next burst if button held down
burstCount = 50; // number of projectiles to fire per burst
synchTime = 1000; // synch over this many milliseconds
synchBefore = 500; // synch if not older than this in milliseconds
damage = 0.3; // usually 1
gravityScale = 0.0; //
sizeScale = 0.7; // scale of projectile (meters for bitmaps)
resource = "~/data/shapes/tanks/AreaProjectile.png"; // shape or bitmap
tankExplosion = "SplashExplosion"; // datablock for explosion
ownTankExplosion = "SplashExplosion"; // datablock for explosion
bounceExplosion = "DefaultExplosion"; // datablock for explosion
otherExplosion = "SplashExplosion"; // datablock for explosion
reticle = "OtherReticle"; // Reticle? OtherReticle --> Area , SpeedyReticle, BounceReticle, DefaultReticle
emitter = "areaemitter"; // OPTIONAL; leave empty if you want no emitter
};

 

 

Sunday, July 31, 2005 at 11:21:05 AM
b20

Oh you want to make new weapons? That's easy if you follow the instructions here .

-CUC-

Last edited: Enemy Territory rules! I play it every day!

- b20

Sunday, July 31, 2005 at 11:29:21 AM

The "D" in your "Datablock ProjectileData(Custom)" line should be a lowercase "d".

 

Sunday, July 31, 2005 at 1:58:40 PM

Not working

Monday, August 01, 2005 at 4:14:47 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