Tiles that cannot be passed by monsters (events)

Status
Not open for further replies.

gsuk

Veteran
Veteran
Joined
Jun 24, 2013
Messages
140
Reaction score
10
First Language
English
Primarily Uses
RMVXA
Hi all. My game consists of areas inhabited by free-roaming creatures. Each one is an event which moves randomly or towards the player depending on their level. Often, the player is being chased by one of the monsters.


One of the playable characters can swim and I have been able to set it up so the game recognises which type of tile the player is on and change between a 'walking' and 'swimming' version of the player sprite.


I want to set it up so that a spider, for example, cannot chase the player into the water. At the moment, if the water is passable to the player it is also passable to the spider event. Is there a way to disallow the monster events to go into the water, even when it is passable ot the player? I have certain monsters who CAN swim/fly so they would need to remain passable to these.


I'm hoping there is something using terrain tags that I might be able to do, but I obviously don't want to set up a parallel process to check passability for EVERY monster in the area.


Any help would be greatly appreciated!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
there are plugins that use region IDs to restrict event movement, but as far as I know they work for all events in the same way.


You might check if one of them has options that you can use for your idea, just search the master script list for region and restriction.


Other than that, you probably have to request a specific script for such a function.
 

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,197
Reaction score
274
First Language
English
Primarily Uses
N/A
I believe you might also require Galv's Move route extras, you can make events move only within regions you command it so with. This has helped me make my pedestrians stay on the sidewalks in my project.


You mentioned that the event monsters chase you- you might have to set up a different page for the monsters that determine there new ID restrictions as well. This plugin was difficult for me to set up and I did some bug testing for Galv at the time when I needed this to work most.


https://galvs-scripts.com/2015/10/24/mv-move-route-extras/
 
Last edited by a moderator:

gsuk

Veteran
Veteran
Joined
Jun 24, 2013
Messages
140
Reaction score
10
First Language
English
Primarily Uses
RMVXA
Thanks for the help. I've since discovered a swimming script that I've adapted to allow a character class to pass tiles based on terrain tags, which fulfils my criteria.


Can close this thread.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
uh - this is posted in VX Ace Support, guys.  An MV plugin will not be helpful, unless the OP posted in the wrong place.
 
Last edited by a moderator:

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,197
Reaction score
274
First Language
English
Primarily Uses
N/A
Crap, sorry I didn't realize.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top