So after some use I've quickly noticed that in sh_mpf.lua the list of ranks that you can set really don't do anything. I have changed them however they do not autoadjust models or the class of the character. Am I using it incorrectly or is it bugged?
Hi Vanguard I've restored the visibility of this thread. Did you manage to fix this, and if so, can you post how you managed fixed it so that anybody else who has this issue can see the resolution? Thanks!
No I was not able to fix I felt like the the fun structure of the title made people not want to answer therefore I made it hidden out of shame.
I have done quite a bit of testing and it seems for my versions at least that regardless of what ranks are set in the MPF.lua there are no automatic changes to class or rank in game via a name change.
Just had a compare with the gamemode files im using and a fresh install using "WinMerge" and I see nothing that would affect it.
Entries into the ranks table should look similar to this:
FACTION.ranks = { ["OWS"] = { position = 2, class = CLASS_OWS }, ["EOW"] = { position = 1, class = CLASS_EOW, model = "models/combine_super_soldier.mdl" } };
Is this not working for you?
Yes they do and I’ve managed to understand the system, it wasn’t a question of coding it was a question of what commands.
The problem for me is that despite what is set with canpromote the character is unable to promote unless it is admin forced