Jump to content
Age of History
Marerjh

Can't add formable description, and some formables doesn't show up

Recommended Posts

Hi

I wanted to add descriptions to the new formables on my map, but I can’t seem to do it. I’ve made sure path to the translation file is set to <mod>/languages/formable/bundle.properties, but it’s still not working.

 bug1.thumb.png.8c039ad4b062464a0754a37f4f4d8f52.png bug3.png.32420fa36f5fc986c8af15255490e6c9.png

The second issue is that formables aren’t displayed if their tag matches that of the claiming civilization. Here’s an example: I added a USSR formable for Russia, but it doesn’t appear. Because of this, I’m missing out on lots of interesting formables 😞

bug2.thumb.png.25001302d726e6faf381efcf41057447.pngbug2_2.thumb.png.e2b9a09fc365dd56dc1947880e2c602d.png

This can only be fixed by adding a separate civilisation specifically for the formable, but I’d really like to avoid that if possible. If there’s any other way, please let me know @Łukasz Jakowski

Share this post


Link to post
Share on other sites

Use the default language file for the mod.

<mod>/languages/Bundle.properties

 

Create a new unique key in that file for the new description, exmaple:

MareRusC = Dsadaofjndsf description blasdasd

 

Then tell the game that the unique key MareRusC is the description for the formable.

 

<mod>/game/formableDescription/

Create a .txt file at that path named CIV_TAG.txt

 

So the file path will be

<mod>/game/formableDescription/rus.txt

and the file should contain only

MareRusC

This will tell the game that the key "MareRusC" is the unique key for that formable civilization’s description.

 

Test if it works.

In the current version of the game, you can’t use government-type tags, so you can only use rus.txt

I’ve already changed it so the game can read government tags like rus_c.txt, but this will be updated later along with the rest of the game.

 

 

 

Share this post


Link to post
Share on other sites

Great! I hope this won’t cause issues with the descriptions, though. I noticed that in formable/Bundle.properties no government tags are specified, so I suspect that any Russian formable may end up being described as the Soviet Union

Edited by Marerjh

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Age of History Games