OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Wildebeest on 08 Nov 2005, 21:20:09

Title: Add information box to custom weapon?
Post by: Wildebeest 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
Title: Re:Add information box to custom weapon?
Post by: h- 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...
Title: Re:Add information box to custom weapon?
Post by: Wildebeest on 08 Nov 2005, 22:34:55
OK, darn. Thanks man.
Title: Re:Add information box to custom weapon?
Post by: Kyle Sarnik 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.
Title: Re:Add information box to custom weapon?
Post by: h- 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