Hello everybody ! This is my first post on the forum, but I've been toying with the many mods you guys have been producing for a few... well... years now, I guess, without ever going into modding myself. I'm not much of a coder.
So first of all, hi
For the many years of playing 4X games now, I've been wanting to see a feature that, to my knowledge, has yet to be implementend. It would be a written report generator for your empire and/or your cities.
Usually, when you get a little far in a 4X game, you begin to loose touch with each city individually. If you want to reconstruct the particular history of one, you have to either have taken notes from the beginning, or dive into the city screens and gather a global history from many, many details (what buildings have been constructed, in which order, etc...) When you're using mods like Caveman2cosmos, it becomes quite impossible.
So I was wondering if anyone had tried to script a written report generator. It would gather the most important dates and data for each city and, using a database of pre-written sentences, produce a global summary of your city's (or your rival's
) history and put its achievements in comparison with other cities.
For someone like me whose main contact with history is through books and newspapers, it would really enhance the game experience, but again, I am not a coder... Maybe I could learn, but I would need some directions. I tried to look into the tutorials but, well... I am a bit lost
I don't even understand wether it's possible or not.
This is a very imaginary example of the sentences this report could contain (sorry for the lousy english)
"The city of London was founded in 10000 BC. It is both the capital of England, and its biggest city.
(or)
The city of London was founded in 9000 BC. It is the capital of England, although it is not its biggest city.
(or)
The city of London was founded in 10000 BC. It is England's biggest and oldest city, although it is not the capital.
(etc...)
It was originally founded by the French, before its conquering by the English in 8000 BC.
(or)
It was originally founded by the French, before its conquering by the Germans in 8000 BC, then by the English in 7000 BC.
Many wonders, like the Pyramids and the Taj Mahal, can be visited there.
(or)
This city does not contain any remarquable wonder.
Cultural life in London is especially florishing.
(or)
Cultural life in London is pretty boring..
It is one of the great scientific centers of the country/of the world.
A great university campus is present.
The oldest university of the country/of the world can be found there.
This city saw the birth of the famous artist Elvis Presley.
(or)
This city gave birth to many geniuses.
This city trains the best soldiers in the country/in the world.
(or)
This city trains the best horsemen in the country/in the world.
(or)
This city trains the best archers in the country/in the world.
Its soldiers are the backbone of the english armies.
(or)
This city does not send many soldiers to the national army.
MARKING EVENTS
(list of Events that relate to the city in chronological order)"
It could be more detailed, but you get the idea.
Anyway, thank you for taking the time to read my post, and sorry if this idea has already been raised...
So first of all, hi

For the many years of playing 4X games now, I've been wanting to see a feature that, to my knowledge, has yet to be implementend. It would be a written report generator for your empire and/or your cities.
Usually, when you get a little far in a 4X game, you begin to loose touch with each city individually. If you want to reconstruct the particular history of one, you have to either have taken notes from the beginning, or dive into the city screens and gather a global history from many, many details (what buildings have been constructed, in which order, etc...) When you're using mods like Caveman2cosmos, it becomes quite impossible.
So I was wondering if anyone had tried to script a written report generator. It would gather the most important dates and data for each city and, using a database of pre-written sentences, produce a global summary of your city's (or your rival's

For someone like me whose main contact with history is through books and newspapers, it would really enhance the game experience, but again, I am not a coder... Maybe I could learn, but I would need some directions. I tried to look into the tutorials but, well... I am a bit lost

This is a very imaginary example of the sentences this report could contain (sorry for the lousy english)
"The city of London was founded in 10000 BC. It is both the capital of England, and its biggest city.
(or)
The city of London was founded in 9000 BC. It is the capital of England, although it is not its biggest city.
(or)
The city of London was founded in 10000 BC. It is England's biggest and oldest city, although it is not the capital.
(etc...)
It was originally founded by the French, before its conquering by the English in 8000 BC.
(or)
It was originally founded by the French, before its conquering by the Germans in 8000 BC, then by the English in 7000 BC.
Many wonders, like the Pyramids and the Taj Mahal, can be visited there.
(or)
This city does not contain any remarquable wonder.
Cultural life in London is especially florishing.
(or)
Cultural life in London is pretty boring..
It is one of the great scientific centers of the country/of the world.
A great university campus is present.
The oldest university of the country/of the world can be found there.
This city saw the birth of the famous artist Elvis Presley.
(or)
This city gave birth to many geniuses.
This city trains the best soldiers in the country/in the world.
(or)
This city trains the best horsemen in the country/in the world.
(or)
This city trains the best archers in the country/in the world.
Its soldiers are the backbone of the english armies.
(or)
This city does not send many soldiers to the national army.
MARKING EVENTS
(list of Events that relate to the city in chronological order)"
It could be more detailed, but you get the idea.
Anyway, thank you for taking the time to read my post, and sorry if this idea has already been raised...