1,397 Commits over 457 Days - 0.13cph!
    
    
    
        
            
            
            
                
                Remove hardcoded speed values
                
                
                
                
             
         
        
            
            
            
                
                Fix hobo barrel and witch cauldron not scaring wolves when they are lit
                
                
                
                
             
         
        
            
            
            
                
                Merge from ai_wolf_iteration
                
                
                
                
             
         
        
            
            
            
                
                Undo accidental change to procedural map
                
                
                
                
             
         
        
            
            
            
                
                Make wolves more accurately align with food when eating
                
                
                
                
             
         
        
            
            
            
                
                Make wolf decelerate faster when approaching a player holding fire, as to not end up charging them by accident, which would make them think the fire is not working
                
                
                
                
             
         
        
        
            
            
            
                
                Merge from ai_wolf_iteration (huge perf boost)
                
                
                
                
             
         
        
            
            
            
                
                Store fsm transitions in the state themselves to avoid having to do dictionary lookups, makes wolves twice as performant
                
                
                
                
             
         
        
            
            
            
                
                - Optimize the fsm transitions that are called often: cache distance to target (per frame) and components
- Optimize roaming and flee: don't project all points in a circle around the wolf, once points are scored, early out after both nav projection and path succeed
- Remove allocation caused by List.GetRange in GetFirstReachablePointInTopPct
- Remove transitions updates (time elapsed now uses a timestamp)
- Add more TimeWarning coverage
                
                
                
                
             
         
        
            
            
            
                
                Instead of declaring multiple overloads for a method to allow a variable number of parameters, use optional parameters
                
                
                
                
             
         
        
            
            
            
                
                Merge from ai_wolf_iteration
                
                
                
                
             
         
        
            
            
            
                
                Temporarily prevent wolves from hunting scientists until we update their AI
                
                
                
                
             
         
        
            
            
            
                
                Merge from ai_wolf_iteration
                
                
                
                
             
         
        
        
            
            
            
                
                Fix wolf mesh not being culled on client when occluded
                
                
                
                
             
         
        
            
            
            
                
                Fix wolves not stopping when ai.move is set to false while the server is running
                
                
                
                
             
         
        
            
            
            
                
                ▄▌▍█▅ ▊▋▇▋ ▊▄_▅▋▆▄_▄▇▇▍▉▋▋▄▍
                
                
                
                
             
         
        
            
            
            
                
                Merge from ai_wolf_iteration
                
                
                
                
             
         
        
            
            
            
                
                Make wolves reposition between attacks to vary the angles, instead of spamming frontal attacks
                
                
                
                
             
         
        
            
            
            
                
                Fire fire blocking the wolves unreachable behaviour from triggering
                
                
                
                
             
         
        
            
            
            
                
                Reduces wolf odds of trying to resist fire
                
                
                
                
             
         
        
            
            
            
                
                Fix wolves counting themselves as an ally when deciding if it's worth fleeing to call reinforcements and come back
                
                
                
                
             
         
        
        
            
            
            
                
                Cache arrows item definitions so that they can be used for comparisons in code, instead of relying on comparing hardcoded names
                
                
                
                
             
         
        
            
            
            
                
                Fix wolves switching target even though the current is was closer, just because they couldn't see it briefly
                
                
                
                
             
         
        
            
            
            
                
                Fix wolves sometimes getting stuck eating dropped meat when another wolves eats the meat first
                
                
                
                
             
         
        
            
            
            
                
                Fix wolves running in circles sometimes as they overshoot their destination, when the player is unreachable
                
                
                
                
             
         
        
            
            
            
                
                Use a different syntax for HFSM declaration which results in a more compact and readable tree
                
                
                
                
             
         
        
            
            
            
                
                Merge from ai_wolf_iteration
                
                
                
                
             
         
        
            
            
            
                
                Fix wolf chasing its own tail
                
                
                
                
             
         
        
            
            
            
                
                Fix a lot of the wolves state incorrectly returning base.OnStateEnter() from OnStateUpdate, causing a lot of weird behaviour
                
                
                
                
             
         
        
            
            
            
                
                Merge from ai_wolf_iteration
                
                
                
                
             
         
        
        
            
            
            
                
                Make fsm declaration syntax more compact, fix scientist death
                
                
                
                
             
         
        
            
            
            
                
                Update scientist FSM to new system
                
                
                
                
             
         
        
            
            
            
                
                Fix scientist spinning when coming to a stop
                
                
                
                
             
         
        
            
            
            
                
                Fix scientist not moving (merge)
                
                
                
                
             
         
        
            
            
            
                
                Fix compile errors from merge
                
                
                
                
             
         
        
            
            
            
                
                Merge from ai_wolf_iteration
                
                
                
                
             
         
        
            
            
            
                
                Merge from ai_wolf_iteration
                
                
                
                
             
         
        
            
            
            
                
                Fix wolf slowing down before jumping on foundation
                
                
                
                
             
         
        
            
            
            
                
                Have wolf smoothly decelerate instead of stopping dead in its tracks
                
                
                
                
             
         
        
            
            
            
                
                Fix wolf glitching out visually when jumping on foundation when the server frame-rate is low
                
                
                
                
             
         
        
            
            
            
                
                Expose convar for wolf max per frame budget
                
                
                
                
             
         
        
            
            
            
                
                Merge from ai_wolf_iteration
                
                
                
                
             
         
        
        
            
            
            
                
                Merge from ai_wolf_iteration
                
                
                
                
             
         
        
        
            
            
            
                
                Make wolf foundation jump more consistent