662 Commits over 730 Days - 0.04cph!
Flow field optimizations. GetDiameterXY method for models. Round to nearest node size for GetDestinations. Properly update paths or cancel a path request when a chunk's collisions are updated.
When units are standing still, other units will try to go around them. You can use this to block an area with a line of units.
Direct units towards central node positions for smoother transitions between nodes
Refactored PathManager and Pathfinder to support pathfinders of different node sizes. Units can specify their node size (for example, vehicles are larger than soldiers and cannot fit through such small gaps.)
Fixed multi-select prioritizing buildings. Fixed attack range being larger than line of sight range. Fixed rather annoying bug where portal gateways were often ignoring collisions!
Increased unit move speed by 30% and force running animation for any speed over 300
Added cullable unit ragdolls and added attack animations and hold types to Simple Terry
Use tasks when creating the flow fields and when updating all collisions to reduce the hang
Merge branch 'master' of sbox-rts
Updated Countryside Map
Fixed missing texture
Added fallback ground for other modes
Updated Countryside Map
Reduced Size of map by 25%
Shuffled spaces around due to size change
Slight art.
Flow field optimization and never update any collision tiles marked as static
Fixed interaction range issues and added ff_debug and rts_fog server variables
Merge branch 'master' of sbox-rts
Updated Map Countryside
Removed walls on edge of map.
Fixed render error and MoveGroup memory leak
Merge branch 'master' of sbox-rts
Updated Map Countryside
removed some bad clipping
adjusted spacing of trees/buildings
replaced hammer mesh with models
Updated Map + Assets
Updated Map;
Larger and more open spaces
Adjusted areas for better flow
Implemented new trees which shouldn't block the players as much
Some more art
Rebuilt ground mesh to fixed problematic areas
Rebalanced resources based on feedback
Created several areas to set up forward bases
Removed old trees
Merge branch 'master' of sbox-rts
MoveGroup belongs in the Flow Fields game lib now and added method to IFlockAgent
Attack units automatically if we're standing still even though we're selected
Added better debug stuff and fixed interaction between units and items
Tweaks to the fog material
Flow Field Flocking v0.9
Simplified flocking to one single radius and use multipliers in Flocker
Merge branch 'master' of sbox-rts
Fixed Issue misaligned buildings
Fixed Issue misaligned buildings
Added `rts_collisions` command to re-calculate pathfinding collisions for debug. Added CollisionScale to Pathfinder.
Added more unit sound types. Added some toasts for technology research and unit trained. Fixed Simple Terry's ragdoll.
Only update the item entity HUD if it is visible
Started adding Simple Terry
Automatically set the texture resolution based on map size to keep it uniform. This will be antialiased eventually.
Set a larger default fog size if no flowfield_ground entities are present
Default pathfinder grid size is larger if no flowfield_ground entities are present
Remove fog_bounds and automatically determine the size from flowfield_ground where possible
Fixed building placement on the grid. Fixed unit spawning around buildings to support new navigation.
Tidied up a bunch of stuff and added a flowfield_ground Hammer entity. The flow field pathfinding will use these to determine what the ground is and automatically set height maps and grid bounds.
More performance optimizations for flow fields
Fixed some pathfinding issues with directions and temporarily draw debug collisions on map start
Experimental flow field pathfinding
Kind of got flow field generation down to a minor stutter...
Struct test - slower (50%)
Much faster
Chunked Flow Field with "portal" connections coming soon(TM)
Backup
So close to having working flow field that's reasonably fast, except sometimes units get stuck alternating between nodes
Various improvements and optimizations but units still get stuck between portals
Backup
WIP
Fully functional flow field pathfinding with chunks / HPA*
Removed debug line and set hard map limit of 30k x 30k
The flow field pathfinding is now better and units can correctly approach buildings again. The flow field will update automatically when new buildings are created.
Merge branch 'flowfields'
Updated Countryside Map
Moved entire map to be 0,0,0
Made map more squared shape
Updated Countryside Map
Additional art pass on buildings
Adjusted some areas around player start
Found a perspective angle that I'm happy with. Decals don't render in orthographic (yet).
Added a system to create impact effects and damage decals on units when attacked
Fixed fog not updating when units die. Increased turret fire rate and damage. Temporarily fixed flesh impacts until a proper fix is implemented. Added turret recoil. Unit entities will ragdoll on the client and then fade out over time after being killed.
Turret fire animation with animgraph parameter
Improved fog for starting visibility and API
Merge branch 'master' of sbox-rts
Turret Temp Model
Turret Temp Model
Updated SelectedItem panel to support new mouse events on panels
Merge branch 'master' of sbox-rts
Simplified Vehicle collision
Simplified Vehicle collisions