Author Topic: Stealth Meter?  (Read 2001 times)

I want to create a stealth game with bots patrolling a place, and you have to infiltrate it. Instead of bots instantly targeting people, make it so that when a player is near a bot, the bot will become suspicious, and after a while become aware (like payday2 or so). When spotted, bots may alert other bots or fight back(if no help is around). Bots can hear explosions after x studs, and gunshots after x studs. Guns may require surpressors or gunshots shouldn't be heard or loud.
Good idea?
Note=If this addon is made, replace x with a number to say how far it goes.

Dude you can do this with default events...

Dude you can do this with default events...

I'd personally would like to see you attempt with with events.
Anyway, this is suggestions and requests, he's requesting someone to make a mod to do this. Not on how to do it.


Dude you can do this with default events...

No, you can't.

Dude you can do this with default events...
So you'd have no problem showing us how to do it then?

So you'd have no problem showing us how to do it then?

You can easily do this with bot events...

OnPlayerTouch named brick (bot spawn) SetBotFov and etc. I once tried this and worked very well ._.

You can easily do this with bot events...

OnPlayerTouch named brick (bot spawn) SetBotFov and etc. I once tried this and worked very well ._.
what are the etc events anyways?

You can easily do this with bot events...

OnPlayerTouch named brick (bot spawn) SetBotFov and etc. I once tried this and worked very well ._.

All that would do is lower the range they can see you...
Bot events don't work very well anyway.

You can easily do this with bot events...

OnPlayerTouch named brick (bot spawn) SetBotFov and etc. I once tried this and worked very well ._.
that sets the field of view that they can see and aggro you, not a stealth meter like in Payday 2 or MGS. What OP is asking for is a slow buildup meter that if you stay in the field of view of the bot, a meter increases that tells you your detection level, which results in the bot aggroing you permanently after its filled. the rate this goes up would be based on how close you are to the bot, what part of the field of view you are in, and other such things.

that sets the field of view that they can see and aggro you, not a stealth meter like in Payday 2 or MGS. What OP is asking for is a slow buildup meter that if you stay in the field of view of the bot, a meter increases that tells you your detection level, which results in the bot aggroing you permanently after its filled. the rate this goes up would be based on how close you are to the bot, what part of the field of view you are in, and other such things.

Finally a guy that isn't aggressive for no reason.

Finally a guy that isn't aggressive for no reason.

No, you can't.
So you'd have no problem showing us how to do it then?
I'd personally would like to see you attempt with with events.
Anyway, this is suggestions and requests, he's requesting someone to make a mod to do this. Not on how to do it.
All that would do is lower the range they can see you...
Bot events don't work very well anyway.

i dunno how you're seeing these as aggressive
they're just telling you why you're wrong

i dunno how you're seeing these as aggressive
they're just telling you why you're wrong
ones passive aggressive and one's a challenge, though worded not so aggressively

the other two are just plain "no that doesnt do what you expect"

anyways this is possible with integration into default bot events, but you'd have to create a copy of the functions that handle bots looking for players and call some sort of action on the player's client to update their current stealth state. the way bots are set up makes this kinda hard without overwriting or making an adjusted copy of the default stuff, though maybe one could use bot::onFollowPlayer and a clearTarget function to do this.
« Last Edit: June 09, 2016, 12:39:10 PM by Conan »