Data Realms Fan Forums http://45.55.195.193/ |
|
View range http://45.55.195.193/viewtopic.php?f=1&t=45353 |
Page 1 of 1 |
Author: | HeadcrabPL [ Mon Jul 15, 2013 9:21 am ] |
Post subject: | View range |
How to choose from how long range weapon is used by actor. |
Author: | CaveCricket48 [ Mon Jul 15, 2013 11:18 pm ] |
Post subject: | Re: View range |
If you mean the zooming range, it's SharpLength in the gun code. |
Author: | HeadcrabPL [ Tue Jul 16, 2013 7:24 am ] |
Post subject: | Re: View range |
I want my (AI) sniper to shoot targets from x range. |
Author: | Unit158 [ Tue Jul 16, 2013 6:32 pm ] |
Post subject: | Re: View range |
The AI will use SharpLength to aim. If you watch the AI play, they will always switch to their highest sharp length weapon, even if it is the weakest. This gets annoying at points. |
Author: | HeadcrabPL [ Tue Jul 16, 2013 8:12 pm ] |
Post subject: | Re: View range |
Than why my sniper dont shoot even if he have 1500 sharp length |
Author: | Arcalane [ Tue Jul 16, 2013 8:40 pm ] |
Post subject: | Re: View range |
It's not just SharpLength. The AI actually gets the properties of the bullet from the gun's magazine in order to best determine the angle it should use to account for bullet drop. If it determines that the projectile can't reach the target at all, then it won't bother firing. I believe it also partially depends on the overall screen width (judging from the AI files). |
Author: | HeadcrabPL [ Wed Jul 17, 2013 10:42 am ] |
Post subject: | Re: View range |
Soo what i have to do to make him shoot far. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |