Airplanes

Learn here how to create and use plugins.

Moderator: Plugin Moderators

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

Airplanes

Post by Lobby » Sun Oct 08, 2017 13:11

Adding you own airplane to the game is straight forward. After you created your amazing graphics like this one :img
airplane.png
airplane.png (5.82 KiB) Viewed 1688 times
You can define your plugin :json

Code: Select all

[
  {
    "id":"$lobby_airplane_mygreatairplane00",
    "title":"Big airplane",
    "text":"I'm the description.",
    "type":"airplane",
    "frames":[{"bmp":"airplane.png","w":96,"count":4,"handle x":48,"handle y":40}],
    "price":1000000,
    "fly height":200,
    "capacity":375,
    "speed":1
  }
]
An airplane plugin consists of four frames for each direction. Orientation for each frame works as for cars (v2).

About the handle, I recommend to move it to a point where you would say that's the center of the airplane on the ground:
airplane_handle.png
airplane_handle.png (3 KiB) Viewed 1688 times
In case you're nice you might want to set a diamond price instead. That's possible with

Code: Select all

"diamond price":20
...Have a nice stay

User avatar
THEMAX
Inhabitant of a Supercluster
Reactions:
Posts: 3624
Joined: Thu Sep 14, 2017 17:30
Location: Astrellia, UHAE
Plugins: Show
Version: Beta

Re: [Beta]Airplanes

Post by THEMAX » Sun Oct 08, 2017 13:56

THX YOU!!!
Emperor of Atlantean federated empire
Image
Founder state of Internationxal council
Leader of AEOY and steel pact

User avatar
CloakedGamer
Small-town resident
Reactions:
Posts: 29
Joined: Sat Oct 07, 2017 1:01

Re: [Beta]Airplanes

Post by CloakedGamer » Sun Oct 08, 2017 18:41

What is the width and height of a single frame of the aircraft?
:mine We are Rogue.

User avatar
JustAnyone
Junior Developer
Reactions:
Posts: 2440
Joined: Sun Jul 23, 2017 12:45
Location: Pickle command administration
Plugins: Show
Version: Beta
Phone model: Picklephone S5

Re: Airplanes

Post by JustAnyone » Tue Dec 26, 2017 1:47

Could we have diamond price for award type plugins?

User avatar
rjroldan1
Inhabitant of a Conurbation
Reactions:
Posts: 471
Joined: Mon Jul 17, 2017 16:16
Location: philippines
Plugins: Show
Version: Beta
Contact:

Re: Airplanes

Post by rjroldan1 » Tue Jan 02, 2018 10:48

how about json in huge airplanes
Silent

President of Metropole region

____________________________________________________________________________________
I LOVE PHILIPPINES

User avatar
Kulche
Inhabitant of a Country
Reactions:
Posts: 853
Joined: Wed Jun 07, 2017 20:28
Location: Not sure
Plugins: Show
Version: Beta
Phone model: I use tablet!

Re: Airplanes

Post by Kulche » Tue Jan 02, 2018 15:54

Wut?
❤Bearz❤

nope

( ͡° ͜ʖ ͡°) < Meet Lenny


...

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 528
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: Airplanes

Post by sairam » Tue Jul 10, 2018 13:38

:D Can you share the all airplane texture? :)
Last edited by sairam on Tue Jul 10, 2018 16:24, edited 1 time in total.
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D ( ͡° ͜ʖ ͡°)

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”

Who is online

Users browsing this forum: No registered users and 1 guest