Week 5: Basic Party System
A downloadable tool
Two uploads in one week! Although, this one is a lot simpler than previous entries.
As a lover of RPG's of all subgenres, having a party of characters is the norm. So here I wanted to replicate a system found throughout the genre.
In the scene we have a "PartyManager" game object which holds the script of the same name. To recruit a player to your party, set up a dialogue tree that fires an event depending on a certain choice. The event is found on the PartyManager under the "AddPartyMemberToParty" function. Now the character will follow your movement, besides jumping. Jumping was not a main priority as most RPGs don't typically have free use jump mechanics.
The player can choose between two different party formations. a line or as group behind the player. Right now it is present as a debug button on screen, however it can be used where you need it.
The player can also clear the party the same way. They members will turn to their original location and run to it; then returning to their original rotation.
I was toying with using NavMesh agents to allow for smart member movement, but for now they simply try their best to follow player movement.
To view the project in its entirety, see the link below.
WARNING: This source code ONLY works for Unity.
GitHub: https://github.com/BranBuddy/UnityUtilities/tree/Week5
| Published | 8 days ago |
| Status | Released |
| Category | Tool |
| Author | Brandon Wahl |
| Content | No generative AI was used |
Download
Click download now to get access to the following files:


Leave a comment
Log in with itch.io to leave a comment.