Advertisement

Author Topic: Text Descriptions  (Read 1004 times)

0 Members and 1 Guest are viewing this topic.

Offline Acid

  • Members
  • *
Text Descriptions
« 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.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: Text Descriptions
« Reply #1 on: 06 Apr 2009, 13:03:57 »
Stringtable.csv

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


Planck
I know a little about a lot, and a lot about a little.

Offline Wolfrug

  • Addons Depot
  • Administrator
  • *****
  • Official OFPEC Old Timer
Re: Text Descriptions
« Reply #2 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.
"When 900 years YOU reach, look as good you will not!"