Forums Index >> Modding >> what code do you put ?
Page : <1> :
I think it is just a Lightprojectile.sound = "RockBoom"; etc.
Or Lightprojectile.sound.filename = "game/data/sounds/explode.ogg";
I'm not 100% becouse I can't try it now, im on "PTT"-computer. My brother is at "ThinkTanks"-computer now.
Try it, %)
*Belch*
Fast tank set
________________________________________________________________________
This is one of the sets I use in my mods.
If you don't have Emitters... Don't worry just delete that line. Although it's much more fun with them...
________________________________________________________________________
Place this text after the //--- OBJECT WRITE END ---
________________________________________________________________________
//Fast tank Set//
//Volcano//
Volcanodb.projectile = "VolcanoRock";
Volcanodb.sound = "EruptSound";
Volcanodb.category = "Volcano";
Volcanodb.shadow = false;
Volcanodb.staticShadow = true;
Volcanodb.shape = "game/data/shapes/common/volcano.dts";
Volcanodb.minAttackDelay = 2000;
Volcanodb.maxAttackDelay = 10000;
Volcanodb.minAttackRocks = 1;
Volcanodb.maxAttackRocks = 5;
VolcanoRock.emitter= "SmokeTrailemitter";
VolcanoRock.className = "ProjectileData";
VolcanoRock.resource = "game/data/shapes/common/volcanorock01.dts";
VolcanoRock.reticle = "OtherReticle";
VolcanoRock.numbounce = 10;
VolcanoRock.bounceFactor = 0.5;
VolcanoRock.damage = 3;
VolcanoRock.splashArea = 5;
VolcanoRock.gravityscale = 0.3;
VolcanoRock.velocity = 12;
VolcanoRock.inheritVelocity = 0;
VolcanoRock.count = 1;
VolcanoRock.burstcount = 1;
VolcanoRock.burstdelay = 20;
VolcanoRock.reloadtime = 250;
VolcanoRock.synchTime = 1000;
VolcanoRock.synchBefore = 500;
VolcanoRock.sizescale = 5.0;
VolcanoRock.maxRotation = 360.0;
RockExplosion.resource = "game/data/shapes/Common/VolcanoExplosion.png";
RockExplosion.sound.filename = "game/data/sound/EruptSound.wav";
RockExplosion.startscale = 1;
RockExplosion.durationscale = 3000;
RockExplosion.endscale = 15;
RockTankExplosion.resource = "game/data/shapes/Common/Volcanobump.png";
RockTankExplosion.sound.filename = "game/data/sound/EruptSound.wav";
RockTankExplosion.startscale = 2;
RockTankExplosion.durationscale = 3000;
RockTankExplosion.endscale = 20;
RockOwnTankExplosion.resource = "game/data/shapes/Common/Volcanobump.png";
RockOwnTankExplosion.sound.filename = "game/data/sound/EruptSound.wav";
RockOwnTankExplosion.startscale = 1;
RockOwnTankExplosion.durationscale = 3000;
RockOwnTankExplosion.endscale = 10;
RockBounceExplosion.resource = "game/data/shapes/Common/VolcanoExplosion.png";
RockBounceExplosion.sound.filename = "game/data/sound/EruptSound.wav";
RockBounceExplosion.startscale = 1;
RockBounceExplosion.durationscale = 3000;
RockBounceExplosion.endscale = 10;
RockOtherExplosion.resource = "game/data/shapes/Common/VolcanoExplosion.png";
RockOtherExplosion.sound.filename = "game/data/sound/EruptSound.wav";
RockOtherExplosion.startscale = 1;
RockOtherExplosion.durationscale = 3000;
RockOtherExplosion.endscale = 10;
RockBump.resource = "game/data/shapes/tanks/smoke.png";
RockBump.sound.filename = "game/data/sound/explodeVolcano.wav";
RockBump.startscale = 1;
RockBump.Durationscale = 3000;
RockBump.endscale = 15;
//Floating Brain//
BrainProjectile.emitter= "Rocketemitter";
BrainProjectile.numbounce = 500.0;
BrainProjectile.bounceFactor = 0.1;
BrainProjectile.Bouncebump.resource = "game/data/shapes/Common/jet.png";
BrainProjectile.Bouncebump.startscale = 1;
BrainProjectile.Bouncebump.endscale = 100;
BrainProjectile.Bouncebump.Durationscale = 1000;
BrainProjectile.splashArea = 1;
BrainProjectile.gravityscale = 0.08;
BrainProjectile.velocity = 2.5;
BrainProjectile.inheritVelocity = 0;
BrainProjectile.sizescale = 1;
BrainProjectile.Durationscale = 100;
BrainProjectile.FadeTime = 1000;
Brainexplosion.resource = "game/data/shapes/tanks/smoke.png";
Brainexplosion.startscale = 1;
Brainexplosion.durationscale = 100;
Brainexplosion.endscale = 1000;
BrainProjectileFx.corpseFlipSpeed = 10;
BrainProjectileFx.corpseSmokeTime = 500;
BrainProjectileFx.corpseFadeTime = 500;
BrainProjectileFx.corpseFadeSpeed = 10.0;
//DefaultTankFx//
//Emitter TankFx//
DefaultTankFx.damageEmitterStart = 0.1;
DefaultTankFx.damageEmitter = "SmokeEmitter";
DefaultTankFx.damageEmitterNode = "smoke1";
//Corpse TankFx//
DefaultTankFx.corpseRotateRate = 0.02;
DefaultTankFx.corpseShakeTime = 2.0;
DefaultTankFx.corpseShakeSpeed = 1.0;
DefaultTankFx.corpseShakeAmp = 1.0;
DefaultTankFx.corpseJumpHeight = 0.5;
DefaultTankFx.corpseFlipSpeed = 0.3;
DefaultTankFx.corpseSmokeTime = 500.0;
DefaultTankFx.corpseFadeTime = 500.0;
DefaultTankFx.corpseFadeSpeed = 1.0;
DefaultTankFx.looseHeadSound.filename = "game/data/sound/eject.ogg";
DefaultTankFx.fireSound.filename = "game/data/sound/vocZoom.ogg";
DefaultTankFx.dryFireSound.filename = "game/data/sound/dryFire.ogg";
//BabyBossFX//
//Emitter BabyBossFX//
BabyBossFX.damageEmitterStart = 0.1;
BabyBossFX.damageEmitter = "SmokeEmitter";
BabyBossFX.damageEmitterNode = "smoke1";
//Corpse BabyBossFX//
BabyBossFX.corpseRotateRate = 0.02;
BabyBossFX.corpseShakeTime = 2.0;
BabyBossFX.corpseShakeSpeed = 1.0;
BabyBossFX.corpseShakeAmp = 1.0;
BabyBossFX.corpseJumpHeight = 0.5;
BabyBossFX.corpseFlipSpeed = 0.3;
BabyBossFX.corpseSmokeTime = 500.0;
BabyBossFX.corpseFadeTime = 500.0;
BabyBossFX.corpseFadeSpeed = 1.0;
BabyBossFX.looseHeadSound.filename = "game/data/sound/eject.ogg";
BabyBossFX.fireSound.filename = "game/data/sound/vocZoom.ogg";
BabyBossFX.dryFireSound.filename = "game/data/sound/dryFire.ogg";
//ufoFX//
//Emitter ufoFX//
ufoFX.damageEmitterStart = 0.1;
ufoFX.damageEmitter = "SmokeEmitter";
ufoFX.damageEmitterNode = "smoke1";
//Corpse ufoFX//
ufoFX.corpseRotateRate = 0.02;
ufoFX.corpseShakeTime = 2.0;
ufoFX.corpseShakeSpeed = 1.0;
ufoFX.corpseShakeAmp = 1.0;
ufoFX.corpseJumpHeight = 0.5;
ufoFX.corpseFlipSpeed = 0.3;
ufoFX.corpseSmokeTime = 500.0;
ufoFX.corpseFadeTime = 500.0;
ufoFX.corpseFadeSpeed = 1.0;
ufoFX.looseHeadSound.filename = "game/data/sound/eject.ogg";
ufoFX.fireSound.filename = "game/data/sound/vocZoom.ogg";
ufoFX.dryFireSound.filename = "game/data/sound/dryFire.ogg";
//LightTank//
LightTank.shapeFile = "game/data/shapes/tanks/tank01.dts";
LightTank.brainShapeFile = "game/data/shapes/tanks/brainjar01.dts";
LightTank.camera = "DefaultTankCamera";
LightTank.fx = "DefaultTankFx";
LightTank.turnrate = 90.0;
LightTank.accelrate = 40.0;
LightTank.maxspeed = 50.9;
LightTank.deccelrate = 100.0;
LightTank.coastdeccelrate = 100.0;
LightTank.antiSliderate = 50.0;
LightTank.suspensionrange = 2.0;
LightTank.springrangeX = 0.06;
LightTank.springrangeY = 0.06;
LightTank.springvelscale = 1.0;
LightTank.springcorrectscale = 2.0;
LightTank.springcorrectscale = 0.99;
LightTank.turretvercenter = 2.0;
LightTank.turrethorsange = 90.0;
LightTank.turretversange = 30.0;
LightTank.turretautoleve = 0.92;
LightTank.damageamount = 12;
LightTank.damagescale = 1.0;
LightTank.armorscale = 1.0;
//MediumTank//
MediumTank.shapeFile = "game/data/shapes/tanks/tank02.dts";
MediumTank.brainShapeFile = "game/data/shapes/tanks/brainjar02.dts";
MediumTank.camera = "DefaultTankCamera";
MediumTank.fx = "DefaultTankFx";
MediumTank.turnrate = 90;
MediumTank.accelrate = 38;
MediumTank.maxspeed = 45;
MediumTank.deccelrate = 100.0;
MediumTank.coastdeccelrate = 100.0;
MediumTank.antiSliderate = 50.0;
MediumTank.suspensionrange = 2.0;
MediumTank.springrangeX = 0.06;
MediumTank.springrangeY = 0.06;
MediumTank.springvelscale = 1.0;
MediumTank.springcorrectscale = 2.0;
MediumTank.springcorrectscale = 0.99;
MediumTank.turretvercenter = 2.0;
MediumTank.turrethorsange = 90.0;
MediumTank.turretversange = 30.0;
MediumTank.turretautoleve = 0.5;
MediumTank.damageamount = 16;
MediumTank.damagescale = 1.0;
MediumTank.armorscale = 1.0;
//HeavyTank//
HeavyTank.shapeFile = "game/data/shapes/tanks/tank03.dts";
HeavyTank.brainShapeFile = "game/data/shapes/tanks/brainjar03.dts";
HeavyTank.camera = "DefaultTankCamera";
HeavyTank.Fx = "DefaultTankFx";
HeavyTank.turnrate = 90.0;
HeavyTank.accelrate = 25.0;
HeavyTank.maxspeed = 40.0;
HeavyTank.deccelrate = 100.0;
HeavyTank.coastdeccelrate = 100;
HeavyTank.antiSliderate = 50.0;
HeavyTank.suspensionrange = 2.0;
HeavyTank.springrangeX = 0.06;
HeavyTank.springrangeY = 0.06;
HeavyTank.springvelscale = 1.0;
HeavyTank.springcorrectscale = 2.0;
HeavyTank.springcorrectscale = 0.99;
HeavyTank.turretvercenter = 2.0;
HeavyTank.turrethorsange = 90.0;
HeavyTank.turretversange = 30.0;
HeavyTank.turretautoleve = 1.0;
HeavyTank.damageamount = 20.0;
HeavyTank.damagescale = 1.0;
HeavyTank.armorscale = 1.0;
//BabyBoss//
BabyBoss.shapeFile = "game/data/shapes/tanks/tank05.dts";
BabyBoss.brainShapeFile = "game/data/shapes/tanks/brainjar04.dts";
BabyBoss.camera = "DefaultTankCamera";
BabyBoss.fx = "BabyBossFX";
BabyBoss.turnrate = 90.0;
BabyBoss.accelrate = 40.0;
BabyBoss.maxspeed = 50.0;
BabyBoss.deccelrate = 100.0;
BabyBoss.coastdeccelrate = 100.0;
BabyBoss.antiSliderate = 50.0;
BabyBoss.suspensionrange = 2.0;
BabyBoss.springrangeX = 0.06;
BabyBoss.springrangeY = 0.06;
BabyBoss.springvelscale = 1.0;
BabyBoss.springcorrectscale = 2.0;
BabyBoss.springcorrectscale = 0.99;
BabyBoss.turretvercenter = 2.0;
BabyBoss.turrethorsange = 90.0;
BabyBoss.turretversange = 30.0;
BabyBoss.turretautoleve = 0.92;
BabyBoss.damageamount = 10.0;
BabyBoss.damagescale = 1.0;
BabyBoss.armorscale = 1.0;
//BossTank//
BossTank.shapeFile = "game/data/shapes/tanks/tank04.dts";
BossTank.brainShapeFile = "game/data/shapes/tanks/brainjar04.dts";
BossTank.camera = "DefaultTankCamera";
BossTank.fx = "ufoFX";
BossTank.turnrate = 90.0;
BossTank.accelrate = 25.0;
BossTank.maxspeed = 40.0;
BossTank.deccelrate = 100.0;
BossTank.coastdeccelrate = 100.0;
BossTank.antiSliderate = 50.0;
BossTank.suspensionrange = 2.0;
BossTank.springrangeX = 0.06;
BossTank.springrangeY = 0.06;
BossTank.springvelscale = 1.0;
BossTank.springcorrectscale = 2.0;
BossTank.springcorrectscale = 0.99;
BossTank.turretvercenter = 2.0;
BossTank.turrethorsange = 90.0;
BossTank.turretversange = 30.0;
BossTank.turretautoleve = 1.0;
BossTank.damageamount = 24.0;
BossTank.damagescale = 1.0;
BossTank.armorscale = 1.0;
//Lighttank Weapon//
Lighttank.defaultprojectile.emitter= "Phaseremitter";
LightProjectile.className = "ProjectileData";
LightProjectile.resource = "game/data/shapes/tanks/AreaProjectile.jpg";
LightProjectile.reticle = "DefaultReticle";
LightProjectile.bounceFactor = 0.5;
LightProjectile.numBounce = 3;
LightProjectile.damage = 0.8;
LightProjectile.splasharea = 1;
LightProjectile.gravityscale = 0.4;
LightProjectile.velocity = 100;
LightProjectile.inheritVelocity = 0;
LightProjectile.count = 1000;
LightProjectile.burstcount = 50;
LightProjectile.burstdelay = 0;
LightProjectile.reloadtime = 0;
LightProjectile.sizescale = 0.5;
LightProjectile.Rockbump.resource = "game/data/shapes/tanks/BossGlassSpec.png";
LightProjectile.Rockbump.sound.filename = "game/data/sound/groundColl.ogg";
LightProjectile.Rockbump.startscale = 1;
LightProjectile.Rockbump.Durationscale = 500;
LightProjectile.Rockbump.endscale = 20;
//Mediumtank Weapon//
Mediumtank.defaultprojectile.emitter= "Phaseremitter";
Mediumprojectile.className = "ProjectileData";
Mediumprojectile.resource = "game/data/shapes/tanks/AreaProjectile.jpg";
Mediumprojectile.reticle = "DefaultReticle";
Mediumprojectile.bounceFactor = 0.5;
Mediumprojectile.numBounce = 3;
Mediumprojectile.damage = 0.8;
Mediumprojectile.splashArea = 1;
Mediumprojectile.gravityscale = 0.4;
Mediumprojectile.velocity = 100;
Mediumprojectile.inheritVelocity = 0;
Mediumprojectile.count = 1000;
Mediumprojectile.burstcount = 50;
Mediumprojectile.burstdelay = 0;
Mediumprojectile.reloadtime = 0;
Mediumprojectile.sizescale = 0.5;
Mediumprojectile.Rockbump.resource = "game/data/shapes/tanks/BossGlassSpec.png";
Mediumprojectile.Rockbump.sound.filename = "game/data/sound/groundColl.ogg";
Mediumprojectile.Rockbump.startscale = 1;
Mediumprojectile.Rockbump.Durationscale = 500;
Mediumprojectile.Rockbump.endscale = 20;
//Heavytank Weapon//
Heavytank.defaultprojectile.emitter= "Phaseremitter";
Heavyprojectile.className = "ProjectileData";
Heavyprojectile.resource = "game/data/shapes/tanks/AreaProjectile.jpg";
Heavyprojectile.reticle = "DefaultReticle";
Heavyprojectile.bounceFactor = 0.5;
Heavyprojectile.numBounce = 3;
Heavyprojectile.damage = 0.8;
Heavyprojectile.splashArea = 1;
Heavyprojectile.gravityscale = 0.4;
Heavyprojectile.velocity = 100;
Heavyprojectile.inheritVelocity = 0;
Heavyprojectile.count = 1000;
Heavyprojectile.burstcount = 50;
Heavyprojectile.burstdelay = 0;
Heavyprojectile.reloadtime = 0;
Heavyprojectile.sizescale = 0.5;
Heavyprojectile.Rockbump.resource = "game/data/shapes/tanks/BossGlassSpec.png";
Heavyprojectile.Rockbump.sound.filename = "game/data/sound/groundColl.ogg";
Heavyprojectile.Rockbump.startscale = 1;
Heavyprojectile.Rockbump.Durationscale = 500;
Heavyprojectile.Rockbump.endscale = 20;
//BabyBoss Weapon//
BabyBoss.defaultprojectile.emitter= "Phaseremitter";
BabyBossprojectile.className = "ProjectileData";
BabyBossprojectile.resource = "game/data/shapes/tanks/AreaProjectile.jpg";
BabyBossprojectile.reticle = "DefaultReticle";
BabyBossprojectile.bounceFactor = 0.5;
BabyBossprojectile.numBounce = 3;
BabyBossprojectile.damage = 0.8;
BabyBossprojectile.splasharea = 1;
BabyBossprojectile.gravityscale = 0.4;
BabyBossprojectile.velocity = 100;
BabyBossprojectile.inheritVelocity = 0;
BabyBossprojectile.count = 1000;
BabyBossprojectile.burstcount = 50;
BabyBossprojectile.burstdelay = 0;
BabyBossprojectile.reloadtime = 0;
BabyBossprojectile.sizescale = 0.5;
BabyBossprojectile.Rockbump.resource = "game/data/shapes/tanks/BossGlassSpec.png";
BabyBossprojectile.Rockbump.sound.filename = "game/data/sound/groundColl.ogg";
BabyBossprojectile.Rockbump.startscale = 1;
BabyBossprojectile.Rockbump.Durationscale = 500;
BabyBossprojectile.Rockbump.endscale = 20;
//BossTank Weapon//
BossTank.defaultprojectile.emitter= "Phaseremitter";
BossTankprojectile.className = "ProjectileData";
BossTankprojectile.resource = "game/data/shapes/tanks/AreaProjectile.jpg";
BossTankprojectile.reticle = "DefaultReticle";
BossTankprojectile.bounceFactor = 0.5;
BossTankprojectile.numBounce = 3;
BossTankprojectile.damage = 0.8;
BossTankprojectile.splasharea = 1;
BossTankprojectile.gravityscale = 0.4;
BossTankprojectile.velocity = 100;
BossTankprojectile.inheritVelocity = 0;
BossTankprojectile.count = 1000;
BossTankprojectile.burstcount = 50;
BossTankprojectile.burstdelay = 0;
BossTankprojectile.reloadtime = 0;
BossTankprojectile.sizescale = 0.5;
BossTankprojectile.Rockbump.resource = "game/data/shapes/tanks/BossGlassSpec.png";
BossTankprojectile.Rockbump.sound.filename = "game/data/sound/groundColl.ogg";
BossTankprojectile.Rockbump.startscale = 1;
BossTankprojectile.Rockbump.Durationscale = 500;
BossTankprojectile.Rockbump.endscale = 20;
//Splash lg connon ball with trial//
Splashprojectile.emitter= "SmokeTrailemitter";
Splashprojectile.className = "ProjectileData";
Splashprojectile.resource = "game/data/shapes/tanks/DefaultProjectile.jpg";
Splashprojectile.reticle = "OtherReticle";
Splashprojectile.bounceFactor = 0.01;
Splashprojectile.numBounce = 5;
Splashprojectile.damage = 5;
Splashprojectile.splashArea = 4;
Splashprojectile.gravityScale = 0.5;
Splashprojectile.velocity = 50;
Splashprojectile.inheritVelocity = 0;
Splashprojectile.count = 10;
Splashprojectile.burstCount = 1;
Splashprojectile.burstDelay = 50;
Splashprojectile.reloadTime = 1;
Splashprojectile.sizeScale = 1.5;
Splashexplosion.resource = "game/data/shapes/tanks/smoke.png";
Splashexplosion.sound.filename = "game/data/sound/erupt.ogg";
Splashexplosion.startscale = 1;
Splashexplosion.durationscale = 1000;
Splashexplosion.endscale = 100;
SplashTankExplosion.resource = "game/data/shapes/tanks/SplashReticle.png";
SplashTankexplosion.sound.filename = "game/data/sound/explodeVolcano.wav";
SplashTankExplosion.startscale = 2;
SplashTankExplosion.durationscale = 1000;
SplashTankExplosion.endscale = 20;
SplashOwnTankExplosion.resource = "game/data/shapes/tanks/SplashReticle.png";
SplashOwnTankexplosion.sound.filename = "game/data/sound/explodeVolcano.ogg";
SplashOwnTankExplosion.startscale = 1;
SplashOwnTankExplosion.durationscale = 1000;
SplashOwnTankExplosion.endscale = 10;
SplashBounceExplosion.resource = "game/data/shapes/tanks/smoke.png";
SplashBounceExplosion.sound.filename = "game/data/sound/erupt.ogg";
SplashBounceExplosion.startscale = 1;
SplashBounceExplosion.durationscale = 1000;
SplashBounceExplosion.endscale = 10;
SplashOtherExplosion.resource = "game/data/shapes/tanks/smoke.png";
SplashOtherExplosion.sound.filename = "game/data/sound/erupt.ogg";
SplashOtherExplosion.startscale = 1;
SplashOtherExplosion.durationscale = 1000;
SplashOtherExplosion.endscale = 10;
Splashprojectile.Bouncebump.resource = "game/data/shapes/tanks/smoke.png";
Splashprojectile.Bouncebump.sound.filename = "game/data/sound/staticColl.ogg";
Splashprojectile.Bouncebump.startscale = 1;
Splashprojectile.Bouncebump.Durationscale = 500;
Splashprojectile.Bouncebump.endscale = 20;
//Bounce mines with long white trial//
Bounceprojectile.emitter= "snowgunemitter";
Bounceprojectile.className = "ProjectileData";
Bounceprojectile.resource = "game/data/shapes/tanks/BossGlassSpec.png";
Bounceprojectile.reticle = "BounceReticle";
Bounceprojectile.numbounce = 50;
Bounceprojectile.bounceFactor = 0.08;
bounceprojectile.damage = 2;
bounceprojectile.splashArea = 2;
Bounceprojectile.gravityscale = 0.7;
Bounceprojectile.velocity = 20;
Bounceprojectile.inheritVelocity = 0;
Bounceprojectile.count = 10;
Bounceprojectile.burstcount = 1;
Bounceprojectile.burstdelay = 20;
Bounceprojectile.reloadtime = 10;
Bounceprojectile.sizescale = 1;
Bounceexplosion.resource = "game/data/shapes/tanks/smoke.png";
Bounceexplosion.sound.filename = "game/data/sound/explodeArea.ogg";
Bounceexplosion.startscale = 1;
Bounceexplosion.durationscale = 1000;
Bounceexplosion.endscale = 30;
BounceTankExplosion.resource = "game/data/shapes/tanks/BounceReticle.png";
BounceTankExplosion.sound.filename = "game/data/sound/explodeHitYou.ogg";
BounceTankExplosion.startscale = 2;
BounceTankExplosion.durationscale = 1000;
BounceTankExplosion.endscale = 20;
BounceOwnTankExplosion.resource = "game/data/shapes/tanks/BounceReticle.png";
BounceOwnTankExplosion.sound.filename = "game/data/sound/explodeHitYou.ogg";
BounceOwnTankExplosion.startscale = 1;
BounceOwnTankExplosion.durationscale = 1000;
BounceOwnTankExplosion.endscale = 10;
BounceBounceExplosion.resource = "game/data/shapes/tanks/smoke.png";
BounceBounceExplosion.sound.filename = "game/data/sound/explodeArea.ogg";
BounceBounceExplosion.startscale = 1;
BounceBounceExplosion.durationscale = 1000;
BounceBounceExplosion.endscale = 10;
BounceOtherExplosion.resource = "game/data/shapes/tanks/smoke.png";
BounceOtherExplosion.sound.filename = "game/data/sound/explodeArea.ogg";
BounceOtherExplosion.startscale = 1;
BounceOtherExplosion.durationscale = 1000;
BounceOtherExplosion.endscale = 10;
Bouncebump.resource = "game/data/shapes/Common/jet.png";
Bouncebump.sound.filename = "game/data/sound/bounceVolcano.ogg";
Bouncebump.startscale = 1;
Bouncebump.Durationscale = 1000;
Bouncebump.endscale = 15;
//Speedy rainbow laser//
Speedyprojectile.emitter= "laseremitter";
Speedyprojectile.className = "ProjectileData";
Speedyprojectile.resource = "game/data/shapes/common/powerupflash.png";
Speedyprojectile.reticle = "SpeedyReticle";
SpeedyProjectile.damage = 1;
SpeedyProjectile.gravityscale = 0;
Speedyprojectile.velocity = 300;
Speedyprojectile.inheritVelocity = 0;
Speedyprojectile.count = 500;
Speedyprojectile.burstcount = 50;
SpeedyProjectile.burstdelay = 0;
SpeedyProjectile.reloadtime = 0;
SpeedyProjectile.sizescale = 1.25;
Speedyexplosion.resource = "game/data/shapes/tanks/smoke.png";
Speedyexplosion.sound.filename = "game/data/sound/spQuick.ogg";
Speedyexplosion.startscale = 1;
Speedyexplosion.durationscale = 1000;
Speedyexplosion.endscale = 10;
SpeedyTankExplosion.resource = "game/data/shapes/tanks/SpeedyReticle.png";
SpeedyTankExplosion.sound.filename = "game/data/sound/zap.ogg";
SpeedyTankExplosion.startscale = 2;
SpeedyTankExplosion.durationscale = 1000;
SpeedyTankExplosion.endscale = 20;
SpeedyOwnTankExplosion.resource = "game/data/shapes/tanks/SpeedyReticle.png";
SpeedyOwnTankExplosion.sound.filename = "game/data/sound/zap.ogg";
SpeedyOwnTankExplosion.startscale = 1;
SpeedyOwnTankExplosion.durationscale = 1000;
SpeedyOwnTankExplosion.endscale = 10;
SpeedyBounceExplosion.resource = "game/data/shapes/tanks/smoke.png";
SpeedyBounceExplosion.sound.filename = "game/data/sound/spQuick.ogg";
SpeedyBounceExplosion.startscale = 1;
SpeedyBounceExplosion.durationscale = 1000;
SpeedyBounceExplosion.endscale = 10;
SpeedyOtherExplosion.resource = "game/data/shapes/tanks/smoke.png";
SpeedyOtherExplosion.sound.filename = "game/data/sound/spQuick.ogg";
SpeedyOtherExplosion.startscale = 1;
SpeedyOtherExplosion.durationscale = 1000;
SpeedyOtherExplosion.endscale = 10;
//DefaultExplosion//
DefaultExplosion.resource = "game/data/shapes/tanks/smoke.png";
DefaultExplosion.sound.filename = "game/data/sound/zap.ogg";
DefaultExplosion.startscale = 0.25;
DefaultExplosion.durationscale = 5000;
DefaultExplosion.endscale = 8;
DefaultTankExplosion.resource = "game/data/shapes/tanks/smoke.png";
DefaultTankExplosion.sound.filename = "game/data/sound/explodeHitYou.ogg";
DefaultTankExplosion.startscale = 2;
DefaultTankExplosion.durationscale = 1000;
DefaultTankExplosion.endscale = 5;
DefaultOwnTankExplosion.resource = "game/data/shapes/common/Volcanobump.png";
DefaultOwnTankExplosion.sound.filename = "game/data/sound/explodeHitYou.ogg";
DefaultOwnTankExplosion.startscale = 2;
DefaultOwnTankExplosion.durationscale = 1000;
DefaultOwnTankExplosion.endscale = 8;
DefaultBounceExplosion.resource = "game/data/shapes/Common/VolcanoExplosion.png";
DefaultBounceExplosion.sound.filename = "game/data/sound/zap.ogg";
DefaultBounceExplosion.startscale = 1;
DefaultBounceExplosion.durationscale = 1000;
DefaultBounceExplosion.endscale = 10;
DefaultOtherExplosion.resource = "game/data/shapes/Common/VolcanoExplosion.png";
DefaultOtherExplosion.sound.filename = "game/data/sound/zap.ogg";
DefaultOtherExplosion.startscale = 1;
DefaultOtherExplosion.durationscale = 1000;
DefaultOtherExplosion.endscale = 10;
Wow look what's been available the whole time...%^&*%*^ %^&*
www.maxworks.com
THE NEW MODDING RESOURCE
@ Boo - Not a word.
Last edited: Friday, March 18, 2005 at 10:56:06 PM
Patience Max
Your efforts are most appreciated and I wish
the MODDING RESOURCE was available when I started modding
It is an invaluable encyclopedia of mod knowledge
But remember that many here are overgrown hormone factories wearing sneakers
They have no pateince soooo you need to have extra
Roo
@ Max
I bookmarkED that page already verry handy ;)
But I want a different sound for the light tank default weapon's sound insted of the firing sound ya know how to do that?
that would help A BUNCH ;)
Thanks XD ;)
*insert straight faced smiley here*
DefaultTankFx.fireSound.filename = "game/data/sound/vocZoom.ogg";
Thanks but I need it for:
splash
bounce
ans speedy
DefaultTankFx.SplashSound.filename = "game/data/sound/vocZoom.ogg";
:[
Last edited: Saturday, March 19, 2005 at 11:39:56 AM
@ Spark3 {TK}-C - That code Chilled Lizard© is referring to, came from the code I already gave you above... Thus the *insert straight faced smiley here* remark. That was a humorous poke at you..
He just copy/pasted it, to point out that it was there. But you still missed it. Hmm?
Do you have problems reading or something.
Everything for tanks, tank fx, weapons, projectiles, power-ups, and even volcanoes is right there.
I'm not sure what else to do but go over to your house and copy/paste that text into your.mis file for you.
MAX
I DONT FRIGGIAN CARE ABOUT THE "FAST TANK SET"
Fine, just put this at the bottom... I don't know how to make it easier for ya... :o
LightTank.fx = "SparksTankEffects";
//SparksTankFx//
//Emitter TankFx//
SparksTankEffects.damageEmitterStart = 0.1;
SparksTankEffects.damageEmitter = "SmokeEmitter";
SparksTankEffects.damageEmitterNode = "smoke1";
//Corpse TankFx//
SparksTankEffects.corpseRotateRate = 0.02;
SparksTankEffects.corpseShakeTime = 2.0;
SparksTankEffects.corpseShakeSpeed = 1.0;
SparksTankEffects.corpseShakeAmp = 1.0;
SparksTankEffects.corpseJumpHeight = 0.5;
SparksTankEffects.corpseFlipSpeed = 0.3;
SparksTankEffects.corpseSmokeTime = 500.0;
SparksTankEffects.corpseFadeTime = 500.0;
SparksTankEffects.corpseFadeSpeed = 1.0;
SparksTankEffects.looseHeadSound.filename = "game/data/sound/eject.ogg";
SparksTankEffects.fireSound.filename = "game/data/sound/vocZoom.ogg";
SparksTankEffects.dryFireSound.filename = "game/data/sound/dryFire.ogg";
Just change
SparksTankEffects.fireSound.filename = "game/data/sound/vocZoom.ogg";
To the path of your own sound file. Tada! It will then only work with the light tank.
What do you want then?
Last edited: Friday, March 25, 2005 at 8:15:17 AM
Yes Max, but I think he wanted it to only take effect on the LIGHT TANK. That's why I gave my code up there, the "SparksTankEffects". :P
@ Chilled Lizard© - Good point, Thanks.
but...
@ Spark3 {TK}-C - Clearly I don't understand what you want. Do you want only the light tank to have it's own sounds for default, splash, bounce, and speedy different from the other tanks? So each tank has their own set of sounds for each of the projectiles?
If this is what you want then..
I apologize for attacking you above^, but that's what you get for not making your questions clear.
I don't think what Chilled Lizard© suggest will work.
There is no LightTank.fx datablock to redirect. Only defalut tank fx, babyboss fx, and ufo fx.
Also the power-up and the default projectiles are not tank specific. In fact all of the projectile sounds are independent of the tanks altogether. Meaning the Tank "FireSound" is the same for all projectiles and actually has nothing to do with the projectile which is being fired. You would have to create a "Fire Sound datablock" for each tank type, specific to each projectile type using torque script.. Even that wouldn't work because the light, medium, and heavy tanks are grouped into the "Default tank fx".
Now that is way too much work to have each tank to have there own fire sound for each projectile.
This is all assuming this is even your question and that you even need the light tank to have a different fire sound then the other tanks. Which seems sort of a waste to me...I mean to make it meaningful you would make all the tanks have different fire sounds.
MAX
Last edited: Friday, March 25, 2005 at 10:17:38 AM
I MADE one, Max. "LightTank.fx = "SparksTankEffects";" was changed from "LightTank.fx = "DefaultTankFx";". It will then change the DefaultTankFx to SparksTankEffects.
@Max I would like a different sound for each of the different projectiles:
Splash
Speedy
Bounce
Last edited: Friday, March 25, 2005 at 1:01:03 PM
Spark, do you want the bounce sound? The explode sound? The projectile/fire sound is always the same for all the different weapons.
So the sound for splash is always going to be the same for all weapons?
No, the sound of the projectile firing/coming out of the tank will be the same for all the weapons.
So I cant have speedy be one sound and area be another?
@ Chilled Lizard© - Oh hell. I see what your talking about now. Under the specific Tank Weapon settings I tell it what fx to use... D'oh
@ Spark3 {TK}-C - LOL... Sigh
There are tank sounds and there are projectile sounds.
Tank sound / Fire sound
The sound that is made when you fire
, is a tank sound (DefaultTankFx.fireSound.filename =)
and is the same for all default tanks (light, medium and heavy) DefaultTankFx Setting
Unless you do what Chilled Lizard© suggest which is to create an additional "fx" setting (sparktank fx)
and reference it in the Tank Weapons settings (Lighttank Weapon)
.
//Lighttank Weapon//
LightTank.fx = "DefaultTankFx";
to
LightTank.fx = "sparktank fx";
Projectile sounds
The sound that is made by the projectiles (default, splash, bounce and speedy) has nothing to do with the tank sounds.
The projectile sounds are all about explosions
. Sounds that are made when the projectile comes into contact with an object.
You can change the projectile sounds for each projectile. As shown above in the example
I gave you. If you had ever looked at it you would have seen that the word sound
occurs many times and is pretty self explanatory as to what they refer too.
Here I copy/pasted some of the examples I gave you before, in case finding the word sound is to hard.
//Splashl//
Splashexplosion.sound.filename = "game/data/sound/erupt.ogg";
SplashTankexplosion.sound.filename = "game/data/sound/explodeVolcano.wav";
SplashOwnTankexplosion.sound.filename = "game/data/sound/explodeVolcano.ogg";
SplashBounceExplosion.sound.filename = "game/data/sound/erupt.ogg";
SplashOtherExplosion.sound.filename = "game/data/sound/erupt.ogg";
Splashprojectile.Bouncebump.sound.filename = "game/data/sound/staticColl.ogg";
//Bounce//
Bounceexplosion.sound.filename = "game/data/sound/explodeArea.ogg"
BounceTankExplosion.sound.filename = "game/data/sound/explodeHitYou.ogg";
BounceOwnTankExplosion.sound.filename = "game/data/sound/explodeHitYou.ogg";
BounceBounceExplosion.sound.filename = "game/data/sound/explodeArea.ogg";
BounceOtherExplosion.sound.filename = "game/data/sound/explodeArea.ogg";
Bouncebump.sound.filename = "game/data/sound/bounceVolcano.ogg";
//Speedy//
Speedyexplosion.sound.filename = "game/data/sound/spQuick.ogg";
SpeedyTankExplosion.sound.filename = "game/data/sound/zap.ogg";
SpeedyOwnTankExplosion.sound.filename = "game/data/sound/zap.ogg";
SpeedyBounceExplosion.sound.filename = "game/data/sound/spQuick.ogg";
SpeedyOtherExplosion.sound.filename = "game/data/sound/spQuick.ogg";
Speedyprojectile.Bouncebump.sound.filename = "game/data/sound/staticColl.ogg";
//DefaultExplosion//
DefaultExplosion.sound.filename = "game/data/sound/zap.ogg";
DefaultTankExplosion.sound.filename = "game/data/sound/explodeHitYou.ogg";
DefaultOwnTankExplosion.resource = "game/data/shapes/common/Volcanobump.png";
DefaultBounceExplosion.sound.filename = "game/data/sound/zap.ogg";
DefaultOtherExplosion.sound.filename = "game/data/sound/zap.ogg";
Last edited: Saturday, March 26, 2005 at 7:47:04 AM
Damn! No video just audio.
1 and 3 are the same :~)
What is number 5?
Spark, #1 and #3 are not the same, just answer the silly question already so me and Max can help you! :(
All I want to know is if the speedy projectile can have voczoom.ogg while
area has zap.ogg
Is that possible?
OMG your making me nuts!! I have answered that question like 5 times. YES!!!!!!
...You can change the projectile sounds for each projectile...
But what you need to understand is that there is more than one explosion sound for each projectile!!!!
Depending on what the projectile is hitting.
Look at the example and *beeeeeeeep* read it.
MAX
Change this to change the area effect explosion:
Splashexplosion.sound.filename = "game/data/sound/erupt.ogg";
SplashTankexplosion.sound.filename = "game/data/sound/explodeVolcano.wav";
Change this to change the speedy projectile explosion a.k.a hit tank sound:
Speedyexplosion.sound.filename = "game/data/sound/spQuick.ogg";
SpeedyTankExplosion.sound.filename = "game/data/sound/zap.ogg";
Tkx but I dont want the explosion sound I want the fire sound !! :S
DefaultTankFx.fireSound.filename = "game/data/sound/vocZoom.ogg";
You can't have different fire sounds for different weapons.
Ok than the whole thred was in vain :(
oh well, ill bookmark the page anywhayes :)
Tks for the info
Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
OMG
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
WHAT?
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
Am I writing in a foreign language?
I give up!
Why are you mad?
XD <—is going to eate ^
lol! Wat am I laughing about?
Last edited: Sunday, March 27, 2005 at 8:08:14 PM
Page : <1> :
What code do you put at the bottom of //OBJECT WRITE END
to make the light projectile's sound different
I would like the recourse
Is it something like this?
:::::EXAMPLE:::::
Lightprojectile.fxrecourse = "game/data/sound/explode.ogg";