.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Ideas (http://forums.bots-united.com/forumdisplay.php?f=50)
-   -   Invisibility check suggestion (http://forums.bots-united.com/showthread.php?t=6817)

ot_207 10-06-2008 09:22

Invisibility check suggestion
 
The bots work well when detecting the rendering;

Suggestion! Can you add 2 cvars?

1 cvar: The border after the bot doesn't see the player even if the player is moving

2 cvar: The border if only the player moves the bot sees him. If he stays in one place he doesn't see him.

Cheers! :shuriken: :walkman: :clover:

KWo 10-06-2008 09:33

Re: Invisibility check suggestion
 
Check the latest beta (V3B19i) - they are checking the lights and they are using flashlights (sometimes also nightgoogles). I don't think I will express more the darkness/invisibility detection. I cannot make the bot 100% interpreting the screen exactly like human eye does (impossible to add in code all possible elements they normally have the influence at human's eye perception). I'm very sorry. :(
And I'm not going to infinitely extend cvars number...

ot_207 10-06-2008 10:54

Re: Invisibility check suggestion
 
ok ..
It's not about perception
The bots get the velocity of a player that is near them if the player's rendering is between 255 and y rendering then they will shoot him if between y and x they will not shoot him, if he isn't moving, or has a small speed ... and under x that means that the bot trully doesn't see him weather he is moving .
Let's forget about the cvars ... but can this be done?

KWo 10-06-2008 20:53

Re: Invisibility check suggestion
 
I think I've got Your idea, but I'm not sure if I have time to find those x and y. It takes too much time. Can You read the C++ code and see how it is really done now? If You are using AMX X - I did a plugin for test player's rendering/invisibility. You can find it here.

ot_207 11-06-2008 18:24

Re: Invisibility check suggestion
 
I think that we can find the x and y from the warcraft scripters ...
They used invisibility in the human race ...

KWo 11-06-2008 21:39

Re: Invisibility check suggestion
 
I was already asking Geesu about the values he has there, because I disagree with them (I still could see the player even if he had the invisibility attribut - no problem for me to hit directly into the head such player - even not moving)...


All times are GMT +2. The time now is 14:50.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.