ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,869
Reaction score
1,869
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
64
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
24
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,869
Reaction score
1,869
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
24
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
24
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,869
Reaction score
1,869
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,869
Reaction score
1,869
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 Profile Posts

Really hard to let go of a pet.
Switch actor positions during battle
Download
01010.PNG
SF_People3_1 added!
index.php

Micro rant. The worst part of working from home when you live with your family is seeing how inconsiderate they are. "Hey, you're sitting in front of your computer, that means you're not doing anything! I want to put the TV at 200 decibels!"

If I was working in the office would you still talking me like that?
It's definitely discouraging when streamers give a try-to-say-it-nicely (i.e. bad) review of your game demo. It's like jumping into a cold pool. Bad initally, but it gets better with time. And you are now more alert and see better.

Forum statistics

Threads
118,515
Messages
1,116,565
Members
155,519
Latest member
SangueXII
Top