Author Topic: Some mystery FS2 Lockups  (Read 1867 times)

0 Members and 1 Guest are viewing this topic.

Some mystery FS2 Lockups
I am experiencing some odd behavious with a new ship I am trying to get working in game.

Ship seems to be OK as far as the conversion process goes. PCS converts it fine with no errors, and the vessel appears in game as it should. AI flies it like a demon, and all seems good.

Until I started shooting it up some.

I seem to get some lock-ups when the thing is destroyed. Taking out the damage chunks cured that....but why should it Lock?

When I swapped the damage parts around and made them a subobject of the hull, they displayed OK and didn't cause problems. Just as damage parts when they swapped in at the 'blowing up' point.

I also seem to have some issues where the game locked up after the ship had been flying around damaged for a bit. The targetting reticle showed the thing at around 40% when she locked up.

I am running 3.6 FSopen. Normal game is fine and dandy, so it's a ship problem not a game problem.

Also, in the ship table I have set the 'burners' to have a 0 recovery. I want them to be a finite resource. I upped the value to 0.9 ( Boy...does she acce;erate now ;) ) Could that be linked? If the AI hits burners and there is no fuel...

Anyway... I can't figure out what I have done wrong here, and would be glad of a few pointers as to what might cause some of the things I am experiencing!
"It was a time when men were REAL men
Women were REAL women,
And small furry creatures from Alpha Centauri were REAL small furry creatures from Alpha Centauri"

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Sounds to me like a debris problem to me. I've never had to deal with one of these before but I've heard of people who have.

Any chance of you posting a pic of the hierarchy?
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 


This is the expanded hierarchy in it's original form.
"It was a time when men were REAL men
Women were REAL women,
And small furry creatures from Alpha Centauri were REAL small furry creatures from Alpha Centauri"

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Try renaming from debris01 to debris1

Also try opening the model in modevlview and looking at what modelview calls LOD0 (the debris one)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 
Looking at the thing in Modelview, I get 'lvl1' which is the ship with it's thruster plume submodel, and I get 'debris' which contains 'debris01' and 'debris02'
"It was a time when men were REAL men
Women were REAL women,
And small furry creatures from Alpha Centauri were REAL small furry creatures from Alpha Centauri"

 

Offline Roanoke

  • 210
you need a Lod0 light in there. Put i in the main group ("object"), not in the hull group ("hull").

Try looking at other fan models for help too.

 
This is messing with my head :(

Added the 'Lod0' light as suggested, and it still doesn't work. Bring th ship to 0% and I get a lockup.

Also, I damaged the ship with a missile and a couple of laser blasts and brought it down to about 29%.... let it fly for a bit as I tried to line it up for the kill, and I got a lockup again.

I can understand a lockup when something happens....like destruction of a ship...which could trigger an event... but some of these lockups do not seem to be directly linked to any event that I can see.... AAarrrgh!
"It was a time when men were REAL men
Women were REAL women,
And small furry creatures from Alpha Centauri were REAL small furry creatures from Alpha Centauri"

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Run modelview and load your model. See that row of numbers on the toolbar 1 to 6 and then 0. Is the 0 greyed out?

If it is try renaming like I suggested and try again.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 
Zero is not greyed out. Clicking on it does show my 2 debris chunks.
"It was a time when men were REAL men
Women were REAL women,
And small furry creatures from Alpha Centauri were REAL small furry creatures from Alpha Centauri"

  

Offline Roanoke

  • 210
You should probably rename the debris lights. All the models I've looked at were named "H_Debris01", "H_Debris02" etc.
I don't kno what the H is, I just copied fan models which I knew to be good.