Quicksand

Name: Quicksand


Version: 1.3


Author: Mr. Trivel


Created: 2015-11-27


 


What does it do?


Allows regions to sink players and events in. If player sinks in completely - game over screen or common event can be executed.


 


Screenshots:


[IMG]http://puu.sh/lAAmr/c9a5b93917.png[/IMG]


 


How to use?


Set up tags Map Note.


Full setup looks like this:



<quicksand: [iD]>


SinkSpeed: [FLOAT]


SlowDown: [FLOAT]


MaxSlowDown: [FLOAT]


MaxSink: [INT]


SinkReached: [Common Event ID/0/-1]


Dash: [true/false]


CutOff: [true/false]


</quicksand>


 


What each of those do:


<quicksand: [iD]> - start of region data, [iD] is for which region will it apply


</quicksand> - end of region data


SinkSpeed: [FLOAT] - How fast characters sink in


SlowDown: [FLOAT] - How slower characters move per sink in


MaxSlowDown: [FLOAT] - Slowest characters can move E.g. 0.5


MaxSink: [INT] - Lowest possible sinking point (E.g. 30)


SinkReached: [Common Event ID/0/-1] - What happens after player sinks in. 0 - nothing, -1 - Game Over, >0 calls Common Event of that ID.


Dash: [true/false] - Is player allowed to Dash while in this region


CutOff: [true/false] - Cut off part of sprite depending on sink in?


 


Is it possible to set multiple regions on same map? Yes.


 


Settings I used for the screenshot:


 


 

Spoiler
Spoiler



<quicksand: 5>
SinkSpeed: 0.1
SlowDown: 0.05
MaxSlowDown: 0.2
MaxSink: 10


SinkReached: 0
Dash: false
CutOff: true
</quicksand>


 


 


 


Can I make events unsinkable? Yes.


Just add <Unsinkable> to Event's note field.


 



Plugin: <Link: Github>


How to download Script. Click the link above, there will be a button named Raw, press Right Click -> Save As.


 




Terms of Use:


Don't remove the header or claim that you wrote this plugin.


Credit Mr. Trivel if using this plugin in your project.


Free for non-commercial projects.


For commercial use contact Mr. Trivel.
Woah! This is awesome!

Just a feature request: Could you make it possible to set different settings based on lead party member's ID? For example, if some characters know how to swim, they can traverse through water without dying. Those who cannot, however, will slowly drown.

Awesome plugin though!
This is pretty rad!! Great work!!
awesome
Version 1.1


 - Fixed values staying false when declared as true.
Version 1.1


 - Fixed values staying false when declared as true.

Thank you for the plugin. Is it possible to call a common event when the actor fully sinks? I don't really want him to die but to lose life and return to the start of the map instead.
Would it be possible to make it so that when they fully sink, instead of dying, they would be transferred to another map, like falling into a cave or something?
@killerfer, @Animebryan


Now it's possible, Common Events.


Version 1.2


 - Removed redundant tags. Added Common Event execution on sink in.
Version 1.3


 - Fixed sinking into tiles that aren't tagged as Bush in database.
Name: Quicksand


Version: 1.3


Author: Mr. Trivel


Created: 2015-11-27





What does it do?


Allows regions to sink players and events in. If player sinks in completely - game over screen or common event can be executed.





Screenshots:








How to use?


Set up tags Map Note.


Full setup looks like this:



<quicksand: [iD]>


SinkSpeed: [FLOAT]


SlowDown: [FLOAT]


MaxSlowDown: [FLOAT]


MaxSink: [INT]


SinkReached: [Common Event ID/0/-1]


Dash: [true/false]


CutOff: [true/false]


</quicksand>





What each of those do:


<quicksand: [iD]> - start of region data, [iD] is for which region will it apply


</quicksand> - end of region data


SinkSpeed: [FLOAT] - How fast characters sink in


SlowDown: [FLOAT] - How slower characters move per sink in


MaxSlowDown: [FLOAT] - Slowest characters can move E.g. 0.5


MaxSink: [INT] - Lowest possible sinking point (E.g. 30)


SinkReached: [Common Event ID/0/-1] - What happens after player sinks in. 0 - nothing, -1 - Game Over, >0 calls Common Event of that ID.


Dash: [true/false] - Is player allowed to Dash while in this region


CutOff: [true/false] - Cut off part of sprite depending on sink in?





Is it possible to set multiple regions on same map? Yes.





Settings I used for the screenshot:







Spoiler
Spoiler



<quicksand: 5>
SinkSpeed: 0.1
SlowDown: 0.05
MaxSlowDown: 0.2
MaxSink: 10


SinkReached: 0
Dash: false
CutOff: true
</quicksand>





Can I make events unsinkable? Yes.


Just add <Unsinkable> to Event's note field.






Plugin: <Link: Github>


How to download Script. Click the link above, there will be a button named Raw, press Right Click -> Save As.







Terms of Use:


Don't remove the header or claim that you wrote this plugin.


Credit Mr. Trivel if using this plugin in your project.


Free for non-commercial projects.


For commercial use contact Mr. Trivel.
Mt characters are staying with the "sunk" graphic, even when back on land. any ideas?
Mt characters are staying with the "sunk" graphic, even when back on land. any ideas?
my characters, not mt characters
I should note that I used your settings, which worked exactly as I wanted except they dont go back to normal when on land

<quicksand: 5>
SinkSpeed: 0.1
SlowDown: 0.05
MaxSlowDown: 0.2
MaxSink: 10


SinkReached: 0
Dash: false
CutOff: true
</quicksand>
Double-post notice: @badbriancool
1740781719229.png

UPDATE: so I figured out that it only does this on things it is not reading as "land" like the docks from WINLU's swamp pack. I cannot erase the swamp underneath the docks, or it looks weird. How would I account for this?

Actually when back on land it warps the sprite. Here is normal when on land
1740781773015.png
UPDATE: so I figured out that it only does this on things it is not reading as "land" like the docks from WINLU's swamp pack. I cannot erase the swamp underneath the docks, or it looks weird. How would I account for this?
how is your region defined?

start region/end region? as when on the region to end it, it should be normal,
and so far I see, only bush tiles takes effects.

Original thread: https://forums.rpgmakerweb.com/threads/quicksand.51817/