Board index FlightGear Development Aircraft

DC-3 updating

Questions and discussion about creating aircraft. Flight dynamics, 3d models, cockpits, systems, animation, textures.

Re: DC-3 updating

Postby jentron » Wed Jun 04, 2008 3:40 am

First I ran it as you uploaded it...
Code: Select all
Nasal runtime error: nil used in numeric context
  at /usr/share/games/FlightGear/Aircraft/dc3/Nasal/electrical.nas, line 369
  called from: /usr/share/games/FlightGear/Aircraft/dc3/Nasal/electrical.nas, line 291
  called from: /usr/share/games/FlightGear/Aircraft/dc3/Nasal/electrical.nas, line 390


then I switched in electrical.nas1 and ran it again (we will keep this one, btw)
Code: Select all
Nasal runtime error: No such member: getBoolValue
  at /usr/share/games/FlightGear/Aircraft/dc3/Nasal/electrical.nas, line 302
  called from: /usr/share/games/FlightGear/Aircraft/dc3/Nasal/electrical.nas, line 176
  called from: /usr/share/games/FlightGear/Aircraft/dc3/Nasal/electrical.nas, line 420


Looking at line 302 in electrical.nas(1) it wants controls/lighting/instrument-lights so I added a block to the -set file making this boolean value exist.

Now the ky196s work. Just noticed they are on the main bus not the avionics bus in this electrical system. So you must turn on the battery or the generator for engine[0] or engine[1].

For the KNS80 I added the lines below to electrical.nas (1), somewhere around line 390
Code: Select all
    if(INSTR.getNode("kns-80[0]/serviceable").getBoolValue()){
        load +=bus_volts* 0.05;
        OutPuts.getNode("KNS80",1).setValue(bus_volts);
    }else{
        OutPuts.getNode("KNS80",1).setValue(0.0);
    }

Aircraft: F-4E, Cessna 182RG, Fi-156 Storch, Diamond DA20 Katana and Eclipse, Ercoupe, LZ-129, Gossamer Albatross
Airports: CYKF, CNC4, KHIF, 42U, KOXB, 4MD1
jentron
 
Posts: 453
Joined: Thu Jul 26, 2007 3:41 am
Version: custom
OS: Linux

Re: DC-3 updating

Postby Kcid » Wed Jun 04, 2008 10:53 pm

jentron,

Thanks for pointing me in the right direction.
I've now uploaded the DC-3 with working instruments.
I've also added some better wheels tonight.
The new file is again for download at: http://www.kcid.nl/planes/dc3.zip

I'm going to texture the interior some more tomorrow and I'm also going to try and give it a extra exterior color like this:
http://www.airliners.net/photo/UK---Air/Douglas-C-47A-Dakota/1358140&tbl=photo_info&photo_nr=5&prev_id=1358219&next_id=1358060
Kcid
 
Posts: 40
Joined: Wed Oct 10, 2007 9:16 am
Location: Netherlands

Re: DC-3 updating

Postby YourDailyTsunami » Thu Jun 05, 2008 7:25 pm

Link doesn't seem to work?
all the booze is free, airline goin' broke, here come the ladies with another jack'n'coke... :P
YourDailyTsunami
 
Posts: 584
Joined: Wed Dec 12, 2007 8:01 pm
Location: Europe, mostly
Callsign: Tsunami

Re: DC-3 updating

Postby Kcid » Fri Jun 06, 2008 7:24 am

You caught me on the moment I was upgrading my server :) it was indeed down yesterday afternoon. It up again.

Regards,
Dick
Kcid
 
Posts: 40
Joined: Wed Oct 10, 2007 9:16 am
Location: Netherlands

Re: DC-3 updating

Postby YourDailyTsunami » Fri Jun 06, 2008 8:30 am

Will download it as soon as I get home :D
all the booze is free, airline goin' broke, here come the ladies with another jack'n'coke... :P
YourDailyTsunami
 
Posts: 584
Joined: Wed Dec 12, 2007 8:01 pm
Location: Europe, mostly
Callsign: Tsunami

Re: DC-3 updating

Postby YourDailyTsunami » Sat Jun 07, 2008 12:01 pm

I still got the problem that I have to convert glass.png and turn.png into .rgb files and after I do that it sais "object face not found" and aborts :(
all the booze is free, airline goin' broke, here come the ladies with another jack'n'coke... :P
YourDailyTsunami
 
Posts: 584
Joined: Wed Dec 12, 2007 8:01 pm
Location: Europe, mostly
Callsign: Tsunami

Re: DC-3 updating

Postby MD-Terp » Mon Jun 09, 2008 9:18 pm

Do I understand correctly that this is not at all compatible with 1.0.0? :(
Cheers,
-Rob.

"Retired" from FlightGear involvement as of July 2010.
viewtopic.php?f=3&t=8809
User avatar
MD-Terp
 
Posts: 2410
Joined: Wed Jan 23, 2008 7:37 am
Location: Baltimore, Maryland, USA
Callsign: N531MD, AVA0025

Re: DC-3 updating

Postby Kcid » Tue Jun 10, 2008 3:58 pm

The animations are indeed not compatible with 1.0 since they are for OSG. You can see the new instruments and exterior however.
Kcid
 
Posts: 40
Joined: Wed Oct 10, 2007 9:16 am
Location: Netherlands

Re: DC-3 updating

Postby YourDailyTsunami » Tue Jun 10, 2008 4:25 pm

MD-Terp wrote:Do I understand correctly that this is not at all compatible with 1.0.0? :(


No, it doesn't seem to be compatible (I get errors when I try to start it :( )
all the booze is free, airline goin' broke, here come the ladies with another jack'n'coke... :P
YourDailyTsunami
 
Posts: 584
Joined: Wed Dec 12, 2007 8:01 pm
Location: Europe, mostly
Callsign: Tsunami

Re: DC-3 updating

Postby YourDailyTsunami » Tue Jun 10, 2008 4:25 pm

MD-Terp wrote:Do I understand correctly that this is not at all compatible with 1.0.0? :(


No, it doesn't seem to be compatible (I get errors when I try to start it :( )
all the booze is free, airline goin' broke, here come the ladies with another jack'n'coke... :P
YourDailyTsunami
 
Posts: 584
Joined: Wed Dec 12, 2007 8:01 pm
Location: Europe, mostly
Callsign: Tsunami

Previous

Return to Aircraft

Who is online

Users browsing this forum: No registered users and 15 guests