Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Glaice

Strafing

Recommended Posts

Can someone point me to the section to make monsters strafe more often? I know it's in the .SCRIPT files but don't know where.

Share this post


Link to post

I found this along the lines after that, what do I edit to change the alterations?

// if we can dodge either direction, pick one
				if ( attack_flags & ATTACK_DODGE_LEFT ) {
					if ( sys.random( 100 ) < 50 ) {
						attack_flags &= ~ATTACK_DODGE_RIGHT;
					} else {
						attack_flags &= ~ATTACK_DODGE_LEFT;
I want to increase the zsec guys/imp/maggot/wraith/revenant evasion rates.

Share this post


Link to post

I haven't toyed with the def files much, but by common sense, I'd say edit the sys.random function and see if the % is increased. Try something like 100 < 90 etc.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×