View unanswered posts | View active topics It is currently Thu Dec 26, 2024 3:28 pm



Reply to topic  [ 7 posts ] 
 View range 
Author Message
User avatar

Joined: Mon May 23, 2011 3:41 pm
Posts: 269
Reply with quote
Post View range
How to choose from how long range weapon is used by actor.


Mon Jul 15, 2013 9:21 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: View range
If you mean the zooming range, it's SharpLength in the gun code.


Mon Jul 15, 2013 11:18 pm
Profile
User avatar

Joined: Mon May 23, 2011 3:41 pm
Posts: 269
Reply with quote
Post Re: View range
I want my (AI) sniper to shoot targets from x range.


Tue Jul 16, 2013 7:24 am
Profile
User avatar

Joined: Sun Aug 07, 2011 10:05 pm
Posts: 30
Reply with quote
Post 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.


Tue Jul 16, 2013 6:32 pm
Profile
User avatar

Joined: Mon May 23, 2011 3:41 pm
Posts: 269
Reply with quote
Post Re: View range
Than why my sniper dont shoot even if he have 1500 sharp length


Tue Jul 16, 2013 8:12 pm
Profile
User avatar

Joined: Sun Jan 28, 2007 10:32 pm
Posts: 1609
Location: UK
Reply with quote
Post 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).


Tue Jul 16, 2013 8:40 pm
Profile YIM
User avatar

Joined: Mon May 23, 2011 3:41 pm
Posts: 269
Reply with quote
Post Re: View range
Soo what i have to do to make him shoot far.


Wed Jul 17, 2013 10:42 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.034s | 14 Queries | GZIP : Off ]