Home   Help Search Login Register  

Author Topic: Add information box to custom weapon?  (Read 1717 times)

0 Members and 1 Guest are viewing this topic.

Offline Wildebeest

  • Contributing Member
  • **
  • The time the wildebeest ruled the Earth.
Add information box to custom weapon?
« on: 08 Nov 2005, 21:20:09 »
You know that little "i" box at the corner of a BIS weapon in the Gear tab in OFP that shows you information about the weapon... how can I add one of those to my gun? Can it be done or ist it hard-codedly impossible?

I want to be able to display information about my weapon and magazines.

Thanks
Weeee...

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Add information box to custom weapon?
« Reply #1 on: 08 Nov 2005, 21:38:18 »
Not completely impossible, but not very usable with single AddOns..

You need to edit a original OFP file called dataext.pbo (at least, can't remember if others were needed as well) to add your weapon info in there, you can't do it any other way...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline Wildebeest

  • Contributing Member
  • **
  • The time the wildebeest ruled the Earth.
Re:Add information box to custom weapon?
« Reply #2 on: 08 Nov 2005, 22:34:55 »
OK, darn. Thanks man.
Weeee...

Kyle Sarnik

  • Guest
Re:Add information box to custom weapon?
« Reply #3 on: 12 Nov 2005, 07:00:48 »
Not completely impossible, but not very usable with single AddOns..

You need to edit a original OFP file called dataext.pbo (at least, can't remember if others were needed as well) to add your weapon info in there, you can't do it any other way...

I tried that once but couldn't get it to work, mainly figuring out how to assign the proper weapon to each of the information entries.

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Add information box to custom weapon?
« Reply #4 on: 12 Nov 2005, 12:50:14 »
At least we in FWW2 got it working..
Wasn't me so don't know the exact details.. :P
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.