Airplanes

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
Lobby
Developer
Reactions:
Posts: 3127
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 1469 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 1469 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 Galaxy Cluster
Reactions:
Posts: 2949
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 United Nations
Leader of OISP

#FightLikeAizat
#PrayForAizat

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
Feature manager
Reactions:
Posts: 2293
Joined: Sun Jul 23, 2017 12:45
Location: Pickle Jar
Plugins: Show
Version: Beta
Phone model: Picklephone XP 5

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: 402
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: 761
Joined: Wed Jun 07, 2017 20:28
Location: In front of my new computer
Plugins: Show
Version: Beta
Phone model: I use tablet!

Re: Airplanes

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

Wut?
❤wut❤

nope

Not-so active because of school


...Oh boi...

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 377
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.
My plugins
... BTW I like school. :calc I want to learn :java. Indian Pudukkottai Theotownist!

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”

Who is online

Users browsing this forum: No registered users and 1 guest