Tags/Countries editing
Moderator: FOGK Moderators
-
Emp_Palpatine
- Lance Corporal - Panzer IA

- Posts: 13
- Joined: Fri Nov 17, 2017 9:34 am
Tags/Countries editing
Hi there,
Regarding the creation/addition or modification of ingame countries, what would be the check-list?
Which files are to be tampered with?
Where are events or scripts tampering with tag switching?
Does anyone has an easy way to edit or add banners? I have no experience at all with graphical editing.
Last but not least, how does one make an already existing tag playable?
That would be all... For now.
Regarding the creation/addition or modification of ingame countries, what would be the check-list?
Which files are to be tampered with?
Where are events or scripts tampering with tag switching?
Does anyone has an easy way to edit or add banners? I have no experience at all with graphical editing.
Last but not least, how does one make an already existing tag playable?
That would be all... For now.
Re: Tags/Countries editing
Factions.csv (in the Data folder) would be the place to go for adding a faction. Just put the faction in a new line, with its own unique 3-letter code, and all the relevant data. When you do this, be sure to edit the relevant text file (in the Data/Text folder). In this case, look at Text44, which deals with all the various group names a faction uses. If you don't update this text file, the game will give these little script error popups, whenever you mouse over an army or fleet of the faction you added, or the game tries to write an adjective referring to the faction.Regarding the creation/addition or modification of ingame countries, what would be the check-list?
Which files are to be tampered with?
If you want the faction on map at scenario setup, in the Scenarios folder you'll want to edit the Setup_Factions.csv file, in the DATA folder for each scenario, as well as the Setup.csv file.
I'm not sure I follow by what you mean by "tag switching?"Where are events or scripts tampering with tag switching?
Banners are in the Data/ASSETS/BANNERS folders, and that's all I can tell ya! Editing or creating those fancy things are far beyond my humble knowledge.Does anyone has an easy way to edit or add banners? I have no experience at all with graphical editing.
I *think* you can do this by simply editing Setup_Factions.csv, col I (PickPriority), to a number other than 0? I hesitate though, because I have an eerie feeling that I may be forgetting a step or two here ...Last but not least, how does one make an already existing tag playable?
Streaming as "Grognerd" on Twitch! https://www.twitch.tv/grognerd
Re: Tags/Countries editing
It should also be noted that we work with XLS files and then export them to CSV. Therefore, the best practice (as in the time of AGEOD) is to make your modifications this way before exporting.
By tag switching, do you mean Paris becoming France?
The banners are indeed made with 3D software; only the team's graphic designer knows how to create them.
By tag switching, do you mean Paris becoming France?
The banners are indeed made with 3D software; only the team's graphic designer knows how to create them.
AGEOD Team - Makers of Kingdoms, Empires, ACW2, WON, EAW, PON, AJE, RUS, ROP, WIA.
-
Emp_Palpatine
- Lance Corporal - Panzer IA

- Posts: 13
- Joined: Fri Nov 17, 2017 9:34 am
Re: Tags/Countries editing
When you change the played country by event or pressing the related button.
For instance : Normandy -> France; Apulia -> Sicilia.
I would like to do, for starters, a simple mod switching Sicilia to Latin Empire if enough requirements are met (own Constantinople, is an Empire, and perhaps a few other things).
Pocus, do you confirm this?I *think* you can do this by simply editing Setup_Factions.csv, col I (PickPriority), to a number other than 0? I hesitate though, because I have an eerie feeling that I may be forgetting a step or two here ...Last but not least, how does one make an already existing tag playable?
-
Emp_Palpatine
- Lance Corporal - Panzer IA

- Posts: 13
- Joined: Fri Nov 17, 2017 9:34 am
Re: Tags/Countries editing
That's a bummer... Adding countries requires new banners! Or an easy/practical way of adding some.
It would be great if the said developper could give some hindsights.
Why so? Well, "formables" are fun (yeah, I also play Paradox games) and give players some goals to long for and I would like to do a small mod adding a few formables.
Re: Tags/Countries editing
Actually you can edit DDS files quite simply, for light modifications with free software like PAINT.NET that I use for routine operations.
So this is the flag DDS: Formable from Formable will require a bit of scripting, i.e. as a condition to being Formable, you need to be already Formable X.
Yes you can edit a single flag and the nation will be playable in SETUP.CSV
So this is the flag DDS: Formable from Formable will require a bit of scripting, i.e. as a condition to being Formable, you need to be already Formable X.
Yes you can edit a single flag and the nation will be playable in SETUP.CSV
AGEOD Team - Makers of Kingdoms, Empires, ACW2, WON, EAW, PON, AJE, RUS, ROP, WIA.
-
Emp_Palpatine
- Lance Corporal - Panzer IA

- Posts: 13
- Joined: Fri Nov 17, 2017 9:34 am
Re: Tags/Countries editing
Thanks.
Which entry is to be changed in setup.csv? Do we agree that it's the one in Kingdoms_DB?
Or is it in faction_setup? In this one, there is a pickpriority but I am not sure it serves as a mean to make a country playble? There are 0, 1000, 8(?) values and they do not seem to relate...
Also, as for scripting : which languages do you use?
Looks like a sort of Java but I am not sure. If so, good news, I have some basic knowledge of Java!
Which entry is to be changed in setup.csv? Do we agree that it's the one in Kingdoms_DB?
Or is it in faction_setup? In this one, there is a pickpriority but I am not sure it serves as a mean to make a country playble? There are 0, 1000, 8(?) values and they do not seem to relate...
Also, as for scripting : which languages do you use?
Looks like a sort of Java but I am not sure. If so, good news, I have some basic knowledge of Java!
Re: Tags/Countries editing
Yeah the PickPriority in SETUP_FACTIONS will list the faction on the Pick a Country screen when you begin a scenario, and the number determines how high up the list of country choices it will be. So "1" would be at the top of the list, for example. The number of digits also indicate whether it will be listed among the "Major Nations" (1 digit), "Remarkable Factions" (2 digits), etc.
Streaming as "Grognerd" on Twitch! https://www.twitch.tv/grognerd
Re: Tags/Countries editing
The scripting language is a custom, home-made language, proposed by the Archon engine, which is itself an in-house engine from Slitherine. Basically, it's a simplified version of C.
AGEOD Team - Makers of Kingdoms, Empires, ACW2, WON, EAW, PON, AJE, RUS, ROP, WIA.
-
kronenblatt
- General - Carrier

- Posts: 4671
- Joined: Mon Jun 03, 2019 4:17 pm
- Location: Stockholm, SWEDEN
Re: Tags/Countries editing
Adding new nations/factions actually mean adding new banners. Is there any difference between Empires and Kingdoms in this respect?
kronenblatt's campaign and tournament thread hub:
https://www.slitherine.com/forum/viewtopic.php?t=108643
https://www.slitherine.com/forum/viewtopic.php?t=108643

