Roads

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
Brody Craft
Inhabitant of a Infinity
Reactions:
Posts: 8035
Joined: Tue Jan 24, 2017 11:15
Location: SE Asia
Plugins: Show
Version: Beta
Phone model: Samsung Galaxy Tab 3

Platform

Re: Roads

#61

Post by Brody Craft » Wed Mar 20, 2019 0:33

Looks like someone plays Intersection Controller.
When you get to be called a Board Index because you are too good.>:3

User avatar
TiarDVaughn
Inhabitant of a Conurbation
Reactions:
Posts: 454
Joined: Sun Mar 04, 2018 19:40
Location: Spokane Valley
Plugins: Show
Version: Beta
Phone model: LG K30

Plugin Creator

Platform

Re: Roads

#62

Post by TiarDVaughn » 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?
Welcome to Zayrattan!

Our President = Eva Salamander, 30 years old

Secretary of Foreign Affairs = Tiar D'Vaughn, 23 years old

User avatar
TiarDVaughn
Inhabitant of a Conurbation
Reactions:
Posts: 454
Joined: Sun Mar 04, 2018 19:40
Location: Spokane Valley
Plugins: Show
Version: Beta
Phone model: LG K30

Plugin Creator

Platform

Re: Roads

#63

Post by TiarDVaughn » Wed Mar 20, 2019 16:12

-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?
Welcome to Zayrattan!

Our President = Eva Salamander, 30 years old

Secretary of Foreign Affairs = Tiar D'Vaughn, 23 years old

User avatar
Brody Craft
Inhabitant of a Infinity
Reactions:
Posts: 8035
Joined: Tue Jan 24, 2017 11:15
Location: SE Asia
Plugins: Show
Version: Beta
Phone model: Samsung Galaxy Tab 3

Platform

Re: Roads

#64

Post by Brody Craft » Thu Mar 21, 2019 9:33

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.
When you get to be called a Board Index because you are too good.>:3

User avatar
TiarDVaughn
Inhabitant of a Conurbation
Reactions:
Posts: 454
Joined: Sun Mar 04, 2018 19:40
Location: Spokane Valley
Plugins: Show
Version: Beta
Phone model: LG K30

Plugin Creator

Platform

Re: Roads

#65

Post by TiarDVaughn » 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?
Welcome to Zayrattan!

Our President = Eva Salamander, 30 years old

Secretary of Foreign Affairs = Tiar D'Vaughn, 23 years old

User avatar
Brody Craft
Inhabitant of a Infinity
Reactions:
Posts: 8035
Joined: Tue Jan 24, 2017 11:15
Location: SE Asia
Plugins: Show
Version: Beta
Phone model: Samsung Galaxy Tab 3

Platform

Re: Roads

#66

Post by Brody Craft » Fri Mar 22, 2019 0:44

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.
When you get to be called a Board Index because you are too good.>:3

User avatar
TiarDVaughn
Inhabitant of a Conurbation
Reactions:
Posts: 454
Joined: Sun Mar 04, 2018 19:40
Location: Spokane Valley
Plugins: Show
Version: Beta
Phone model: LG K30

Plugin Creator

Platform

Re: Roads

#67

Post by TiarDVaughn » Fri Mar 22, 2019 18:45

Brody Craft wrote:
Fri Mar 22, 2019 0:44

Brody Jones.
Okay. I'll find you on Intersection Controller.
Welcome to Zayrattan!

Our President = Eva Salamander, 30 years old

Secretary of Foreign Affairs = Tiar D'Vaughn, 23 years old

User avatar
Lobby
Developer
Reactions:
Posts: 3377
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: Roads

#68

Post by Lobby » Sat Jun 08, 2019 17:48

Added a note on how to handle terrain :66:
...Have a nice stay

User avatar
yusuf8a684
Inhabitant of a Continent
Reactions:
Posts: 1112
Joined: Sun Dec 10, 2017 22:09
Location: Turkiye
Plugins: Show
Phone model: Discovery One

Plugin Creator

Platform

Re: Roads

#69

Post by yusuf8a684 » Tue Jun 11, 2019 13:00

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?
TheoTown Multiplayer Region
25x3Z7Z
We are playing on a region which other players in it as well. Our goal is making real world region...

User avatar
JustAnyone
Junior Developer
Reactions:
Posts: 2692
Joined: Sun Jul 23, 2017 12:45
Location: No idea either
Plugins: Show
Phone model: Nokia 3310

Plugin Creator

Platform

Re: Roads

#70

Post by JustAnyone » Tue Jun 11, 2019 17:19

Yes.

User avatar
CommanderABab
AB
Reactions:
Posts: 7911
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Roads

#71

Post by CommanderABab » Tue Jun 11, 2019 18:29

Code: Select all

"frames per bridge":16,
is also required.
777!777Currently using alpha 777. 777 What's new? :)
online maps!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

Neonmanricky
Villager
Reactions:
Posts: 23
Joined: Fri May 10, 2019 23:59
Plugins: Show

Platform

Re: Roads

#72

Post by Neonmanricky » Sat Nov 30, 2019 1:49

red highway.png
red highway.png (5.37 KiB) Viewed 79 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 79 times
tunnel_frames.png
tunnel_frames.png (2.16 KiB) Viewed 79 times

User avatar
CommanderABab
AB
Reactions:
Posts: 7911
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Roads

#73

Post by CommanderABab » Sat Nov 30, 2019 3:13

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
      
    
}
]
:)
777!777Currently using alpha 777. 777 What's new? :)
online maps!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

Neonmanricky
Villager
Reactions:
Posts: 23
Joined: Fri May 10, 2019 23:59
Plugins: Show

Platform

Re: Roads

#74

Post by Neonmanricky » Sat Nov 30, 2019 4:45

Can I use that json n can you tell how do you understand w/h/count on json

Neonmanricky
Villager
Reactions:
Posts: 23
Joined: Fri May 10, 2019 23:59
Plugins: Show

Platform

Re: Roads

#75

Post by Neonmanricky » Sat Nov 30, 2019 4:55

Something not right here
Something not right here

Mg3094066
Inhabitant of a Supercluster
Reactions:
Posts: 3139
Joined: Sun May 28, 2017 1:50
Location: United Mexican States
Plugins: Show
Version: Beta
Phone model: LG H320mb 5.0.1

Plugin Creator

Platform

Re: Roads

#76

Post by Mg3094066 » Sat Nov 30, 2019 5:51

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
I want my diamonds you get the plugins free or not :bd

Neonmanricky
Villager
Reactions:
Posts: 23
Joined: Fri May 10, 2019 23:59
Plugins: Show

Platform

Re: Roads

#77

Post by Neonmanricky » Sat Nov 30, 2019 5:53

Sorry didn't know it was your n I was testing it to understand json for everything

User avatar
CommanderABab
AB
Reactions:
Posts: 7911
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Roads

#78

Post by CommanderABab » Sat Nov 30, 2019 6:36

For roads, it's width 1,2,3,4 etc, but height stays at 1.
777!777Currently using alpha 777. 777 What's new? :)
online maps!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
CommanderABab
AB
Reactions:
Posts: 7911
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Roads

#79

Post by CommanderABab » Sat Nov 30, 2019 6:40

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.
777!777Currently using alpha 777. 777 What's new? :)
online maps!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

Neonmanricky
Villager
Reactions:
Posts: 23
Joined: Fri May 10, 2019 23:59
Plugins: Show

Platform

Re: Roads

#80

Post by Neonmanricky » Sat Nov 30, 2019 6:43

I'm having trouble make the cars drive in one direction

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”

Who is online

Users browsing this forum: No registered users and 2 guests