DAZZLE'S UPGRADE PACK

If you haven't already done so, upgrade your game by downloading Dazzle's all-in-one upgrade pack. It comes with everything you need for today's servers. Does your blue bar freeze when joining servers? Do you lag in games? Do you get an annoying siren in Phobik's Servers? This is what you need. CLICK HERE TO DOWNLOAD.

Power-Up Problem

Modding questions, answers, help.....

Moderators: Warfare, Admin, Moderator

User avatar
Dazzle
Evil Site Admin
Evil Site Admin
Posts: 1320
Joined: Fri Dec 29, 2006 6:59 am
Location: London, England
Contact:

Re: Power-Up Problem

Post by Dazzle »

Its the same problem as the reticle, the path the the actual projectile is incorrect or the object or bitmap you want to use cannot be found by the projectile datablock - make sure the path is correct where I have highlighted red in the example below.


datablock ProjectileData(BounceProjectile)
{
velocity = 35.0; // meters per second
inheritVelocity = 0.93; // how much of shooters velocity to inherit
numBounce = 8; // usually 0
bounceFactor = 0.5;
splashArea = 2.0; // usually 0
count = 45; // 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 = 150; // in milliseconds
burstDelay = 1000; // milliseconds until next burst if button held down
burstCount = 4; // 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 = 1; // usually 1
gravityScale = 1.7; //
sizeScale = 0.6; // scale of projectile (meters for bitmaps)
resource = "~/data/shapes/tanks/bounceprojectile.png"; // shape or bitmap
tankExplosion = "BounceTankExplosion"; // datablock for explosion
ownTankExplosion = "BounceOwnTankExplosion"; // datablock for explosion
bounceExplosion = "BounceBump"; // datablock for explosion
otherExplosion = "BounceExplosion"; // datablock for explosion
reticle = "BounceReticle";
};
User avatar
Taylor
Need Major Repair
Need Major Repair
Posts: 1201
Joined: Thu Jan 01, 2009 8:34 pm
Location: ERROR

Re: Power-Up Problem

Post by Taylor »

oh, .png?


EDIT: nope.
Last edited by Taylor on Thu Feb 12, 2009 9:22 pm, edited 1 time in total.
I signed up on New Years!
Macs Rule!
Proud BMT Member
Image
User avatar
Dazzle
Evil Site Admin
Evil Site Admin
Posts: 1320
Joined: Fri Dec 29, 2006 6:59 am
Location: London, England
Contact:

Re: Power-Up Problem

Post by Dazzle »

Or whatever the projectile is, png, jpeg, dts etc etc
Post Reply