Tested some more ...
Clean trunk seems to work fine but sometimes I get a message "can't raise/lower land here ..." without the "terraform limit reached" part.
To reproduce:
- Set values to a low limit in the config file. (eg. 16 for long periods and 2 for burst)
- Raise some land and continue trying while the limit is reached.
- When clicking on land that has just been raised the limit message shows, when clicking on flat land next to your llittle hill (little because of the low limit) the wrong message shows.
Also with default values I could not trigger the "terraform limit reached" message at all.
I have not yet checked the clearing land behaviour in this regard and I can not (yet) consistently reproduce the above bug. So I have not yet reported on FlysSpray.
Then for the problem in the patchpack ...
For the self-compilers ... if you add line 291 to terraform_cmd.cpp:
Code: Select all
TerraformerState ts;
+ ts.modheight_count = 0;
+
/* Compute the costs and the terraforming result in a model of the landscape */
Terraforming works again but not yet correctly in regards to configuring the limits.
- If in the config file you set values to 0 then it works correctly -> no terraforming/clearing land allowed whatsoever.
- If in the config file you set values to 2 then clearing land works correctly but terraforming behaves as if tere were no limit.
As clearing land works correctly it should not be to hard to correct but I have not yet started messing with that code yet. I have been comparing trunk vs. patchpack behaviour first while messing with the config file.
I hope that it is easy to fix by checking what exactly changed in landscape.cpp when the limiting was introduced and to have a fixed diff soon.
About simply increasing the terraforming costs:
@BR 155:
There are GRFs on bananas that allow to raise the basecosts.
As Terkhen explained, given enough money it is no longer a valid option to stop the GameBusters.
About the incremental terraforming costs (based om modheight_count or not):
Is this something that can be done by grf or should this be hardcoded? I would not mind having something like that in OpenTTD.
Note that usually I play for the fun of building a network and for seeing my trains run around. I do not care much for the money in tha bank (Yes often I cheat money ...) so my opinion in this regard is not to be valued very high.
Edit: spelling.
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.