Player Data Refactor: Particles, Sounds, and Data Enhancements
[1.2.0] - 2024-12-28
Added
- New friendship particles (hearts + fire) to indicate when friendship changes
- Added sound effects for max friendship and max enemy
- New follow, flee, attack, lead, and protect particles & sound effects (for easy confirmation of behaviors)
- New animated lead particle (arrows pointing where they are going)
- New animated attack particles (with random # of particles)
- New sounds and particles when max friendship with EnderDragon (plus XP drop)
- New
/creaturechat story
command to customize the character creation and chat prompts with custom text.
Changed
- Entity chat data now separates friendship by player and includes timestamps
- When entity conversations switch players, a message is added for clarity (so the entity knows a new player entered the conversation)
- Data is no longer deleted on entity death, and instead a "death" timestamp is recorded
- Removed "pirate" speaking style and a few outputs
- Passive entities no longer emit damage particles when attacking, they emit custom attack particles
- Protect now auto sets friendship to 1 (if <= 0), to prevent entity from attacking and protecting at the same time
- Seperated
generateCharacter()
andgenerateMessage()
functions for simplicity - Fixing PACKET_S2C_MESSAGE from crashing a newly logging on player, if they receive that message first.
- Added NULL checks on client message listeners (to prevent crashes for invalid or uninitialized clients)
- Broadcast ALL player friendships with each message update (to keep client in sync with server)
Fixed
- Fixed a regression caused by adding a "-forge" suffix to one of our builds
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
-
changed the description
Toggle commit list -
changed the description
Toggle commit list -
added 1 commit
- 2d0a321c - Code clean-up, import optimizing, and adding documentation to some classes which were missing it
Toggle commit list -
added 1 commit
- 519a3aeb - New `/creaturechat story` command to customize the character creation and chat…
Toggle commit list -
added 1 commit
- 2ec4f204 - Fixing regression when loading an old world data file, caused by a null chatMessage.name
Toggle commit list -
added 1 commit
- d435b21a - Fixing another regression found during testing, user messages were breaking due…
Toggle commit list -
added 1 commit
- 9af9177b - Yet another fix for a player message regression due to all this refactoring of player data.
Toggle commit list -
added 1 commit
- 68db47af - Do not broadcast system-character messages to all players, or it will display…
Toggle commit list -
added 1 commit
- f2366fa3 - More fixes for regressions related to player message bubbles. Seperated…
Toggle commit list -
added 1 commit
- 011ddb99 - Additional refactor around playerData and friendship and player messages -…
Toggle commit list -
added 1 commit
- 6c5fa825 - Fixing PACKET_S2C_MESSAGE from crashing a newly logging on player, if they…
Toggle commit list -
added 1 commit
- 1ab9273a - Added NULL checks on client message listeners (to prevent crashes for invalid or…
Toggle commit list -
added 1 commit
- 37de4dfc - Broadcast ALL player friendships with each message update (to keep client in…
Toggle commit list -
added 1 commit
- 35dd2db0 - Broadcast story set/clear/display to all ops. Also, add a new "story display"…
Toggle commit list -
added 1 commit
- 14162e67 - Added new lead_friend and lead_enemy particles and sounds, to make it clear when…
Toggle commit list -
-
changed the description
Toggle commit list -
merged
Toggle commit list
Please
register
or
sign in
to comment