Developer of Deus Ex: Revision by night and an ICT student at the Royal Institute of Technology by day. Besides liking Deus Ex I'm a Trekkie with my roots in Star Trek: Voyager.

Report RSS Playthrough: Day 5

Posted by on

Today I haven't really been able to play very much, I only got to the beginning of 03 Airfield. I did manage to fix some small issues in AirField helibase, just cosmetic stuff like things in bookcases slightly floating or some minor texture adjustments.

Harry did a lot of changes too. Mostly balancing stuff with ammo or items, some more decos to liven things up, some missing textures (due to an issue with the editor), exploit fixing and a new alarm system in OceanLab_UC. Just small polishing things really.

We also found out that the game filtering system doesn't work. Filtering is supposed to remove objects on certain difficulties so that ammo is only present on easy or medium but not on hard or realistic. The difficulty levels in-game does not correspond to the ones that determine filtering. I realized that the in-game difficulty (saved in Level.Game.Difficulty) is a float and that the other variable to filter stuff is a byte. They read off the float value from the URL (the string used to load a level) and then cast it to a byte. The other thing was that the in-game values are 1.0, 1.5, 2.0 and 4.0 for the different difficulties, while the other system uses 0 to 3 as their difficulty range. I simply overrode a function and adjusted the values and everything worked as it should. Weird that they had not done this in the original code.

Post comment Comments
FastGamerr
FastGamerr - - 578 comments

No wonder I never got the difficulty item filter system to work :P

Reply Good karma Bad karma+1 vote
bjorn98009_91 Author
bjorn98009_91 - - 499 comments

Yeah, I don't know why they left it broken. It's just a few lines to fix it. But then again so many other things are broken or unfinished :/

Reply Good karma+1 vote
bjorn98009_91 Author
bjorn98009_91 - - 499 comments

Oh, if you already have stuff filtered in the maps (difficulty0 is easy and difficulty3 is realistic) then just applying my fix will make it work. It would be a really quick balancing fix if things are already filtered, if not then it's a bit more work.

Reply Good karma+1 vote
FastGamerr
FastGamerr - - 578 comments

I'm not entirely sure if I did end up marking all items I wanted to not appear on Hard/Realistic as such, especially if I at some point realized that it didn't work. It might have some effect though.

I wouldn't bother, at any rate. :P

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: