Home   Help Search Login Register  

Author Topic: i have tried the usual comref channels and cannot find the classname for...  (Read 1374 times)

0 Members and 1 Guest are viewing this topic.

Offline filth

  • Members
  • *
  • Who's the bad man?
the official bis flare gun.

the weapons list for ofp on ofpec states that it is simply called 'flare', but i have tried adding this to an ammo crate to no avail. i've tried flarelauncher, flaregun, flare, flarelaunch, but nadda. anyone know? ta.
« Last Edit: 18 Oct 2007, 16:00:10 by filth_merchant 101 »

Offline Denz

  • Former Staff
  • ****
Isn't it "flarewhite" "flarered"

edit:
Thats because you didn't look in cfg/weapons here is what you need
« Last Edit: 18 Oct 2007, 14:49:11 by Denz »
I've got 'em right where I want 'em - surrounded from the inside!
Jerry "Mad Dog" Shriver, SOG Recon One-Zero
24/09/41 - 24/04/69

Offline filth

  • Members
  • *
  • Who's the bad man?
thanks, but i tried these. in an ammo crate's init line i am putting the following: this addweaponcargo ["flare",1] and getting no weapon available.  :dry:

Offline Denz

  • Former Staff
  • ****
Try something like
this addmagazinecargo [{_x},99]" forEach [FlareRed]
and for the gun
this AddWeaponCargo [""FlareGun"", 1]
Not sure if the syntax is right, written off the top of my head
« Last Edit: 18 Oct 2007, 15:12:57 by Denz »
I've got 'em right where I want 'em - surrounded from the inside!
Jerry "Mad Dog" Shriver, SOG Recon One-Zero
24/09/41 - 24/04/69

Offline filth

  • Members
  • *
  • Who's the bad man?
i'm getting a no entry for "flaregun" in the weapons config.  :(

Offline Denz

  • Former Staff
  • ****
Ok got it, I did a search and found a quote from Planck from 2003
Quote
In the official game the only way to fire flares is with the grenade launcher that can be attached to the M16 or AK74.   You'll get the exact names from the Weapon and Ammo listing in the Ed Depot

You'll need an addon for an actual flaregun.
sebnam and fdf had one
Best standalone addon I could find is this one
I've got 'em right where I want 'em - surrounded from the inside!
Jerry "Mad Dog" Shriver, SOG Recon One-Zero
24/09/41 - 24/04/69

Offline filth

  • Members
  • *
  • Who's the bad man?
ah. ok. it all becomes clear. i must have an addon which gives me a standard 'officer (with flare gun)'. i'll depbo the addon and look for the class name there. thx for your help denz.  :D

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
The addon on the LOL server is Kegety's flaregun from his winter pack ("KEGFLAREGUN").  You must also add magazines "KEGFLAREWHITE", "KEGFLARERED".  Unpbo my Running Scared mission and look at the init_west* scripts.
urp!

Offline filth

  • Members
  • *
  • Who's the bad man?
brilliant. thx nutter.