Jump to content
Sign in to follow this  
Törni

Library Entries

Recommended Posts

Does anyone have detailed info of how to make custom descriptions for addons for the library? Wiki has something, but not complete description. Is the text a separate file or part of a vehicle config?

Share this post


Link to post
Share on other sites

Ita possible to fill in your own text directly to the config, but if you want to have the text in more languages you have to write a stringtable file.

Share this post


Link to post
Share on other sites

its very easy, download the mi24 addon and take a look.

Inside the "cfgvehicles" where you define you vehicle.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class Library

{

libTextDesc = $STR_RHS_LIB_Hind;

};

and then in stringtable i have:

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, its successors, and over thirty other nations. Its NATO reporting name is Hind and variants are identified with an additional letter"

Share this post


Link to post
Share on other sites

GranQ is right about that entry, but I'll also add two other entries relevant to the Armory (previously known as the Library in some incarnation, hence the class name) wink_o.gif Also, the class Library can be used the same way in CfgWeapons.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="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.)

};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×