HowellsManages - Comments

Comments
#860182 Adding a New Nation in the FM Editor
HowellsManages
8 years ago
2 months ago
3
Premium
By renskay 23 June 2022 - 01:01 AM UTC 

I have managed to restore the Capital City option for the nations panel in the editor.

Although I can't actually see if it functions in the game because it doesn't show up in the game or at least I can't find where it does.

 

 

 

The options exist in the code still but are just commented out.

 

You can see this in the 

nation.xml file

 

and the nation ui file

 

What would be interesting is if it might be possible to add a population tab to the UI for nations so that when you edit a nation it doesn't have to have the previous nation's population as it's default.

 

Like this for example, where it shows the population as 42 thousand.

 

 

This potentially could be done as the database reference for population must exists but I do not know it.

To call the nation data in the nation ui screen the code uses the term “nati” followed by the reference code to the data within the nation (e.g. name = “Nnam”, Hashtag = “TCht”, Capital City ="Ncpi").

In order to add the population tab the reference code for population is required but I am not sure how I would access the database to know this code.

I imagine it would include something like "Pop" in reference to population but I would just be guessing.

 

Hey 
This thread has been SO helpful to me when making my Cornwall independent nation and Unified Ireland (willl post when both are done) BUT
I'm so sorry - I'm a little confused with this re: capital cities - As the ‘capital city’ option does not exist in the XML for the db record lists, am I adding it from nationa mxl and adding a line of boolean that says read only false?

 

Would be grateful for any help.

Thanks!

#818471 Ultra Realistic NewGan Faces - AI Generated Facepack for Football Manager
HowellsManages
8 years ago
2 months ago
3
Premium

Hi - sorry if I'm missing something, but how do I do this for staff? 
I do this every season for players and I have the staff facepack, but the newgen filter still includes active staff.
I'm not sure what I'm doing wrong.
If anyone could help, I would be most appreciative - thanks!