Jump to content
Sign in to follow this  
Guest

Empty cartridge

Recommended Posts

Guest

ok i made model and i wrote this in cpp .....but it wont work why i dont see my empty shell from gun

cartridge="CAURA762";

class All{};

class Thing: All {};

class ThingEffect: Thing {};

class CAURA762: ThingEffect

{

model = "\M70ab2\metek.p3d";

displayName="7.62mm";

submerged = -0;

submergeSpeed = 0;

timeToLive = 100;

disappearAtContact=false;///if i put true dont work , how to make it stay on ground?rock.gif

};

Share this post


Link to post
Share on other sites

You have to work with time to live :

original BIS comented config file :

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

timeToLive = 1e10; // infinite time to live

But I know that did not work fine, a max time before things disappears like bullets and shell

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×