OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Maximus-Sniper on 14 Jun 2005, 00:07:02

Title: tracerColor?
Post by: Maximus-Sniper on 14 Jun 2005, 00:07:02
Hi one simple question  ;D

How do i get RED color?

Code: [Select]
      tracerColor[]={0,0,0,0};
      tracerColorR[]={0,0,0,0};

And what this "R" in tracerColor mean?

Thanks :)

Maximus-Sniper
Title: Re:tracerColor?
Post by: Planck on 14 Jun 2005, 00:14:21
The colours are like so:

tracerColor[]={AmountOfRed,AmountOfGreen,AmountOfBlue,AmountOfAlpha};

so:

tracerColor[]={1,0,0,0};

would give you pure red......I hope.

EDIT:  And I think the other one is the tracer trail colour.


Planck
Title: Re:tracerColor?
Post by: Maximus-Sniper on 14 Jun 2005, 00:36:21
Hi  Planck :)

Ok i try that, but i did't see any color :(
So i start PhotoShop and write 1 in R, 0 in G and 0 in B, that'd gave me black color or something... but when i write 255.0.0 than i got the RED color in PotoShop, but i don't think i can use 255 in OFP  :P

So i change it to:

Code: [Select]
      tracerColor[]={1.0,0.0,0.0,1.0};
      tracerColorR[]={1.0,0.0,0.0,1.0};

And now it's working :)

Thanks for the help Planck :)

Maximus-Sniper
Title: Re:tracerColor?
Post by: Planck on 14 Jun 2005, 00:40:38
You're welcome.   ;D


Planck
Title: Re:tracerColor?
Post by: McMurphy on 24 Nov 2008, 16:02:34
ej Maximus-Sniper, I know this is a little late too ask since you moved on to Arma and all but remember that PMS Sniper Pack you and Agamennone worked on 4 years ago but never finished, is it possible to get it anyway? that is if you still have it :P. You see im making this mission on OFP and that sniper pack of yours would be perfect for it, and I kinda fell in love with it :scratch:. Would be great if I could have it. plz feedback ps. Sry I'm off topic I just didn't know any other way contact these guys
Title: Re: tracerColor?
Post by: bedges on 24 Nov 2008, 19:28:52
If you look at date on the previous post you'll see it goes back to 2005. If you look at Maximus-Sniper's username you'll see he's no longer a member.

In other words you should probably try contacting these folks through Bohemia Interactive Forums, as it's more likely their team members are active over there.

#locked.