[MZ] Airship Boladão (EX): Passenger limit, fuel costs and passability! (updated: 10-28-2020)

Logica

Let's go to paradise!
Veteran
Joined
Jun 25, 2012
Messages
45
Reaction score
59
First Language
Portugues
Primarily Uses
RMMV
boladao.jpg


This script brings a little variation to the handling of the airship.

Context: The airship is a very cool vehicle and little explored by the developers. This is certainly because it is very unbalanced compared to other vehicles.

Description: This script adds more gameplay possibilities for the airship.

Settings: All the features of this script are based on configuring plugin parameters, inserting tags and creating common events.

License: free for personal or commercial use.

Airship2.jpg


1) Activate Switch:
Enables / disables the player's access to the airship.


2) Embedded Switch
Choose a Database switch that will be activated whenever the group is inside the airship. When the group is not in the airship the switch will remain disabled.

3) Switch: Fuel consumption
Choose a switch from the database to enable or disable fuel consumption.
Airship8.jpg


4) Landing Tag
The airship can now land on land with that tag. Set up on Database Tilesets Guide.

5) Landing tag prohibited
The airship CANNOT land on terrain with that tag. Configure on the Database Tilesets tab;


6) Landing Region prohibited
The airship can land on land marked with that number by region. To use mark the terrains directly on the map.

7) Landing Region prohibited
The airship CANNOT land on land marked with that number. region. To use mark the terrain directly on the map.

Airship9.jpg

8) Region Impassble
The airship CANNOT move to a terrain marked with that number region. To use just mark the terrens directly on the map.

9) Tag impassable
The airship CANNOT move to a terrain marked with that tag. You must configure the land in the Database Tilesets tab.

10) Speed
Enter a database variable to control the airship speed.

11) Limite of Characters in Airship
You can determine the maximum number of characters that can be on the airship simultaneously. This is done using a database variable.

12) Airship Fall
When the airship runs out of fuel it falls.It is possible to set up * a common event to be called before this happens.

Airship7.jpg
In the demo it was implemented a possibility for the player to fill the tank of fuel before the airship falls (if he has a barrel of fuel)!

13 - 16) It is possible to define a common event to happen when the player cannot enter the airship. There are 4 situations in which the player cannot enter the airship:

13) When the airship has no fuel.

14) When the characters do not have the skills to fly the airship.

15) When the airship is disabled.

16) When the group of characters is greater than the airship's carrying capacity.


17) Fuel consumption.
Choose a variable from the database that indicates the airship's fuel consumption.

Airship6.jpg
To refill the fuel tank, just manipulate the database variable. In the example above, this is done through an item.
18) Collisions
You can activate the airship to collide with map events. For that it must insert the <collision> tag in the "Note" of the event. Collision is only available on events configured as: Priority: Above Character OR Priority: Below Character


19) Skill: Piloting
Piloting the airship requires that the player has in his group at least 1 character who has a piloting skill. You can define a piloting skill by inserting the tag: <pilotagem> in the "note" field in the skill settings in the database.


Plugin Command:


A1: Distance Player x Airship :
Returns the distance between the airship and the player to a database variable.
Airship3.jpg
[S

 
Last edited:

Knightmare

Knight of the Night
Veteran
Joined
Mar 14, 2012
Messages
1,224
Reaction score
291
First Language
English
Primarily Uses
RMMV
Very clever plugin. Fuel costs is pretty original.
 

Logica

Let's go to paradise!
Veteran
Joined
Jun 25, 2012
Messages
45
Reaction score
59
First Language
Portugues
Primarily Uses
RMMV
Very clever plugin. Fuel costs is pretty original.
I'm glad you liked it. Today, the possibility of varying fuel consumption according to a variable in the database has been added. In the demo, I implement this function so that consumption is proportional to the number of characters in the airship. Thanks for the feedback!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

rux
The most words I have ever written in an entire document is in my game's script, jeez i have a lot of characters that ramble on
Yes! I finally did something! This is a picture I drew of what I wish I looked like; I hope that you guys like it!
Finished that egg-sitting mini-game I mentioned here a couple weeks back. Now to fix the weather system so it doesn't rain indoors while you're playing it. >.> A simple fix in itself; leave it to me to take it as an excuse to completely revamp the time/weather/lighting system from scratch.
I'm really tempting to pre order cyberpunk 2077... should I do it or not :/ I really want to play the game but don't want to take a big hit to my saving because of it

Forum statistics

Threads
105,487
Messages
1,014,119
Members
137,142
Latest member
OscarCobblepot
Top