If you look at the dialog files for a certain citizen you see a line like this:
You'll see the nation is hardcoded in there
I think instead of that it should use:
If these nation are updated at least. Else it should use:
So if someone can confirm the nation of all citizens is updated at the start of the game depending on the period and when a town is captured we can use the first. Else the seccond would be easier I guess (altough I prefer to use the first one cause it might be used at other points too).
Could someone take a look at this? It probably needs to be changed in all citizen dialog files.
---
While someone is at it he might be able to look into this too:
You will see multiple instances of this.
These should be changed to:
if you wanna know why take a look here:
Solved - Random or Quasi Random Numbers? | PiratesAhoy!
Code:
d.Text = SelectRumour("Oxbay", "England");
You'll see the nation is hardcoded in there
I think instead of that it should use:
Code:
GetNationIDByType(sti(NPChar.nation))
Code:
GetLocationNationFromID(NPChar.location)
So if someone can confirm the nation of all citizens is updated at the start of the game depending on the period and when a town is captured we can use the first. Else the seccond would be easier I guess (altough I prefer to use the first one cause it might be used at other points too).
Could someone take a look at this? It probably needs to be changed in all citizen dialog files.
---
While someone is at it he might be able to look into this too:
Code:
if(Rand(1)==0)
You will see multiple instances of this.
These should be changed to:
Code:
if(Rand(99)<50)
if you wanna know why take a look here:
Solved - Random or Quasi Random Numbers? | PiratesAhoy!
Last edited: