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.
Alright so i was trying to make custom Power-ups in my server. i followed benblue's tutorial, but when i tried to open my server, BANG it quits. why??? here's my P-up part of special.cs.
datablock ProjectileData(NinjaStar)
{
velocity = 150; // meters per second
inheritVelocity = 5; // how much of shooters velocity to inherit
numBounce = 0; // usually 0
splashArea = 0.0; // usually 0
count = 20; // 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 = 1400; // in milliseconds
burstDelay = 2000; // milliseconds until next burst if button held down
burstCount = 3; // 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 = 2; // usually 1
gravityScale = 2; //
sizeScale = 0.8; // scale of projectile (meters for bitmaps)
resource = "~/data/shapes/tanks/NinjaStar.jpg"; // shape or bitmap
tankExplosion = "DefaultTankExplosion"; // datablock for explosion
ownTankExplosion = "DefaultTankExplosion"; // datablock for explosion
bounceExplosion = "DefaultExplosion"; // datablock for explosion
otherExplosion = "DefaultExplosion"; // datablock for explosion
reticle = "NinjaReticle";
};
datablock ProjectileData(NinjaStar)
{
velocity = 150; // meters per second
inheritVelocity = 5; // how much of shooters velocity to inherit
numBounce = 0; // usually 0
splashArea = 0.0; // usually 0
count = 20; // 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 = 1400; // in milliseconds
burstDelay = 2000; // milliseconds until next burst if button held down
burstCount = 3; // 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 = 2; // usually 1
gravityScale = 2; //
sizeScale = 0.8; // scale of projectile (meters for bitmaps)
resource = "~/data/shapes/tanks/NinjaStar.jpg"; // shape or bitmap
tankExplosion = "DefaultTankExplosion"; // datablock for explosion
ownTankExplosion = "DefaultTankExplosion"; // datablock for explosion
bounceExplosion = "DefaultExplosion"; // datablock for explosion
otherExplosion = "DefaultExplosion"; // datablock for explosion
reticle = "NinjaReticle";
};
datablock ProjectileData(NinjaStar)
{
velocity = 150; // meters per second
inheritVelocity = 5; // how much of shooters velocity to inherit
numBounce = 0; // usually 0
splashArea = 0.0; // usually 0
count = 20; // 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 = 1400; // in milliseconds
burstDelay = 2000; // milliseconds until next burst if button held down
burstCount = 3; // 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 = 2; // usually 1
gravityScale = 2; //
sizeScale = 0.8; // scale of projectile (meters for bitmaps)
resource = "~/data/shapes/tanks/NinjaStar.jpg"; // shape or bitmap
tankExplosion = "DefaultTankExplosion"; // datablock for explosion
ownTankExplosion = "DefaultTankExplosion"; // datablock for explosion
bounceExplosion = "DefaultExplosion"; // datablock for explosion
otherExplosion = "DefaultExplosion"; // datablock for explosion
reticle = "NinjaReticle";
emitter = "YOUR EMITTER ( you need to make one or copy a simple made and paste and change name of it)
};
Taylor, do you even have a reticle that is "NInjaReticle"? And...Do you have a shape in "game/data/shapes/tanks" that is "NinjaStar"?
You can't just write whatever you want, the shape has to exist!
You dont need an Emitter (Look at Splash, Speedy and bounce, do they have Emitters?). Try changing the Reticle to something Simple such as SpeedyReticle, It may be something with your reticle.
Just saw Metals new post, He's right. Are you sure the reticle works? Try changing the, lets say, area reticle to your NinjaStar one. If Area doesnt work, Its all the reticle.
Ugh, I just saw Phobiks too! I already said that Phobik about the NinjaStar Object =) And you just stole my correcting for the Reticle! You must be reading minds now.... =)