Author Topic: Bunch of Radius Errors  (Read 2191 times)

0 Members and 1 Guest are viewing this topic.

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
Bunch of Radius Errors
Hai!

So I just added the excellent FTfg Impervious model to my mod. Unfortunately when I try to access the ship in any way (view it in the tech room, etc.) I get a whole slew of errors telling me that such-and-such a submodel has an improper radius or something like that. Here's an example:

Code: [Select]
Submodel <rotatora-destroyed> in model <Impervious_REV.pof> has a radius <= 0.1f

ntdll.dll! NtWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! SCP_DumpStack + 354 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! Warning + 421 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! read_model_file + 4115 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! model_load + 782 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! techroom_select_new_entry + 450 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! techroom_do_frame + 782 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! game_do_state + 333 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! gameseq_process_events + 237 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! game_main + 782 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! WinMain + 330 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! __tmainCRTStartup + 358 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! WinMainCRTStartup + 15 bytes
kernel32.dll! BaseThreadInitThunk + 18 bytes
ntdll.dll! RtlInitializeExceptionChain + 99 bytes
ntdll.dll! RtlInitializeExceptionChain + 54 bytes

And this error gets repeated maybe 8 times, each time with a different submodel. Any help, please?

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Re: Bunch of Radius Errors
Are you running a debug build? If so, it's probably been tested on a retail build and works, so try that if you're uncomfortable with PCS2.

If PCS2 isn't a problem, open up the model in PCS2, and go through the submodels one by one, pressing "Reset" on the "Max Radius" section on the far right. Do that for every submodel and then save the model, that'll sort it out.
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
Re: Bunch of Radius Errors
Are you running a debug build? If so, it's probably been tested on a retail build and works, so try that if you're uncomfortable with PCS2.

If PCS2 isn't a problem, open up the model in PCS2, and go through the submodels one by one, pressing "Reset" on the "Max Radius" section on the far right. Do that for every submodel and then save the model, that'll sort it out.

Yes, I'm running a debug build. Totally fine with using PCS2, I've used the recalculate function for Moment of Inertia before.

Problem is that the Max Radius field doesn't show up on any SubObjects, just on the header, and there's no reset button. I'm using PCS 2.0.3 Stable from 2008.

Speaking of which I've been suspecting for a while that my version is outdated as other users have referenced PCS features like this one that I don't seem to have. Also I can never view models with textures, they always show up in white even when the program is set to display textures (wireframe view works). Any help with this?

 
Re: Bunch of Radius Errors
Here is last version:
http://www.hard-light.net/forums/index.php?topic=77292.0

As for missing textures in PCS2, set up texture paths in options -> preferences.
« Last Edit: April 15, 2016, 08:20:58 am by tomimaki »

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Bunch of Radius Errors
Speaking of which I've been suspecting for a while that my version is outdated as other users have referenced PCS features like this one that I don't seem to have. Also I can never view models with textures, they always show up in white even when the program is set to display textures (wireframe view works). Any help with this?

PCS2 expects textures to be in the same directory as the model you're editing or in one of the texture paths defined in its options.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Re: Bunch of Radius Errors
It's definitely there - check out the green rectangle in the attached pic.

[attachment DELETED!! by Strong Bad]
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
Re: Bunch of Radius Errors
Okay, thanks chaps. Just updated to the latest version and now I can reset the radius.

I've set the texture path to the maps folder of my mod but the textures still won't load.

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Bunch of Radius Errors
It is also possible that PCS2 just can't read the texture formats you're using. IIRC, it doesn't really understand dds.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Re: Bunch of Radius Errors
Not maps, just set it to the data directory for your mod.
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline niffiwan

  • 211
  • Eluder Class
Re: Bunch of Radius Errors
I've found that pcs2 can only find textures if you specify the maps dir, and you have a trailing slash on the directory.  Note that the browse function doesn't add the trailing slash to dir path, you have to add it manually.

i.e.
This is OK
/ssd/fso/mymod/data/maps/

This is NOT OK
/ssd/fso/mymod/data/maps

I'm pretty sure I've tried just the data directory but it didn't work. i.e.
/ssd/fso/mymod/data/

(this is on Linux, but I think Windows has the same issue)
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
Re: Bunch of Radius Errors
I've found that pcs2 can only find textures if you specify the maps dir, and you have a trailing slash on the directory.  Note that the browse function doesn't add the trailing slash to dir path, you have to add it manually.

i.e.
This is OK
/ssd/fso/mymod/data/maps/

This is NOT OK
/ssd/fso/mymod/data/maps

I'm pretty sure I've tried just the data directory but it didn't work. i.e.
/ssd/fso/mymod/data/

(this is on Linux, but I think Windows has the same issue)

I fixed this and now my models show up textured! AWESOME!

Thanks a bunch!

 

Offline niffiwan

  • 211
  • Eluder Class
Re: Bunch of Radius Errors
Thank Axem! (as he's the guy who told me about this fix in the 1st place) :)
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...