Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Text Descriptions  (Read 5332 times)

0 Members and 2 Guests 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
  • Former Staff
  • ****
  • 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!"