101 reputation
bio website some.domain.name
visits member for 2 years
seen Mar 16 '13 at 2:36

Some people write a long story about themselves, Some don't.

Some people has English as their native language, Some don't.

Some people have an email address, Some have that too: some {at} domain {dot} name.

awarded  Supporter
comment Wolfenstein 3D is now available for free online. But is this version any different than the original?
The part of the code that sets the different debug flags is commented out in game.js (line 1236-1293). All interesting variables like ammo, weapon, score, health etc is stored in an object called currentGame. Unfortunately this object is stored in an internal variable in object Wolf.Game and I haven't found any external references so at first look it seams impossible to manipulate the flags. However, if you use Google Chrome and set a breakpoint at row 503 in game.js you could modify Local.player.flags to 16 (FL_GODMODE) and you become invincible! While you at it, set ammo to 10000!