ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,913
Reaction score
1,887
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
418
Reaction score
65
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
4,913
Reaction score
1,887
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
4,913
Reaction score
1,887
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
4,913
Reaction score
1,887
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

Power to the Game Make!
ok by this weekend I WILL finally need alpha testers for Backstage: murdered sleep because it's got enough content at this point I want to get it on Steam Early Access ASAP (2/22/2022 would be a cool release date if I can make it).

By all means volunteer here, sure, but where else should I be looking?
1643337839651.png
Randomly trying to make some butcher shop tiles for MZ :3
Current menu of Shadows of the Earth: The Vrila'an Legend. Currently taking a break from combat related mechanics. Hope i get the actor busts done before the day ends :)
Was in need for a black van, so I made one by editing that one truck in the tileset. :kaoswt2:
nFfmJca.png

Forum statistics

Threads
118,771
Messages
1,118,606
Members
155,933
Latest member
hinatafromnaruto
Top