There's this tree... January 01, 2009, 04:12:04 pm 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! Quote Selected
Re: There's this tree... Reply #1 – January 01, 2009, 04:45:14 pm 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. Quote Selected
Re: There's this tree... Reply #2 – January 01, 2009, 07:25:39 pm 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. Quote Selected
Re: There's this tree... Reply #3 – January 01, 2009, 08:24:31 pm Can you build a placeholder or a street around? Quote Selected
Re: There's this tree... Reply #4 – January 02, 2009, 05:07:29 am Quote from: Roads – on January 01, 2009, 07:25:39 pmThanks 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. 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? Quote Selected Last Edit: January 02, 2009, 05:11:01 am by emaxectranspoorte
Re: There's this tree... Reply #5 – January 02, 2009, 08:40:51 am 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. Quote Selected
Re: There's this tree... Reply #6 – January 02, 2009, 10:18:52 am Quote from: Roads – on January 02, 2009, 08:40:51 amemax, 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. Can't you place it here as a jpg or a png or something... Quote Selected
Re: There's this tree... Reply #7 – January 02, 2009, 11:57:45 am 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. Quote Selected
Re: There's this tree... Reply #8 – January 02, 2009, 12:17:34 pm Quote from: Roads – on January 02, 2009, 11:57:45 amThe 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. I can't remember and/or see it any longer, either. Quote Selected
Re: There's this tree... Reply #9 – January 02, 2009, 01:38:13 pm 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). Quote Selected Last Edit: January 02, 2009, 01:40:45 pm by whoami
Re: There's this tree... Reply #12 – January 02, 2009, 02:56:07 pm Quote from: sojo – on January 02, 2009, 02:49:11 pmMayby so ... Quote Selected
Re: There's this tree... Reply #13 – January 02, 2009, 03:06:33 pm The picture was for this: QuoteI just want to designate two great looking trees as landmarks and BTW congrats on whoever painted them! Quote Selected
Re: There's this tree... Reply #14 – January 02, 2009, 03:22:39 pm Quote from: sojo – on January 02, 2009, 03:06:33 pmThe picture was for this: May I ask how was that placeholder made? Can it also be done for a bigger area? Quote Selected
Re: There's this tree... Reply #15 – January 02, 2009, 06:24:25 pm 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: Quote Selected
Re: There's this tree... Reply #16 – January 02, 2009, 07:13:28 pm Quote from: Roads – on January 02, 2009, 06:24:25 pmsojo, 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. Quote Selected
Re: There's this tree... Reply #17 – January 02, 2009, 07:28:25 pm doh! sojo, I had completely missed the implications of what you are saying. Many thanks. Quote Selected
Re: There's this tree... Reply #18 – January 03, 2009, 01:30:00 am Quote from: Roads – on January 02, 2009, 07:28:25 pmdoh! sojo, I had completely missed the implications of what you are saying. Many thanks.Thanks, Roads. That really looks great. Quote Selected Last Edit: January 03, 2009, 01:37:46 am by emaxectranspoorte
Re: There's this tree... Reply #19 – January 03, 2009, 01:37:52 am 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. Quote Selected
Re: There's this tree... Reply #20 – January 03, 2009, 01:41:29 am Quote from: Roads – on January 03, 2009, 01:37:52 amWell emax even us tree huggers realize you have to cut down some trees. Yes, true. Quote from: Roads – on January 03, 2009, 01:37:52 amStill 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... Quote Selected Last Edit: February 07, 2009, 10:53:37 am by emaxectranspoorte
Re: There's this tree... Reply #21 – January 03, 2009, 02:08:25 am QuoteWhat'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. Quote Selected
Re: There's this tree... Reply #22 – January 03, 2009, 11:19:44 am 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 lol extra difficult for experts. Quote Selected Last Edit: January 03, 2009, 11:25:48 am by mobo
Re: There's this tree... Reply #23 – January 03, 2009, 01:13:37 pm 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. Quote Selected
Re: There's this tree... Reply #24 – January 03, 2009, 02:15:34 pm Quote from: Roads – on January 03, 2009, 01:13:37 pmmobo, I want it! Me too, Mobo. Quote Selected
Re: There's this tree... Reply #25 – January 03, 2009, 02:32:10 pm Mobo, run like hell Quote Selected
Re: There's this tree... Reply #26 – January 03, 2009, 02:37:02 pm Quote from: VS – on January 03, 2009, 02:32:10 pmMobo, run like hell Quote Selected Last Edit: January 03, 2009, 02:43:44 pm by emaxectranspoorte
Re: There's this tree... Reply #28 – January 03, 2009, 03:09:00 pm Quote from: mobo – on January 03, 2009, 02:57:02 pmHere try this.How to use it and/or what to do with it, if you don't mind me asking? Quote Selected
Re: There's this tree... Reply #29 – January 03, 2009, 03:22:41 pm 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. Quote Selected
Re: There's this tree... Reply #30 – January 03, 2009, 04:20:26 pm 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... Quote Selected Last Edit: January 03, 2009, 04:33:00 pm by emaxectranspoorte
Re: There's this tree... Reply #31 – January 03, 2009, 08:14:24 pm It replaces the other one. But it still works like before, there is no sign on the landscape, that's all. Quote Selected
Re: There's this tree... Reply #32 – January 04, 2009, 02:48:34 am Thanks a lot mobo. But the sign still shows on the landscape... Sorry... Where exactly, do you know, have I gone wrong? Quote Selected Last Edit: January 04, 2009, 05:21:17 am by emaxectranspoorte
Re: There's this tree... Reply #33 – January 04, 2009, 12:21:34 pm 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! Quote Selected Last Edit: January 04, 2009, 12:34:54 pm by Roads
Re: There's this tree... Reply #34 – January 04, 2009, 02:28:40 pm Quote from: Roads – on January 04, 2009, 12:21:34 pmI 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 Anyway... Thanks for your help mobo and Roads. Quote Selected