OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: R.I.P-omega- on 24 Sep 2005, 21:19:21

Title: Bullet Dust
Post by: R.I.P-omega- on 24 Sep 2005, 21:19:21
Hi, i saw in the tool  Chris OFP Script Editor a "quick" script that is called LandMine i wonderd can i do the same thing BUT change it from explosion to the effect when you shoot at the ground(where the dust go's up becuse the bullet has struck the ground)?
Title: Re:Bullet Dust
Post by: h- on 24 Sep 2005, 22:26:22
I guess so...

You just change the "Heat125" to something like "BulletSingleW"...
Title: Re:Bullet Dust
Post by: Triggerhappy on 24 Sep 2005, 22:58:19
you want it to be just bulletsingle i think because bulletsingleW can have the green tracer line (its random i think) and you could get a nice big green line showing up when you make it
Title: Re:Bullet Dust
Post by: h- on 24 Sep 2005, 23:00:28
True...

"BulletSingle" it is then...
Although it seems to have some tracer color defined as well (in the config).. :-X
Title: Re:Bullet Dust
Post by: Triggerhappy on 24 Sep 2005, 23:08:56
just a guess but...
1) i think they all need a defined tracer color
2) if the alpha level of the tracer color is 0 then it doesn't matter, which i would guess is the case, unfortunately i don't have time to open it up and look at the moment
Title: Re:Bullet Dust
Post by: Planck on 24 Sep 2005, 23:15:28
cfgAmmo class Default has:

tracerColor[]={0.7,0.7,0.5,0.04};
tracerColorR[]={0.7,0.7,0.5,0.04};

class BulletSingle inherits from default.

class BulletSingleW has:

tracerColor[]={0.8,0.5,0.1,0.04};
tracerColorR[]={0,0,0,0.005};

and Class BulletSingleE has:

tracerColor[]={0.2,0.8,0.1,0.04};
tracerColorR[]={0,0,0,0.005};


Planck
Title: Re:Bullet Dust
Post by: R.I.P-omega- on 08 Oct 2005, 15:57:02
Thx for all your help(i just got to test it out now) and it works :)