Author Topic: Last nightlies /cockpit pof  (Read 2974 times)

0 Members and 1 Guest are viewing this topic.

Last nightlies /cockpit pof
Hi,
After some test with the last nightly it seems that something has gone wrong with the cockpit pof code (the one you set in the ship.tbl, not the show ship one).

I don't know yet when it appears as the way it appears is twisted, i explain :

The cockpit will work if you keep the mission's default ship, there is no problem
But if you change the ship in the ship selection (using a different ship) after loading the mission, the cockpit won't appear.

Did someone noticed it yet too?
« Last Edit: November 24, 2009, 03:03:41 pm by Reprobator »
$Formula: ( every-time
   ( has-time-elapsed "0" )
   ( Do-Nothing
   )
   ( send-message
      "#Dalek"
      "High"
      "Pro-crasti-nate"
   )
   )
)
+Name: Procratination
+Repeat Count: 99999999999
+Interval: 1

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Last nightlies /cockpit pof
Is it safe to assume the new ship also has a cockpit defined in ships.tbl?  Because the mission itself shouldn't have anything to do with whether that works.  Try changing your default ship in the ships.tbl to the ship you want, and create a new mission where you don't change the ship.  See if it works then.  If so, then it may just be related to changing the ship, otherwise it's probably something in the table or the different cockpit.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 
Re: Last nightlies /cockpit pof
I've check this before, i never had problem with them or theirs cockpit, i've made my test with two ships :
I firstly load each one in a different mission where they were pre-selected in the mission by fred, then i just load the mission, don't touch anything but pressing the launch mission button,
the cockpit where there as usual.
After that i reload those mission and select the "other" ship in the two mission, after pressing the launch button, the cockpit weren't there.

I've then tryed with all the ships where i set a cockpit model pof and it behave exactly the same.

In fact it remind me a "bug" i've met sometime ago where, when you use "change ship class" sexp on the player's ship, the cockpit may disapear. i guessed it was because that the sexp was designed to be used on ai.
I don't know if it may be related.
« Last Edit: November 24, 2009, 05:23:42 pm by Reprobator »
$Formula: ( every-time
   ( has-time-elapsed "0" )
   ( Do-Nothing
   )
   ( send-message
      "#Dalek"
      "High"
      "Pro-crasti-nate"
   )
   )
)
+Name: Procratination
+Repeat Count: 99999999999
+Interval: 1

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Last nightlies /cockpit pof
Ah crap you meant in the pre-mission setup, not FRED.  Totally misunderstood.  Yeah there have occasionally been issues in the change ship class code.  I recently fixed one related to shields being on or off with a creative new ship flag.  The code may not be updating the cockpit model from the new ship's config.  Not sure what would have changed this recently.  How long ago did this work?
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 
Re: Last nightlies /cockpit pof
Well that's a really good question, as i'm not on a mission design phase but more in a modeling and mapping phase i've always directly set the ship i wanted to test and hit directly the play mission button.

To be honest i really don't know.
and it'll be quite complicated to test all previous build as i use recent sushi ai table entry    

For the sexp swap, it always happened since i tryed it.

Anyway i may make a copy of the mod and then try a selection of build if you have some idea of wich one may make the problem appear, because testing all the builds may take time ;)
$Formula: ( every-time
   ( has-time-elapsed "0" )
   ( Do-Nothing
   )
   ( send-message
      "#Dalek"
      "High"
      "Pro-crasti-nate"
   )
   )
)
+Name: Procratination
+Repeat Count: 99999999999
+Interval: 1

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Last nightlies /cockpit pof
In fact it remind me a "bug" i've met sometime ago where, when you use "change ship class" sexp on the player's ship, the cockpit may disapear. i guessed it was because that the sexp was designed to be used on ai.

No it's cause the SEXP was designed to use a function originally designed for FRED. :p


Seriously though, I believe Wanderer already fixed this bug once for Diaspora so he's definitely the man to ask about this one.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Last nightlies /cockpit pof
If nothing else, you could create a very simple test case that reproduces the error too, with just a cockpit pof and a ships tbm that modifies a couple of retail fighters, and a mission with more than one fighter allowed.  Then you could test a few older builds and try to get an idea of when it broke.  Would help a lot if Wanderer can't look at it soon.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 
Re: Last nightlies /cockpit pof
How's the z-buffering working with the separate cockpits now?
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 
Re: Last nightlies /cockpit pof
well it make a long time i didn't have any problem (if you are speaking about collision with cockpit and external object.
Last time i had one was with a post process build, but it'll be corrected.

i'll look for the guilty build this evening and report it here.
« Last Edit: November 25, 2009, 01:22:21 am by Reprobator »
$Formula: ( every-time
   ( has-time-elapsed "0" )
   ( Do-Nothing
   )
   ( send-message
      "#Dalek"
      "High"
      "Pro-crasti-nate"
   )
   )
)
+Name: Procratination
+Repeat Count: 99999999999
+Interval: 1

 
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 
Re: Last nightlies /cockpit pof
ahh this one, i use to have the same on one of my cockpit.
I've redone it from 0 and it worked.
$Formula: ( every-time
   ( has-time-elapsed "0" )
   ( Do-Nothing
   )
   ( send-message
      "#Dalek"
      "High"
      "Pro-crasti-nate"
   )
   )
)
+Name: Procratination
+Repeat Count: 99999999999
+Interval: 1

 
Re: Last nightlies /cockpit pof
Thing is, if i use this as a actual ship model (i.e. use the cockpit as the ship) then everything works fine.
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 
Re: Last nightlies /cockpit pof
i was trying to track the build that cause the side effect, and i've realise that it getting really twisted, as i use to test i could not reproduce the bug even with the same build that has the problem.
In fact, it looks mission dependent too  :shaking:

I continue to investigate

I've try with a 3.6.10 buid , it behave the same.
It doesn't seem build dependant but more mission dependant  :wtf:
In fact all those i've done since i've moved from fred 3.6.10
« Last Edit: November 25, 2009, 02:23:39 pm by Reprobator »
$Formula: ( every-time
   ( has-time-elapsed "0" )
   ( Do-Nothing
   )
   ( send-message
      "#Dalek"
      "High"
      "Pro-crasti-nate"
   )
   )
)
+Name: Procratination
+Repeat Count: 99999999999
+Interval: 1

 
Re: Last nightlies /cockpit pof
And even more wonkiness:

Your looking back behind my bearcat, notice how the main wings are sticking out at the wrong area. Whatever is going wrong isn't just limited to the cockpit tub, but rather the entire mesh.




Here's what it should look like:
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Last nightlies /cockpit pof
Is that happening in a normal cockpit view, or in the one with external cockpit model?

  
Re: Last nightlies /cockpit pof
External cockpit view.
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"