Forums Index >> Modding >> Big problem in creating new wep!!! help
Page : <1> :
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
The "D" in your "Datablock ProjectileData(Custom)" line should be a lowercase "d".
Not working
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
};