Javolenus
07-10-2008, 18:38
Hi There,
I wonder if anyone can help? I'm no expert in scripting, so I'd need very basic guidance.
Basically, what I'd like to do is this:
I'd like to make it so that a faction's financial fortunes are tied to its King's traits. In other words - bad king, bad finances; good king, good finances.
One way of doing this might be to add/subtract money depending on a faction leader's authority rating. For example:
Authority = 0, faction loses 1500 per turn
Authority = 1, faction loses 1000 per turn
Authority = 2, faction loses 500 per turn
Authority = 3, faction loses/gains nothing
Authority = 4, faction gains 500 per turn
And so on, in jumps of 500, right up to Authority = 10.
But how would I script this in the campaign script?
Also, I'd want this to affect both human and AI factions.
If someone could help - perhaps by giving a sample script for one faction, which I could then copy for the rest, then that would be ideal - because all I have here is an idea - I don't actually know much about scripting.
Many thanks in advance for replies.
I wonder if anyone can help? I'm no expert in scripting, so I'd need very basic guidance.
Basically, what I'd like to do is this:
I'd like to make it so that a faction's financial fortunes are tied to its King's traits. In other words - bad king, bad finances; good king, good finances.
One way of doing this might be to add/subtract money depending on a faction leader's authority rating. For example:
Authority = 0, faction loses 1500 per turn
Authority = 1, faction loses 1000 per turn
Authority = 2, faction loses 500 per turn
Authority = 3, faction loses/gains nothing
Authority = 4, faction gains 500 per turn
And so on, in jumps of 500, right up to Authority = 10.
But how would I script this in the campaign script?
Also, I'd want this to affect both human and AI factions.
If someone could help - perhaps by giving a sample script for one faction, which I could then copy for the rest, then that would be ideal - because all I have here is an idea - I don't actually know much about scripting.
Many thanks in advance for replies.