kbbw123 115 Posted May 31, 2016 So, I'm not sure if this is asked before but is it possible to change the default ranks to custom once? so far what i managed to do: remove the default once from CfgRanks, added custom once to CfgRanks, problem I'm facing now: ArmA still gets the default ranks from somewhere. Rank and setUnitRank/setRank still only use default value's. Is there a way to change this? Code: class CfgRanks { class EW_0 { rank = "Private"; displayName = "Private"; displayNameShort = "PVT"; textures = "\A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa"; }; class EW_1 { rank = "Lance Corporal"; displayName = "Lance Corporal"; displayNameShort = "LCorp"; textures = "\A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa"; }; class EW_2 { rank = "Corporal"; displayName = "Corporal"; displayNameShort = "Corp"; textures = "\A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa"; }; class EW_3 { rank = "Sergeant"; displayName = "Sergeant"; displayNameShort = "Sgt"; textures = "\A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa"; }; class EW_4 { rank = "Staff Sergeant"; displayName = "Staff Sergeant"; displayNameShort = "SSgt"; textures = "\A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa"; }; class EW_5 { rank = "Warrant Officer 2nd"; displayName = "Warrant Officer 2nd"; displayNameShort = "WO2"; textures = "\A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa"; }; class EW_6 { rank = "Warrant Officer 1st"; displayName = "Warrant Officer 1st"; displayNameShort = "WO1"; textures = "\A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa"; }; class EW_7 { rank = "Second Lieutenant"; displayName = "Second Lieutenant"; displayNameShort = "2ndL"; textures = "\A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa"; }; class EW_8 { rank = "Lieutenant"; displayName = "Lieutenant"; displayNameShort = "L"; textures = "\A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa"; }; class EW_9 { rank = "Captain"; displayName = "Captain"; displayNameShort = "Capt"; textures = "\A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa"; }; class EW_10 { rank = "Major"; displayName = "Major"; displayNameShort = "Maj"; textures = "\A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa"; }; class EW_11 { rank = "Lieutenant Colonel"; displayName = "Lieutenant Colonel"; displayNameShort = "LCol"; textures = "\A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa"; }; class EW_12 { rank = "Colonel"; displayName = "Colonel"; displayNameShort = "Col"; textures = "\A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa"; }; class EW_13 { rank = "Brigadier"; displayName = "Brigadier"; displayNameShort = "Brig"; textures = "\A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa"; }; class EW_14 { rank = "Major General"; displayName = "Major General"; displayNameShort = "Mgen"; textures = "\A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa"; }; class EW_15 { rank = "Lieutenant General"; displayName = "Lieutenant General"; displayNameShort = "Lgen"; textures = "\A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa"; }; class EW_16 { rank = "General"; displayName = "General"; displayNameShort = "Gen"; textures = "\A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa"; }; class EW_17 { rank = "Field Marshal"; displayName = "Field Marshal"; displayNameShort = "Marsh"; textures = "\A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa"; }; delete 0; delete 1; delete 2; delete 3; delete 4; delete 5; delete 6; delete 7; delete 8; }; Share this post Link to post Share on other sites
Alex150201 894 Posted May 31, 2016 I don't know but I'll follow to learn! I am interested in this! 1 Share this post Link to post Share on other sites
kbbw123 115 Posted June 3, 2016 So no dev that can awnser me? or Pettka that sneaks in like a :ph34r: and post something like: Maybe soon :devil: (<does this even work like that?) Share this post Link to post Share on other sites
Jackal326 1181 Posted June 3, 2016 Aren't the ranks hard-coded? I seem to remember this being raised as a mod-opportunity a while back and someone confirming that they were - though I could be wrong. Share this post Link to post Share on other sites
bull_a 44 Posted June 4, 2016 You cannot create ranks in the config.cpp file or in the mission description.ext. However, you can override the names and rank texture attributes of the existing ranks with a modification.If you want to create ranks I suggest you do the following: config.cpp CfgRanksCustom { class RankPrivate { rankPriority = 0; rankName = "Private"; rankNameShort = "Pvt."; rankTexture = "private.paa"; }; }; script.sqf _unit setVariable ["RankCustom","Private"]; Sorry to bring bad news, Bull Share this post Link to post Share on other sites