Board index FlightGear Development Spaceflight

Space Shuttle - Bugfixes

Discussion about development and usage of spacecraft

Re: Space Shuttle - Bugfixes

Postby GinGin » Sun Apr 05, 2020 5:30 pm

Just a small thing as I would like to take Pictures from White ET after MECO.


The White ET is becoming Orange again after MECO, is there an easy fix or somewhere to look in the files for that?

Thank you
GinGin
 
Posts: 1125
Joined: Wed Jul 05, 2017 10:41 am
Location: Paris
Callsign: Gingin

Re: Space Shuttle - Bugfixes

Postby wlbragg » Sun Apr 05, 2020 7:07 pm

Hum, I don't know why that would be? Is MECO the catilyst or something else, say ET separation?
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
Intel i5 3570K AMDRX480
User avatar
wlbragg
 
Posts: 5767
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/AMDRX480

Re: Space Shuttle - Bugfixes

Postby GinGin » Sun Apr 05, 2020 7:17 pm

wlbragg wrote in Sun Apr 05, 2020 7:07 pm:Hum, I don't know why that would be? Is MECO the catilyst or something else, say ET separation?



Ah yes indeed, at ET sep it reverts to orange, not before.
GinGin
 
Posts: 1125
Joined: Wed Jul 05, 2017 10:41 am
Location: Paris
Callsign: Gingin

Re: Space Shuttle - Bugfixes

Postby wlbragg » Sun Apr 05, 2020 8:46 pm

OK, that makes more sense. I'll see if I can find the failure point.
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
Intel i5 3570K AMDRX480
User avatar
wlbragg
 
Posts: 5767
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/AMDRX480

Re: Space Shuttle - Bugfixes

Postby wlbragg » Sun Apr 05, 2020 9:10 pm

The White ET is becoming Orange again after MECO, is there an easy fix or somewhere to look in the files for that?

Is that visually only, ie; have you looked in the GUI at the ET color choice and watched to see if it changes?
Can you change it back to White after the ET SEP changes it to orange?
Can you report back the value of /sim/model/livery/index before and after ET SEP?
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
Intel i5 3570K AMDRX480
User avatar
wlbragg
 
Posts: 5767
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/AMDRX480

Re: Space Shuttle - Bugfixes

Postby wlbragg » Sun Apr 05, 2020 10:13 pm

I already answered those questions so don't bother. Thorsten, do the liveries apply to the "ballistics" models?
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
Intel i5 3570K AMDRX480
User avatar
wlbragg
 
Posts: 5767
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/AMDRX480

Re: Space Shuttle - Bugfixes

Postby Thorsten » Mon Apr 06, 2020 5:11 am

I've noticed that a while ago, and it's pretty vexing, it seems we really need a second model xml assigning the different color to the tank and use that dependent on a property flag - to my knowledge we can not re-use the existing ballistic tank model. :cry:
Thorsten
 
Posts: 11746
Joined: Mon Nov 02, 2009 8:33 am

Re: Space Shuttle - Bugfixes

Postby GinGin » Mon Apr 06, 2020 10:24 am

wlbragg wrote in Sun Apr 05, 2020 8:46 pm:OK, that makes more sense. I'll see if I can find the failure point.


thanks for having a look.
GinGin
 
Posts: 1125
Joined: Wed Jul 05, 2017 10:41 am
Location: Paris
Callsign: Gingin

Re: Space Shuttle - Bugfixes

Postby wlbragg » Mon Apr 06, 2020 3:26 pm

So a second ballistics model.xml tied to say "livery/index" property or whatever flag we have for orange vs white tank. I'll have to do some digging (studying), it's been awhile since I messed with ballistics models and assigning them.
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
Intel i5 3570K AMDRX480
User avatar
wlbragg
 
Posts: 5767
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/AMDRX480

Re: Space Shuttle - Bugfixes

Postby Thorsten » Mon Apr 06, 2020 4:23 pm

The tank is not a standard FG ballistic submodel (they do not orbit) - it is a Nasal-controlled co-orbiting object.
Thorsten
 
Posts: 11746
Joined: Mon Nov 02, 2009 8:33 am

Re: Space Shuttle - Bugfixes

Postby wlbragg » Mon Apr 06, 2020 4:25 pm

Ah, right. OK I think I got it.
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
Intel i5 3570K AMDRX480
User avatar
wlbragg
 
Posts: 5767
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/AMDRX480

Re: Space Shuttle - Bugfixes

Postby eatdirt » Wed Apr 08, 2020 3:19 pm

Oh, I've just solved the sound issue by accident. I wanted to play with the heli view to remove the automatic roll and changing lines in that section made the sound reappearing.

Edit: After removing the autosave_2019.2.0.xml, my sound issues are back (what I wrote was wrong, unfortunately).
eatdirt
 
Posts: 647
Joined: Wed Aug 15, 2018 2:06 pm

Re: Space Shuttle - Bugfixes

Postby wlbragg » Thu Apr 09, 2020 10:01 pm

@Thorsten, do you remember why you added the following material animation to the "white" tank only?
Never mind, I think the orange tank didn't really need any material changes.

Code: Select all
<animation>
    <type>material</type>
    <condition>
   <equals>   
      <property>/sim/model/livery/index</property>
      <value>2</value>
   </equals>
    </condition>
    <object-name>et_all.lay_et</object-name>
    <object-name>et_all.lay_et_att</object-name>
    <object-name>et_all.lay_et_att.001</object-name>
    <object-name>et_all.lay_et_att.002</object-name>
    <object-name>et_all.lay_et_att.003</object-name>
    <object-name>et_all.lay_et_att.004</object-name>
    <object-name>et_all.lay_et_att.005</object-name>
    <object-name>et_all.lay_et_att.006</object-name>
    <object-name>et_all.lay_et_att.007</object-name>
    <object-name>et_all.lay_et_att.008</object-name>
    <object-name>et_all.lay_et_attach_</object-name>
    <object-name>et_all.lay_et_bot_cir</object-name>
    <object-name>et_all.lay_et_shu</object-name>
    <object-name>et_all.lay_et_shu.001</object-name>
    <object-name>et_all.lay_et_shutsup</object-name>
    <object-name>et_all.lay_et_sup</object-name>
    <object-name>et_all.lay_et_sup.001</object-name>
    <object-name>et_all.lay_et_sup.002</object-name>
    <object-name>et_all.lay_et_sup.003</object-name>
    <object-name>et_all.lay_et_sup.004</object-name>
    <object-name>et_all.lay_et_supline</object-name>
    <object-name>et_all.lay_et_top</object-name>
    <object-name>et_all.lay_et_top_nos</object-name>
    <object-name>et_all.lay_et_top_tip</object-name>
    <ambient>
            <red>   1.0 </red>
            <green> 1.0 </green>
            <blue>  1.0 </blue>
    </ambient>
    <diffuse>
            <red>   1.0 </red>
            <green> 1.0 </green>
            <blue>  1.0 </blue>
    </diffuse>
    <specular>
            <red>   0.5 </red>
            <green> 0.5 </green>
            <blue>  0.5 </blue>
    </specular>
 </animation>
Last edited by wlbragg on Thu Apr 09, 2020 10:33 pm, edited 1 time in total.
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
Intel i5 3570K AMDRX480
User avatar
wlbragg
 
Posts: 5767
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/AMDRX480

Re: Space Shuttle - Bugfixes

Postby wlbragg » Thu Apr 09, 2020 10:20 pm

OK, it was easy enough to add another et.ac model called etw.ac and duplicate the file external-tank-disconnected.xml to external-tank-disconnectedw.xml with a condition on which to use based on livery index. Beware however that you still can't change the livery once the tank has been separated. I'll try to get it pushed to dev branch after I do a few more tests.
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
Intel i5 3570K AMDRX480
User avatar
wlbragg
 
Posts: 5767
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/AMDRX480

Re: Space Shuttle - Bugfixes

Postby wlbragg » Thu Apr 09, 2020 10:58 pm

White separated ET tank done and pushed to development repository.
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
Intel i5 3570K AMDRX480
User avatar
wlbragg
 
Posts: 5767
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/AMDRX480

PreviousNext

Return to Spaceflight

Who is online

Users browsing this forum: No registered users and 2 guests