LE Model Load Crash [message #477974] |
Wed, 12 December 2012 07:37 |
|
Gen_Blacky
Messages: 3250 Registered: September 2006
Karma: 1
|
General (3 Stars) |
|
|
I keep getting errors like this In me LE log.
If the Asset is missing le will tell you.
If the model is missing it should load dummy model or not do anything.
F:\Projects\Renegade\Code\wwphys\pscene.cpp (413) Assert: newobj->Peek_Model() != NULL
PhysicsSceneClass::Add_Dynamic_Object
Le is trying to find\load a powerup .w3d file. While loading a map.
Looks for the model in folder that's assigned in the preset, then looks in the mod folder, then the main le folder.
Powerup spawner on the map.
Adding missing models obviously fixes the problem. But it should not crash if they are missing. Only if the preset is missing and no new preset is assigned.
|
|
|
|
|
Re: LE Model Load Crash [message #477977 is a reply to message #477974] |
Wed, 12 December 2012 08:24 |
|
Making LE not crash when it cant find a model its looking for is a lot harder than it might seem to an outsider, if it was doable without lots of effort (or lots of risk of new bugs) we would have done it by now.
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|
Re: LE Model Load Crash [message #477978 is a reply to message #477977] |
Wed, 12 December 2012 08:38 |
|
Gen_Blacky
Messages: 3250 Registered: September 2006
Karma: 1
|
General (3 Stars) |
|
|
jonwil wrote on Wed, 12 December 2012 08:24 | Making LE not crash when it cant find a model its looking for is a lot harder than it might seem to an outsider, if it was doable without lots of effort (or lots of risk of new bugs) we would have done it by now.
|
It always not crashed on those instances. This is a problem a have never experienced before.
Its something that was changed in 4.0.
If the Asset is missing le will tell you and let you pick a new preset.
If the model is missing it should load dummy model or not do anything.
Now I just see this
"No preset for preset.id, removing from level."
Quote: | If the Asset is missing le will tell you and let you pick a new preset.
|
But this was working the other day so not sure whats going on.
[Updated on: Wed, 12 December 2012 08:39] Report message to a moderator
|
|
|
|
Re: LE Model Load Crash [message #477984 is a reply to message #477974] |
Wed, 12 December 2012 14:15 |
|
Gen_Blacky
Messages: 3250 Registered: September 2006
Karma: 1
|
General (3 Stars) |
|
|
Figured out how to trick LevelEdit into loading the temp presets by Creating the temps then making them into shared presets.
Save the map delete the objects then load it with the temp's.
Causing the preset selector to popup and le automatically selected the correct presets.
Weird why it wasn't loading them.
[Updated on: Wed, 12 December 2012 14:19] Report message to a moderator
|
|
|