RPG Maker XP
Swimming System
Introduction
This script will add the ability to swim to your game by the use of terrain tags, while swimming a separate graphics is used to enhance the effect of swimming.
Features
Configure a terrain tag to be swim-able.
customize certain events to be able to swim too.
Configure the extension that is used for the swim graphic.
removes the need to event a system like this.
detects collision as normal.
enter water by pressing the C button.
if events can swim they just walk in.
Downloads
swiming-script-19396.zip
License Terms
Attribution-NonCommercial 3.0 Unported - You must attribute the work in the manner specified by the author or licensor. The licensor permits others to copy, distribute and transmit the work. In return, licensees may not use the work for commercial purposes — unless they get the licensor's permission.
Instructions
see the demo for the script, to install it in your own project simply copy the script and place below all other default/custom scripts in your project, but above Main.
to have bridges like seen in the demo that have water under them, the tile that acts as the bridge needs a terrain tag to be set, otherwise the system will see it as open water, the terrain tag does not matter, its just to overwrite the terrain tag of the water as rpg-maker retrieves the tag from the highest tile.
Author Notes
Planned Features:
oxygen timer when inside water.
Adjustable speed when swimming.
Compatibility
no known compatibility issues, please report any.
Version History
22/3/13 – 1.0
Credits & Thanks
Diagostimo for creating this wonderful system!
The character template sprites in the demo are uncredited, if you know the artist/s just say and ill add there credit!
Terms & Conditions
Use for commercial use is prohibited unless otherwise stated.
Comments (8)
Leave a Reply
You must be logged in to post a comment.
Marked
Hey that's pretty cool. Especially how the NPC's decide to jump in.
(ps thanks for being the first non-staff to submit to the scripts section :P)
diagostimo
thanks, iv been meaning to post some scripts up all weak just not had the time, iv also got more to come, but its late now so I am gonna get some sleep, ill post them up tomorrow(Saturday, YEY!), also I plan on updating this a fair bit, but I thought it would be good to get it up to bring in interest 🙂
dolarmak
yeah this is pretty cool, i might use it in my game.
Bigace360
Damnit diagostimo you beat me to it. I was planning on making a swim script but this Bank System is taking to long. Good job though.
Nights-Rune
This is a really good script and I am planning on using it for my project but is there a way to disable / enable the swimming? (I am planning the char to be unable to swim until a cut-scene and then learn how to swim)
I know it may seem like an odd request but it would be really helpful to know (yeah I am new at this)
Saltome
Couple of bugs I should warn you about. If you transfer the player to a 'water' tile it doesn't put you in swim mode, and you will be stuck if you aren't next to an accessible tile. And if there is an event on the edge of the water you both enter swim mode and interact with the event at the same time.
AND I'm about to implement the ability to disable swimming, so the character can't swim before they learn how to swim. If you are interested give me a PM.
Shino
Hey there,
I tried to integrate the script in my game, but it does not seem to work. Every time I start the game, I get the following message:
"script 'swimmingScript' line 112: NoMethodError ocurred. Undefined method 'include?' for nil:NilClass"
Can anyone help me out. I'm pretty much a noob at this, I have to confess…
Shino
Hey there,
I tried to integrate the script in my game, but it does not seem to work. Every time I start the game, I get the following message:
"script 'swimmingScript' line 112: NoMethodError ocurred. Undefined method 'include?' fo nil:NilClass"
Can anyone help me out. I'm pretty much a noob at this, I have to confess…