Current SPAD.neXt Release: 0.9.12.123

This forum has closed. Please join our Discord Community.

SPAD.neXt online services are no longer available for SPAD.neXt Versions < 0.9.11.5

Script Panel

Discussions about new feature ideas.
To request a new feature please open a ticket
Locked
User avatar
Oz Flyer
Betatester
Posts: 741
Joined: 23 Sep 2015, 10:10
Location: YMMB, Melbourne, Australia
Contact:
Status: Offline

Script Panel

Post by Oz Flyer » 10 Apr 2016, 08:52

Hi Ulrich,
Could you please look at:
1) If the Script Panel Label fields could be a variable that the Script can change.
2) If there could be a text colour field (Red, Green & Yellow).
3) If I really push it maybe text flash mode.
David
OZ Flyer
Near YMMB
40+ year of Flight Siming.
Sim: subLOGIC/Microsoft Flight Sim's/DTG FSX, Microsoft Flight, DTG Filght School/FSW/Train Sim/TSW, ETS2 & ATS.
Hardware: Logitech, Saitek, Arduino 2560's & Leo's, BBI-32, PAC LED.

User avatar
c0nnex
Site Admin
Posts: 5469
Joined: 10 Mar 2015, 21:52
Location: Munich, Germany
Contact:
Status: Offline

Re: Script Panel

Post by c0nnex » 10 Apr 2016, 23:21

1) Strings are not supported as variables ;) and ther is no plan to introduce that. There is no need for it.
2) It is planned that the color changes when the script is active. Didn't make it to release
3) ?? What do you mean?

User avatar
Oz Flyer
Betatester
Posts: 741
Joined: 23 Sep 2015, 10:10
Location: YMMB, Melbourne, Australia
Contact:
Status: Offline

Re: Script Panel

Post by Oz Flyer » 10 Apr 2016, 23:51

Point (1) was so the panel could be used as a Information / status indicator (simulate an advanced BIP) that could display more then just on off status.
Point (3) Be able to have the text or background flash on and off.
David
OZ Flyer
Near YMMB
40+ year of Flight Siming.
Sim: subLOGIC/Microsoft Flight Sim's/DTG FSX, Microsoft Flight, DTG Filght School/FSW/Train Sim/TSW, ETS2 & ATS.
Hardware: Logitech, Saitek, Arduino 2560's & Leo's, BBI-32, PAC LED.

User avatar
c0nnex
Site Admin
Posts: 5469
Joined: 10 Mar 2015, 21:52
Location: Munich, Germany
Contact:
Status: Offline

Re: Script Panel

Post by c0nnex » 10 Apr 2016, 23:57

hmm sounds good. Will allow to program the color of it using the "Change Plate Color" Action

User avatar
c0nnex
Site Admin
Posts: 5469
Joined: 10 Mar 2015, 21:52
Location: Munich, Germany
Contact:
Status: Offline

Re: Script Panel

Post by c0nnex » 11 Apr 2016, 00:37

Implemented in Beta 145

User avatar
Oz Flyer
Betatester
Posts: 741
Joined: 23 Sep 2015, 10:10
Location: YMMB, Melbourne, Australia
Contact:
Status: Offline

Re: Script Panel

Post by Oz Flyer » 11 Apr 2016, 09:22

Hi Ulrich,
I can not find "Change Plate Color" for the Script Panel.
Do you need to have a BIP installed for this to show up?
Or am I just not looking in the wright place.
David
OZ Flyer
Near YMMB
40+ year of Flight Siming.
Sim: subLOGIC/Microsoft Flight Sim's/DTG FSX, Microsoft Flight, DTG Filght School/FSW/Train Sim/TSW, ETS2 & ATS.
Hardware: Logitech, Saitek, Arduino 2560's & Leo's, BBI-32, PAC LED.

User avatar
c0nnex
Site Admin
Posts: 5469
Joined: 10 Mar 2015, 21:52
Location: Munich, Germany
Contact:
Status: Offline

Re: Script Panel

Post by c0nnex » 11 Apr 2016, 14:39

Add Event->Add Action->BIP Plate Color -> Target Script Panel

Should be available everywhere where it's "legal"

User avatar
Oz Flyer
Betatester
Posts: 741
Joined: 23 Sep 2015, 10:10
Location: YMMB, Melbourne, Australia
Contact:
Status: Offline

Re: Script Panel

Post by Oz Flyer » 11 Apr 2016, 14:59

Ok so I have restarted the program and I can now see it at the top of the "Add Action" list but it is always grayed out.
Can you please post a test sample of what is legal so I can work out how to use it?

Thanks
David
David
OZ Flyer
Near YMMB
40+ year of Flight Siming.
Sim: subLOGIC/Microsoft Flight Sim's/DTG FSX, Microsoft Flight, DTG Filght School/FSW/Train Sim/TSW, ETS2 & ATS.
Hardware: Logitech, Saitek, Arduino 2560's & Leo's, BBI-32, PAC LED.

User avatar
c0nnex
Site Admin
Posts: 5469
Joined: 10 Mar 2015, 21:52
Location: Munich, Germany
Contact:
Status: Offline

Re: Script Panel

Post by c0nnex » 11 Apr 2016, 15:38

On the script Panel itself:

Code: Select all

<BaseEvent xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" BoundTo="SCRIPT_1_1" xmlns="http://www.fsgs.com/SPAD">
  <EventDefinitions>
    <EventDefinition Trigger="VALUE">
      <EventConditions>
        <EventCondition ConditionComparator="Equals" ConditionTargetValue="1" ConditionValueSource="LOCAL:SYSTEM READY" />
      </EventConditions>
      <EventActions>
        <EventActionPlateColor Color="GREEN" />
      </EventActions>
    </EventDefinition>
    <EventDefinition Trigger="VALUE">
      <EventConditions>
        <EventCondition ConditionComparator="Equals" ConditionTargetValue="0" ConditionValueSource="LOCAL:SYSTEM READY" />
      </EventConditions>
      <EventActions>
        <EventActionPlateColor Color="RED" />
      </EventActions>
    </EventDefinition>
  </EventDefinitions>
  <Options>
    <Option Key="NAME" Value="Startup" />
  </Options>
</BaseEvent>
Disabled: Is grayed if you have no BIP, fixed in beta 146

Locked