OpenTTD 1.1.0-beta3

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
frosch
OpenTTD Developer
OpenTTD Developer
Posts: 988
Joined: 20 Dec 2006 13:31
Location: Aschaffenburg

OpenTTD 1.1.0-beta3

Post by frosch »

The next beta for 1.1 is available. This first release in 2011 fixes again some bugs for further stabilising, but also adds a few features. Most noticeable: Server admins can now define limits for terraforming, both to prevent vandalism as well as forcing the player to build with the landscape.

Please enjoy the new beta release, and report any issues spoiling the fun to our bug tracker.

Download: http://www.openttd.org/download-testing
Bug tracker: http://bugs.openttd.org/
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
techynal
Engineer
Engineer
Posts: 3
Joined: 04 Nov 2010 19:05

Re: OpenTTD 1.1.0-beta3

Post by techynal »

Server admins can now define limits for terraforming, both to prevent vandalism as well as forcing the player to build with the landscape.

What command or cvar is it for this function?

Thanks!
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: OpenTTD 1.1.0-beta3

Post by planetmaker »

techynal wrote:Server admins can now define limits for terraforming, both to prevent vandalism as well as forcing the player to build with the landscape.
Defaults are:
terraform_per_64k_frames = 4194304
terraform_frame_burst = 4096
clear_per_64k_frames = 4194304
clear_frame_burst = 4096
dihedral
Tycoon
Tycoon
Posts: 1053
Joined: 14 Feb 2007 17:48

Re: OpenTTD 1.1.0-beta3

Post by dihedral »

the burst value defines how many tiles can be cleared / landscaped in a single frame (a single action), and also define the max applowance a company can reach.
the per 64k frames value defines how many tiles are added to the companies allowance per frame (every frame, the per 64k frames value is added to the 'allowance')

a company starts with the burst value as its limit / allowance.

Note:
- landscaping (terraforming): rising or lowering a single point has an affect on 4 tiles (for corners)
- normal construction and purchasing a tile, clears the tile first.

examples:

per_64k_frames = 65536
(65536 = 1 << 16) this means that 1 tile is added to the allowance every frame: a total of 65536 tiles per 65536 frames (per 64k frames). a single day is made up of 74 frames. so every day 74 tiles can be affected by landscaping or clearing.

74 tiles in a single day (2.3 seconds) is quite an ammount. if you want to limit this further to define that a company only gets a single tile added to their allowance every day:
1 (numer of tiles to add per day) / 74 (number of frames per day) * 65536 (numer of frames behind the per 64k frames variable) = 885.621653504
so setting the per 64k frames variable to 886 means a company gets an allowance of a bit over 1 tile per day.

burst = 4096
this default value of 4096 equals an area of 64*64 tiles.
a new company gets this burst value as initial allowance, but a company cannot gain a higher allowance than this burst value.

if you want to archive a setting in which things have to be done on a tile by tile basis (rather than draging and dropping the clear land over an area of 20x20 tiles in a single action, having to clike 400 times) you need the following:

terraform_per_64k_frames = 3543
terraform_frame_burst = 4

clear_per_64k_frames = 886
clear_frame_burst = 1

remember? terraform action of a single tile involves 4 tiles corners. in order to perform this action every day (once evey 74 frames ~ 2.3seconds) we want to add 4 every day to that allowance (or 4 / 74 every frame)

If you wish to give companies a one time allowance, you can set the per 64k frames value to 0, this will have the affect that once the allowance is used up, no further tiles can be landscaped or cleared.


NOTE: building (which involves clearing land) is not accounted for, so these settings have no affect in this case and do not limit the amount of conscturction that can be done via the drag and drop tool :-)
User avatar
DJ Nekkid
Tycoon
Tycoon
Posts: 2141
Joined: 30 Nov 2006 20:33

Re: OpenTTD 1.1.0-beta3

Post by DJ Nekkid »

what about adding this entire text to the wiki? quite good explination
Member of the
ImageImage
dihedral
Tycoon
Tycoon
Posts: 1053
Joined: 14 Feb 2007 17:48

Re: OpenTTD 1.1.0-beta3

Post by dihedral »

Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: Bing [Bot] and 36 guests