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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Some questions regarding modding
brunoalysson Offline
Junior Member

Posts: 9
Threads: 2
Joined: Jul 2016
Reputation: 0
#11
RE: Some questions regarding modding

How HPL Engine handles the optimization of the levels ?
It seems that they don't have a LOD system, just culling i guess ?
Should i be really careful with the polycount ?
07-31-2016, 05:08 AM
Find
Spelos Away
Banned

Posts: 231
Threads: 19
Joined: Sep 2014
#12
RE: Some questions regarding modding

The number one optimization mistake you can make is rendering to much at the same time is simply rendering to much at the same time. While polycount does matter, you can get away with a fairly high-poly (even 4K textured) entity as long as it's not something as common as a wall.

While Amnesia does NOT have Level Of Details system, Frictional Games uses DDS textures for their models, which basically does some optimization. In case of using .tga format (as many moders including me do), the optimization might not be as strong, though it's one of the smallest optimizations.

Culling is the way to go to avoid the main source of issues, but Clever level design is the best solution.
  • Creating L shaped corridors.
  • Making sure player cannot see really far into the level from any point.

While those are the main sources of trouble, there are more optimization errors you can make:
  • Using too many Particle Systems and/or Decals
  • Using too many Spot-lights with shadows enabled
  • Very fast-ticking timer loops.
  • Some scripting errors or poorly written code, though that is quite rare

Now, to list all the optimizations you can make would take a book or two. So, basically, try to think about what you're doing and what it might cause and you most likely will avoid pitfalls early.
07-31-2016, 06:23 AM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#13
RE: Some questions regarding modding

This page might also help. Spelos has explained a fair bit of what's on there, but this one might help also:

https://wiki.frictionalgames.com/hpl2/am...erformance

Discord: Romulator#0001
[Image: 3f6f01a904.png]
07-31-2016, 06:29 AM
Find




Users browsing this thread: 1 Guest(s)