Forums Index >> Help >> HELP HELP HELP HELP !!!! :S



Page : <1> :


I'm doing my own projectiles, in to my own server. That is what I put at the end of my mission:

Lightprojectile.resource = "game/data/shapes/tanks/reticleSpot.png";
Lightprojectile.damage = 5;
Lightprojectile.count = 99999;
Lightprojectile.burstcount = 99999;
Lightprojectile.gravityscale = 1;
Lightprojectile.velocity = 100;
Lightprojectile.sizescale = 1;
Lightprojectile.reloadtime = 100;
Lightprojectile.burstdelay = 400;
Lightprojectile.saveOldCartridge = true;
Lightprojectile.canSave = false;
Lightprojectile.splashArea = 1.2;
Lightprojectile.inheritVelocity = 0,7;
LightTank.defaultprojectile.emitter= "projectile2emitter";

Defaultprojectile.resource = "game/data/shapes/tanks/reticleSpot.png";
Defaultprojectile.damage = 5;
Defaultprojectile.count = 99999;
Defaultprojectile.burstcount = 99999;
Defaultprojectile.gravityscale = 1;
Defaultprojectile.velocity = 100;
Defaultprojectile.sizescale = 1;
Defaultprojectile.reloadtime = 100;
Defaultprojectile.burstdelay = 700;
Defaultprojectile.inheritVelocity = 0.7;
Defaultprojectile.saveOldCartridge = true;
Defaultprojectile.canSave = false;
Defaultprojectile.splashArea = 1.2;
MediumTank.defaultprojectile.emitter= "projectile2emitter";

Heavyprojectile.resource = "game/data/shapes/tanks/reticleSpot.png";
Heavyprojectile.damage = 6;
Heavyprojectile.count = 99999;
Heavyprojectile.burstcount = 99999;
Heavyprojectile.gravityscale = 1;
Heavyprojectile.velocity = 100;
Heavyprojectile.sizescale = 1;
Heavyprojectile.reloadtime = 100;
Heavyprojectile.burstdelay = 1000;
Heavyprojectile.inheritVelocity = 0.7;
Heavyprojectile.saveOldCartridge = true;
Heavyprojectile.canSave = true;
Heavyprojectile.splashArea = 1.2;
HeavyTank.defaultprojectile.emitter= "projectile2emitter";

DefaultExplosion.sound.filename = "game/data/sound/zap.ogg";
DefaultExplosion.resource = "game/data/shapes/common/jet.png";
DefaultExplosion.startscale = 4;
DefaultExplosion.endscale = 20;
DefaultExplosion.durationscale = 10000;

SpeedyProjectile.resource = "game/data/shapes/tanks/splashreticle.png";
SpeedyProjectile.damage = 50;
SpeedyProjectile.count = 99999;
SpeedyProjectile.burstcount = 99999;
SpeedyProjectile.gravityscale = 0;
SpeedyProjectile.velocity = 200;
SpeedyProjectile.sizescale = 2;
SpeedyProjectile.reloadtime = 10;
SpeedyProjectile.burstdelay = 40;
SpeedyProjectile.inheritVelocity = 1;
SpeedyProjectile.saveOldCartridge = false;
SpeedyProjectile.splashArea = 2;

SplashProjectile.resource = "game/data/shapes/common/scrumball.dts";
SplashProjectile.damage = 1000;
SplashProjectile.count = 20;
SplashProjectile.burstcount = 20;
SplashProjectile.gravityscale = 0;
SplashProjectile.velocity = 20;
SplashProjectile.sizescale = 2;
SplashProjectile.reloadtime = 1000;
SplashProjectile.burstdelay = 1000;
SplashProjectile.inheritVelocity = 1;
SplashProjectile.saveOldCartridge = false;
SplashProjectile.splashArea = 200;

SplashExplosion.sound.filename = "game/data/sound/ufo.ogg";
SplashExplosion.resource = "game/data/shapes/common/flame1.png";
SplashExplosion.startscale = 4;
SplashExplosion.endscale = 20;
SplashExplosion.durationscale = 10000;

BounceProjectile.resource = "game/data/shapes/tanks/brain.dts";
BounceProjectile.damage = 5;
Bounceprojectile.bouncefactor = 0.6;
Bounceprojectile.numbounce = 10;
BounceProjectile.count = 99999;
BounceProjectile.burstcount = 99999;
BounceProjectile.gravityscale = 2;
BounceProjectile.velocity = 65;
BounceProjectile.sizescale = 2;
BounceProjectile.reloadtime = 20;
BounceProjectile.burstdelay = 60;
BounceProjectile.inheritVelocity = 2;
BounceProjectile.saveOldCartridge = false;
BounceProjectile.splashArea = 1;

BounceExplosion.sound.filename = "game/data/sound/vent.ogg";
BounceExplosion.resource = "game/data/shapes/tanks/bounceexplosion.dts";
BounceExplosion = "bounceexplosion.dts";

Thursday, February 17, 2005 at 2:49:43 AM

Next, at the top of the mission I had :

Exec("game/server/scripts/emitters.cs");

And then, I did another document called emitters.cs, in to TT/game/server/scripts/emitters.cs, here I had the same text of the top:

Lightprojectile.resource = "game/data/shapes/tanks/reticleSpot.png";
Lightprojectile.damage = 5;
Lightprojectile.count = 99999;
Lightprojectile.burstcount = 99999;
Lightprojectile.gravityscale = 1;
Lightprojectile.velocity = 100;
Lightprojectile.sizescale = 1;
Lightprojectile.reloadtime = 100;
Lightprojectile.burstdelay = 400;
Lightprojectile.saveOldCartridge = true;
Lightprojectile.canSave = false;
Lightprojectile.splashArea = 1.2;
Lightprojectile.inheritVelocity = 0,7;
LightTank.defaultprojectile.emitter= "projectile2emitter";
............

When I open my server, some of the projectiles, are like normal projectiles. And something more that's wrong.

WHAT IS WRONG WITH ALL THAT?? :S

Bongo

Thursday, February 17, 2005 at 2:54:58 AM

Your emitter does not follow the code to make it an emitter. Read the emitter tutorial to find out how to make an emitter.

 

Thursday, February 17, 2005 at 4:45:06 AM

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