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

Re: Power-Up Problem

Postby Dazzle on Thu Feb 12, 2009 8:56 pm

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
Dazzle
Evil Site Admin
Evil Site Admin
 
Posts: 1318
Joined: Fri Dec 29, 2006 6:59 am
Location: London, England
Has thanked: 2 times
Been thanked: 15 times

Re: Power-Up Problem

Postby Taylor on Thu Feb 12, 2009 9:17 pm

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
Taylor
Need Major Repair
Need Major Repair
 
Posts: 1201
Joined: Thu Jan 01, 2009 8:34 pm
Location: ERROR
Has thanked: 4 times
Been thanked: 1 time

Re: Power-Up Problem

Postby Dazzle on Thu Feb 12, 2009 9:21 pm

Or whatever the projectile is, png, jpeg, dts etc etc
User avatar
Dazzle
Evil Site Admin
Evil Site Admin
 
Posts: 1318
Joined: Fri Dec 29, 2006 6:59 am
Location: London, England
Has thanked: 2 times
Been thanked: 15 times

Previous

Return to Modding

Who is online

Users browsing this forum: No registered users and 1 guest

cron