I had the same thing (even in non-mod stuff) but since I made a new profile and almost never went for campaign, conquest or single match offline (except for my test map), the thing is, are you at least at Veteran on the award weapons? because just now when I reinstalled all stuff on my PC it was strange for me, after getting Regulator on Veteran now I can get the Flachette Shotgun every time I get Regulator.
BTW, Frenzy is one of the most difficult to achieve online and offline, you must keep an eye on your health all the time.
Yes it is a real ODF function, check out the common pistol ODF. If your weapons were working correctly, adding what I said should have made it to where you could no longer use that weapon.
What I should have asked before was for you to switch out of the pistol first to make sure you couldn't switch back to it, so could you try that and see if it works?
I will do that tomorrow when I'm on my modding computer. If I cant get this working can someone explain how to do this with lua and respawning at a cp? I looked at the Spira lua but I cant make sense out of it and its reaaallllyyy long. I think this would work well for gaining a new weapon at a certain point in a level, and maybe I can get the weapon to be the CP holo that you get it at.
Regardless of what that does (it could still do something interesting), I've done some testing of my own. I combined the three ODFs of the rebel soldier into one to have the same alliance unit as the game has with one ODF referencing the common ODF. I gave him just the rifle, thermal dets, and the award rifle for weapons. From here I played around with the medal settings.
A control case with no medal settings in the all rifle, it worked with me getting frenzy.
With both the common and the all rifle medal settings = 1, it worked with me getting frenzy.
With the all settings changed to = 0, I didn't get a new weapon, but I got gunslinger.
With both common and all rifle medal settings changed to = 0, I didn't get the new weapon, but I got gunslinger.
With the all = 1 and the common = 0, it worked with me getting frenzy.
This data shows two things.
1. The common weapon medal settings mean nothing if overridden in the child weapon (we should have already assumed this was true).
2. There is something in either the child or the parent rifle ODF that prevents anything other than the rifle medal from awarding a new weapon (possibly the animationbank?).
well if the animationbank matters than this wont work because the pistol and machine gun use different ones. That means I have to do the lua way. This would make it more similar to DOOM which im trying to make something similar. I just played the demo so I knew what I was trying to make a mod of, and OMG ITS SCARY. lol. but you dont earn weapons you pick them up so even having to respawn would be fine if it makes it more doom accurate, but I need help on setting this up I have no clue.