Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Trivial Psychic on February 27, 2011, 04:48:51 pm

Title: Pof-detail Miss-Alignment
Post by: Trivial Psychic on February 27, 2011, 04:48:51 pm
I've seen on one model or another where you set up certain pof details like thruster points and firepoints, but when you open it in-game you find that they're miss-aligned.  Is this a problem with the model itself somehow, or with PCS2?  If the problem is with the model, is there a way to fix it in PCS2 with an existing option?  If not, should I make a request in the Tools subforum?
Title: Re: Pof-detail Miss-Alignment
Post by: Droid803 on February 27, 2011, 04:53:00 pm
That's probably because you exported the model when it wasn't centered properly (the center of the detail0 wasn't at 0:0:0).
Title: Re: Pof-detail Miss-Alignment
Post by: Dragon on February 27, 2011, 05:03:18 pm
Esarai's Phoenix Rising seems to be an example, Axem's Boeing 747 model (the one with Shivans on it) also has this problem.
Title: Re: Pof-detail Miss-Alignment
Post by: Trivial Psychic on February 27, 2011, 05:13:48 pm
That's probably because you exported the model when it wasn't centered properly (the center of the detail0 wasn't at 0:0:0).
Well, I wasn't the one who exported the file initially... its the Asura model, created by Axem and released by Nighteyes.  Also, since adjusting the centering in the submodel details did nothing, I'm assuming that its either something that NEEDS to be done prior to POFing, or something that needs to be done in PCS2 at a level that I'm not familiar with.

Edit: Release Thread (http://www.hard-light.net/forums/index.php?topic=71404.0), go to last post for his last update.
Title: Re: Pof-detail Miss-Alignment
Post by: Droid803 on February 27, 2011, 05:33:22 pm
It has to be done prior to exporting to POF.
It be able to be remedied through autocentering, though I've never actually used that.
Its a lot more convenient to just import it back into max, fix all the centering, and reexport, at least for me.
Title: Re: Pof-detail Miss-Alignment
Post by: Trivial Psychic on February 27, 2011, 06:45:15 pm
Any volunteers?
Title: Re: Pof-detail Miss-Alignment
Post by: Rampage on February 27, 2011, 06:56:56 pm
On a similar note, does anyone know how to fix bounding box issues?  We have a model with a separable subsystem whose bounding box is ~3x the size of the actual mesh.  Any tips on how to tackle this issue?

INFTeam
Title: Re: Pof-detail Miss-Alignment
Post by: Droid803 on February 27, 2011, 06:59:06 pm
The bounding box will be that large, or collision will break. All the pivots of all subobjects must be within the bounding box, or there will be a crash or stuff won't collide.

You can hack the radius with no ill effect though.
Title: Re: Pof-detail Miss-Alignment
Post by: Spicious on February 28, 2011, 04:15:34 am
No exporting necessary.
(saved with the alternate BSP code which is untested though)

[attachment deleted by ninja]
Title: Re: Pof-detail Miss-Alignment
Post by: Trivial Psychic on February 28, 2011, 08:34:21 pm
Thanks.  The good news is that the shield now appears aligned properly with the model, so the rest of the details should align properly too, unfortunately there appears to be a different problem.  When I open it in PCS2, it's really shrunk and down in the bottom left-hand corner of the screen.  I'm not sure what this means, but I'm betting that its not in-gameable at this point.
Title: Re: Pof-detail Miss-Alignment
Post by: Droid803 on February 28, 2011, 08:47:43 pm
Change the size of the PCS2 window.
Render glitch probably, I get it a lot.
Title: Re: Pof-detail Miss-Alignment
Post by: MatthTheGeek on March 01, 2011, 12:50:26 am
Just don't press that button to size up the window until the ship is done loading. Happens to me to when I don't wait.
Title: Re: Pof-detail Miss-Alignment
Post by: Trivial Psychic on March 01, 2011, 06:13:27 pm
Ah!  That seems to have solved it.  I did some testing with the un-aligned version, and I encountered some weirdness... I could only inflict any hull damage to it with missiles.  Primaries could damage subsystems, but not the primary hull.  I'll try it out with the re-aligned model tomorrow once I've had the chance to transfer the pof-data.

Thanks again!