Hi..
I have been working on two weapons recently (An imaginary SMG and a M4)..
Both of which have a laser sight.. Basicly a red cylinder with a red texture
It works/looks fine
But it's annoying, say, if you were sneaking up on someone.. But the laser is flashing about.. So..
If I could use the setobjecttexture to replace the red texture with a completly transparent texture (I can make trans textures in paint shop pro now).. Thus the laser is of, and replace it back with the red texutre, and it is back on..
Only thing is I don't know how to use the set texture command
I've looked in the comamnd ref. and searched this forum, with no luck
I knew that the setobjecttexture is used on the BAS stuff (Helo's and people arm patches mainly).. But I can open this them up (De-PBO).. as they have used Binarize (I think)
And I get a load error when I try
Anyway, can someone help me as to how I use this?
I'm guessing you make a selection in O2, and name it laser, and do something in the config file
And use something setobjecttexture [0, "trans.paa"]
Also, what name would I use for the "something" bit?
Cheers!
- Ben