Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
kurgut authored Dec 26, 2023
1 parent ae4dffe commit 6b021d1
Show file tree
Hide file tree
Showing 16 changed files with 498 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
PROP
{
name = KGT_tggl_SEAT_POSITION_T4M-S

// Base
MODEL
{
model = ASET/ASET_Props/Control/Switch_Toggle_Modular/models/TgglBase
texture = Switch_TUMBLEDiffuse,ASET/ASET_Props/Control/Switch_Tumble/Switch_TUMBLEDiffuse
}

// Lever
MODEL
{
model = ASET/ASET_Props/Control/Switch_Toggle_Modular/models/TgglLever_Type_4
texture = Switch_TUMBLEDiffuse,ASET/ASET_Props/Control/Switch_Tumble/Switch_TUMBLEDiffuse
texture = Tggl_Cap_Diffuse,ASET/ASET_Props/Control/Switch_Toggle_Modular/models/Tggl_Cap_Diffuse
}

// Guard
// MODEL
// {
// model = ASET/ASET_Props/Control/Switch_Toggle_Modular/models/TgglGuard_Type_2
// texture = Switch_TUMBLEDiffuse,ASET/ASET_Props/Control/Switch_Tumble/Switch_TUMBLEDiffuse
// }

// Backlight
// MODEL
// {
// model = ASET/ASET_Props/Control/Switch_Toggle_Modular/models/TgglBase_Bcklt_14
// texture = Switch_TUMBLEDiffuse,ASET/ASET_Props/Control/Switch_Tumble/Switch_TUMBLEDiffuse
// }

// Collider
MODEL
{
model = ASET/ASET_Props/Control/Switch_Toggle_Modular/models/TgglCollider_SNGL
}

// Switcher input ========================================================================
// TOGGLE
MODULE
{
name = JSIActionGroupSwitch
switchTransform = SwitchCollider
actionName = dummy
perPodPersistenceName = KGT_COCKPIT_SEAT_POSITION
perPodPersistenceIsGlobal = true
switchSound = ASET/ASET_Props/Sounds/Tumbler3
}

// Switcher Animation ====================================================================
MODULE
{
name = JSIVariableAnimator
refreshRate = 1

VARIABLESET
{
controlledTransform = SwitchGrp
localRotationStart = 30,0,0
localRotationEnd = -30,0,0
variableName = PERSISTENT_KGT_COCKPIT_SEAT_POSITION
scale = 0,1
longPath = yes
maxRateChange = 7.0
}
}

// labels =================================================================================
// NAME
MODULE
{
name = JSILabel
transformName = TextTopObj
alignment = Center
anchor = LowerCenter
transformOffset = 0.02526,-0.010
fontName = Arial
fontSize = 6.5
variableName = CUSTOM_ALCOR_BACKLIGHT_ON
emissive = active
positiveColor = COLOR_ASET_SWITCHER_NAME_POSITIVECOLOR
zeroColor = COLOR_ASET_SWITCHER_NAME_ZEROCOLOR
negativeColor = COLOR_ASET_SWITCHER_NAME_NEGATIVECOLOR
labelText = SEAT POS.
}

// UP / DOWN
MODULE
{
name = JSILabel
transformName = TextTopObj
alignment = Center
anchor = MiddleCenter
transformOffset = 0.02526,-0.047
fontName = Arial
fontSize = 4.6
lineSpacing = 0.95
variableName = CUSTOM_ALCOR_BACKLIGHT_ON
emissive = active
positiveColor = COLOR_ASET_SWITCHER_STATE_POSITIVECOLOR
zeroColor = COLOR_ASET_SWITCHER_STATE_ZEROCOLOR
negativeColor = COLOR_ASET_SWITCHER_STATE_NEGATIVECOLOR
labelText = [b]UP$$$▲$$$ $$$ $$$ $$$ $$$ ▼$$$DOWN[/b]
}

// Switcher Backlight ====================================================================
// MODULE
// {
// name = JSICallbackAnimator
// variableName = CUSTOM_ALCOR_BACKLIGHT_ON

// VARIABLESET
// {
// coloredObject = GlowBorder
// passiveColor = 0,0,0,255
// activeColor = COLOR_ASET_SWITCHER_BORDER_POSITIVECOLOR
// scale = 0.5,1.1
// }

// VARIABLESET
// {
// coloredObject = switchCapObj
// passiveColor = 0,0,0,255
// activeColor = COLOR_ASET_SWITCHER_MARK_POSITIVECOLOR
// scale = 0.5,1.1
// }
// }
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
PROP
{
name = KGT_tggl_SEAT_ROTATION_COPILOT_WARBIRD_T4M-S

// MODEL ASSEMBLY ----------------------------------------------------------------------

// Base

MODEL
{
model = ASET/ASET_Props/Control/Switch_Toggle_Modular/models/TgglBase
texture = Switch_TUMBLEDiffuse,ASET/ASET_Props/Control/Switch_Tumble/Switch_TUMBLEDiffuse
}

// Lever

MODEL
{
model = ASET/ASET_Props/Control/Switch_Toggle_Modular/models/TgglLever_Type_4
texture = Switch_TUMBLEDiffuse,ASET/ASET_Props/Control/Switch_Tumble/Switch_TUMBLEDiffuse
texture = Tggl_Cap_Diffuse,ASET/ASET_Props/Control/Switch_Toggle_Modular/models/Tggl_Cap_Diffuse
}

// Guard
//
// MODEL
// {
// model = ASET/ASET_Props/Control/Switch_Toggle_Modular/models/TgglGuard_Type_4
// texture = Switch_TUMBLEDiffuse,ASET/ASET_Props/Control/Switch_Tumble/Switch_TUMBLEDiffuse
// }
//
// Backlight
//
// MODEL
// {
// model = ASET/ASET_Props/Control/Switch_Toggle_Modular/models/TgglBase_Bcklt_2
// texture = Switch_TUMBLEDiffuse,ASET/ASET_Props/Control/Switch_Tumble/Switch_TUMBLEDiffuse
// }

// Collider

MODEL
{
model = ASET/ASET_Props/Control/Switch_Toggle_Modular/models/TgglCollider_SNGL
}

// switcher input ---------------------------------------------------------------------

// TOGGLE

MODULE
{
name = JSIActionGroupSwitch
switchTransform = SwitchCollider
actionName = dummy
perPodPersistenceName = KGT_COCKPIT_SEAT_ROTATION
perPodPersistenceIsGlobal = true
switchSound = ASET/ASET_Props/Sounds/Tumbler3
}

// Switcher Animation -------------------------------------------------------------------------------

MODULE
{
name = JSIVariableAnimator
refreshRate = 1

VARIABLESET
{
controlledTransform = SwitchGrp
localRotationStart = 30,0,0
localRotationEnd = -30,0,0
variableName = PERSISTENT_KGT_COCKPIT_SEAT_ROTATION
scale = 0,1
longPath = yes
maxRateChange = 7.0
}
}

// labels -------------------------------------------------------------------------------------

// NAME

MODULE
{
name = JSILabel
transformName = TextTopObj
alignment = Center
anchor = LowerCenter
transformOffset = 0.02526,-0.010
fontName = Arial
fontSize = 6.5
variableName = CUSTOM_ALCOR_BACKLIGHT_ON
emissive = active
positiveColor = COLOR_ASET_SWITCHER_NAME_POSITIVECOLOR
zeroColor = COLOR_ASET_SWITCHER_NAME_ZEROCOLOR
negativeColor = COLOR_ASET_SWITCHER_NAME_NEGATIVECOLOR
labelText = SEAT ROT.
}

// UP / DOWN

MODULE
{
name = JSILabel
transformName = TextTopObj
alignment = Center
anchor = MiddleCenter
transformOffset = 0.02526,-0.047
fontName = Arial
fontSize = 4.6
lineSpacing = 0.95
variableName = CUSTOM_ALCOR_BACKLIGHT_ON
emissive = active
positiveColor = COLOR_ASET_SWITCHER_STATE_POSITIVECOLOR
zeroColor = COLOR_ASET_SWITCHER_STATE_ZEROCOLOR
negativeColor = COLOR_ASET_SWITCHER_STATE_NEGATIVECOLOR
labelText = [b]BACK$$$▲$$$ $$$ $$$ $$$ $$$ ▼$$$FWD[/b]
}


// Switcher Backlight ------------------------------------------------------------------

// MODULE
// {
// name = JSICallbackAnimator
// variableName = CUSTOM_ALCOR_BACKLIGHT_ON
//
// VARIABLESET
// {
// coloredObject = GlowBorder
// passiveColor = 0,0,0,255
// activeColor = COLOR_ASET_SWITCHER_BORDER_POSITIVECOLOR
// scale = 0.5,1.1
// }
//
// VARIABLESET
// {
// coloredObject = switchCapObj
// passiveColor = 0,0,0,255
// activeColor = COLOR_ASET_SWITCHER_MARK_POSITIVECOLOR
// scale = 0.5,1.1
// }
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions GameData/ECS_IVA/Props/ASET/Control/ThrottleCtrl/ThrottleCtrl.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
//removed wirings from the model

PROP
{
name = KGT_ALCORThrottleCtrl

// ------Stock throttle module

MODULE
{
name = InternalLeverThrottle
}

// ----- Stick rotation

MODULE
{
name = JSIVariableAnimator
refreshRate = 1
scale = 0,1
variableName = THROTTLE
controlledTransform = throttleLever_001
localRotationStart = 0,0,0
localRotationEnd = 75,0,0

}

// ----- Backlight emissive

MODULE
{
name = JSICallbackAnimator
variableName = CUSTOM_ALCOR_BACKLIGHT_ON

VARIABLESET
{
coloredObject = ThrottleBoxLight
passiveColor = 0,0,0,255
activeColor = COLOR_ASET_SWITCHER_MARK_POSITIVECOLOR
scale = 0.5,1.1
}
VARIABLESET
{
coloredObject = HandleLightsObj
passiveColor = 0,0,0,255
activeColor = COLOR_ASET_SWITCHER_MARK_POSITIVECOLOR
scale = 0.5,1.1
}
}
}
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6b021d1

Please sign in to comment.