Jump to content
Sign in to follow this  
•»kâ¥vååñ §hrîkê«•

How to make debris stay for longer time?

Recommended Posts

What you are looking for are those class :

class FxExploGround1:ThingEffect
	{
	model="sutr2";
	displayName="$STR_DN_FX_EXPLO_GROUND_1";
	};

class FxExploGround2:ThingEffect
	{
	model="sutr3";
	displayName="$STR_DN_FX_EXPLO_GROUND_2";
	};

class FxExploArmor1:ThingEffect
	{
	model="kusplechu";
	displayName="Internal: FxExploArmor1";
	};

class FxExploArmor2:ThingEffect
	{
	model="kusplechu2";
	displayName="Internal: FxExploArmor2";
	};

class FxExploArmor3:ThingEffect
	{
	model="ohorelavec";
	displayName="Internal: FxExploArmor3";
	};

class FxExploArmor4:ThingEffect
	{
	model="strepina";
	displayName="Internal: FxExploArmor4";
	};

Inheriting from thingeffect which default settings are :

class ThingEffect:Thing
	{
	scope=1;
	simulation="thingeffect";
	irTarget=0;
	submerged=-0.5;
	submergeSpeed=0.25;
	timeToLive=20;
	};

So insert the line :

		timeToLive=20;

in each of their classes and increase the "time to live".

Like this :

class FxExploGround1:ThingEffect
	{
	model="sutr2";
	displayName="$STR_DN_FX_EXPLO_GROUND_1";
	timeToLive=1000;
	};

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  

×