OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Sole on 21 Aug 2002, 00:38:32

Title: Adding an illuminating flare launcher to the A-10?
Post 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:
Title: Re:Adding an illuminating flare launcher to the A-10?
Post by: tai mai shu on 21 Aug 2002, 09:34:01
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.
Title: Re:Adding an illuminating flare launcher to the A-10?
Post by: Jahve on 21 Aug 2002, 12:33:18
dump! he means in the config.cpp not a script..  ;D
Title: Re:Adding an illuminating flare launcher to the A-10?
Post by: tai mai shu on 22 Aug 2002, 11:38:56
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
Title: Re:Adding an illuminating flare launcher to the A-10?
Post by: Jahve on 22 Aug 2002, 16:27:14
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
Title: Re:Adding an illuminating flare launcher to the A-10?
Post by: CBFASI on 22 Aug 2002, 17:49:06
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..
Title: Re:Adding an illuminating flare launcher to the A-10?
Post by: 1B1KSniper on 22 Aug 2002, 19:06:26
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.