Author Topic: help me, im trying to do something stupid  (Read 1449 times)

0 Members and 1 Guest are viewing this topic.

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
help me, im trying to do something stupid
i was trying to get the new and improved phoenix space superiority fighter with its totally insane variable geometry multihinged wings. i was wondering that the max submodel heirarchy depth is? you see each wings are made of 7 subobjects, the first segment is the child of the ship as well as the parent for the second segment, which is parent for the third and so on through all 7 segments. this is all set up for the purpouse of using the submodel animation code. each segment needs to inherit its parents motion.

anyway i plugged the ship in for a quick test to see if the engine can hack the model. the lab rendered it just fine, even the cockpit windows worked, i was amazed so i try a mission, ship renders ok in the interface. game crashes as soon as i hit commit. the ship also seems to crash fred. i ran it throiugh a debug build, it gets to the tech room where i immediately get a crash, the tail end of the log goes a little something like this:

Code: [Select]
Techroom successfully initialized, now changing tab...Loading model 'phoenix.pof'
IBX: Found a good IBX to read for 'phoenix.pof'.
IBX-DEBUG => POF checksum: 1615665904, IBX checksum: 1221800479 -- "phoenix.pof"
 but I did find phoenix.dds.
 or phoenix-glow.pcx.
SOBJ IDed itself as 0SOBJ IDed itself as 1SOBJ IDed itself as 2SOBJ IDed itself as 3SOBJ IDed itself as 4SOBJ IDed itself as 5SOBJ IDed itself as 6SOBJ IDed itself as 7SOBJ IDed itself as 8SOBJ IDed itself as 9SOBJ IDed itself as 10SOBJ IDed itself as 11SOBJ IDed itself as 12SOBJ IDed itself as 13SOBJ IDed itself as 14SOBJ IDed itself as 15Frame  0 too long!!: frametime = 0.991 (0.991)
Loading 2_TechShipData.pcx for the first time.
MEMLEAK DEBUG: lock pcx
Int3(): From globalincs/windebug.cpp at line 990

it seems to not have liked this models depth of heirarchy. so did i hit an inpenertable barrier of stupidity, or is there hope that my model will one day work?

edit, by the way im using the fs2_open_367_p4.exe/fs2_open_367_p4_d.exe

edit again, yup, its the heirarchy, i broke it down and recompiled and the ship functions nicely, fairly stable too. any chance we can get more depth in our heirarchy?
« Last Edit: November 26, 2005, 03:04:32 pm by Nuke »
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Re: help me, im trying to do something stupid
Probably.  This is worth doing.

I don't know the first thing about how one would fix that, though. :)

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
Re: help me, im trying to do something stupid
the max instance depth used by the model rendering code is 5.  The define in question is MAX_SUBMODEL_INSTANCE_DEPTH or something similar.
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

  

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: help me, im trying to do something stupid
i dont see anyone using more than 1o instances of depth, i dont plan to use more than 8 myself. might want to ask the starfox guys though, they might have some fancy animations planed, other mods as well..
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN