ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
7,216
Reaction score
2,851
First Language
Dutch
Primarily Uses
RMMV
@Icenick if you want something that the player is moving, use a condition branch above it
with scriptcall: $gamePlayer.isMoving() if im correctly, than the range part.

this should help on detection, but you can look around this or use a switch on moving
when ON, it detect, else, it does not :)
 

Icenick

Veteran
Veteran
Joined
Mar 28, 2012
Messages
420
Reaction score
69
First Language
English
Primarily Uses
@Icenick if you want something that the player is moving, use a condition branch above it
with scriptcall: $gamePlayer.isMoving() if im correctly, than the range part.

this should help on detection, but you can look around this or use a switch on moving
when ON, it detect, else, it does not :)
Oh wow easier than I thought thanks! Works perfectly
 

Kronicide

Veteran
Veteran
Joined
Jul 7, 2020
Messages
39
Reaction score
25
First Language
Swedish
Primarily Uses
RMMV
I'm travelling so can't reply properly until end of next week. I hope you get something working. (I've made some advances with the option to display the view cone of the guard on the map, that I'll keep working on then.)
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
7,216
Reaction score
2,851
First Language
Dutch
Primarily Uses
RMMV
I got a tiny suggestion,
is it possible, if he guard is on the cliff, you get reconized/seen when on the side edge
or front, when the guard is on the edge as well.

would be be possible to add if the player is +1 of the edge?

if this isn't possible, its okey, its already a nice plugin to use for stealth mechanics.
 

Kronicide

Veteran
Veteran
Joined
Jul 7, 2020
Messages
39
Reaction score
25
First Language
Swedish
Primarily Uses
RMMV
I got a tiny suggestion,
is it possible, if he guard is on the cliff, you get reconized/seen when on the side edge
or front, when the guard is on the edge as well.

would be be possible to add if the player is +1 of the edge?

Hi! Sorry about the delayed response. I'm not sure exactly what you have in mind? Do you mean that the guard sees you when you are right below the cliff and the guard is right at the edge above you? Sounds reasonable, but it's not how the geometry plays out on this map. He will see you if the cliff is only two squares high.
 

Kronicide

Veteran
Veteran
Joined
Jul 7, 2020
Messages
39
Reaction score
25
First Language
Swedish
Primarily Uses
RMMV
I've been working on the visible view cone thingy. The goal is to make it possible to create stealth puzzle levels where you can see what the guards/monsters can see.

In the video below the view cone is attached to the player because it's easiest to test and demonstrate. (It makes no sense in a game.) The highlighted map squares are the squares where the character could see a character of default height (set in parameters). Range and angle of view cone can be changed.

If you look closely you'll see that everything is not perfect. This is mostly because the map isn't actually 3D (or even 2.5D), even with region IDs used as height information. Still, it approximates our intuitions most of the time, and I think it could be useful.

I have no code to share at this point, there is no user interface for this stuff yet. Just wanted to show what it looks like. :^)

 
Last edited:

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
7,216
Reaction score
2,851
First Language
Dutch
Primarily Uses
RMMV
nice eye of sight that way, but it's nice.
like on the right side on the cliff, 1 square isn't seen, so its more dynamic.
the video is nice though, but its also nice to activate traps parts :)

anyway, keep up the nice work
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
7,216
Reaction score
2,851
First Language
Dutch
Primarily Uses
RMMV
@Kronicide how is the plugin doing? or your project you doing so far.
hope to see this evolve still :) probably one of the most usefull plugin
to combine with others for dynamic effects :)
 

Latest Threads

Latest Posts

Latest Profile Posts

On the "things im remaking" department even i kept getting confused by my status grenades similarity so i decided to redo both of them, now the icons and being thrown animations are very distinctive from each other :kaopride:
1679511126658.gif
1679511135459.gif
I genuinely like the default MZ actor sprites, and the character creator. I think I will draw new headshots for them, but part of me doesn't want to replace the default sprites. But should I? I want to eventually release my game.
Someday, I hope they make a game where 95% of the animation budget went to turning valves and opening door animations, leaving every other animation looking like a CDI zelda cutscene.
programming at 12 years old: "I love how it works!"
programming at 18: "I love that it works."
programming at 25: "I love why it works."
programming at 30: "I love when it works."
programming at 50: "How did this work?"

Forum statistics

Threads
129,766
Messages
1,204,941
Members
170,856
Latest member
CryoHazard
Top