Jump to content
Sign in to follow this  
hawkins556

Help with bulletholes?

Recommended Posts

Alright, how can we make bulletholes stick to things like vehicles? Ive been messing with solus SLX_HitEffects trying to get them to stick to objects but I cant figure it out. Anyone got anyideas?

SLX ADD : Bullet hole effect.

class SLX_BulletHole : Default

{

// interval[]={0.1};

// interval=0.05;

interval=1;

circleRadius=0;

circleVelocity[]={0, 0, 0};

// particleShape="\Ca\Data\ParticleEffects\FireAndSmokeAnim\SmokeAnim.p3d";

// particleShape="\Ca\Data\ParticleEffects\PStone\PStone.p3d";

particleShape="\SLX_HitEffects\BulletHole.p3d";

particleFSNtieth=8;

particleFSIndex=7;

particleFSFrameCount=1;

animationName="";

particleType="spaceobject";

// particleType="Billboard";

timerPeriod=3;

// lifeTime[]={0, 3};

// lifeTime=120;

lifeTime=555555555;

// lifeTimeVar=0.5;

lifeTimeVar=5;

moveVelocity[]={0,0,0};

rotationVelocity=0;

weight=20.4;

volume=16;

// weight=20.4;

// volume=16;

rubbing=0;

// size[]={0.5};

// size[]={{"intensity",0.2,0.5}}; // modifier, random value?, base size ?

// size[]={"intensity*0.5"};

size[]={"intensity*2"};

color[]={{1, 1, 1, 1}};

animationSpeed[]={1};

randomDirectionPeriod=0;

randomDirectionIntensity=0;

onTimerScript="";

beforeDestroyScript="";

positionVar[]={0,0,0};

MoveVelocityVar[]={0,0,0};

rotationVelocityVar=0;

// sizeVar=0;

sizeVar=0.1;

colorVar[]={0, 0, 0, 0};

randomDirectionPeriodVar=0;

randomDirectionIntensityVar=0;

object=nearestObject;

};

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  

×