Ability to built a building in editor

Got an idea for a new feature in TTDPatch? Post it here.

Moderator: TTDPatch Moderators

SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Ability to built a building in editor

Post by SHADOW-XIII »

yes I know it was before ... Csaba, you said it is too much effort to make possibile gui for building buildings :lol:

but what if I could have a tool, that would gave me random building ... no matter which one, just to force a random building in selected square ?

is it possible ?
what are you looking at? it's a signature!
User avatar
Szappy
Chief Executive
Chief Executive
Posts: 689
Joined: 29 Mar 2004 14:35
Location: Budapest, Hungary
Contact:

Post by Szappy »

cht:debugger :?:
Image please use email instead of PM
User avatar
Csaboka
Tycoon
Tycoon
Posts: 1202
Joined: 25 Nov 2002 16:30
Location: Tiszavasvári, Hungary
Contact:

Post by Csaboka »

This idea would be easier to do - TTD already has a "put some random building here" function. Maybe it could be done withouth much effort with a dirty hack like "ctrl-place transmitter gives you a random house in the scenario editor".
Reality is that which, when you stop believing in it, doesn't go away.—Philip K. Dick
nilsi
Transport Coordinator
Transport Coordinator
Posts: 268
Joined: 20 Nov 2002 16:20
Location: Dresden, Germany

Post by nilsi »

I would love that, too.
So if it is not so much work ...
User avatar
Csaboka
Tycoon
Tycoon
Posts: 1202
Joined: 25 Nov 2002 16:30
Location: Tiszavasvári, Hungary
Contact:

Post by Csaboka »

Well, this wasn't too hard. You can place houses to the map in the scenario editor by ctrl-clicking with the rock tool if newhouses is enabled.

There are some limitations, though:
  • You need at least one town on the map before you can build individual buildings
  • Buildings appear in a random construction stage. If this is a problem for you, you can always enable the gamespeed switch and fast forward until they're fully built. (I've done this before the screenshot was made)
  • Town buildings always belong to the nearest town, and increase its population. AFAIK towns won't touch those buildings that aren't connected to the road network, so those may stay for a very long time.
  • The building that appears is random, but is always chosen acccording to the current town zone. This means that houses far from the town will always be zone 0 buildings.
Attachments
SCR24.png
SCR24.png (41.17 KiB) Viewed 3239 times
Reality is that which, when you stop believing in it, doesn't go away.—Philip K. Dick
nilsi
Transport Coordinator
Transport Coordinator
Posts: 268
Joined: 20 Nov 2002 16:20
Location: Dresden, Germany

Post by nilsi »

Thank you so much :-)
User avatar
Raichase
Moderizzle
Moderizzle
Posts: 11509
Joined: 15 Dec 2002 00:58
Location: Sydney, Australia. Usually at work in the underground railway station...
Contact:

Post by Raichase »

Hey, thats a really cool feature for making towns in scenarios! Good idea Shadow, and nice work again from Csaboka!
Posted by Raichase. Visit my Flickr! Gallery, Blog (get a feed of everyone at once at Planet TT-Forums).
Raichase - Perfect timing, all the time: [13:37] * Now talking in #tycoon
ImageImage
Official TT-Dave Worley Fan Club
Official TT-Andel-in-a-pink-hat Fan Club
User avatar
RailJade
Engineer
Engineer
Posts: 92
Joined: 27 Jul 2004 15:19
Location: On the Northeast Corridor

Post by RailJade »

Csaboka wrote:Well, this wasn't too hard. You can place houses to the map in the scenario editor by ctrl-clicking with the rock tool if newhouses is enabled.
Hmm, it does not work for me and I have newhouses enabled :(.
User avatar
Csaboka
Tycoon
Tycoon
Posts: 1202
Joined: 25 Nov 2002 16:30
Location: Tiszavasvári, Hungary
Contact:

Post by Csaboka »

No wonder it doesn't work - it isn't in the current alpha yet :P

I've sent the diff to Patchman yesterday, I guess it will appear in the next official alpha.
Reality is that which, when you stop believing in it, doesn't go away.—Philip K. Dick
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

great great great Csabooka, now map editing steps into higher level 8)
thanks a lot
Csaboka wrote:Town buildings always belong to the nearest town, and increase its population. AFAIK towns won't touch those buildings that aren't connected to the road network, so those may stay for a very long time.
ok, but I got few questions, what about if I put a building away from town and then put a town close to that building ... will it stay to the old town ? or will be taken by new one ? if new town will put road at that building (road will be property of new town_ will it be changable by that old town ? why in game TTD changes buildings that are not at roads ?
what are you looking at? it's a signature!
User avatar
Flavius
Tycoon
Tycoon
Posts: 1531
Joined: 22 Apr 2003 03:55
Location: Gold Coast, Queensland, Australia.

Post by Flavius »

Happily, more power to scenario makers. :P

Thank you Shadow and Csaboka, cannot wait for next alpha. Please please Patchman. :shock:
User avatar
Csaboka
Tycoon
Tycoon
Posts: 1202
Joined: 25 Nov 2002 16:30
Location: Tiszavasvári, Hungary
Contact:

Post by Csaboka »

SHADOW-XIII wrote:what about if I put a building away from town and then put a town close to that building ... will it stay to the old town ? or will be taken by new one ?
It will be taken over by the new one, and town populations change accordingly. There's no owner information stored with town buildings, they just return the closest town if asked about their owner.
SHADOW-XIII wrote:why in game TTD changes buildings that are not at roads ?
Does it? I haven't noticed it...
Reality is that which, when you stop believing in it, doesn't go away.—Philip K. Dick
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

I noticed something I called 'walking building' ...
1) I got 1sq house at the road
2) it changes to 4sq (2x2) ... like prison
3) one of the prison's squares become a house (the one square which is not at the road)
4) that house again become 2x2, like prison
5) and so on ...

I even posted sometime ago screenie with prison in a middle of forest (middle of nowhere) :wink:
what are you looking at? it's a signature!
User avatar
Csaboka
Tycoon
Tycoon
Posts: 1202
Joined: 25 Nov 2002 16:30
Location: Tiszavasvári, Hungary
Contact:

Post by Csaboka »

You're right, Shadow, I remembered wrong. Every house has a chance to be replaced, or even removed during the game, no matter how far is it from the town. The faster the town grows, the bigger the chance is that this happens.

This "walking house" thing is interesting, although I don't know if it's worth fixing...
Reality is that which, when you stop believing in it, doesn't go away.—Philip K. Dick
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

oh, you were faster than me ...
I wanted to ask if it is possible to make a building permanent or only replaceable by better one :mrgreen:
what are you looking at? it's a signature!
User avatar
Csaboka
Tycoon
Tycoon
Posts: 1202
Joined: 25 Nov 2002 16:30
Location: Tiszavasvári, Hungary
Contact:

Post by Csaboka »

Well, you can make house types unremovable via GRF files, but of course you can't decide where it will be built.

The other thing is, how do you mean "better"? When can you say house type A is better than house type B?
Reality is that which, when you stop believing in it, doesn't go away.—Philip K. Dick
User avatar
Rob
Tycoon
Tycoon
Posts: 4355
Joined: 31 Dec 2002 16:52
Location: Ven-Zelderheide, The Netherlands

Post by Rob »

I think he means for instance houses that accept goods, so that once a station accepts goods it won't stop doing so because the town decides to replace a building that accepts goods with a building that doesn't accept goods.
Wie zich gelukkig voelt met het geluk van anderen, bezit een rijkdom zonder grenzen. (F.Daels)
Image
Still the best OS around
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

I meant beeter = more people/mail/goods producing
what are you looking at? it's a signature!
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Post by wallyweb »

This could be really interesting with Zimmlock's new buildings. Too bad about the need for random. A menu would be cool, but with all the buildings available it would be huge. Could this be integrated with the industry building tool?
Talk about aliteration ... one could call it a "Bigger Better Building Builder Button" ... Now say that ten times fast :)
User avatar
Geo Ghost
Moderator
Moderator
Posts: 6567
Joined: 25 Oct 2004 10:06
Location: UK
Contact:

Post by Geo Ghost »

just wondering, but isnt this a bit like i said a while back? :?
http://www.tt-forums.net/viewtopic.php?t=13236
Post Reply

Return to “Suggestions”

Who is online

Users browsing this forum: No registered users and 0 guests