How does one do like a uh...detection system for enemies, like stealth, the enemies detecting you, is that possible? I'll probably be coming back here constantly for more tips so...yeah, may just become a regular.
Hello, New Here, I gotta question aswell
RPG Maker MV SupportGeneral Discussion is for looking at broad themes which affect the making of games
"How do I...?" (Implementation) questions belong in the Support forum for the engine you are using.
Moved to: RPGMaker MV
In addition (don't be intimidated by the blue font, it's to make sure you notice it)
Moderator note: Please give your topics a meaningful title, one which gives an indication of the type of query you have. Queries such as "Help plz!" or "I have a problem" or "Newcomer, & I'm stuck" does not provide enough information. It's quite possible that people will just skip by it in the New Posts/New Threads thinking that's what it is. It also means that if anyone in the future has the same sort of query, they will be unable to find this and (hopefully) the solution.
"How do I...?" (Implementation) questions belong in the Support forum for the engine you are using.
Moved to: RPGMaker MV
In addition (don't be intimidated by the blue font, it's to make sure you notice it)
Moderator note: Please give your topics a meaningful title, one which gives an indication of the type of query you have. Queries such as "Help plz!" or "I have a problem" or "Newcomer, & I'm stuck" does not provide enough information. It's quite possible that people will just skip by it in the New Posts/New Threads thinking that's what it is. It also means that if anyone in the future has the same sort of query, they will be unable to find this and (hopefully) the solution.
Creating a stealth system would involve having an event constantly checking the positions of all enemies against the player's and then checking whether the player's location is in line of sight from that of an enemy. Line of sight can be really simple or incredibly complex, depends on how sophisticated you want it to be. It could be as simple as checking a direct straight line and determining whether an impassable tile is present somewhere on that line, or as complex as differentiating between which impassable tiles can be seen through and which can't, and allowing partial LOS like being able to see a player hiding behind a wall from 1-2 tiles behind it on the opposite axis as long as the other axis has a big enough difference (basically simulating the fact that the further to the other side of a corridor someone is, the easier it will be for them to see someone hiding on the opposite corner).
I'm sure this a way to achieve a simple detection/stealth system through events, but my coder mind immediately jumps to plugins lol.
Not sure how complicated a system you want but Yanfly does have an Event Chase Player and Event Chase Stealth plugins.
http://yanfly.moe/2015/10/21/yep-20-event-chase-player/
http://yanfly.moe/2016/03/05/yep-79-event-chase-stealth/
http://yanfly.moe/2015/10/21/yep-20-event-chase-player/
http://yanfly.moe/2016/03/05/yep-79-event-chase-stealth/
Original thread: https://forums.rpgmakerweb.com/threads/hello-new-here-i-gotta-question-aswell.109695/