branchbefore/main/Partiescancel

31 Commits over 0 Days - ∞cph!

7 Years Ago
Merging from Main
7 Years Ago
Unit Collections will now store whether they were player created Party leader will now disband the party if they no longer have a hunt desire and the collection wasn't player created
7 Years Ago
Fixed the no condition Invite to Party ability being exposed to UI
7 Years Ago
Added invite to party ability to form party goal - a hunter will now form a party if a they have a valid unit nearby to invite Units will no longer automatically join parties (leaving goal in there for now in case this changes in future)
7 Years Ago
Tied automatic party forming to hunt desire and copied some of the considerations from the hunting module
7 Years Ago
Party members can now get a target from the party leaders combat targets array, rather than just matching their leaders target Tweaked some score values to make party behaviour more important that some social behaviours
7 Years Ago
Locked independent join/create party logic behind the hunting unlock -Units can still quit parties independently
7 Years Ago
Added a new Leave Party via flags plan
7 Years Ago
Join Party logic seems to be working without dithering, requires more testing
7 Years Ago
Reworked leave Party conditions -removed flag checks (will probably replace these with standalone goals) -uses considerations for Health/Food/Sleep instead of hard thresholds Started work on joining party logic, disabled for now
7 Years Ago
Some more assets that didn't save correctly
7 Years Ago
Units can now leave parties independently - checks for a few different Flags and StatMeasurements Added the inverse of this check to invite to party actions so units can't be invited to parties that they'll want to leave immediately
7 Years Ago
Added a small yellow indicator on top of party members
7 Years Ago
Create Party is now invoked by clicking on another unit, automatically making a two unit party
7 Years Ago
Merging from main
7 Years Ago
Forgot to check in collection asset changes
7 Years Ago
Defer Senses flag on UnitCollections will cause collections to route any CanPerceive requests to the leader of a collection
7 Years Ago
Fixed a condition I broke in the earlier refactors
7 Years Ago
Fixed some exceptions when disbanding a party Fixed hunting collections destroying themselves when down to one unit (exposed a setting on UnitCollectionSettings)
7 Years Ago
Added a hostile check so you can't invite hostile units to a party
7 Years Ago
Better movement/spacing logic for parties
7 Years Ago
Cleaned up and refactored a lot of the new party/collection management logic
7 Years Ago
Some basic logic for party combat, still pretty janky
7 Years Ago
Fixed being able to invite animals to a party (filing this away for future turtle party dlc)
7 Years Ago
Party members now sneak if their leader is sneaking
7 Years Ago
Better follow/offset movement for party members
7 Years Ago
Basic party movement offsets
7 Years Ago
Fixed messed up jog condition filename
7 Years Ago
Basic jogging logic for party members
7 Years Ago
Added ability for units to be dismissed from the party (by the leader) or leaving on their own Added a display to show the current UnitCollection on the Unit Debug Panel
7 Years Ago
Starting work on a party/group movement system -Any unit can create a party (called a Hunting Party atm) -That unit can then invite other units to join the party -Party members will follow the party leader (more logic to come) -The party leader can then disband the party, reverting party members to original behaviour