I've made the first step for my Ship-to-Nation Mod:
Inspired from the Encounter.init-file, I've modified the exclude.nation-command and added it into the Ships.init-file
void ship_ExcludeNation(ref refship, int iNation)
{
string sNation = Nations[iNation].Name;
refship.Nation.Exclude.(sNation) = true;
}
then I used the following lines for the ship-attributes, according to my classification
ship_ExcludeNation(refship, ENGLAND);
ship_ExcludeNation(refship, FRANCE);
ship_ExcludeNation(refship, SPAIN);
ship_ExcludeNation(refship, HOLLAND);
ship_ExcludeNation(refship, PIRATE);
I hope this will work. Before I can test it, I'll have some other things to care for before I can start a new game, but maybe anyone here can see, if I am wrong. :will
Inspired from the Encounter.init-file, I've modified the exclude.nation-command and added it into the Ships.init-file
void ship_ExcludeNation(ref refship, int iNation)
{
string sNation = Nations[iNation].Name;
refship.Nation.Exclude.(sNation) = true;
}
then I used the following lines for the ship-attributes, according to my classification
ship_ExcludeNation(refship, ENGLAND);
ship_ExcludeNation(refship, FRANCE);
ship_ExcludeNation(refship, SPAIN);
ship_ExcludeNation(refship, HOLLAND);
ship_ExcludeNation(refship, PIRATE);
I hope this will work. Before I can test it, I'll have some other things to care for before I can start a new game, but maybe anyone here can see, if I am wrong. :will