OFPEC Forum

Addons & Mods Depot => ArmA - Configs & Scripting => Topic started by: Acid on 06 Apr 2009, 12:52:48

Title: Text Descriptions
Post by: Acid on 06 Apr 2009, 12:52:48
Sorry if this is in the wrong place.

Where are the weapon & equipment descriptions located ? Iv scanned several addons .ext, .sqf, .html files and have found nothing.
Title: Re: Text Descriptions
Post by: Planck on 06 Apr 2009, 13:03:57
Stringtable.csv

For weapons, specifically in the language.pbo.......weapons folder.


Planck
Title: Re: Text Descriptions
Post by: Wolfrug on 06 Apr 2009, 15:35:11
If you're just curious to access them for non-editing purposes, you can easily do that in game using these commands:

For vehicles (replace "M113" with whatever classname you want):
Code: [Select]
getText (configFile >> "CfgVehicles" >> "M113" >> "Library" >> "libTextDesc")
For weapons (replace "M16A4_ACG_GL" with whatever weapon classname you want):
Code: [Select]
getText (configFile >> "CfgWeapons" >> "M16A4_ACG_GL" >> "Library" >> "libTextDesc")
Have fun!

Wolfrug out.