What is a good script or method for making a land vehicle (or two)? I am currently trying to create a "mine cart" for a dungeon.
Land vehicles?
RGSS3 Script RequestsActually since you can walk on land terrain you don't need a vehicle. You could just use the Change Graphic command to change actor sprite when interacting with the cart. You could also allow the player to walk only on the railway using a different tileset where only railroad is passable. Just to be more clear:
- create two (2) different tilesets, a normal tileset for the mine and a special tileset with the same files you used for the mine but where only railways are passable.
- make an event with the mine cart graphic that the player can activate using action button
- when the event is activated place the caracter sprite on it and change it to the one you want to use for the vehicle. (Of course disable player followers as well).
- Make a fixed stop where the player can interact with an object to change its graphic and move on the ground (the object needs to be very close to the railway or the player won't be able to interact with it...unless you use an appropriate tileset which allows the player to interact with distant objects).
- Make a parallel process that changes player graphic when a specific button is pressed. (The event should do it ONLY when the player is using the cart graphic).
I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.
Please search before you post requests - I believe there are a number of scripts available to do this.
Also, are you actually using VX Ace? Because that's the forum you posted in. You need to be specific about what engine you're using because the scripts are completely different.
Please search before you post requests - I believe there are a number of scripts available to do this.
Also, are you actually using VX Ace? Because that's the forum you posted in. You need to be specific about what engine you're using because the scripts are completely different.
A railway mine cart can be done both using only eventing or have everything fully controlled by a script.
For eventing, all you need is to change the character sprite to one with cart and force move route to get the cart move on the rail to the end destination then change the character sprite back.
For script, one that works require you to set the tile passage (4dir) on the rails and a few script calls on the cart.
Click for demo Link, script is inside the demo.
Both eventing and script has their share load of work so i can't say which one's better.
Script require you to set up tons of stuffs in the start but allows automated cart moving on the rail.
Eventing is easier to understand but will need some work on the move route setting, especially when you have a long long rail.
For eventing, all you need is to change the character sprite to one with cart and force move route to get the cart move on the rail to the end destination then change the character sprite back.
For script, one that works require you to set the tile passage (4dir) on the rails and a few script calls on the cart.
Click for demo Link, script is inside the demo.
Both eventing and script has their share load of work so i can't say which one's better.
Script require you to set up tons of stuffs in the start but allows automated cart moving on the rail.
Eventing is easier to understand but will need some work on the move route setting, especially when you have a long long rail.
Original thread: https://forums.rpgmakerweb.com/threads/land-vehicles.50097/