How to add unit descriptions

Everything about mods can be found here.

Moderator: Morax

How to add unit descriptions

Postby Newbula » 26 Feb 2015, 02:05

Hi, I have been working on a simple unit addition/re-balance mod for me and my friends, but I have been unable to add unit descriptions. Was trying via lua>ui>help>unitdescriptions as suggested by a wiki article, but I've been unable to discover the correct format. For a modified aeon heavy tank named "ual02020" I tried adding
['ual02020'] = "<LOC Unit_Description_0446>" Heavy tank. Equipped with a single cannon.", at the bottom of the screen under patch units. This had no effect, where am I going wrong?
Newbula
 
Posts: 1
Joined: 26 Feb 2015, 01:52
Has liked: 0 time
Been liked: 0 time
FAF User Name: Newbula

Re: How to add unit descriptions

Postby Krapougnak » 26 Feb 2015, 10:15

['ual02020'] = "<LOC Unit_Description_0446>" Heavy tank. Equipped with a single cannon.",

Try to get rid of the " in the middle:

['ual02020'] = "<LOC Unit_Description_0446>Heavy tank. Equipped with a single cannon.",
User avatar
Krapougnak
Contributor
 
Posts: 340
Joined: 12 Jul 2012, 11:03
Has liked: 193 times
Been liked: 24 times
FAF User Name: Krapougnak


Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest