Jump to content

Increase FPS in dense interior cells


MontanaBlueSkies

Recommended Posts

Sometimes you want to have alot of rooms and meshes in the same interior cell so that scripts can run concurrently.

 

If an interior cell has alot of rooms on the same plane, the game engine does the math (draws) for everything in the pc's line of sight regardless if its blocked by walls or not. This can yield low fps when the pc is out at the edge of the group of rooms looking back across tha entire cell.

 

One remedy for this is to stack the rooms vertically and use load doors to move between them.

 

When load doors are in the same cell the game doesnt do a cell load and the transit time is very fast.

 

One problem with this approach is that the angle of vision shifts and then corrects when you teleport between significantly different elevations.

 

My workaround for this is to have a script on the load doors that puts the pc in first person mode when he arrives at the destination load door.

 

Also if you put the rooms too close together vertically you will hear sounds from the adjacent room, so you have to adjust that accordingly.

 

Remember to put each room in its own sub space if you want npc's to use load doors to travel between rooms.

 

In a current project of mine this raised the fps in some difficult areas dramatically.

 

Maybe someone else could use this technique to their advantage.

 

 

Live Free

Montana

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...