PDRS development

SiameseCat

Addon Developer
Addon Developer
Joined
Feb 9, 2008
Messages
1,699
Reaction score
1
Points
0
Location
Ontario
DaveS: I've attached the MG_Atlantis DLL I'm using ,which is working for me. Try it on your computer and see if it works.
 

Attachments

  • MG_Atlantis.zip
    294.2 KB · Views: 357

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,437
Reaction score
689
Points
203
DaveS: I've attached the MG_Atlantis DLL I'm using ,which is working for me. Try it on your computer and see if it works.
Works nicely. Anything you might have forgotten to check in? Or any special compiler settings?
 

SiameseCat

Addon Developer
Addon Developer
Joined
Feb 9, 2008
Messages
1,699
Reaction score
1
Points
0
Location
Ontario
I'm not using any special compiler settings. I'll check if there's anything I forgot to check in.


-----Posted Added-----


I've checked in a few changes to the code, but there's nothing new that was required for the other stuff to work.
 

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,918
Reaction score
216
Points
138
Location
Cape
Hmmm, works nicely in GMAX. Not sure why it won't work in Orbiter.

Make sure the new C3.dds is in your texture/SSU directory. It was put in the textures2/Atlantis one by mistake.
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,437
Reaction score
689
Points
203
Make sure the new C3.dds is in your texture/SSU directory. It was put in the textures2/Atlantis one by mistake.
I managed to get it working in the clean install. But no joy on the switches.


-----Posted Added-----


And the code is the same as you used before when we just had the switches, but not the guards right? Could you try coding just the switches, but no guards? Maybe then we could rule ut whether the guard code is at fault or not.

Or maybe you could somehow check whether the guard code actually works by detecting whether or not it has actually triggered code, but not the visuals.
 

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,918
Reaction score
216
Points
138
Location
Cape
It's not my code, I can't code. :(
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,437
Reaction score
689
Points
203
It's not my code, I can't code. :(
Sorry for the confusion, that was for SiameseCat. Is the A6 and A7 panel switches supposed to be untextured?
 

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,918
Reaction score
216
Points
138
Location
Cape
No, you probably don't have the new A6A7.dds in the Textures/SSU folder.
 

SiameseCat

Addon Developer
Addon Developer
Joined
Feb 9, 2008
Messages
1,699
Reaction score
1
Points
0
Location
Ontario
I've added some debugging code. When you click on a switch you should see 'Updating PanelA8' displayed. This will also be written to the log.
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,437
Reaction score
689
Points
203
No, you probably don't have the new A6A7.dds in the Textures/SSU folder.
OK. How about attaching it here and I'll get it uploaded.

Anything else that has been updated that you feel should be uploaded for everyone to use?


-----Posted Added-----


I've added some debugging code. When you click on a switch you should see 'Updating PanelA8' displayed. This will also be written to the log.
Well, didn't work. Only got a buch of Updating Panel A8 messages in the log, never in the sim.
 

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,918
Reaction score
216
Points
138
Location
Cape
Here a couple files I had trouble with when downloading from SourceForge.
 

Attachments

  • SSUstuff.zip
    495.6 KB · Views: 343

SiameseCat

Addon Developer
Addon Developer
Joined
Feb 9, 2008
Messages
1,699
Reaction score
1
Points
0
Location
Ontario
Try clicking on the RMS POWER switch now. In the log, you should see 'Updating PanelA8', followed by 'SWITCH16: ' and 2 numbers, indicating the position of the switch and switch cover. The second number should be 0 if the cover is raised.
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,437
Reaction score
689
Points
203
Try clicking on the RMS POWER switch now. In the log, you should see 'Updating PanelA8', followed by 'SWITCH16: ' and 2 numbers, indicating the position of the switch and switch cover. The second number should be 0 if the cover is raised.
Hmm this is what I get from clicking around on it:

Updating PanelA8
SWITCH16: 1 0
Updating PanelA8
SWITCH16: 2 0
Updating PanelA8
SWITCH16: 1 0
Updating PanelA8
SWITCH16: 0 0
Updating PanelA8
SWITCH16: 1 0
Updating PanelA8
SWITCH16: 2 0
 

SiameseCat

Addon Developer
Addon Developer
Joined
Feb 9, 2008
Messages
1,699
Reaction score
1
Points
0
Location
Ontario
It looks like the switch position is being set correctly, but the animations are not being updated.


-----Posted Added-----


Try it now. Instead of 'Updating Panel A8', you should see 'Switch positions updated'.
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,437
Reaction score
689
Points
203
Try it now. Instead of 'Updating Panel A8', you should see 'Switch positions updated'.
See it both in the sim(briefly) and a bunch of times in the log. But no action on the visuals.
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,437
Reaction score
689
Points
203
Try it now and post the log messages you get.
This is what I get:

Cover positions updated
SWITCH16: 1 0
Cover positions updated
SWITCH16: 0 0
Cover positions updated
SWITCH16: 1 0
Cover positions updated
SWITCH16: 2 0
Cover positions updated
 

SiameseCat

Addon Developer
Addon Developer
Joined
Feb 9, 2008
Messages
1,699
Reaction score
1
Points
0
Location
Ontario
Try the latest update and post the log. This is a really weird bug; the SetAnimation function seems to be getting called with the correct parameters, but the animation is not being updated.
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,437
Reaction score
689
Points
203
Try the latest update and post the log. This is a really weird bug; the SetAnimation function seems to be getting called with the correct parameters, but the animation is not being updated.
Now this is what I get:

Cover positions updated 0.000000
SWITCH16: 1 0
Cover positions updated 0.000000
SWITCH16: 2 0
Cover positions updated 0.000000
SWITCH16: 1 0
Cover positions updated 0.000000
SWITCH16: 0 0
Cover positions updated 0.000000
SWITCH16: 1 0
Cover positions updated 0.000000
SWITCH16: 2 0
Cover positions updated 0.000000
SWITCH16: 1 0
Cover positions updated 0.000000
SWITCH16: 0 0
Cover positions updated 0.000000

Shouldn't some of those 0.00000's indicate 1.00000 for cover open?
 
Top