Commit 4579cd4c authored by radow's avatar radow
Browse files

stepsounds in cutscenes

parent e7b8af94
......@@ -14,6 +14,7 @@ public class Cutscene_Throne : MonoBehaviour
public Image fadescreen;
public CameraShake cam;
public AudioSource step;
public AudioSource explosion;
public float nextin;
......@@ -47,14 +48,17 @@ public class Cutscene_Throne : MonoBehaviour
case 0:
player = 0;
nextin = 1;
step.Play();
break;
case 1:
player = 1;
nextin = 1;
step.Play();
break;
case 2:
player = 2;
nextin = 1;
step.Play();
break;
case 3:
player = 3;
......@@ -78,7 +82,9 @@ public class Cutscene_Throne : MonoBehaviour
break;
case 7:
player = 6;
step.Play();
nextin = .4f;
step.Play();
break;
case 8:
player = 6;
......@@ -87,7 +93,9 @@ public class Cutscene_Throne : MonoBehaviour
break;
case 9:
player = 7;
step.Play();
nextin = .4f;
step.Play();
break;
case 10:
player = 7;
......@@ -96,8 +104,10 @@ public class Cutscene_Throne : MonoBehaviour
break;
case 11:
player = 8;
step.Play();
nextin = 1;
barrel = 2;
step.Play();
break;
case 12:
player = 9;
......@@ -115,12 +125,14 @@ public class Cutscene_Throne : MonoBehaviour
nextin = 1;
barrel = 2;
fire = 1;
step.Play();
break;
case 15:
player = 11;
nextin = 1;
barrel = 2;
fire = 2;
step.Play();
break;
case 16:
explosion.Play();
......
......@@ -6479,6 +6479,7 @@ GameObject:
- component: {fileID: 352377411}
- component: {fileID: 352377410}
- component: {fileID: 352377412}
- component: {fileID: 352377413}
m_Layer: 0
m_Name: Cutscene
m_TagString: Untagged
......@@ -6521,6 +6522,7 @@ MonoBehaviour:
subtitles: {fileID: 1021711903}
fadescreen: {fileID: 863097044}
cam: {fileID: 963194229}
step: {fileID: 352377413}
explosion: {fileID: 352377412}
nextin: 1
--- !u!4 &352377411
......@@ -6650,6 +6652,102 @@ AudioSource:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!82 &352377413
AudioSource:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 352377409}
m_Enabled: 1
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: ec248a47da263894086d0a68992a9c6d, type: 3}
m_PlayOnAwake: 0
m_Volume: 1
m_Pitch: 1
Loop: 0
Mute: 0
Spatialize: 0
SpatializePostEffects: 0
Priority: 128
DopplerLevel: 1
MinDistance: 1
MaxDistance: 500
Pan2D: 0
rolloffMode: 0
BypassEffects: 0
BypassListenerEffects: 0
BypassReverbZones: 0
rolloffCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
panLevelCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
spreadCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
reverbZoneMixCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!1 &364842698
GameObject:
m_ObjectHideFlags: 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment