-
Notifications
You must be signed in to change notification settings - Fork 739
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
Nametags - Add Nation Ranks #7094
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
97004f0
Adds icon and postInit
Neciota c543a8c
Removed white space
Neciota 22166d6
commy2's postInit rewrite
Neciota 71a7ef9
Update addons/nametags/CfgFactionClasses.hpp
Neciota f2c347c
Adjusted arrays to be multi line
Neciota 62e9590
Update addons/nametags/XEH_postInit.sqf
Neciota df7f75b
Update addons/nametags/CfgFactionClasses.hpp
Neciota a99a920
Add getVar setting, don't overwrite if already set
PabstMirror File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
class CfgFactionClasses { | ||
class OPF_F { | ||
GVAR(rankIcons)[] = { | ||
QPATHTOF(UI\icons_russia\private_gs.paa), | ||
QPATHTOF(UI\icons_russia\corporal_gs.paa), | ||
QPATHTOF(UI\icons_russia\sergeant_gs.paa), | ||
QPATHTOF(UI\icons_russia\lieutenant_gs.paa), | ||
QPATHTOF(UI\icons_russia\captain_gs.paa), | ||
QPATHTOF(UI\icons_russia\major_gs.paa), | ||
QPATHTOF(UI\icons_russia\colonel_gs.paa) | ||
}; | ||
}; | ||
class OPF_G_F { | ||
GVAR(rankIcons)[] = { | ||
QPATHTOF(UI\icons_spain\private_gs.paa), | ||
QPATHTOF(UI\icons_spain\corporal_gs.paa), | ||
QPATHTOF(UI\icons_spain\sergeant_gs.paa), | ||
QPATHTOF(UI\icons_spain\lieutenant_gs.paa), | ||
QPATHTOF(UI\icons_spain\captain_gs.paa), | ||
QPATHTOF(UI\icons_spain\major_gs.paa), | ||
QPATHTOF(UI\icons_spain\colonel_gs.paa) | ||
}; | ||
}; | ||
class OPF_T_F { | ||
GVAR(rankIcons)[] = { | ||
QPATHTOF(UI\icons_russia\private_gs.paa), | ||
QPATHTOF(UI\icons_russia\corporal_gs.paa), | ||
QPATHTOF(UI\icons_russia\sergeant_gs.paa), | ||
QPATHTOF(UI\icons_russia\lieutenant_gs.paa), | ||
QPATHTOF(UI\icons_russia\captain_gs.paa), | ||
QPATHTOF(UI\icons_russia\major_gs.paa), | ||
QPATHTOF(UI\icons_russia\colonel_gs.paa) | ||
}; | ||
}; | ||
class OPF_V_F { | ||
GVAR(rankIcons)[] = { | ||
QPATHTOF(UI\icons_russia\private_gs.paa), | ||
QPATHTOF(UI\icons_russia\corporal_gs.paa), | ||
QPATHTOF(UI\icons_russia\sergeant_gs.paa), | ||
QPATHTOF(UI\icons_russia\lieutenant_gs.paa), | ||
QPATHTOF(UI\icons_russia\captain_gs.paa), | ||
QPATHTOF(UI\icons_russia\major_gs.paa), | ||
QPATHTOF(UI\icons_russia\colonel_gs.paa) | ||
}; | ||
}; | ||
class IND_C_F { | ||
GVAR(rankIcons)[] = { | ||
QPATHTOF(UI\icons_russia\private_gs.paa), | ||
QPATHTOF(UI\icons_russia\corporal_gs.paa), | ||
QPATHTOF(UI\icons_russia\sergeant_gs.paa), | ||
QPATHTOF(UI\icons_russia\lieutenant_gs.paa), | ||
QPATHTOF(UI\icons_russia\captain_gs.paa), | ||
QPATHTOF(UI\icons_russia\major_gs.paa), | ||
QPATHTOF(UI\icons_russia\colonel_gs.paa) | ||
}; | ||
}; | ||
class IND_F { | ||
GVAR(rankIcons)[] = { | ||
QPATHTOF(UI\icons_germany\private_gs.paa), | ||
QPATHTOF(UI\icons_germany\corporal_gs.paa), | ||
QPATHTOF(UI\icons_germany\sergeant_gs.paa), | ||
QPATHTOF(UI\icons_germany\lieutenant_gs.paa), | ||
QPATHTOF(UI\icons_germany\captain_gs.paa), | ||
QPATHTOF(UI\icons_germany\major_gs.paa), | ||
QPATHTOF(UI\icons_germany\colonel_gs.paa) | ||
}; | ||
}; | ||
class IND_G_F { | ||
GVAR(rankIcons)[] = { | ||
QPATHTOF(UI\icons_spain\private_gs.paa), | ||
QPATHTOF(UI\icons_spain\corporal_gs.paa), | ||
QPATHTOF(UI\icons_spain\sergeant_gs.paa), | ||
QPATHTOF(UI\icons_spain\lieutenant_gs.paa), | ||
QPATHTOF(UI\icons_spain\captain_gs.paa), | ||
QPATHTOF(UI\icons_spain\major_gs.paa), | ||
QPATHTOF(UI\icons_spain\colonel_gs.paa) | ||
}; | ||
}; | ||
}; |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a way to disable, don't think it needs a setting.
We tend to use base vanilla units and just change the uniforms, so this doesn't really make sense for us, and would probably just be confusing
Does CSAT = russian and greek = german make sense?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't you just overwrite the civs with whatever icons you want instead by using the same function?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
civs are fine, I just want to skip the for loop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Russian ranks and Iranian ranks are somewhat similar, the Chinese stand out somewhat in that they used downward point chevrons mostly. I don't know exactly how to reconcile in-game lore and geopolitics with the ranks, but if NATO gets all the American ranks, then maybe CSAT should get the Chinese ones? It's a little problematic that these nationally diverse alliances (CSAT/NATO) are one faction in game.
As for the AAF getting the German ranks; the AAF is mostly NATO-built force, and they have a bunch of equipment from all over NATO, so maybe they should just get NATO ranks.
When it comes to the new ranks, I'm not fussed as to who gets what. Just tell me what you need. If need be I'll happily add in more ranks for different nations and/or create some separate ranks for the AAF, FIA. The incoming Livonians should probably use the NATO ranks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make some ranks for the NVA. :)
They'd be used in GM, and they are simple.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a getVar setting for this,
along with a check to make sure it doesn't overwrite existing entries
e.g. mission init.sq called setFactionRankIcons first