3d model crashs game without log entry
Moderator: Moderators
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
3d model crashs game without log entry
Hi,
i have a problem with an playermodel i made. it crashs my game after it is loaded (before the Rep/cis select screen), but there is no error log entry.
Any idea what it can be??
If you need i can upload the file.
i have a problem with an playermodel i made. it crashs my game after it is loaded (before the Rep/cis select screen), but there is no error log entry.
Any idea what it can be??
If you need i can upload the file.
-
thelegend
- Sith

- Posts: 1433
- Joined: Thu Jan 23, 2014 6:01 am
- Projects :: Star Wars - Battlefront III Legacy
- xbox live or psn: El_Fabricio#
- Location: Right behind you :)
Re: 3d model crashs game without log entry
Hm..can you explain us the main steps you followed?
And: Did the player model work a time before? Or is this the first time you exported your playermodel?
And: Did the player model work a time before? Or is this the first time you exported your playermodel?
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: 3d model crashs game without log entry
You can find the mainsteps here: http://www.gametoast.com/viewtopic.php?f=36&t=30747
It crashes since i exported it with the pandemic addon. Before with ZETool under Mod Tool 7.5 without the cloth it worked.
It crashes since i exported it with the pandemic addon. Before with ZETool under Mod Tool 7.5 without the cloth it worked.
-
thelegend
- Sith

- Posts: 1433
- Joined: Thu Jan 23, 2014 6:01 am
- Projects :: Star Wars - Battlefront III Legacy
- xbox live or psn: El_Fabricio#
- Location: Right behind you :)
Re: 3d model crashs game without log entry
Hm..perhaps try test the cloth thing on a default clone trooper and try if it works there. As I know you have to set up the cloth addon part in your unit's odf. But I am not sure.
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: 3d model crashs game without log entry
yes but this wouldn't crash the game. I forgott the cloth odf at an other unit and this one did not crash
==EDIT1==
I found this in my error log:
Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(317)
Memory pool "ClothData" set item count after being allocated
Not sure if this can crash my game.
==EDIT2==
I hexed the cloth to an other unit and it crashes. Next i removed the cloth from my unit via hex edit and it works :/
So what can i do wrong with cloths??
the cloth chunk is names cloth. the cloth odf is names cloth and in the cloth odf the name of the msh is right too (i take my hexed version, becuase it's names new it's shorter)
on the first view the chunk looks right in my hex editor. Could it be possible that the chunk is simply too big?? when i hexed it to the stock trooper it had an Adr.dec. from 24.143
==EDIT1==
I found this in my error log:
Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(317)
Memory pool "ClothData" set item count after being allocated
Not sure if this can crash my game.
==EDIT2==
I hexed the cloth to an other unit and it crashes. Next i removed the cloth from my unit via hex edit and it works :/
So what can i do wrong with cloths??
the cloth chunk is names cloth. the cloth odf is names cloth and in the cloth odf the name of the msh is right too (i take my hexed version, becuase it's names new it's shorter)
Code: Select all
[GameObjectClass]
ClassLabel = "cloth"
[Properties]
attachedmesh = "new"Code: Select all
[GameObjectClass]
ClassParent = "rep_inf_default_rifleman"
[Properties]
GeometryName = "new"
GeometryLowRes = "rep_inf_ep3trooper_low1"
ClothODF = "cloth"
FirstPerson = "REP\reptroop;rep_1st_trooper"
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: 3d model crashs game without log entry
It's not clear about how you set up the cloth, but I would at least avoid using ClassLabel identifiers as file names etc.Anakin wrote:the cloth chunk is names cloth. the cloth odf is names cloth ...
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: 3d model crashs game without log entry
You are my personal hero 
Maybe you can also tell me why the collision does not work. I added to the legs some collision things and names them c_l_thigh, c_l_calf,....

Maybe you can also tell me why the collision does not work. I added to the legs some collision things and names them c_l_thigh, c_l_calf,....
Hidden/Spoiler:
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: 3d model crashs game without log entry
I'd have to see a screenshot of your setup or examine the scene itself to give any advice on this.
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: 3d model crashs game without log entry
Here is the pic of the scene.
Steps i did to make the collision:
1. get a new sphere.
2. stretching it to get the shape of an leg
3. moved and rotated to fit the the thigh.
4. duplicate and moved to the other thigh.
5. duplicate, resized, moved/rotated to fit with the calf.
6. duplicate and moved/rotate to the other calf.
Maybe i pressed freeze M some times. Not sure about it. (actually i have no idea what freeze M and freeze do)
Hidden/Spoiler:
1. get a new sphere.
2. stretching it to get the shape of an leg
3. moved and rotated to fit the the thigh.
4. duplicate and moved to the other thigh.
5. duplicate, resized, moved/rotated to fit with the calf.
6. duplicate and moved/rotate to the other calf.
Maybe i pressed freeze M some times. Not sure about it. (actually i have no idea what freeze M and freeze do)
-
MileHighGuy
- Jedi

- Posts: 1194
- Joined: Fri Dec 19, 2008 7:58 pm
Re: 3d model crashs game without log entry
you cant stretch spheres. you can only change their radius in their property page.
Hidden/Spoiler:
