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
-
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)?
-
I guess so...
You just change the "Heat125" to something like "BulletSingleW"...
-
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
-
True...
"BulletSingle" it is then...
Although it seems to have some tracer color defined as well (in the config).. :-X
-
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
-
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
-
Thx for all your help(i just got to test it out now) and it works :)