Crash caused by mod pilot.

Moderators: GSH, VSMIT, Red Devil, Commando

Post Reply
User avatar
bigbadbogie
Bull Dog
Posts: 586
Joined: Mon Feb 21, 2011 8:12 am
Location: Ecuadorian Embassy

Crash caused by mod pilot.

Post by bigbadbogie »

I keep getting this error when I attempt to place a pilot in the editor:

Image

Any idea what it means?
"You think that you can wipe out an entire civilisation without consequences?" - Rachel

http://www.moddb.com/mods/qf2-essence-to-a-thief
https://www.indiedb.com/games/husky-ashcon-i/
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: Crash caused by mod pilot.

Post by MrTwosheds »

Someone else can give you the technical details better than I but malloc usually refers to a memory allocation error.
I would guess that there is something borked with your pilot model as that is what most often causes the editor to point all 4 feet in the air.
The Silence continues. The War Of Lies has no end.
User avatar
bigbadbogie
Bull Dog
Posts: 586
Joined: Mon Feb 21, 2011 8:12 am
Location: Ecuadorian Embassy

Re: Crash caused by mod pilot.

Post by bigbadbogie »

I think it has something to do with geometryScale. When I changed it to 1.0, the model loaded perfectly but was bloody huge. A pilot the size of a skyscraper.

The geometryScale was formerly 0.0095.

I have another pilot with a geometryScale of 0.0095 which functions perfectly.

It's strange. Maybe geometryScale doesn't like some models.
"You think that you can wipe out an entire civilisation without consequences?" - Rachel

http://www.moddb.com/mods/qf2-essence-to-a-thief
https://www.indiedb.com/games/husky-ashcon-i/
User avatar
bigbadbogie
Bull Dog
Posts: 586
Joined: Mon Feb 21, 2011 8:12 am
Location: Ecuadorian Embassy

Re: Crash caused by mod pilot.

Post by bigbadbogie »

FYI, I fixed the problem by resizing the original mesh and all of its animation files. GeometryScale is now at 1.0, and the problem has gone.

This might be some kind of 1.3 glitch. It shouldn't matter what GeometryScale you choose - the game shouldn't crash.
"You think that you can wipe out an entire civilisation without consequences?" - Rachel

http://www.moddb.com/mods/qf2-essence-to-a-thief
https://www.indiedb.com/games/husky-ashcon-i/
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: Crash caused by mod pilot.

Post by MrTwosheds »

Well its the editor not the game as such, it always has been fairly fussy about new models and really is only expected to deal with correctly formatted xsi files exported from Softimage software of a certain age...Model makers need to conform to its expectations, rather than the other way round. :)
The Silence continues. The War Of Lies has no end.
User avatar
GSH
Patch Creator
Posts: 2486
Joined: Fri Feb 18, 2011 4:55 pm
Location: USA
Contact:

Re: Crash caused by mod pilot.

Post by GSH »

BBB-
Submit the broken assets (odf, xsi, do not need textures) on bugzilla and it can be fixed in the future. If you just say "I fixed it" and sweep it under the rug, it's very likely to be a lower priority bug that gets less attention.

-- GSH
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: Crash caused by mod pilot.

Post by MrTwosheds »

Maybe geometryScale doesn't like some models.
Hmm, I imagine the xsi-msh format being fairly strict about its values to 6 decimal places might cause problems when scaling down things by 100 times some data's going to drop to values it does not really want to deal with. Getting model scaled right at geometry scale 1 is definitely what you want to aim for, especially with items like pilots that have other models attached to them, it makes getting things to look right much easier.
The Silence continues. The War Of Lies has no end.
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: Crash caused by mod pilot.

Post by General BlackDragon »

OH, yeah, BZ2 doesn't like REALLY REALLY Small geometries.
Battlezone Classic Public Forums
*****General BlackDragon*****
User avatar
Red Spot
Attila
Posts: 1629
Joined: Mon Feb 21, 2011 6:14 pm
Location: The Netherlands

Re: Crash caused by mod pilot.

Post by Red Spot »

User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: Crash caused by mod pilot.

Post by General BlackDragon »

Hmm, did you ever get a repro on that?
Battlezone Classic Public Forums
*****General BlackDragon*****
User avatar
Red Spot
Attila
Posts: 1629
Joined: Mon Feb 21, 2011 6:14 pm
Location: The Netherlands

Re: Crash caused by mod pilot.

Post by Red Spot »

No, but I also havent played very much BZC after that game and most of those where without the extra scrap spawning in.
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: Crash caused by mod pilot.

Post by Nielk1 »

My guess is that the XSI handler has issues with such large (or small) numbers. Its probably losing precision. The MSH code is messy as hell so, crashes abound.

With a repo, I am sure GSH can patch something, even if it is just a graceful error instead of a hard crash.
Post Reply