Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 5 Vote(s) - 4.2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Amnesia: The Second Dimension [READY FOR LAUNCH]
MrBehemoth Offline
Senior Member

Posts: 408
Threads: 19
Joined: Feb 2014
Reputation: 40
#49
RE: Amnesia: The Second Dimension [SERIOUSLY?!?!]

There are 3 timer loops that run continuously. One updates the visible player character model and currently loops 60 times per second. The second updates the NPC models and currently loops 30 times per second. The third controls NPC AI, it loops 10 times per second but mostly just increments a counter and does more complex stuff less often. It's these loops that are the problem.

I'm sure of that because if you lower the frequency of the loops (so that they're all running just 10 times per second, for example) then it takes significantly longer for the crash to happen. But it still does happen. I don't think there's an alternative way of doing it. These loops are kind of the fundamentals of how it works.

But even having them as slow as 30 loops/s looks quite bad, even with v-sync on. The player and NPC models really need to update more than 30 times/s.

I only meant to spend 1 or 2 months on the mod, but it grew, and it's now 7. If I'm honest, I've been so frustrated with this problem for so long now that I've kind of already given up. I keep coming back to this.

If you want to take a look at the files, just let me know.

02-22-2015, 02:34 AM
Find


Messages In This Thread
RE: Amnesia: The Second Dimension - by Romulator - 09-07-2014, 03:01 AM
RE: Amnesia: The Second Dimension - by Mudbill - 09-07-2014, 03:13 AM
RE: Amnesia: The Second Dimension - by MrBehemoth - 09-07-2014, 12:42 PM
RE: Amnesia: The Second Dimension - by Streetboat - 09-07-2014, 05:56 AM
RE: Amnesia: The Second Dimension - by Slanderous - 09-07-2014, 11:36 AM
RE: Amnesia: The Second Dimension - by Rapture - 09-07-2014, 08:29 PM
RE: Amnesia: The Second Dimension - by MrBehemoth - 09-07-2014, 08:47 PM
RE: Amnesia: The Second Dimension - by Neelke - 09-07-2014, 08:42 PM
RE: Amnesia: The Second Dimension - by AGP - 09-07-2014, 09:11 PM
RE: Amnesia: The Second Dimension - by MrBehemoth - 09-08-2014, 06:18 PM
RE: Amnesia: The Second Dimension - by MrBehemoth - 09-27-2014, 01:10 AM
RE: Amnesia: The Second Dimension - by Viper85626 - 09-27-2014, 01:38 AM
RE: Amnesia: The Second Dimension - by MrBehemoth - 11-01-2014, 04:21 PM
RE: Amnesia: The Second Dimension [SERIOUSLY?!?!] - by MrBehemoth - 02-22-2015, 02:34 AM



Users browsing this thread: 1 Guest(s)