OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Lean Bear on 22 Feb 2005, 21:47:17
-
OK, I want to put a beam of light on the end of a weapon I made but I'm not entirely sure how to do it.
I've got all the class Smoke and class Light stuff down:
Class CfgWeapons
class Default {};
etc. etc.
class MyWeapon: EtcEtc
{
~normal weapon config stuff~
class Smoke
{
} <- There's no ";" here on purpose - would that affect the final result?
class Light
{
};
};
};
Something like that anyway.
Is this the right way to do it? I just did it like how I would if I was making it as a (class) building.
-
you cant add lights to a weapon, you add them to the soldier ;)
-
Awww :-\
Then how can I get a light on the end of my weapon? There's always some way of faking it or tricking OFP into thinking something different.
-
you have to add the points used to make the light in the memory lod, then tie those up with the gun proxy
-
Does 1 point make light or what? Isn't it just like a plane I can use (like in normal lights)?
Do I do this in the memory lod of the weapon or somehting else?
Also, how do I tie those up with the gun proxy?
-
Does 1 point make light or what? Isn't it just like a plane I can use (like in normal lights)?
Do I do this in the memory lod of the weapon or somehting else?
Also, how do I tie those up with the gun proxy?
In the memory lod of the soldier class not gun cause that wont work ;)
Also the proxy of the gun again on the soldier unit ;)
-
hmm, I guess my last post didn't work.
The jist of it was:
Is there some tut I can look at which goes over this in more detail?
-
OK, if not then could one of you two give me a few pointers on how to do it?
Or at least how I can start. :)