Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Solatar on December 31, 2007, 03:27:51 pm

Title: Issue with several models
Post by: Solatar on December 31, 2007, 03:27:51 pm
I was sticking in a few Vasudan models just to play around with them and found a few that cause problems. Both the (new) Hedetet model and the GVCa Kabechet model have the same problem. When I shoot them with small arms, they rattle around like they have no mass. I tried to change the Kabechet's mass in modelview to no avail, and the Hedetet appears to already have a very high mass. No stock capital ships behave like this.

Any idea what might be causing it, and ideas on how to fix it?
Title: Re: Issue with several models
Post by: Whitelight on December 31, 2007, 04:59:59 pm
Like the MOI (moment of inertia) is, but that should only effect the model when its destroyed.

Sounds more like a mass problem. I`ve seen this before, but its been a while so i`m not much help at the moment.  :nervous:
Title: Re: Issue with several models
Post by: Warp Shadow on December 31, 2007, 05:43:37 pm
I don't think you're going to find anything in modelview. Try poking around the tables.
Title: Re: Issue with several models
Post by: Solatar on January 01, 2008, 02:29:59 am
I've changed about all I can think to change in the tables. I'm assuming it's something pretty obvious, but I just can't seem to fix it.
Title: Re: Issue with several models
Post by: Vasudan Admiral on January 04, 2008, 08:52:15 pm
This will almost definitely be a MOI problem. Open them up in PCS2, and then open up a stock caphip of comparable size in a separate window. In the header section, copy and paste each line of the stock ships Moment Of Inertia into the problem ships and resave.
Title: Re: Issue with several models
Post by: Solatar on January 05, 2008, 01:09:37 am
All the larger ships I've opened from stock Freespace 2 have MOI of zero (or negative zero) on all three lines. :(
Title: Re: Issue with several models
Post by: Vasudan Admiral on January 05, 2008, 02:21:38 am
Well that's interesting; the values are not 0 - they're just really tiny (Ie, 0.00000000000165083106). Do the same process again, except this time use modview (Pof editor>model>MOI) and copy-paste all values from the 9 text boxes. If that works, then it might mean PCS2 will need the precision of its editor turned up.

It's more likely to be something else though. If the mass is comparable to a similarly sized capship, then the only other thing I know of that could have an effect is the $Density: field in the table entry, which should be 1.

Oh, and make sure that you're deleting the IBX cache file between each change you make to the pof file.