PDA

View Full Version : Pushing the limits ...


badboy70
24-02-09, 13:29
OKay, so I think I found the limit of TRNG.
I have five full length rooms visible stuffed with plants and water and when standing in the last room, looking back to the previous rooms it can't handle it anymore and crashes.
This is kinda a bummer, since I wanted a big open world where all rooms where connected. I would supply a second script where the flycheat is enabled, so people could fly around.

This is the current map, and I think the whole area will be filled. (the selected room is for testing purpose only)
As you can see, all rooms are linked. I've added extra slopes so you can easily track back.
http://i42.tinypic.com/14cw360.jpg
(the grey rooms are extra rooms so Lara won't touch the ceiling when she jumps)

Now, I'd like to know how to prevent this crashing.

Script :
Legend= Let's go for a boat ride !
Horizon= ENABLED
Layer1= 160,160,192,7
PuzzleCombo= 3,1,Cartouche Piece 1, $0000,$0400,$0000,$0000,$0000,$0002
PuzzleCombo= 3,2,Cartouche Piece 2, $0000,$0400,$0000,$0000,$0000,$0002
Puzzle= 3,Ba Cartouche, $0000,$0400,$0000,$0000,$0000,$0002
Puzzle= 5,Eye Of Horus, $0017,$0500,$0000,$0000,$0000,$0002
PuzzleCombo= 5,1,Eye Piece, $0017,$0500,$0000,$0000,$0000,$0002
PuzzleCombo= 5,2,Eye Piece, $0017,$0500,$0000,$0000,$0000,$0002
Puzzle= 6,The Hand Of Orion, $0000,$0400,$8000,$c000,$0000,$0002
Puzzle= 8,The Hand Of Sirius, $0000,$0400,$8000,$c000,$0000,$0002
LoadCamera= 0,0,0,0,0,0,255
TURBO= TRB_OPTIMIZE_SORTING,IGNORE
FogRange= IGNORE,127
Level= DATA\TEST4,107
(the puzzles aren't used, atm)
As you can see I've already aplied the memory extending thing.
Would distance fog help?

Piega
24-02-09, 13:35
I've seen level shots bigger than this. Maybe it cannot handle all the static objects all at once. Maybe there is a limit in the amount of that. I dont think the vertices are a limit but just the amount of static.

For the rest you should try, I have no idea.

badboy70
24-02-09, 13:39
I've seen level shots bigger than this. Maybe it cannot handle all the static objects all at once. Maybe there is a limit in the amount of that. I dont think the vertices are a limit but just the amount of static.

For the rest you should try, I have no idea.
This is what I currently have :
http://i43.tinypic.com/34hxgkp.jpg
over 24 rooms (of which 4 are still empty).

Titak
24-02-09, 13:49
Maybe it cannot handle all the static objects all at once. Maybe there is a limit in the amount of that. I dont think the vertices are a limit but just the amount of static.There certainly is a limit in the amount of objects or the vertices. I'm not sure either which one it is, but I have experienced this same bug in my manor greenhouse. I had placed lots and lots of detailed static plants in it and when looking at the whole room, from one of the corners, made the game crash. It got fixed when I removed some of the statics. ;)

Raymond
24-02-09, 13:50
Is it a crash in the editor or ingame? Is the crash recoverable?
Probably you have to learn to conform to some limits. Just try distance fog, lowering the drawing distance or the amount of statics. May be you have also to much fog bulbs visible at the same time. Donīt know the limit in trng. How many do you have?
If the crash occurs only in a llimited area you can also try fixed cameras.

badboy70
24-02-09, 15:57
Is it a crash in the editor or ingame? Is the crash recoverable?
Probably you have to learn to conform to some limits. Just try distance fog, lowering the drawing distance or the amount of statics. May be you have also to much fog bulbs visible at the same time. Donīt know the limit in trng. How many do you have?
If the crash occurs only in a llimited area you can also try fixed cameras.
In game, after I go to the furthest room (the one sticking out from the rest) and then looking back to the beginning.
I have about 5 fog bulbs per water room.

Raymond
24-02-09, 18:57
As already said in my previous post, experiment with the factors I have mentioned there.
I guess, you have some more water roomswith fog bulbs in view in the crash area. You could lower the fog bulb amount for instance in an experiment, because this could be the reason. I know, that in the old editor 5 visible fog bulbs is the limit, but I have no clue, how many visible fog bulbs you can have with the TRNG. So itīs time for some intelligent experimentation to exclude the reasons for crashing!

badboy70
25-02-09, 16:07
Well, distance fog doesn't seem to be an option, since I need to disable Volumetric FX, thus disabling my fog bulbs.
Edit : It seems to be working, I did remove a fair amount of the plants and such.
I did notice that once I get away from it (when it's completely out of sight) the fps seems to be a lot better.

Edit : If anyone wants to test it, I'd gladly send it to you because I need to be sure it's not only my pc that's working.

Titak
25-02-09, 17:17
So itīs time for some intelligent experimentation to exclude the reasons for crashing!Flashbacks here!
God only knows how many times I've been through this stage. :vlol:

But it really is the best way to go, even though it is very timeconsuming.
But the longer you have been doing this, the more understanding you'll gain.
And next time you'll have a better idea of what might be causing the crash. :D