Loved the series before it so I preordered. I finally get the game and find it has created the most elitist and troll infested cesspool of a game I've ever encountered. Between the stat padders on Operation Metro and the server admins kicking me for outscoring them, I got fed up. I think the final straw was when forum 'discussions' degenerated into the person with the highest KD ratio automatically being right about everything. The community killed that game.
You're talking about Battlefield 3 - this is news about the upcoming BF4.
More to the point, how does one turn the god mode on?
You didn't intend to, but you just showed how useless source code is for ordinary users.. Why, you might ask. Let me tell you.
God mode is done much faster by doing it the ordinary way. You either use cheat code or you use the combo of Cheat Engine+Ollydbg to disable functions that decrease health. Both of these things are done much faster this way, and to both open and closed source games. There is no reason for the source code here.
the code is open sourced, and that will never change.
Are you sure? Are you absolute certain? Do you feel lucky, punk?
Suggest you just sit there and wait till life gets easier.