Skip to content

Commit

Permalink
Added RU guide, nullcheck for player ref sent when using seats, fix g…
Browse files Browse the repository at this point in the history
…roundbrake being applied in the air when you leave the plane
  • Loading branch information
Sacchan-VRC committed Jan 1, 2021
1 parent 205da90 commit bd3961b
Show file tree
Hide file tree
Showing 12 changed files with 423 additions and 499 deletions.
77 changes: 77 additions & 0 deletions Guide_RU.mat
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Guide_RU
m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 52e355960b4a0d242b120fd53f7fe426, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
32 changes: 16 additions & 16 deletions SF-1/Animations/Missile/MissileExplode.anim
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ AnimationClip:
m_Curve:
- serializedVersion: 3
time: 0
value: 0
value: 1
inSlope: Infinity
outSlope: Infinity
tangentMode: 103
Expand All @@ -89,16 +89,16 @@ AnimationClip:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_Enabled
path:
classID: 23
attribute: m_IsActive
path: ExplosionParticles
classID: 1
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
value: 0
inSlope: Infinity
outSlope: Infinity
tangentMode: 103
Expand All @@ -109,7 +109,7 @@ AnimationClip:
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_IsActive
path: ExplosionParticles
path: Mesh
classID: 1
script: {fileID: 0}
m_PPtrCurves: []
Expand Down Expand Up @@ -142,14 +142,14 @@ AnimationClip:
customType: 0
isPPtrCurve: 0
- serializedVersion: 2
path: 0
attribute: 3305885265
path: 2940634239
attribute: 2086281974
script: {fileID: 0}
typeID: 23
typeID: 1
customType: 0
isPPtrCurve: 0
- serializedVersion: 2
path: 2940634239
path: 1096652136
attribute: 2086281974
script: {fileID: 0}
typeID: 1
Expand Down Expand Up @@ -239,7 +239,7 @@ AnimationClip:
m_Curve:
- serializedVersion: 3
time: 0
value: 0
value: 1
inSlope: Infinity
outSlope: Infinity
tangentMode: 103
Expand All @@ -249,16 +249,16 @@ AnimationClip:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_Enabled
path:
classID: 23
attribute: m_IsActive
path: ExplosionParticles
classID: 1
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
value: 0
inSlope: Infinity
outSlope: Infinity
tangentMode: 103
Expand All @@ -269,7 +269,7 @@ AnimationClip:
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_IsActive
path: ExplosionParticles
path: Mesh
classID: 1
script: {fileID: 0}
m_EulerEditorCurves: []
Expand Down
44 changes: 22 additions & 22 deletions SF-1/Animations/Missile/MissileExplodeOwner.anim
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ AnimationClip:
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 0.033333335
time: 0.16666667
value: 1
inSlope: Infinity
outSlope: Infinity
Expand Down Expand Up @@ -88,7 +88,7 @@ AnimationClip:
m_Curve:
- serializedVersion: 3
time: 0
value: 0
value: 1
inSlope: Infinity
outSlope: Infinity
tangentMode: 103
Expand All @@ -98,9 +98,9 @@ AnimationClip:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_Enabled
path:
classID: 23
attribute: m_IsActive
path: ExplosionSound
classID: 1
script: {fileID: 0}
- curve:
serializedVersion: 2
Expand All @@ -118,15 +118,15 @@ AnimationClip:
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_IsActive
path: ExplosionSound
path: ExplosionParticles
classID: 1
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
value: 0
inSlope: Infinity
outSlope: Infinity
tangentMode: 103
Expand All @@ -137,7 +137,7 @@ AnimationClip:
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_IsActive
path: ExplosionParticles
path: Mesh
classID: 1
script: {fileID: 0}
m_PPtrCurves: []
Expand Down Expand Up @@ -170,21 +170,21 @@ AnimationClip:
customType: 0
isPPtrCurve: 0
- serializedVersion: 2
path: 0
attribute: 3305885265
path: 484022399
attribute: 2086281974
script: {fileID: 0}
typeID: 23
typeID: 1
customType: 0
isPPtrCurve: 0
- serializedVersion: 2
path: 484022399
path: 2940634239
attribute: 2086281974
script: {fileID: 0}
typeID: 1
customType: 0
isPPtrCurve: 0
- serializedVersion: 2
path: 2940634239
path: 1096652136
attribute: 2086281974
script: {fileID: 0}
typeID: 1
Expand All @@ -196,7 +196,7 @@ AnimationClip:
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 0.033333335
m_StopTime: 0.16666667
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
Expand Down Expand Up @@ -225,7 +225,7 @@ AnimationClip:
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 0.033333335
time: 0.16666667
value: 1
inSlope: Infinity
outSlope: Infinity
Expand Down Expand Up @@ -283,7 +283,7 @@ AnimationClip:
m_Curve:
- serializedVersion: 3
time: 0
value: 0
value: 1
inSlope: Infinity
outSlope: Infinity
tangentMode: 103
Expand All @@ -293,9 +293,9 @@ AnimationClip:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_Enabled
path:
classID: 23
attribute: m_IsActive
path: ExplosionSound
classID: 1
script: {fileID: 0}
- curve:
serializedVersion: 2
Expand All @@ -313,15 +313,15 @@ AnimationClip:
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_IsActive
path: ExplosionSound
path: ExplosionParticles
classID: 1
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
value: 0
inSlope: Infinity
outSlope: Infinity
tangentMode: 103
Expand All @@ -332,7 +332,7 @@ AnimationClip:
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_IsActive
path: ExplosionParticles
path: Mesh
classID: 1
script: {fileID: 0}
m_EulerEditorCurves: []
Expand Down
2 changes: 1 addition & 1 deletion SF-1/Animations/SF-1.controller
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ AnimatorController:
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 0}
- m_Name: startreloading
- m_Name: resupply
m_Type: 9
m_DefaultFloat: 0
m_DefaultInt: 0
Expand Down
2 changes: 2 additions & 0 deletions SF-1/Scripts/EffectsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ private void Start()

PlaneAnimator = VehicleMainObj.GetComponent<Animator>();


//set these values at start in case they haven't been set correctly in editor
if (!EngineControl.HasCanopy) { CanopyClosing(); }
PlaneAnimator.SetBool("gearup", GearUp);
PlaneAnimator.SetBool("flaps", Flaps);
PlaneAnimator.SetBool("hookdown", HookDown);
Expand Down
Loading

0 comments on commit bd3961b

Please sign in to comment.