Page 4 of 4

Re: Roads

Posted: Wed Mar 20, 2019 0:33
by Brody Craft
Looks like someone plays Intersection Controller.

Re: Roads

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

Re: Roads

Posted: Wed Mar 20, 2019 16:12
by TiarDVaughn
-LeoLeo- wrote:
Tue Mar 19, 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: Thu Mar 21, 2019 9:33
by Brody Craft
TiarDVaughn wrote:
Wed Mar 20, 2019 16:10
Brody Craft wrote:
Wed Mar 20, 2019 0: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: Thu Mar 21, 2019 22:29
by TiarDVaughn
Brody Craft wrote:
Thu Mar 21, 2019 9:33

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

Re: Roads

Posted: Fri Mar 22, 2019 0:44
by Brody Craft
TiarDVaughn wrote:
Thu Mar 21, 2019 22:29
Brody Craft wrote:
Thu Mar 21, 2019 9: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: Fri Mar 22, 2019 18:45
by TiarDVaughn
Brody Craft wrote:
Fri Mar 22, 2019 0:44

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

Re: Roads

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

Re: Roads

Posted: Tue Jun 11, 2019 13:00
by yusuf8a684
JustAnyone wrote:
Mon Apr 30, 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: Tue Jun 11, 2019 17:19
by JustAnyone
Yes.

Re: Roads

Posted: Tue Jun 11, 2019 18:29
by CommanderABab

Code: Select all

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

Re: Roads

Posted: Sat Nov 30, 2019 1:49
by Neonmanricky
red highway.png
red highway.png (5.37 KiB) Viewed 98 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 98 times
tunnel_frames.png
tunnel_frames.png (2.16 KiB) Viewed 98 times

Re: Roads

Posted: Sat Nov 30, 2019 3: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: Sat Nov 30, 2019 4:45
by Neonmanricky
Can I use that json n can you tell how do you understand w/h/count on json

Re: Roads

Posted: Sat Nov 30, 2019 4:55
by Neonmanricky
Something not right here
Something not right here

Re: Roads

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

Re: Roads

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

Re: Roads

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

Re: Roads

Posted: Sat Nov 30, 2019 6:40
by CommanderABab
Neonmanricky wrote:
Sat Nov 30, 2019 4: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: Sat Nov 30, 2019 6:43
by Neonmanricky
I'm having trouble make the cars drive in one direction