@Androrc:
Could you add the necessary changes / files as attachment to this thread ?
I would take care of adding it to the upcoming
Release 1.3 then.
Here they are:
https://dl.dropbox.com/u/1732902/Colonization/Historical Events.rar
In the C++ files, search for "//Androrc Historical Events" and "//Androrc Events" for the appropriate changes.
Also included are XML files for the events. There are three new fields for event triggers, and one new field for events. The new event trigger fields are:
<Civilization>
<iMinYear>
<iMaxYear>
Naturally, the iMinYear and iMaxYear means that the event will only trigger after it's iMinYear and before it's iMaxYear. The Civilization field means that the event will only trigger for that particular civilization. All these fields are optional, so it isn't a problem if a event trigger doesn't have them.
The new event field is <iCrosses>; this means that the player receives that amount of crosses stored from the event, thus getting a boost (or malus, if negative) to immigration. This part isn't necessary for having historical events, but I thought it was a nice addition, since it allows us to have historical flavor events that help immigration a bit, without necessarily giving a whole new colonist unit to the player.
Lastly, there are three events for New Portugal included in the file that show how the idea works. They are:
History of the Province of Santa Cruz
In 1576, Pero de Magalhães Gandavo published his "History of the Province of Santa Cruz". In the book, Gandavo, referring to the Portuguese possessions in the Americas as "Santa Cruz", described the new lands in a favorable light, stimulating emigration to the Portuguese American colony.
Effect: +5 crosses stored.
Treatise of the Land of Brazil
Pero de Magalhães Gandavo published a writing titled "Treatise of the Land of Brazil" in 1570, in which he depicted the Portuguese colony as a promising land, attractive for immigration. He portrayed the natives of the land as having neither faith, nor law, nor king, and as such living in a disorganized manner.
Effect: +5 crosses stored.
The New Gazette from the Land of Brazil
In 1515, a pamphlet titled "The New Gazette from the Land of Brazil" was published in German, depicting Brazil as a land populated by lawless natives, but nevertheless paradisiac.
Effect: +2 crosses stored.