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

Add basic armorstrip convar: mp_friendlyfire_armorstrip #195

Merged
merged 2 commits into from Apr 12, 2015

Conversation

squeek502
Copy link
Member

From the cvar description:
If > 0, only deals armor damage to teammates. The armor damage is multiplied by the value of the cvar (mp_friendlyfire_armorstrip 0.5 means half damage). Requires mp_friendlyfire 1

Contributes towards #50 (or closes it if we don't want to implement all of the features of mp_teamplay)

From the cvar description:
  If > 0, only deals armor damage to teammates. The armor damage is multiplied by the value of the cvar (mp_armorstrip 0.5 means half damage). Requires mp_friendlyfire 1
@@ -181,6 +181,11 @@ ConVar mp_prematch( "mp_prematch",
FCVAR_NOTIFY|FCVAR_REPLICATED,
"delay before game starts" );

ConVar mp_armorstrip( "mp_armorstrip",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should call this mp_friendlyfire_armorstrip? so when changing friendlyfire you get the intellisense and searching for friendlyfire brings this up.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like that idea.

@AfterShockFF
Copy link
Member

👍

 * Makes the coupling with friendlyfire more intuitive and makes the cvar easier to discover
@squeek502 squeek502 changed the title Add basic armorstrip convar: mp_armorstrip Add basic armorstrip convar: mp_friendlyfire_armorstrip Apr 12, 2015
squeek502 added a commit that referenced this pull request Apr 12, 2015
Add basic armorstrip convar: mp_friendlyfire_armorstrip
@squeek502 squeek502 merged commit 80010fd into beta Apr 12, 2015
@squeek502 squeek502 deleted the features/armorstrip branch August 7, 2015 16:25
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.

None yet

2 participants