Moderator: OpenTTD Developers
I added four game script parameters to control the behavior of the script changes:
1. Penalty Type (1=Original, 2=Easy, 3=Hard *default*)
2. Initial penalty percent (default is 10)
3. Growth of penalty percent (default is 5)
4. Duration of penalty in years (default is 7)
Zero is a valid value, so penalties can be turned off, too. Duration must be greater than 0.
Penalty Types are:
1. Original - 1% of current balance each month per expired goal.
2. Easy - 10% of balance at time of expired goal, paid out over the entire duration in monthly payments.
3. Hard - 10% of balance at time of expired goal, annually for the duration, paid monthly.
For #1, each subsequent expired goal adds 1% to the penalty.
For #2 and #3, the starting penalty and growth rate are script settings.
One thing you can do is mimic the original penalty but based on the balance at the time of the expired goal. To do this, use Penalty Type=2, Initial Penalty Percent = 12, Growth of Penalty Percent = 12, Duration = 100. This will keep the penalty from escalating when the Company balance increases.
- Main script file
- (47.76 KiB) Downloaded 35 times
- Script settings file
- (10.22 KiB) Downloaded 37 times
As an example, suppose you missed a goal with a $1,000,000 balance. A penalty of 10% would be $100,000 each year, made in 12 monthly payments per year. This would result in monthly payments of $8,330 for seven years.
Instead, what I coded was a penalty of $100,000, made in monthly payments of $1,190 over seven years.
My goal in the change was to assume that the company would continue to grow, so a payment of $8,330 today won't be as sever in seven years as it is today. To be sure, it's still severe enough to question the worth of ignoring a goal.
Comments? Look for a change in the files in the coming days.
I have a question. How can I play with this script & FIRS 30.0.10? I've read a lot, tried to fix cargo list by using cargo.nut and Debug mode, tried onother Renewed_City_Growth and Simple_City_Builder... Still "cargoes don't match the list etc.".
May be someone have the right cargo.nut and can upload it... It's my favorite way to play OTTD so far
Do I something wrong?
Can you try the Extreme setting to see if that one gives the error, too?
Thank you so much, Steve!!!srschacher wrote:Can you try the Extreme setting to see if that one gives the error, too? Steve
There was a problem with the translation of the FIRS GRF (i'm russian). So i set game lang to eng, reset GS & GRF parameters - and no error appeared! Awesome!
Users browsing this forum: No registered users and 2 guests