Skip to content

Commit

Permalink
Merge pull request #42 from Vivero/version-3
Browse files Browse the repository at this point in the history
Add some hands
  • Loading branch information
Vivero authored May 16, 2018
2 parents 648f520 + 1a41b43 commit cbef2a3
Show file tree
Hide file tree
Showing 132 changed files with 2,650 additions and 1,010 deletions.
15 changes: 15 additions & 0 deletions KerbalVR/Assets/KerbalVR.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@INTERNAL[*]:HAS[@PROP[ALCORThrottleCtrl]]
{
@PROP[ALCORThrottleCtrl]
{
@name = KVR_ThrottleControl
}
}

@INTERNAL[*]:HAS[@PROP[ALCORRotationCtrl]]
{
@PROP[ALCORRotationCtrl]
{
@name = KVR_RotationControl
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
PROP
{
name = KVRPB_PrecisionMode-SH02-B2

// MODEL ASSEMBLY --------------------------------------------------------------
// Button
MODEL
{
model = KerbalVR/Assets/Props/Control/Push_Button_Modular/models/pb_SplitHorizontal_Cap
texture = pb_Full_Cap_Black,KerbalVR/Assets/Props/Control/Push_Button_Modular/models/pb_Full_Cap_Black
texture = Switch_TUMBLEDiffuse,KerbalVR/Assets/Props/Control/Push_Button_Modular/models/Switch_TUMBLEDiffuse
}

// Backlight
MODEL
{
model = KerbalVR/Assets/Props/Control/Push_Button_Modular/models/pb_Bcklt_2
texture = Switch_TUMBLEDiffuse,KerbalVR/Assets/Props/Control/Push_Button_Modular/models/Switch_TUMBLEDiffuse
}

// Collider
MODEL
{
model = KerbalVR/Assets/Props/Control/Push_Button_Modular/models/pb_Collider
}

// -----------------------------------------------------------------------------
// action
MODULE
{
name = KVR_PushButton

coloredObject = GlowBorder

KVR_BUTTON
{
type = Latching
animationName = pb_PushAnim
colliderTransformName = pb_Collider
outputSignal = precision_mode
sound = KerbalVR/Assets/Props/Sounds/pb_Push02
}

KVR_LABEL
{
text = PRECISION\nMODE
parentTransformName = PanelTextTop_bklt
fontSize = 0.08
fontStyle = Bold
textAlignment = Bottom
rectPivot = 0.5, 0
}

KVR_LABEL
{
text = ON
parentTransformName = Legend_Upper
fontSize = 0.08
fontStyle = Normal
textAlignment = Center
positionOffset = 0, 0, 0.000050018
}

KVR_LABEL
{
text = OFF
parentTransformName = Legend_Lower
fontSize = 0.08
fontStyle = Normal
textAlignment = Center
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
PROP
{
name = KVRPB_RCS-SH02-B6-C2

// MODEL ASSEMBLY --------------------------------------------------------------
// Button
MODEL
{
model = KerbalVR/Assets/Props/Control/Push_Button_Modular/models/pb_SplitHorizontal_Cap
texture = pb_Full_Cap_Black,KerbalVR/Assets/Props/Control/Push_Button_Modular/models/pb_Full_Cap_Black
texture = Switch_TUMBLEDiffuse,KerbalVR/Assets/Props/Control/Push_Button_Modular/models/Switch_TUMBLEDiffuse
}

// Backlight
MODEL
{
model = KerbalVR/Assets/Props/Control/Push_Button_Modular/models/pb_Bcklt_6
texture = Switch_TUMBLEDiffuse,KerbalVR/Assets/Props/Control/Push_Button_Modular/models/Switch_TUMBLEDiffuse
}

// Cover
MODEL
{
model = KerbalVR/Assets/Props/Control/Push_Button_Modular/models/pb_Cover02
texture = pb_Glass_Diffuse,KerbalVR/Assets/Props/Control/Push_Button_Modular/models/pb_Glass_Diffuse
texture = Switch_TUMBLEDiffuse,KerbalVR/Assets/Props/Control/Push_Button_Modular/models/Switch_TUMBLEDiffuse
}

// Collider
MODEL
{
model = KerbalVR/Assets/Props/Control/Push_Button_Modular/models/pb_Collider
}

// -----------------------------------------------------------------------------
// action
MODULE
{
name = KVR_PushButton

coloredObject = GlowBorder

KVR_BUTTON
{
type = Latching
animationName = pb_PushAnim
colliderTransformName = pb_Collider
sound = KerbalVR/Assets/Props/Sounds/pb_Push02
}

KVR_COVER
{
animationName = pb_Cover_Anim
colliderTransformName = pb_Cover_Collider
sound = KerbalVR/Assets/Props/Sounds/pb_Cover02
}

KVR_LABEL
{
text = RCS
parentTransformName = PanelTextTop_cover
fontSize = 0.14
fontStyle = Bold
textAlignment = Baseline
}

KVR_LABEL
{
text = ON
parentTransformName = Legend_Upper
fontSize = 0.08
fontStyle = Normal
textAlignment = Center
positionOffset = 0, 0, 0.000050018
}

KVR_LABEL
{
text = OFF
parentTransformName = Legend_Lower
fontSize = 0.08
fontStyle = Normal
textAlignment = Center
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
PROP
{
name = KVR_RotationControl

// ----- Stick Rotation Module

MODULE
{
name = KVR_ControlStick
transformStickCollider = StickCollider
transformStick = PitchObj

KVR_EMISSIVE
{
inputSignal = local
color = 1, 1, 1, 1
objectName = ThrottleBoxLight
objectName = StickLightObj
}
}
}
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
PROP
{
name = KVR_ThrottleControl

// ----- Throttle Module

MODULE
{
name = KVR_Throttle

transformHandle = throttleLever
transformHandleCollider = throttleLeverCollider
transformHandleAngleOffset = 25.1593

KVR_EMISSIVE
{
inputSignal = local
color = 1, 0, 0, 1
objectName = ThrottleBoxLight
objectName = HandleLightsObj
}
}
}
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
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
PROP
{
name = KVRTS_SAS_T2-G2-B2-D

// MODEL ASSEMBLY ----------------------------------------------------------------------
// Base
MODEL
{
model = KerbalVR/Assets/Props/Control/Toggle_Switch_Modular/models/TgglBase
texture = Switch_TUMBLEDiffuse,KerbalVR/Assets/Props/Control/Toggle_Switch_Modular/models/Switch_TUMBLEDiffuse
}

// Lever
MODEL
{
model = KerbalVR/Assets/Props/Control/Toggle_Switch_Modular/models/TgglLever_Type_2_ANIM
texture = Switch_TUMBLEDiffuse,KerbalVR/Assets/Props/Control/Toggle_Switch_Modular/models/Switch_TUMBLEDiffuse
}

// Guard
MODEL
{
model = KerbalVR/Assets/Props/Control/Toggle_Switch_Modular/models/TgglGuard_Type_2
texture = Switch_TUMBLEDiffuse,KerbalVR/Assets/Props/Control/Toggle_Switch_Modular/models/Switch_TUMBLEDiffuse
}

// Backlight
MODEL
{
model = KerbalVR/Assets/Props/Control/Toggle_Switch_Modular/models/TgglBase_Bcklt_2
texture = Switch_TUMBLEDiffuse,KerbalVR/Assets/Props/Control/Toggle_Switch_Modular/models/Switch_TUMBLEDiffuse
}

// Collider
MODEL
{
model = KerbalVR/Assets/Props/Control/Toggle_Switch_Modular/models/TgglCollider_DBL_TALL
}

// Action
MODULE
{
name = KVR_ToggleSwitch

KVR_SWITCH_TWO_STATE
{
animationName = SwitchTumbleAnim
colliderDownTransformName = SwitchColliderDOWN
colliderUpTransformName = SwitchColliderUP
outputSignal = sas
sound = KerbalVR/Assets/Props/Sounds/RPB01
}

KVR_LABEL
{
text = SAS
parentTransformName = TextTopObj
fontSize = 0.15
fontStyle = Bold
textAlignment = Top
rectPivot = 0.5, 1
positionOffset = 0.02525884, 0, -0.001
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
PROP
{
name = KVRTS_Stage_T1-G0-B4-C1Y-S

// MODEL ASSEMBLY ----------------------------------------------------------------------
// Base
MODEL
{
model = KerbalVR/Assets/Props/Control/Toggle_Switch_Modular/models/TgglBase
texture = Switch_TUMBLEDiffuse,KerbalVR/Assets/Props/Control/Toggle_Switch_Modular/models/Switch_TUMBLEDiffuse
}

// Lever
MODEL
{
model = KerbalVR/Assets/Props/Control/Toggle_Switch_Modular/models/TgglLever_Type_1_ANIM
texture = Switch_TUMBLEDiffuse,KerbalVR/Assets/Props/Control/Toggle_Switch_Modular/models/Switch_TUMBLEDiffuse
}

// Guard
MODEL
{
model = KerbalVR/Assets/Props/Control/Toggle_Switch_Modular/models/TgglGuard_Type_0
texture = Switch_TUMBLEDiffuse,KerbalVR/Assets/Props/Control/Toggle_Switch_Modular/models/Switch_TUMBLEDiffuse
}

// Backlight
MODEL
{
model = KerbalVR/Assets/Props/Control/Toggle_Switch_Modular/models/TgglBase_Bcklt_4
texture = Switch_TUMBLEDiffuse,KerbalVR/Assets/Props/Control/Toggle_Switch_Modular/models/Switch_TUMBLEDiffuse
}

// Cover
MODEL
{
model = KerbalVR/Assets/Props/Control/Toggle_Switch_Modular/models/TgglCover_Type1
texture = Tggl_COVER_Diffuse,KerbalVR/Assets/Props/Control/Toggle_Switch_Modular/models/Tggl_COVER_Diffuse
}

// Collider
MODEL
{
model = KerbalVR/Assets/Props/Control/Toggle_Switch_Modular/models/TgglCollider_SNGL
}

// Action
MODULE
{
name = KVR_ToggleSwitch

KVR_SWITCH_MOMENTARY
{
animationName = SwitchTumbleAnim
colliderTransformName = SwitchCollider
outputSignal = stage
}

KVR_COVER
{
animationName = TgglCover_ANIM
colliderTransformName = CoverCollider
sound = KerbalVR/Assets/Props/Sounds/OpenSwitchCover
}

KVR_LABEL
{
text = STAGE
parentTransformName = TextTopObj
fontSize = 0.15
fontStyle = Bold
textAlignment = Top
rectPivot = 0.5, 1
positionOffset = 0.02525884, 0, -0.001
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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.
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.
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
PROP
{
name = DigitalIndicator_Altitude

// digital indicator module
MODULE
{
name = KVR_DigitalIndicator
labelDisplayText = ALTITUDE
labelDisplayTransform = DigitIndicatorNameObj
labelDisplayOffset = 0, 0, -0.001
labelDisplaySize = 0.093, 0.025
labelDisplayFontStyle = Bold
labelDisplayPivot = 0, 1
labelDisplayFontSize = 0.08
labelDisplayFont = LiberationSans SDF

digitDisplayTransform = DigitIndicatorNameObj
digitDisplayOffset = 0, -0.008, -0.001
digitDisplaySize = 0.085, 0.025
digitDisplayPivot = 0, 1
digitDisplayFontSize = 0.2
digitDisplayFont = JD-LCD_rounded SDF

inputSignal = altitude
}
}
Loading

0 comments on commit cbef2a3

Please sign in to comment.