Skip to content
Snippets Groups Projects

Allow players to change chosen colour while moving

Open PencilVoid requested to merge PencilVoid/RingRacers:change-color-while-moving into master
1 unresolved thread

Removes the P_PlayerMoving check in function Color_OnChange, allowing players to change their chosen colour in free play without needing to stop moving in-game first. This is especially useful for players who use commands to manage their character setup.

Edited by PencilVoid

Merge request reports

Members who can merge are allowed to add commits.
Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • PencilVoid changed the description

    changed the description

    • Blocking midrace color changes is correct and intentional IMO (otherwise the code wouldn't be there!)—midrace color binds are annoying and harm gameplay readability.

      With team signoff, I would merge a version of this that only allows them in Freeplay, but I don't speak for everyone.

    • Author Contributor

      Yeah, I made a mistake in assuming the restrictions on changing setup mid-round were handled elsewhere and this check was leftover from SRB2. I could make it auto-spectate you outside of free play like changing character does (and maybe extend this behaviour to changing follower/follower colour? ATM both of these can be changed mid-round unrestricted)

    • Making it FREE PLAY-only would be OK with me. Auto-spectating is handled by some changes indev already.

    • Author Contributor

      Didn't get around to it until now, but I've just pushed a commit which adds a M_NotFreePlay check in place of the previous P_PlayerMoving check. Let me know if I've gone about this incorrectly, I've only tested it in multiplayer with bots.

    • Please register or sign in to reply
  • PencilVoid added 1 commit

    added 1 commit

    • 9ed2b80c - Add M_NotFreePlay check to Color_OnChange

    Compare with previous version

Please register or sign in to reply
Loading