Skip to content

Commit

Permalink
Add reviva config to switch between IVA types
Browse files Browse the repository at this point in the history
  • Loading branch information
kurgut committed Jan 4, 2024
1 parent de517ba commit e22ad39
Showing 1 changed file with 74 additions and 0 deletions.
74 changes: 74 additions & 0 deletions GameData/ECS_IVA/Patches/Reviva.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
// seatExternalCmd_IVA:
// - ECSIVA_1_orbiter_lander_low_tech
// - ECSIVA_2_plane_low_tech


@PART[seatExternalCmd_IVA]:NEEDS[B9PartSwitch&Reviva]:FOR[ECS_IVA]
{
MODULE
{
name = ModuleIVASwitch
internalName = ECSIVA_1_orbiter_lander_low_tech
}
}


@PART[seatExternalCmd_IVA]:NEEDS[B9PartSwitch&Reviva]:FOR[ECS_IVA]
{

@INTERNAL {
@name = ECSIVA_1_orbiter_lander_low_tech
}

MODULE
{
name = ModuleB9PartSwitch
moduleID = IVASwitch
switcherDescription = IVA
switcherDescriptionPlural = IVAs
switchInFlight = true
uiGroupName = IVASwitch
uiGroupDisplayName = IVA Switch

SUBTYPE
{
name = Orbiter low tech
primaryColor = White
secondaryColor = White
descriptionSummary = Orbiter low tech
descriptionDetail = Orbiter low tech.\n<color=green>Low Tech</color>

MODULE
{
IDENTIFIER
{
name = ModuleIVASwitch
}
DATA
{
internalName = ECSIVA_1_orbiter_lander_low_tech
}
}
}
SUBTYPE
{
name = plane_low_tech
primaryColor = Blue
secondaryColor = White
descriptionSummary = plane_low_tech
descriptionDetail = plane_low_tech.\n<color=green>Low Tech</color>

MODULE
{
IDENTIFIER
{
name = ModuleIVASwitch
}
DATA
{
internalName = ECSIVA_2_plane_low_tech
}
}
}
}
}

0 comments on commit e22ad39

Please sign in to comment.