Skip to content

Commit

Permalink
Add difficulty preset with third person enabled (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
veteran29 authored May 8, 2024
1 parent bdd613b commit e967e85
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions addons/difficulty/CfgDifficultyPresets.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,12 @@ class CfgDifficultyPresets {
tacticalPing = 0;
};
};

class GVAR(DifficultyTPP): GVAR(Difficulty) {
displayName = CSTRING(DifficultyNameTPP);

class Options: Options {
thirdPersonView = 1;
};
};
};
3 changes: 3 additions & 0 deletions addons/difficulty/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<Key ID="STR_AFM_Difficulty_DifficultyName">
<English>ArmaForces</English>
</Key>
<Key ID="STR_AFM_Difficulty_DifficultyNameTPP">
<English>ArmaForces (TPP)</English>
</Key>
<Key ID="STR_AFM_Difficulty_DifficultyDescription">
<English>Custom ArmaForces settings.</English>
<Polish>Własne ustawienia ArmaForces.</Polish>
Expand Down

0 comments on commit e967e85

Please sign in to comment.