User Tools

Site Tools


arma:library

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

arma:library [2007-07-10 10:52] (current)
Line 1: Line 1:
 +====== Armory / Library Entries ======
  
 +Its name is Armory ingame but in configs its labeled “Library”. Inside the "​cfgVehicles"​ where you define you vehicle:
 +
 +<​code>​
 +class Library
 +{
 +libTextDesc = $STR_RHS_LIB_Hind;​
 +};
 +</​code>​
 +
 +and then in stringtable you write the description:​
 +
 +STR_RHS_LIB_Hind,"​The Mil Mi-24 is a large combat helicopter gunship and low-capacity troop transport operated from 1976 by the Soviet Air Force"​.
 +
 +You can use it on CfgWeapons also, here is more comprehensive doc about it by DnA in BIS forums:
 +
 +<​code>​
 +class Library ​
 +{
 +  libEnabled: 1 (default, the item is listed) / 0 (the item is not listed)
 +  libTextDesc:​ string (containing the description text)
 +  type: 0 up to and including 11 (type override, allowing you to force the item into a certain category. Use of this entry should preferably be very limited.)
 +};
 +</​code>​
arma/library.txt · Last modified: 2007-07-10 10:52 (external edit)