Forums Index >> Modding >> How do u make new wepons? (please help)
Page : <1> :
...
Please help
Go to max's web site and download his spec.cs file there he has weapons that come with the file you can also change them if you want he has instructions on how to make them
HOW TO MAKE YOUR TANK GO FASTER!!! AND CHANGING IT'S WEAPONS!!!
FIRST:
OPEN YOUR SELECTED.MIS FILE THAT U WOULD LIKE TO ADD THIS
"SCRIPT" to with a text editor of your choice (I like to use "Note Pad") (the.mis files are in the game/data/missions folder)once u have opened up.mis with your text editor, scroll all the way down untill u see
//--- OBJECT WRITE END ---....put this text UNDER it
//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;
//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;
After u have done that u can mess with it all u want!!!
Here is how u "mess around" with it!!
To change the speed edit this line:::::
LightTank.maxspeed = 50.9;
Dont go to high up or u will fly off the map!!!lol
To change the projectile of the tank, edit this line::
LightProjectile.resource = "game/data/shapes/tanks/AreaProjectile.jpg;
Have fun!!!!!!!!!!!!!!!!!!!!!!!!!!!
Only lethal on days that end with "Y"
I have my idea!
Use the tankDb.cs
and chuck it into the game/server/scripts
mess around in there
put all that writting into a.txt file and rename it to tankdb.cs
Page : <1> :
How do I make wepons? And ware r the scripts?