Skip to main content
Topic: There's this tree... (Read 32737 times) previous topic - next topic

There's this tree...

I have this game going with very small cities.  Actually I started the game with no cities and placed them where I wanted.  Anyway, I happened to notice I have a couple cities with some very nice trees that I hate to see chopped down.

Is it possible to lock a tile so that the AI will not build on it?  Not only would this be good for me but I think I read something about people having trouble with highways.  Wouldn't locking a tile solve that as well?

I just want to designate two great looking trees as landmarks and BTW congrats on whoever painted them!

Re: There's this tree...

Reply #1
Under "special construction tools", there should be a function to place a sign/marker on that tile, so the tree will be protected against players other than you.

Re: There's this tree...

Reply #2
Thanks whoami.  It places a sign there that kinda detracts from the looks of the tree but I guess you have to have something in place so the Simutranians know not to cut it down. :)


Re: There's this tree...

Reply #4
Thanks whoami.  It places a sign there that kinda detracts from the looks of the tree but I guess you have to have something in place so the Simutranians know not to cut it down. :)

Not necessarily streets around it. When I had something important on map that didn't want get destroyed by simutranians, I usually build curiosities (attraction) buildings around it. ;) ::) :D Don't know if this is the right thing to do, though.  :-\ ::) :-\

Anyway... Can you, please, attach a picture so I can see the painted work of art as well?  :)

Re: There's this tree...

Reply #5
emax, I seemed to have misplaced the link to the upload site.  Do you have it handy?  I have made pics of the city both with and without the sign.


Re: There's this tree...

Reply #7
The only way I know how to post a pic here is to upload it first at the upload site and then reference the file name.  I think it was Dirk who posted the link but now I can't find the thread where it was posted.  And yes it does need to be a jpg or png but the type is not a problem.

Re: There's this tree...

Reply #8
The only way I know how to post a pic here is to upload it first at the upload site and then reference the file name.  I think it was Dirk who posted the link but now I can't find the thread where it was posted.  And yes it does need to be a jpg or png but the type is not a problem.

Sorry, Roads. :-\ See if anyone else knows how to solve this problem.  :-\ 8) :-\ :)

I can't remember and/or see it any longer, either.  :o :D

 

Re: There's this tree...

Reply #9
Small pictures can be attached in the forum directly, larger files can be made available by e.g. http://www.simutrans-germany.com/files/index.php?lang=en (this service is supplied by Frank).

Re: There's this tree...

Reply #10
Thanks, whoami.  :) 8)





Re: There's this tree...

Reply #15
sojo, that would work as well but just like the sign it does detract from the aesthetic of the tree.  Thank you for posting the option though.

whoami, thanks for the link.  I'm going to save it in my links file this time.

Here's the pics:




Re: There's this tree...

Reply #16
sojo, that would work as well but just like the sign it does detract from the aesthetic of the tree.  Thank you for posting the option though.

The wall is just a exsample. Mayby use a "gracht" for 64x64, form pak.german. Or an other placeholder, when you use pak128.

Edit: This placeholder is a railway with speed=0 or 5 or so.

Re: There's this tree...

Reply #17
doh!  sojo, I had completely missed the implications of what you are saying.  Many thanks.


Re: There's this tree...

Reply #19
Well emax even us tree huggers realize you have to cut down some trees. :(

Still it is why my preference would be for a simple tile lock.  That way I could force the city to grow in the places I want.  You know, I think I would like to be a city planner. :)

Re: There's this tree...

Reply #20
Well emax even us tree huggers realize you have to cut down some trees. :(
Yes, true. :(
Still it is why my preference would be for a simple tile lock.  That way I could force the city to grow in the places I want.  You know, I think I would like to be a city planner. :)

What's the method of doing a simple tile lock... :-\ :-\ :-\

Sorry, but I don't have an idea how to do it... :o ::) 8)

Re: There's this tree...

Reply #21
Quote
What's the method of doing a simple tile lock...

As I've haven't yet looked at the source code, I have no idea.  I'm inclined to think it would not be awfully difficult.  You could probably use the existing code for the sign and replace the graphic with just one pixel or something that didn't change the look of the tile.

Re: There's this tree...

Reply #22
You wouldn't have to go that far i think. You can create objects with images that are just background blue, they're invisible in game then. So you could lay "invisible" tracks around the tree, or put an invisible marker on it. You can also run an invisible train on it, hey ... maybe i'll start pak invisible  ;D lol extra difficult for experts.

Re: There's this tree...

Reply #23
mobo, I want it!  If you ever get in the mood to produce such a thing.  It could be hot keyed couldn't it?  Well, but then you would need some code for the cursor to tell you the tile is locked.  And then a way to unlock it - funny how things can get complicated. :(


Re: There's this tree...

Reply #25
Mobo, run like hell ;D

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!


Re: There's this tree...

Reply #27
Here try this.


Re: There's this tree...

Reply #29
Extract it, put it in your pak-file path - it will replace the existing file, put a Marker somewhere, and look whether it's invisible after placing.

Re: There's this tree...

Reply #30
And will I still have the text marker separately, with it, as well?  :-\ :-\ 

Cause I also need it to tell of new factories industry sets, as well, as stopping simutranians to expand further in certain cities... :) 8)

Re: There's this tree...

Reply #31
It replaces the other one. But it still works like before, there is no sign on the landscape, that's all.

Re: There's this tree...

Reply #32
Thanks a lot mobo. But the sign still shows on the landscape... Sorry... :-[

Where exactly, do you know, have I gone wrong? :o ::)

 :-\

Re: There's this tree...

Reply #33
mobo, I had some real life stuff come up right in the middle of posting yesterday so I didn't get a chance to try the cursor pak or post anything until now.

Thank you very, very much for posting it.  Like emax though I'm having a bit of trouble with it.  I put it in the pak128 directory.  In player mode when I place the sign the first time, the sign does not show.  However when I use my query tool it does not indicate the tile is locked, merely says tree and how old it is.  If I go into public service mode, the sign shows.  When I go back to player mode and try it, the sign shows.

EDIT:  OK, further testing shows I was wrong.  I had two tiles that I was experimenting with.  When I placed the sign on the tile the first time, in player mode, it works perfectly.  Query shows the tile to be "public property" in addition to how old the tree is.  The second square is a bit troublesome, it keeps displaying the sign but I'm in the process of playing around with it to see if reload, etc. works.  At any rate, thanks again for the code, I really appreciate it!

Re: There's this tree...

Reply #34
I had two tiles that I was experimenting with.  When I placed the sign on the tile the first time, in player mode, it works perfectly.  Query shows the tile to be "public property" in addition to how old the tree is.  The second square is a bit troublesome, it keeps displaying the sign but I'm in the process of playing around with it to see if reload, etc. works.  At any rate, thanks again for the code, I really appreciate it!

Same with me, But the normal reload didn't work  :o ::) Anyway... :-\

Thanks for your help mobo and Roads.