Home   Help Search Login Register  

Author Topic: Adding an illuminating flare launcher to the A-10?  (Read 3367 times)

0 Members and 1 Guest are viewing this topic.

Offline Sole

  • Members
  • *
Adding an illuminating flare launcher to the A-10?
« 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:

tai mai shu

  • Guest
Re:Adding an illuminating flare launcher to the A-10?
« Reply #1 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.

Offline Jahve

  • Former Staff
  • ****
    • Jahwerks
Re:Adding an illuminating flare launcher to the A-10?
« Reply #2 on: 21 Aug 2002, 12:33:18 »
dump! he means in the config.cpp not a script..  ;D

tai mai shu

  • Guest
Re:Adding an illuminating flare launcher to the A-10?
« Reply #3 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

Offline Jahve

  • Former Staff
  • ****
    • Jahwerks
Re:Adding an illuminating flare launcher to the A-10?
« Reply #4 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

Offline CBFASI

  • Contributing Member
  • **
  • Endure All
    • CBFASI's Homepage
Re:Adding an illuminating flare launcher to the A-10?
« Reply #5 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..
CBF Shipbuilding

1B1KSniper

  • Guest
Re:Adding an illuminating flare launcher to the A-10?
« Reply #6 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.