Author Topic: what can you make 2, close to the same addons, both be on BL?  (Read 612 times)

i am trying to make some new vehicle addons, like i'm trying to make a floating tank. when i have them both seperate, they work.. but if i try to be able to play with both the addons together, only one shows up... how do you script otherwise? WHAT DO I CHANGE!?!?!?!?

DId you change the datablock and UI names?

DId you change the datablock and UI names?

UI names... yes.. but is teh datablock inside the dts. file? whih i don't have access to?

Uhh, no. The datablocks are the majority of the .cs file.
Here's a small section of the gun script.

Quote
datablock AudioProfile(gunShot1Sound)
{
   filename    = "./gunShot1.wav";
   description = AudioClose3d;
   preload = true;
};
datablock AudioProfile(bulletHitSound)
{
   filename    = "./bulletHit.wav";
   description = AudioClose3d;
   preload = true;
};


//shell
datablock DebrisData(gunShellDebris)
{
   shapeFile = "./gunShell.dts";
   lifetime = 2.0;
   minSpinSpeed = -400.0;
   maxSpinSpeed = 200.0;
   elasticity = 0.5;
   friction = 0.2;
   numBounces = 3;
   staticOnMaxBounce = true;
   snapOnMaxBounce = false;
   fade = true;

   gravModifier = 2;
};
The bold parts are the datablock names. Change them.

OOOOkool kids klubK, that is very helpfull.... why i didn't see that in .cs? IDK.....

YOU ARE SOOOOO HELPFULL!

and in the rar., do you have to change everything from like "tankfireSOUND"
to "tankfireSOUND_floating tank" or something?

yah, i'm jest not cut out for this kind of thing... i also trying lightsaber... too, which is the main thing (http://forum.blockland.us/index.php?topic=49746.0) but i can't figure out how to do it.... THEY JUST WON'T WORK! idk... i'f you can try getting some of the scripts to work.. you have my permission.... but if you don't wanna, thats fine too