nemo [Tue, 13 Mar 2012 00:05:03 -0400] rev 6778
Minimise another sqrt check.
unc0rr [Mon, 12 Mar 2012 23:46:28 +0400] rev 6777
Avoid local rate minimums around hog (within 15 pixels). Not tested.
unc0rr [Mon, 12 Mar 2012 16:08:40 +0400] rev 6776
Compatibility
nemo [Mon, 12 Mar 2012 01:00:17 -0400] rev 6775
Change rest of AI tests to floats, reenable snowball
nemo [Sun, 11 Mar 2012 23:24:09 -0400] rev 6774
Try adding it to deagle too. Although the routine still doesn't consider angle, so it'll pretty much be luck. Might be a waste of time.
Also fix some neglected scores from before.
nemo [Sun, 11 Mar 2012 22:44:57 -0400] rev 6773
Hm. Score was a bit too much, AI was doing suicidal things.
nemo [Sun, 11 Mar 2012 22:35:55 -0400] rev 6772
small tweak. make drowning prefer higher health hogs
nemo [Sun, 11 Mar 2012 20:36:50 -0400] rev 6771
Teach AI to drown with shotgun too
nemo [Sun, 11 Mar 2012 20:12:31 -0400] rev 6770
Start on adding drowning bonus to bat/firepunch/whip. AI still is not smart enough to change direction when firepunching to face the water, or change the angle of the bat.
Also try to weight cost of switches based on how many switches were available.
nemo [Sun, 11 Mar 2012 18:28:32 -0400] rev 6769
Add drowning to grenade too, try some little optimisations
unc0rr [Sun, 11 Mar 2012 23:31:32 +0400] rev 6768
Fix silliness
nemo [Sun, 11 Mar 2012 14:43:36 -0400] rev 6767
First pass at making AI drowning aware. No concerns of performance, only applied to bazooka (not bat/fp etc)
nemo [Sun, 11 Mar 2012 12:19:04 -0400] rev 6766
Minor optimisation for AI to cut down on hwSqrt calls
nemo [Sun, 11 Mar 2012 11:39:45 -0400] rev 6765
nemo [Sat, 10 Mar 2012 23:00:39 -0500] rev 6764
Add div to allow safe integer division from lua
nemo [Sat, 10 Mar 2012 16:32:46 -0500] rev 6763
Recount team health if modifying hedgehog health