Forums Index >> Modding >> This is for Art Crazy or very good scripters.....
Page : <1> :
Piece o cake, but big download. Lets leave it as it is :)
If youy dont know it took a big while to get my admin tank skin into many ppl on TT that use it on their servers :)
You know people, half of the things you post that say "Art Crazy HEEEEEELLLLLLLPPPPPP MMMMEEEEEE!!!!!" are things that are as simple as looking in tank2.cs and changing a number or sentance, or moving/copying a few files. So I ask you, PLEASE just e-mail us, and we'll get back to you.
Pffft...tt...t.......t... XD
Download the tankDB.cs file from the "Other stuff " section.
Open it and copy this into the file before the
//--------------------------------------------------------
// AI Tanks
//--------------------------------------------------------
datablock TankData(AdminShip#???
: MediumTank)
{
shapeFile = "??????
";
brainShapeFile = "?????
";
AccelRate = 8.5; // increase velocity this many meters per second
deccelRate = 7.85; // when breaking, decrease velocity
turnRate = 82.0; // degrees per second
antiSlideRate = 8.25;
//turretHorRange = 53.5; // range in +/- degrees of turret horizontally
turretHorRange = 68.0;
turretAutoLevel = 1.0;
turretVerRange = 24.0;
MaxSpeed = 9.1; // meters per second (in forward direction)
damageAmount = 21.0; // total amount of damage tank can withstand
DamageScale = 1.0; // multiply damage we do to others by this amount
armorScale = 1.0; // multiply damage we take by this amount (note: smaller better)
DefaultProjectile = "Light,heavy,or default?
Projectile";
ai = GoldHeavyAI;
};
Then add this at the bottom:
datablock TankData(TargetAdminShip#???
: AdminShip)
{
ai = TargetAdminShipAI;
defaultProjectile = "ZeroProjectile";
DamageAmount = 3.5;
maxSpeed = 16.0;
};
The stuff that is in bold you can edit, you can also edit the other stuff in it, too.Do the exact same thing for as many different skinned admin ships you will want. Now ,... Go to your codes.cs file. Go to the bottom till you find
"function CodeAction(___)" Then add this along with the other stuff:
else if (%code $= "/AdmT#???
" )
call("tankchanger",%sender,"AdminShip#???
");
And, again, the stuff in bold corresponds with the name you chose for your tank in the tankDB.cs file earlier.
Last edited: Monday, April 25, 2005 at 4:29:16 PM
Ha... Even I could have told you that... But mabye its just cause Art is the one that gets all the publicity....( jk art :) )
Page : <1> :
I have thought of an idea to use the boss ufo as the admin ship as we have, but make it so you can use the same boss but multiple bosses for different skins. Here is an example.....if I want one admin tank with one skin then someone else wants another one with different skin and they can run the same time in the mod, thats what I would like to see happen. I have looked at the codes and it could be possible to just change the dts. Name of file to lets say from cruiser.dts to cruiser1.dts and have a different skin. The only thing I think would need to be done is the other file that only allows the one boss when the command is typed, needs to be setup so it can allow multiple bosses with different skins. I do not know where that other file is but that is why I am asking for Art Crazys help first and if other can help that would be great. Hope we can do it b/c it would be cool to have different admin/bosses with different skins.