Page 4 of 7

Re: Roads

Posted: 20 Mar 2019, 16:10
by Tiar/A
Brody Craft wrote:
20 Mar 2019, 00:33
Looks like someone plays Intersection Controller.
Yes I do ... is that a bad thing?

Re: Roads

Posted: 20 Mar 2019, 16:12
by Tiar/A
-LeoLeo- wrote:
19 Mar 2019, 23:48
@TiarDVaughn Well, lucky for you that's what I like, that's what I like!

No, seriously. I already have a plan to do something like that. With all the decos and stuff
Yay! Wait, does that mean you'll help me?

Re: Roads

Posted: 21 Mar 2019, 09:33
by Brody Craft
TiarDVaughn wrote:
20 Mar 2019, 16:10
Brody Craft wrote:
20 Mar 2019, 00:33
Looks like someone plays Intersection Controller.
Yes I do ... is that a bad thing?
No, i play it as well, im trying to build a big town thing.

Re: Roads

Posted: 21 Mar 2019, 22:29
by Tiar/A
Brody Craft wrote:
21 Mar 2019, 09:33

No, i play it as well, im trying to build a big town thing.
Cool! What's your game name?

Re: Roads

Posted: 22 Mar 2019, 00:44
by Brody Craft
TiarDVaughn wrote:
21 Mar 2019, 22:29
Brody Craft wrote:
21 Mar 2019, 09:33

No, i play it as well, im trying to build a big town thing.
Cool! What's your game name?
Brody Jones.

Re: Roads

Posted: 22 Mar 2019, 18:45
by Tiar/A
Brody Craft wrote:
22 Mar 2019, 00:44

Brody Jones.
Okay. I'll find you on Intersection Controller.

Re: Roads

Posted: 08 Jun 2019, 17:48
by Lobby
Added a note on how to handle terrain :66:

Re: Roads

Posted: 11 Jun 2019, 13:00
by yusuf8a684
JustAnyone wrote:
30 Apr 2018, 18:13
Not sure.
Just use this code which is @Lobbu's

Code: Select all

"bridge frames":[
          {"x":512,"y":96,"w":32,"h":48,"count":12},
        {"x":896,"y":214,"w":32,"h":26,"count":4},

          {"x":512,"y":96,"w":32,"h":48,"count":4},{"x":896,"y":96,"w":32,"h":48,"count":4},{"x":768,"y":96,"w":32,"h":48,"count":4},
        {"x":896,"y":214,"w":32,"h":26,"count":4},

        {"x":512,"y":144,"w":32,"h":48,"count":12},
        {"x":896,"y":214,"w":32,"h":26,"count":4},

          {"x":512,"y":144,"w":32,"h":48,"count":4},{"x":896,"y":144,"w":32,"h":48,"count":4},{"x":768,"y":144,"w":32,"h":48,"count":4},
        {"x":896,"y":214,"w":32,"h":26,"count":4},

        {"x":512,"y":192,"w":32,"h":48,"count":12},
        {"x":896,"y":214,"w":32,"h":26,"count":4}
      ],
Will that work with new versions?

Re: Roads

Posted: 11 Jun 2019, 17:19
by JustAnyone
Yes.

Re: Roads

Posted: 11 Jun 2019, 18:29
by CommanderABab

Code: Select all

"frames per bridge":16,
is also required.

Re: Roads

Posted: 30 Nov 2019, 01:49
by rickykingz
red highway.png
red highway.png (5.37 KiB) Viewed 8924 times
Hey I want to make Highway what all I need to do far as json for it I want to make this into a highway
Bridge_frames.png
Bridge_frames.png (4.97 KiB) Viewed 8924 times
tunnel_frames.png
tunnel_frames.png (2.16 KiB) Viewed 8924 times

Re: Roads

Posted: 30 Nov 2019, 03:13
by CommanderABab
You could try:

Code: Select all

[{  

     "active": true,
     "id":"$nmrredroad00", 
     "type":"road", 
     "author": "Commander ABab",
     "level":1,
     "width":2,
     "height":1,

     "min level":-1,"max level":3,
     "frames per bridge":16,
     "bridge height":12,
     "bridge price":100,
     "price":10,
     "tunnel frames":[
        {"bmp":"tunnel_frames.png","w":16,"count":4}
     ],
     "bridge frames":[
      {"bmp":"Bridge_frames.png","w":32,"h":48,"count":16}       
    ],
     "map color":{"r":146,"g":0,"b":0},
     "frames per bridge":16,
     "frames":[
       {"bmp":"red highway.png","w":32,"h":16,"count":16},      
       {"bmp":"red highway.png","w":32,"h":16,"count":16},
       {"bmp":"red highway.png","w":32,"h":16,"count":16},
       {"bmp":"red highway.png","w":32,"h":16,"count":16}
     ],     
     "x flags":{
      "flag normal":true, 
      "flag user2":true,
      "flag user3":true,
      "flag airport":true,
      "flag military":true
     },
     "overrunnable":         true,
     "one way":              true,    
     "speed":                4,
     "monthly price":        4,
     "auto join":      true,
     "allow bus stop": true,
     "allow crossing": true,
     "allow transfer": true,
     "pile distant": 10,
     "title":"nmr red road title", 
     "text":"nmr red road text",
     "hidden":false
      
    
}
]
:)

Re: Roads

Posted: 30 Nov 2019, 04:45
by rickykingz
Can I use that json n can you tell how do you understand w/h/count on json

Re: Roads

Posted: 30 Nov 2019, 04:55
by rickykingz
Something not right here
Something not right here

Re: Roads

Posted: 30 Nov 2019, 05:51
by Mg3094066
Neonmanricky wrote:
30 Nov 2019, 04:55
Capture+_2019-11-29-21-53-27.png
that frames... please dont use my frames without permission

Re: Roads

Posted: 30 Nov 2019, 05:53
by rickykingz
Sorry didn't know it was your n I was testing it to understand json for everything

Re: Roads

Posted: 30 Nov 2019, 06:36
by CommanderABab
For roads, it's width 1,2,3,4 etc, but height stays at 1.

Re: Roads

Posted: 30 Nov 2019, 06:40
by CommanderABab
Neonmanricky wrote:
30 Nov 2019, 04:45
Can I use that json n can you tell how do you understand w/h/count on json
Yes, you can use.

w is width in pixels per frame,
h is height in pixels of image,
count is number of frames per image.

Re: Roads

Posted: 30 Nov 2019, 06:43
by rickykingz
I'm having trouble make the cars drive in one direction

Re: Roads

Posted: 10 Jan 2020, 05:19
by Yakka
Can I have Railway Frame Please.