[HELP] Crash with terrainCuller.setUseStitchedLods 0

Making or wanting help making your own asset? Check in here
Post Reply
Spyker2041
Posts: 1076
Joined: 2010-03-18 16:25

[HELP] Crash with terrainCuller.setUseStitchedLods 0

Post by Spyker2041 »

Hey guys,

Got an old 4k map I am trying to get to work in 1.1. If terrainCuller.setUseStitchedLods 0 is set in either the tmp.con or terrain.con then the game will CTD without error on spawn. If I don't have this line anywhere in the map then I can spawn in without crashing but obviously the terrain has patches of holes in it.

Any ideas on why this is happening?

Many thanks.
Image
Take a look at my custom PRSP Maps --> Click Here
Take a look at my gameplay vids --> Click Here
HughJass
Posts: 2599
Joined: 2007-10-14 03:55

Re: [HELP] Crash with terrainCuller.setUseStitchedLods 0

Post by HughJass »

I think this might be my problem as well. With the line in terrain.con, In the debugger, the terrain shows up mostly black, with red and green glitched dots.
Image
X-Alt
Posts: 1073
Joined: 2013-07-02 22:35

Re: [HELP] Crash with terrainCuller.setUseStitchedLods 0

Post by X-Alt »

I did this on my edited Qinling, it worked fine. Must be another issue with the terrain?
Last edited by X-Alt on 2014-02-16 15:54, edited 2 times in total.
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: [HELP] Crash with terrainCuller.setUseStitchedLods 0

Post by Rudd »

perhaps you've included a typo? open a current PR map and reapply the fix with copy and paste?

got no other ideas tbh
Image
Spyker2041
Posts: 1076
Joined: 2010-03-18 16:25

Re: [HELP] Crash with terrainCuller.setUseStitchedLods 0

Post by Spyker2041 »

Please close, found to be an issue with fsa python code where when creating local server and spawning in as Team 1, game crashes.

Of course when I removed the stitchedlods code I spawned in as team 2 so that is why I thought this issue was occuring.
Last edited by Spyker2041 on 2014-02-17 11:13, edited 1 time in total.
Image
Take a look at my custom PRSP Maps --> Click Here
Take a look at my gameplay vids --> Click Here
piepieonline
Retired PR Developer
Posts: 433
Joined: 2009-07-22 00:41

Re: [HELP] Crash with terrainCuller.setUseStitchedLods 0

Post by piepieonline »

This is due to you using fsa_kits.py, from the Sbeneth tests.
Remove

Code: Select all

import fsa_kits
fsa_kits.init()
from mods/pr/python/game/__init__.py
Image
Spyker2041
Posts: 1076
Joined: 2010-03-18 16:25

Re: [HELP] Crash with terrainCuller.setUseStitchedLods 0

Post by Spyker2041 »

'[R-DEV wrote:piepieonline;1984574']This is due to you using fsa_kits.py, from the Sbeneth tests.
Remove

Code: Select all

import fsa_kits
fsa_kits.init()
from mods/pr/python/game/__init__.py
Thanks, edited my post.
Image
Take a look at my custom PRSP Maps --> Click Here
Take a look at my gameplay vids --> Click Here
Post Reply

Return to “PR:BF2 Community Modding”