Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leader Rework #299

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Leader Rework #299

wants to merge 3 commits into from

Conversation

Frozen-H2O
Copy link
Collaborator

@Frozen-H2O Frozen-H2O commented Oct 2, 2024

  • cs2f_leader_can_target_players to control whether or not a leader can target other players with c_glow, c_beacon, c_tracer, and c_defend (wont affect admins).
  • Make c_glow, c_tracer, c_beacon, and c_defend target @me when used with no parameters or by a leader when cs2f_leader_can_target_players is false.
  • Change extra c_glow parameter to color to match c_beacon and c_tracer.
  • If all current leaders are zombies or spectators, allow CTs to ping again even when disabled.
  • Allow admins to use all leader commands even when they aren't a leader.
  • If someone is a CT with non-white playermodel color when made leader, use their playermodel color as their leader color instead of a random color from the presets list. Has a length constraint so dark colors like black aren't used for this and just picks a random color from the list in that case (since the whole idea is being easily visible).
  • Make leader commands use ClientPrint instead of ClientPrintAll when a leader uses it on themselves.
  • Give leaders access to c_leader for setting more leaders. cs2f_leader_max_leaders controls the max amount of leaders, while admins using c_leader can go above cs2f_leader_max_leaders.
  • Make c_vl not work when it would make more than 1 leader if cs2f_leader_vote_multiple is false or if it would make more leaders than cs2f_leader_max_leaders.
  • Make c_enablepings and c_disablepings for a leader to enable/disable teammate pings.
  • Automatically beacon to a new leader (disabled glow and tracers) and reapply visuals leader had in previous round when a new round starts.
  • Add c_beacons, c_glows, and c_tracers to check who has the respective visuals enabled.
  • Give leaders +20000 score to show them at top of scoreboard.
  • When a leader uses player_ping, add a particle around the ping. Particle is set by cs2f_leader_mark_particle
  • Make defend particle use cvar cs2f_leader_defend_particle instead of being hard coded.
  • Disable c_vl immediately after a map change to give people a chance to join before the vote.

@Frozen-H2O Frozen-H2O force-pushed the leader-rework branch 2 times, most recently from 82cd8a0 to c95a1f8 Compare October 2, 2024 06:51
- cs2f_leader_can_target_players to control whether or not a leader can target other players with c_glow, c_beacon, c_tracer, and c_defend (wont affect admins).
- Make c_glow, c_tracer, c_beacon, and c_defend target @me when used with no parameters or by a leader when cs2f_leader_can_target_players is false.
- Change extra c_glow parameter to color to match c_beacon and c_tracer.
- If all current leaders are zombies or spectators, allow CTs to ping again even when disabled.
- Allow admins to use all leader features even when they aren't a leader.
- If someone is a CT with non-white playermodel color when made leader, use their playermodel color as their leader color instead of a random color from the list. Has a length constraint so dark colors like black aren't used for this and just picks a random color from the list in that case (since the whole idea is being easily visible).
- Make leader commands use ClientPrint instead of ClientPrintAll when a leader uses it on themselves.
- Give leaders access to c_leader for setting more leaders. cs2f_max_leaders controls the max amount of leaders, while admins using c_leader can go above the CVar's limit.
- Make c_vl not work when it would make more than 1 leader if cs2f_leader_vote_multiple is false or if it would make more leaders than cs2f_max_leaders.
- Make c_togglepings, c_enablepings, and c_disablepings for a leader to enable/disable teammate pings (instead of only being hard set by a CVar).
- Automatically beacon to a new leader (disabled glow and tracers) and reapply visuals leader had in previous round  when a new round starts.
- Add c_beacons, c_glows, and c_tracers to check who has them enabled.
- Give leaders +20000 score to show them at top of scoreboard.
- Add a mark particle to CT leader pings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant