OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Sole on 21 Aug 2002, 00:38:32
-
I've tried several different config.cpp thingy's to make a working flare launcher and OFP started and when I try to fire flares from the A10 it won't fire. :beat: Maybe it is not possible at all to add a flare launcher to a vehicle at all without the use of scripts, but IF it is and someone knows how... please tell me :)
Thanks in advance :thumbsup:
-
very easy i think, but this isnt tested.
_vehicle = _this select 0
_flareintervals = _this select 1
_flarestart = getpos _vehicle
"flare" = camcreate "flare" _flarestart
~_flareintervals
"flare" = camcreate "flare" _flarestart
~_flareintervals
"flare" = camcreate "flare" _flarestart
~_flareintervals
"flare" = camcreate "flare" _flarestart
~_flareintervals
"flare" = camcreate "flare" _flarestart
~_flareintervals
"flare" = camcreate "flare" _flarestart
exit
im new to scripting, but something like this will work i think, it needs lots of tweaking though.
-
dump! he means in the config.cpp not a script.. ;D
-
dump! he means in the config.cpp not a script.. ;D
erm, yeah whatever, why dont you read the post... ::)
Maybe it is not possible at all to add a flare launcher to a vehicle at all without the use of scripts, but IF it is and someone knows how... please tell me
-
I did.. now you read..
Maybe it is not possible at all to add a flare launcher to a vehicle at all without the use of scripts, but IF it is and someone knows how... please tell me
-
Theory would suggest making the Flare launcher into a weapon that is mounted on the plane, modifying the CPP to show this, then it would fire as a weapons, but firing flars instead of bullets.
Its just an idea and I dont know cpps enough to try it myself..
-
Find out what the normal flare ammo is called and then make a weapon for the A10 that uses that ammo. Ain't too hard.