TGP - Merged
Moderator: OpenTTD Developers
TGP - Merged
TGP has been merged with trunk. The next nightlies will therefor contain TGP.
Any bugs found in TGP can be reported at http://bugs.openttd.org
Thanks for testing!
Rubidium & TrueLight
---------------------------------------------------------------------------------
The last few weeks we have been working hard on a new feature, nicked TGP. Today we release the first test-version of this new feature.
In order to make sure the new feature is without bugs, we ask all of you to give it a spin. Download the binary (see below), run it, check the new features, try them a bit, and report back to us what you think of it.
TGP brings the following new features:
- New optional landscape generator (TerraGenesis Perlin)
- Loading of heightmaps (needs either SDL or PNG)
- Progress dialog while generating worlds (no longer a 'hanging' screen)
- New dialogs for NewGame, Create Scenario and Play Heightmap
- Easier to configure your landscape
- More things to configure (tree-placer, ..)
- Speedup of world generation
- New console command 'restart': restart the map EXACTLY as it was when you first started it (needs a game made created with OpenTTD TGP)
- Many new, world generation related, things
- Many internal cleanups and rewrites
- New console command 'getseed': get the seed of your map and share it with others
- Stats: 555 lines changed, 3609 new lines, 89 new strings
You can download this test-release (and heightmaps) from here. Or, for the users of SVN, from svn://svn.openttd.org/branches/TGP
Bugs, problems and suggestions you can either post here or mail {truelight or rubidium}@openttd.org
Warning: savegames created with this version of OpenTTD are not loadable in other OpenTTD versions!!
Via this way we want to thank the people who helped making this possible: Belugas, DaleStan, KUDr, RichK67, Rubidium, and TrueLight (alphabetic)
Many thanks to those people who helped testing: Arnau, Bjarni, glx, and tokai (alphabetic)
Thank you for testing and we hope to bring more cool new features soon!
Rubidium & TrueLight
Any bugs found in TGP can be reported at http://bugs.openttd.org
Thanks for testing!
Rubidium & TrueLight
---------------------------------------------------------------------------------
The last few weeks we have been working hard on a new feature, nicked TGP. Today we release the first test-version of this new feature.
In order to make sure the new feature is without bugs, we ask all of you to give it a spin. Download the binary (see below), run it, check the new features, try them a bit, and report back to us what you think of it.
TGP brings the following new features:
- New optional landscape generator (TerraGenesis Perlin)
- Loading of heightmaps (needs either SDL or PNG)
- Progress dialog while generating worlds (no longer a 'hanging' screen)
- New dialogs for NewGame, Create Scenario and Play Heightmap
- Easier to configure your landscape
- More things to configure (tree-placer, ..)
- Speedup of world generation
- New console command 'restart': restart the map EXACTLY as it was when you first started it (needs a game made created with OpenTTD TGP)
- Many new, world generation related, things
- Many internal cleanups and rewrites
- New console command 'getseed': get the seed of your map and share it with others
- Stats: 555 lines changed, 3609 new lines, 89 new strings
You can download this test-release (and heightmaps) from here. Or, for the users of SVN, from svn://svn.openttd.org/branches/TGP
Bugs, problems and suggestions you can either post here or mail {truelight or rubidium}@openttd.org
Warning: savegames created with this version of OpenTTD are not loadable in other OpenTTD versions!!
Via this way we want to thank the people who helped making this possible: Belugas, DaleStan, KUDr, RichK67, Rubidium, and TrueLight (alphabetic)
Many thanks to those people who helped testing: Arnau, Bjarni, glx, and tokai (alphabetic)
Thank you for testing and we hope to bring more cool new features soon!
Rubidium & TrueLight
Last edited by Rubidium on 19 Aug 2006 10:07, edited 4 times in total.
First of all awesome work. The svn (5758) works realy fast and create's an amazing landscape.
Generation time (max. mapsize):
Generation time (max. mapsize):
- toyland ~ 25 sec.
- temperate ~ 30 sec.
- desert/tropical ~ 40 sec.
- arctic ~ 70 sec.
- AMD Athlon 2600+
- 512MB RAM
- Debian GNU Linux (SID)
- Kernel 2.6.17 (adapted one)
- no changed compile args @ ottd_tgp complieing
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
Thanks, looks great!
However, found one bug. If I select a completely black heightmap, then Windows style error box was displayed: "could not create any towns" (or something like that) and after that OpenTTD completely hang and I had to kill the application from Windows.
There is also one usability issue. Size of the map selection boxes were removed from the main screen, but still terrain type selection is still remaining. If you select "create new scenario" from the main screen, you don't know what is currently the size of the map. So, my suggestion is to remove the terrain selection buttons from the main screen too and replace it with just an OpenTTD logo. When scenerio editor is started, show automatically the landscape generation window, but also include an option to generate just an empty land.
I also have another feature suggestion: To be able to scroll the map with arrow keys while the map generation is in progress.
However, found one bug. If I select a completely black heightmap, then Windows style error box was displayed: "could not create any towns" (or something like that) and after that OpenTTD completely hang and I had to kill the application from Windows.
There is also one usability issue. Size of the map selection boxes were removed from the main screen, but still terrain type selection is still remaining. If you select "create new scenario" from the main screen, you don't know what is currently the size of the map. So, my suggestion is to remove the terrain selection buttons from the main screen too and replace it with just an OpenTTD logo. When scenerio editor is started, show automatically the landscape generation window, but also include an option to generate just an empty land.
I also have another feature suggestion: To be able to scroll the map with arrow keys while the map generation is in progress.
Nasty bug, nice foundMateo wrote: (..) "could not create any towns" (..)

You are right, we need an other dialog here!Mateo wrote: There is also one usability issue. (..)
This will never be possible. Because the game isn't designed with so called Threads in mind, it is very hard to implement it later on. Now what happens when you can move around in the map, while generation, is that the draw function can read a tile, while the generate function is writing in it, at the same time!! So then you get memory corruption, nasty and weird crashes, etc etc etc... so sadly enough, this is a technical limiation of the way we are handling the progress barMateo wrote: I also have another feature suggestion: To be able to scroll the map with arrow keys while the map generation is in progress.

Tnx for your feedback!!
I think I found another bug too. If I select 64x2048 (or 128x2048 or 256x2048) map, there are typically too many lighthouses near the short edges (see the screen shots). Not always, but very often. But if I select eg 64x256 map, I cannot reproduce the bug.
- Attachments
-
- lighthouses-south.png
- (112.07 KiB) Downloaded 676 times
-
- lighthouses-north.png
- (99.39 KiB) Downloaded 812 times
This bug should be solved in SVN; it placed about as many lighthouses on each edge of the map, now it places them randomly around the perimeter.Mateo wrote:I think I found another bug too. If I select 64x2048 (or 128x2048 or 256x2048) map, there are typically too many lighthouses near the short edges (see the screen shots). Not always, but very often. But if I select eg 64x256 map.
It is, however, still (theoretically) possible to have groups of lighthouses, but the chances are much much smaller.
You can when you remember the seed you used to generate the map. If you enter that seed for the next generation, you should get the exact map you had before.Mateo wrote:I cannot reproduce the bug.
I noticed a small bug.
If I start with the highmap kamchatka in scenario editor and I want to place a random town in the map an message appears. (Even if there is no town on the map) If I press the button a few times a town will be build although.
SVN-Version 5768
If I start with the highmap kamchatka in scenario editor and I want to place a random town in the map an message appears. (Even if there is no town on the map) If I press the button a few times a town will be build although.
SVN-Version 5768
- Attachments
-
- screenshot.png (31.01 KiB) Viewed 12649 times
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
- Born Acorn
- Tycoon
- Posts: 7597
- Joined: 10 Dec 2002 20:36
- Skype: bornacorn
- Location: Wrexham, Wales
- Contact:
It still happens when there is a large esturary or gap in the water. They tend to clump. (I did an SVN checkout before this post)Rubidium wrote:This bug should be solved in SVN; it placed about as many lighthouses on each edge of the map, now it places them randomly around the perimeter.
It is, however, still (theoretically) possible to have groups of lighthouses, but the chances are much much smaller.
Notes/Bugs:
-Still no or very little Oil Rigs in the sea.
-Still no logging mills in Sub-Tropical. This may be intended, but perhaps a checkbox?
Suggestions:
-A checkbox to join towns by road. (May be too much work for little benefit, but I remember this should be easy, as Hackykid once said)
-Re-add Oil Rigs and Logging Mills
Great work though. I am very impressed.
Logging Mills in sub tropical are meant to be paid for and placed by the player!!
Oil rigs only come along in the late game. I dont know if you generate a game beyond the oil-rig start date (??) whether it creates oil rigs or not. Worth testing.
Oil rigs only come along in the late game. I dont know if you generate a game beyond the oil-rig start date (??) whether it creates oil rigs or not. Worth testing.
OTTD NewGRF_ports. Add an airport design via newgrf.Superceded by Yexo's NewGrf Airports 2
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
- Born Acorn
- Tycoon
- Posts: 7597
- Joined: 10 Dec 2002 20:36
- Skype: bornacorn
- Location: Wrexham, Wales
- Contact:
When compiling the code from the trunk in Visual C++ 2005 express edition I got the following two warnings:
These pertained to the following line in genworld_gui.c:
Considering that the disabled_state is a uint32, I tend to agree with Visual C++ that this is probably eronous, since it tries to set bits that aren't even there. Considering that, I wonder whether it even works if you actually compile the game and run it, since it can't possibly read those bits either.
Code: Select all
d:\external\openttd (tgp)\genworld_gui.c(162) : warning C4293: '<<' : shift count negative or too big, undefined behavior
d:\external\openttd (tgp)\genworld_gui.c(162) : warning C4293: '<<' : shift count negative or too big, undefined behavior
Code: Select all
if (_patches_newgame.land_generator == 0) w->disabled_state |= (1 << 32 | 1 << 33);
A computer scientist is someone who, when told to "Go to Hell," sees the "go to," rather than the destination, as harmful.
It's called a sawmill and it's the only industry that is supposed to be "planted" by the player. I don't think it should be ever generated, especially when they remove trees from the vicinity.Born Acorn wrote:I've been trying from 1950 to 2050, and no Oil Rigs.
I've also always believed funding industries degrades the game. Hence, placing my own logging mills could count as that. It would be nice if it could be checkboxed.
The only thing the sawmill needs is to give exclusive rights to the player that built it.
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
That would degrade the game by A LOT imo, the point of the game is not to have exclusive industries for yourself so you have assured income. Competition should be always possible, no matter who funds the industry.Darkvater wrote:The only thing the sawmill needs is to give exclusive rights to the player that built it.Born Acorn wrote:I've been trying from 1950 to 2050, and no Oil Rigs.
I've also always believed funding industries degrades the game. Hence, placing my own logging mills could count as that. It would be nice if it could be checkboxed.
Think funding of industries as sponsoring it, they have most of the money, and you just give them the final amount they need. You get a industry you can serve, but you do not own it. If you remove chances to compete for resources, you degrade the game. Are you a true Tycoon if you can just sit on your behind, and fund sawmills to insure your income, while nobody can compete for it?
Yes, you are right. I meant to say that "the only possible improvement the sawmill might need is...".Akalamanaia wrote:Think funding of industries as sponsoring it, they have most of the money, and you just give them the final amount they need. You get a industry you can serve, but you do not own it. If you remove chances to compete for resources, you degrade the game. Are you a true Tycoon if you can just sit on your behind, and fund sawmills to insure your income, while nobody can compete for it?
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
- Born Acorn
- Tycoon
- Posts: 7597
- Joined: 10 Dec 2002 20:36
- Skype: bornacorn
- Location: Wrexham, Wales
- Contact:
Or it could replant it's own trees.
But anyway, I have tried TGP in the following years, with industries and towns both on high:
1925
1950
1975
2000
2025
2050
and had no Oil rigs at all. Is this known, or a bug? For one of the only industries which encourages use of ships, leaving them out would only be further neglect of the shipping part of the game.
But anyway, I have tried TGP in the following years, with industries and towns both on high:
1925
1950
1975
2000
2025
2050
and had no Oil rigs at all. Is this known, or a bug? For one of the only industries which encourages use of ships, leaving them out would only be further neglect of the shipping part of the game.
In tropic, I noticed someting strange with the farms. Look yourself:
SORRY for the huge screenshot
SVN 5773
Map size: 256 x 512
# of t.: low
# of i.: low
r. seed: 1439712134 (not quite the same but similar)
gen.: TG
tree a.: improved
t. type: maountainus
s. level: high
smoth.: very rougth
SORRY for the huge screenshot
SVN 5773
Map size: 256 x 512
# of t.: low
# of i.: low
r. seed: 1439712134 (not quite the same but similar)
gen.: TG
tree a.: improved
t. type: maountainus
s. level: high
smoth.: very rougth
- Attachments
-
- Unbenannt, 30. Jan 2000.png
- Nice Artwork, but not very realistic. =)
- (240.43 KiB) Downloaded 766 times
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
That is totally useless. Even a 1-off seed will yield totally different results with a random number.skidd13 wrote:r. seed: 1439712134 (not quite the same but similar)
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
Who is online
Users browsing this forum: No registered users and 9 guests