Update SurvivalIsland
This commit is contained in:
1 parent
cbf94c4b2e
commit
24ccea0748
136 files changed
+928
-385
No files matched your search
@@ -3,100 +3,100 @@ guid: ce040982d3c2c4754a6d5d6ccda0cdd8
|
||||
ModelImporter:
|
||||
serializedVersion: 16
|
||||
fileIDToRecycleName:
|
||||
100000: rock8
|
||||
100002: rock7
|
||||
100004: rock9
|
||||
100006: rock5
|
||||
100000: //RootNode
|
||||
100002: rock1
|
||||
100004: rock2
|
||||
100006: rock3
|
||||
100008: rock4
|
||||
100010: rock6
|
||||
100012: rock2
|
||||
100014: rock1
|
||||
100016: rock3
|
||||
100018: stick13
|
||||
100020: stick12
|
||||
100022: stick14
|
||||
100024: stick10
|
||||
100026: stick9
|
||||
100028: stick11
|
||||
100030: stick7
|
||||
100032: stick6
|
||||
100034: stick8
|
||||
100010: rock5
|
||||
100012: rock6
|
||||
100014: rock7
|
||||
100016: rock8
|
||||
100018: rock9
|
||||
100020: stick1
|
||||
100022: stick10
|
||||
100024: stick11
|
||||
100026: stick12
|
||||
100028: stick13
|
||||
100030: stick14
|
||||
100032: stick2
|
||||
100034: stick3
|
||||
100036: stick4
|
||||
100038: stick3
|
||||
100040: stick5
|
||||
100042: stick1
|
||||
100044: //RootNode
|
||||
100046: stick2
|
||||
400000: rock8
|
||||
400002: rock7
|
||||
400004: rock9
|
||||
400006: rock5
|
||||
100038: stick5
|
||||
100040: stick6
|
||||
100042: stick7
|
||||
100044: stick8
|
||||
100046: stick9
|
||||
400000: //RootNode
|
||||
400002: rock1
|
||||
400004: rock2
|
||||
400006: rock3
|
||||
400008: rock4
|
||||
400010: rock6
|
||||
400012: rock2
|
||||
400014: rock1
|
||||
400016: rock3
|
||||
400018: stick13
|
||||
400020: stick12
|
||||
400022: stick14
|
||||
400024: stick10
|
||||
400026: stick9
|
||||
400028: stick11
|
||||
400030: stick7
|
||||
400032: stick6
|
||||
400034: stick8
|
||||
400010: rock5
|
||||
400012: rock6
|
||||
400014: rock7
|
||||
400016: rock8
|
||||
400018: rock9
|
||||
400020: stick1
|
||||
400022: stick10
|
||||
400024: stick11
|
||||
400026: stick12
|
||||
400028: stick13
|
||||
400030: stick14
|
||||
400032: stick2
|
||||
400034: stick3
|
||||
400036: stick4
|
||||
400038: stick3
|
||||
400040: stick5
|
||||
400042: stick1
|
||||
400044: //RootNode
|
||||
400046: stick2
|
||||
2300000: rock8
|
||||
2300002: rock7
|
||||
2300004: rock9
|
||||
2300006: rock5
|
||||
2300008: rock4
|
||||
400038: stick5
|
||||
400040: stick6
|
||||
400042: stick7
|
||||
400044: stick8
|
||||
400046: stick9
|
||||
2300000: rock1
|
||||
2300002: rock2
|
||||
2300004: rock3
|
||||
2300006: rock4
|
||||
2300008: rock5
|
||||
2300010: rock6
|
||||
2300012: rock2
|
||||
2300014: rock1
|
||||
2300016: rock3
|
||||
2300018: stick13
|
||||
2300020: stick12
|
||||
2300022: stick14
|
||||
2300024: stick10
|
||||
2300026: stick9
|
||||
2300028: stick11
|
||||
2300030: stick7
|
||||
2300032: stick6
|
||||
2300034: stick8
|
||||
2300036: stick4
|
||||
2300038: stick3
|
||||
2300040: stick5
|
||||
2300042: stick1
|
||||
2300044: stick2
|
||||
3300000: rock8
|
||||
3300002: rock7
|
||||
3300004: rock9
|
||||
3300006: rock5
|
||||
3300008: rock4
|
||||
2300012: rock7
|
||||
2300014: rock8
|
||||
2300016: rock9
|
||||
2300018: stick1
|
||||
2300020: stick10
|
||||
2300022: stick11
|
||||
2300024: stick12
|
||||
2300026: stick13
|
||||
2300028: stick14
|
||||
2300030: stick2
|
||||
2300032: stick3
|
||||
2300034: stick4
|
||||
2300036: stick5
|
||||
2300038: stick6
|
||||
2300040: stick7
|
||||
2300042: stick8
|
||||
2300044: stick9
|
||||
3300000: rock1
|
||||
3300002: rock2
|
||||
3300004: rock3
|
||||
3300006: rock4
|
||||
3300008: rock5
|
||||
3300010: rock6
|
||||
3300012: rock2
|
||||
3300014: rock1
|
||||
3300016: rock3
|
||||
3300018: stick13
|
||||
3300020: stick12
|
||||
3300022: stick14
|
||||
3300024: stick10
|
||||
3300026: stick9
|
||||
3300028: stick11
|
||||
3300030: stick7
|
||||
3300032: stick6
|
||||
3300034: stick8
|
||||
3300036: stick4
|
||||
3300038: stick3
|
||||
3300040: stick5
|
||||
3300042: stick1
|
||||
3300044: stick2
|
||||
3300012: rock7
|
||||
3300014: rock8
|
||||
3300016: rock9
|
||||
3300018: stick1
|
||||
3300020: stick10
|
||||
3300022: stick11
|
||||
3300024: stick12
|
||||
3300026: stick13
|
||||
3300028: stick14
|
||||
3300030: stick2
|
||||
3300032: stick3
|
||||
3300034: stick4
|
||||
3300036: stick5
|
||||
3300038: stick6
|
||||
3300040: stick7
|
||||
3300042: stick8
|
||||
3300044: stick9
|
||||
4300000: stick1
|
||||
4300002: stick2
|
||||
4300004: stick3
|
||||
@@ -120,6 +120,29 @@ ModelImporter:
|
||||
4300040: rock7
|
||||
4300042: rock8
|
||||
4300044: rock9
|
||||
6400000: rock1
|
||||
6400002: rock2
|
||||
6400004: rock3
|
||||
6400006: rock4
|
||||
6400008: rock5
|
||||
6400010: rock6
|
||||
6400012: rock7
|
||||
6400014: rock8
|
||||
6400016: rock9
|
||||
6400018: stick1
|
||||
6400020: stick10
|
||||
6400022: stick11
|
||||
6400024: stick12
|
||||
6400026: stick13
|
||||
6400028: stick14
|
||||
6400030: stick2
|
||||
6400032: stick3
|
||||
6400034: stick4
|
||||
6400036: stick5
|
||||
6400038: stick6
|
||||
6400040: stick7
|
||||
6400042: stick8
|
||||
6400044: stick9
|
||||
11100000: //RootNode
|
||||
materials:
|
||||
importMaterials: 1
|
||||
@@ -140,12 +163,12 @@ ModelImporter:
|
||||
isReadable: 1
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: .100000001
|
||||
globalScale: .5
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
addColliders: 1
|
||||
importBlendShapes: 1
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
generateSecondaryUV: 1
|
||||
useFileUnits: 1
|
||||
optimizeMeshForGPU: 1
|
||||
weldVertices: 1
|
||||
|
||||
@@ -3,28 +3,32 @@ guid: 527b563e83815419cbb75081cc0a594b
|
||||
ModelImporter:
|
||||
serializedVersion: 16
|
||||
fileIDToRecycleName:
|
||||
100000: powerHolder
|
||||
100002: coconutShy
|
||||
100000: coconutShy
|
||||
100002: //RootNode
|
||||
100004: mat
|
||||
100006: powerCell
|
||||
100008: //RootNode
|
||||
400000: powerHolder
|
||||
400002: coconutShy
|
||||
100008: powerHolder
|
||||
400000: coconutShy
|
||||
400002: //RootNode
|
||||
400004: mat
|
||||
400006: powerCell
|
||||
400008: //RootNode
|
||||
2300000: powerHolder
|
||||
2300002: coconutShy
|
||||
2300004: mat
|
||||
2300006: powerCell
|
||||
3300000: powerHolder
|
||||
3300002: coconutShy
|
||||
3300004: mat
|
||||
3300006: powerCell
|
||||
400008: powerHolder
|
||||
2300000: coconutShy
|
||||
2300002: mat
|
||||
2300004: powerCell
|
||||
2300006: powerHolder
|
||||
3300000: coconutShy
|
||||
3300002: mat
|
||||
3300004: powerCell
|
||||
3300006: powerHolder
|
||||
4300000: powerHolder
|
||||
4300002: mat
|
||||
4300004: coconutShy
|
||||
4300006: powerCell
|
||||
6400000: coconutShy
|
||||
6400002: mat
|
||||
6400004: powerCell
|
||||
6400006: powerHolder
|
||||
7400002: Default Take
|
||||
11100000: //RootNode
|
||||
materials:
|
||||
@@ -46,12 +50,12 @@ ModelImporter:
|
||||
isReadable: 1
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: .100000001
|
||||
globalScale: 1
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
addColliders: 1
|
||||
importBlendShapes: 1
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
generateSecondaryUV: 1
|
||||
useFileUnits: 1
|
||||
optimizeMeshForGPU: 1
|
||||
weldVertices: 1
|
||||
|
||||
@@ -3,40 +3,40 @@ guid: 7b5b57d547ed446c795e8b86e881b006
|
||||
ModelImporter:
|
||||
serializedVersion: 16
|
||||
fileIDToRecycleName:
|
||||
100000: table
|
||||
100002: wood
|
||||
100004: wood_001
|
||||
100006: lamp
|
||||
100000: dish
|
||||
100002: door
|
||||
100004: lamp
|
||||
100006: //RootNode
|
||||
100008: outpost
|
||||
100010: wood_002
|
||||
100012: dish
|
||||
100014: //RootNode
|
||||
100016: door
|
||||
400000: table
|
||||
400002: wood
|
||||
400004: wood_001
|
||||
400006: lamp
|
||||
100010: table
|
||||
100012: wood
|
||||
100014: wood_001
|
||||
100016: wood_002
|
||||
400000: dish
|
||||
400002: door
|
||||
400004: lamp
|
||||
400006: //RootNode
|
||||
400008: outpost
|
||||
400010: wood_002
|
||||
400012: dish
|
||||
400014: //RootNode
|
||||
400016: door
|
||||
2300000: table
|
||||
2300002: wood
|
||||
2300004: wood_001
|
||||
2300006: lamp
|
||||
2300008: outpost
|
||||
2300010: wood_002
|
||||
2300012: dish
|
||||
2300014: door
|
||||
3300000: table
|
||||
3300002: wood
|
||||
3300004: wood_001
|
||||
3300006: lamp
|
||||
3300008: outpost
|
||||
3300010: wood_002
|
||||
3300012: dish
|
||||
3300014: door
|
||||
400010: table
|
||||
400012: wood
|
||||
400014: wood_001
|
||||
400016: wood_002
|
||||
2300000: dish
|
||||
2300002: door
|
||||
2300004: lamp
|
||||
2300006: outpost
|
||||
2300008: table
|
||||
2300010: wood
|
||||
2300012: wood_001
|
||||
2300014: wood_002
|
||||
3300000: dish
|
||||
3300002: door
|
||||
3300004: lamp
|
||||
3300006: outpost
|
||||
3300008: table
|
||||
3300010: wood
|
||||
3300012: wood_001
|
||||
3300014: wood_002
|
||||
4300000: wood_001
|
||||
4300002: wood
|
||||
4300004: outpost
|
||||
|
||||
@@ -3,14 +3,13 @@ guid: 46343425c2eef44398d93b235cc6378a
|
||||
ModelImporter:
|
||||
serializedVersion: 16
|
||||
fileIDToRecycleName:
|
||||
100000: //RootNode
|
||||
100002: powerCell
|
||||
400000: //RootNode
|
||||
400002: powerCell
|
||||
100000: powerCell
|
||||
100002: //RootNode
|
||||
400000: powerCell
|
||||
400002: //RootNode
|
||||
2300000: powerCell
|
||||
3300000: powerCell
|
||||
4300000: powerCell
|
||||
6400000: powerCell
|
||||
7400000: Default Take
|
||||
11100000: //RootNode
|
||||
materials:
|
||||
@@ -34,7 +33,7 @@ ModelImporter:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 1.60000002
|
||||
meshCompression: 0
|
||||
addColliders: 1
|
||||
addColliders: 0
|
||||
importBlendShapes: 1
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 1
|
||||
|
||||
@@ -3,16 +3,16 @@ guid: f21b73d3da843424c8a08424bae3b6cc
|
||||
ModelImporter:
|
||||
serializedVersion: 16
|
||||
fileIDToRecycleName:
|
||||
100000: target
|
||||
100002: target_base
|
||||
100004: target_pivot
|
||||
100006: //RootNode
|
||||
100000: //RootNode
|
||||
100002: target
|
||||
100004: target_base
|
||||
100006: target_pivot
|
||||
100008: target_support_1
|
||||
100010: target_support_2
|
||||
400000: target
|
||||
400002: target_base
|
||||
400004: target_pivot
|
||||
400006: //RootNode
|
||||
400000: //RootNode
|
||||
400002: target
|
||||
400004: target_base
|
||||
400006: target_pivot
|
||||
400008: target_support_1
|
||||
400010: target_support_2
|
||||
2300000: target
|
||||
@@ -30,7 +30,12 @@ ModelImporter:
|
||||
4300004: target_support_1
|
||||
4300006: target_support_2
|
||||
4300008: target
|
||||
7400008: Take 001
|
||||
6400000: target
|
||||
6400002: target_base
|
||||
6400004: target_pivot
|
||||
6400006: target_support_1
|
||||
6400008: target_support_2
|
||||
7400008: idle
|
||||
7400010: idle
|
||||
7400012: down
|
||||
7400014: up
|
||||
@@ -50,16 +55,130 @@ ModelImporter:
|
||||
animationScaleError: .5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
clipAnimations: []
|
||||
clipAnimations:
|
||||
- serializedVersion: 16
|
||||
name: idle
|
||||
takeName: Take 001
|
||||
firstFrame: 1
|
||||
lastFrame: 2
|
||||
wrapMode: 0
|
||||
orientationOffsetY: 0
|
||||
level: 0
|
||||
cycleOffset: 0
|
||||
loop: 0
|
||||
loopTime: 0
|
||||
loopBlend: 0
|
||||
loopBlendOrientation: 0
|
||||
loopBlendPositionY: 0
|
||||
loopBlendPositionXZ: 0
|
||||
keepOriginalOrientation: 0
|
||||
keepOriginalPositionY: 1
|
||||
keepOriginalPositionXZ: 0
|
||||
heightFromFeet: 0
|
||||
mirror: 0
|
||||
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||
curves: []
|
||||
events: []
|
||||
transformMask:
|
||||
- path:
|
||||
weight: 1
|
||||
- path: target_base
|
||||
weight: 1
|
||||
- path: target_pivot
|
||||
weight: 1
|
||||
- path: target_pivot/target
|
||||
weight: 1
|
||||
- path: target_pivot/target_support_1
|
||||
weight: 1
|
||||
- path: target_pivot/target_support_2
|
||||
weight: 1
|
||||
maskType: 0
|
||||
maskSource: {instanceID: 0}
|
||||
- serializedVersion: 16
|
||||
name: down
|
||||
takeName: Take 001
|
||||
firstFrame: 3
|
||||
lastFrame: 13
|
||||
wrapMode: 0
|
||||
orientationOffsetY: 0
|
||||
level: 0
|
||||
cycleOffset: 0
|
||||
loop: 0
|
||||
loopTime: 0
|
||||
loopBlend: 0
|
||||
loopBlendOrientation: 0
|
||||
loopBlendPositionY: 0
|
||||
loopBlendPositionXZ: 0
|
||||
keepOriginalOrientation: 0
|
||||
keepOriginalPositionY: 1
|
||||
keepOriginalPositionXZ: 0
|
||||
heightFromFeet: 0
|
||||
mirror: 0
|
||||
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||
curves: []
|
||||
events: []
|
||||
transformMask:
|
||||
- path:
|
||||
weight: 1
|
||||
- path: target_base
|
||||
weight: 1
|
||||
- path: target_pivot
|
||||
weight: 1
|
||||
- path: target_pivot/target
|
||||
weight: 1
|
||||
- path: target_pivot/target_support_1
|
||||
weight: 1
|
||||
- path: target_pivot/target_support_2
|
||||
weight: 1
|
||||
maskType: 0
|
||||
maskSource: {instanceID: 0}
|
||||
- serializedVersion: 16
|
||||
name: up
|
||||
takeName: Take 001
|
||||
firstFrame: 14
|
||||
lastFrame: 35
|
||||
wrapMode: 0
|
||||
orientationOffsetY: 0
|
||||
level: 0
|
||||
cycleOffset: 0
|
||||
loop: 0
|
||||
loopTime: 0
|
||||
loopBlend: 0
|
||||
loopBlendOrientation: 0
|
||||
loopBlendPositionY: 0
|
||||
loopBlendPositionXZ: 0
|
||||
keepOriginalOrientation: 0
|
||||
keepOriginalPositionY: 1
|
||||
keepOriginalPositionXZ: 0
|
||||
heightFromFeet: 0
|
||||
mirror: 0
|
||||
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||
curves: []
|
||||
events: []
|
||||
transformMask:
|
||||
- path:
|
||||
weight: 1
|
||||
- path: target_base
|
||||
weight: 1
|
||||
- path: target_pivot
|
||||
weight: 1
|
||||
- path: target_pivot/target
|
||||
weight: 1
|
||||
- path: target_pivot/target_support_1
|
||||
weight: 1
|
||||
- path: target_pivot/target_support_2
|
||||
weight: 1
|
||||
maskType: 0
|
||||
maskSource: {instanceID: 0}
|
||||
isReadable: 1
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: .100000001
|
||||
globalScale: 1
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
addColliders: 1
|
||||
importBlendShapes: 1
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
generateSecondaryUV: 1
|
||||
useFileUnits: 1
|
||||
optimizeMeshForGPU: 1
|
||||
weldVertices: 1
|
||||
|
||||
@@ -5,8 +5,8 @@ TextureImporter:
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
enableMipMap: 0
|
||||
linearTexture: 1
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
@@ -25,10 +25,10 @@ TextureImporter:
|
||||
maxTextureSize: 64
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
aniso: 1
|
||||
mipBias: -1
|
||||
wrapMode: 1
|
||||
nPOTScale: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
@@ -38,8 +38,8 @@ TextureImporter:
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: 0
|
||||
alphaIsTransparency: 1
|
||||
textureType: 2
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
|
||||
@@ -5,8 +5,8 @@ TextureImporter:
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
enableMipMap: 0
|
||||
linearTexture: 1
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
@@ -28,7 +28,7 @@ TextureImporter:
|
||||
aniso: 1
|
||||
mipBias: -1
|
||||
wrapMode: 1
|
||||
nPOTScale: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
@@ -38,8 +38,8 @@ TextureImporter:
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: 0
|
||||
alphaIsTransparency: 1
|
||||
textureType: 2
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
|
||||
@@ -5,8 +5,8 @@ TextureImporter:
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
enableMipMap: 0
|
||||
linearTexture: 1
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
@@ -24,11 +24,11 @@ TextureImporter:
|
||||
textureFormat: -1
|
||||
maxTextureSize: 1024
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
filterMode: 0
|
||||
aniso: 1
|
||||
mipBias: -1
|
||||
wrapMode: 1
|
||||
nPOTScale: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
@@ -38,8 +38,8 @@ TextureImporter:
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: 0
|
||||
alphaIsTransparency: 1
|
||||
textureType: 2
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
|
||||
@@ -5,8 +5,8 @@ TextureImporter:
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
enableMipMap: 0
|
||||
linearTexture: 1
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
@@ -24,11 +24,11 @@ TextureImporter:
|
||||
textureFormat: -1
|
||||
maxTextureSize: 1024
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
filterMode: 0
|
||||
aniso: 1
|
||||
mipBias: -1
|
||||
wrapMode: -1
|
||||
nPOTScale: 1
|
||||
wrapMode: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
@@ -38,8 +38,8 @@ TextureImporter:
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: -1
|
||||
alphaIsTransparency: 1
|
||||
textureType: 2
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
|
||||
@@ -5,8 +5,8 @@ TextureImporter:
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
enableMipMap: 0
|
||||
linearTexture: 1
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
@@ -24,11 +24,11 @@ TextureImporter:
|
||||
textureFormat: -1
|
||||
maxTextureSize: 1024
|
||||
textureSettings:
|
||||
filterMode: 1
|
||||
filterMode: 0
|
||||
aniso: 1
|
||||
mipBias: -1
|
||||
wrapMode: 1
|
||||
nPOTScale: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
@@ -38,8 +38,8 @@ TextureImporter:
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: 0
|
||||
alphaIsTransparency: 1
|
||||
textureType: 2
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
|
||||
@@ -5,8 +5,8 @@ TextureImporter:
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
enableMipMap: 0
|
||||
linearTexture: 1
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
@@ -24,11 +24,11 @@ TextureImporter:
|
||||
textureFormat: -1
|
||||
maxTextureSize: 1024
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
filterMode: 0
|
||||
aniso: 1
|
||||
mipBias: -1
|
||||
wrapMode: 1
|
||||
nPOTScale: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
@@ -38,8 +38,8 @@ TextureImporter:
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: 0
|
||||
alphaIsTransparency: 1
|
||||
textureType: 2
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
|
||||
@@ -5,8 +5,8 @@ TextureImporter:
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
enableMipMap: 0
|
||||
linearTexture: 1
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
@@ -24,11 +24,11 @@ TextureImporter:
|
||||
textureFormat: -1
|
||||
maxTextureSize: 1024
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
filterMode: 0
|
||||
aniso: 1
|
||||
mipBias: -1
|
||||
wrapMode: 1
|
||||
nPOTScale: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
@@ -38,8 +38,8 @@ TextureImporter:
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: 0
|
||||
alphaIsTransparency: 1
|
||||
textureType: 2
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
|
||||
@@ -5,8 +5,8 @@ TextureImporter:
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
enableMipMap: 0
|
||||
linearTexture: 1
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
@@ -24,11 +24,11 @@ TextureImporter:
|
||||
textureFormat: -1
|
||||
maxTextureSize: 1024
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
filterMode: 0
|
||||
aniso: 1
|
||||
mipBias: -1
|
||||
wrapMode: 1
|
||||
nPOTScale: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
@@ -38,8 +38,8 @@ TextureImporter:
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: 0
|
||||
alphaIsTransparency: 1
|
||||
textureType: 2
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
|
||||
@@ -5,8 +5,8 @@ TextureImporter:
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
enableMipMap: 0
|
||||
linearTexture: 1
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
@@ -24,11 +24,11 @@ TextureImporter:
|
||||
textureFormat: -1
|
||||
maxTextureSize: 1024
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
filterMode: 0
|
||||
aniso: 1
|
||||
mipBias: -1
|
||||
wrapMode: -1
|
||||
nPOTScale: 1
|
||||
wrapMode: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
@@ -38,8 +38,8 @@ TextureImporter:
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: -1
|
||||
alphaIsTransparency: 1
|
||||
textureType: 2
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9818ff6aac28c8c46b2ec4f128577304
|
||||
guid: a504a7e9712965f44baa6250395bd1ee
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
userData:
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7d39bddd099e56044bf748e2e4ee015a
|
||||
guid: 892a922847769fc49952a431f55b5f72
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
userData:
|
||||
Binary file not shown.
@@ -1,14 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 18d4b5d3538b337468cff4be83f9e515
|
||||
TrueTypeFontImporter:
|
||||
serializedVersion: 2
|
||||
fontSize: 16
|
||||
forceTextureCase: -2
|
||||
characterSpacing: 1
|
||||
characterPadding: 0
|
||||
includeFontData: 1
|
||||
use2xBehaviour: 0
|
||||
fontNames: []
|
||||
customCharacters:
|
||||
fontRenderingMode: 0
|
||||
userData:
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 70f451542323db24c92ea1d8cbf020dc
|
||||
guid: b65f590266d0b624ebe4dd43975cc2e0
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
userData:
|
||||
Binary file not shown.
+1
-1
@@ -1,4 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8069f4ed23a1bff4b88e853ff9a236b7
|
||||
guid: 9f17bc461f77897479e57b311626ef47
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2b8b44957f939da4e8a621f94586676b
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: db97fc3e3db4a0d43a909928404a24bd
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 61a38c8106183fb439b01d444b28163d
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
@@ -0,0 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1fb29c763159bd34b8f285d9d098772e
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
userData:
|
||||
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 414a50f8c5ab29d4d8a953f94832f6e5
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 608f004922f1149439b25503eb74e3fe
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8fd39b93e639ce34087a3c09f8491537
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 09d1687f585b16a41a3c1e8fea4acbd7
|
||||
guid: 93efbfcaa64d92246a685f05593aa03c
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
userData:
|
||||
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0a47222c78fe71645b27456cbef004b6
|
||||
DefaultImporter:
|
||||
userData:
|
||||
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 06c12210d5ab36f468043b28a76f15a6
|
||||
guid: fc5a0efbe458ce244a84471256875922
|
||||
DefaultImporter:
|
||||
userData:
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6e824e5173cad6a409d555b283fc8e25
|
||||
guid: f3ff2d73710a6bf4fbfc74aac12b4053
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
userData:
|
||||
@@ -0,0 +1,31 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
[RequireComponent (typeof (AudioSource))]
|
||||
public class CoconutThrower : MonoBehaviour {
|
||||
|
||||
public AudioClip throwSound;
|
||||
public Rigidbody coconutPrefab;
|
||||
public float throwSpeed = 30.0f;
|
||||
public static bool canThrow = false;
|
||||
|
||||
// Use this for initialization
|
||||
void Start () {
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update () {
|
||||
if (Input.GetButtonDown ("Fire1") && canThrow) {
|
||||
audio.PlayOneShot(throwSound);
|
||||
Rigidbody newCoconut = Instantiate(coconutPrefab,
|
||||
transform.position, transform.rotation) as Rigidbody;
|
||||
newCoconut.name = "coconut";
|
||||
newCoconut.velocity = transform.forward * throwSpeed;
|
||||
Physics.IgnoreCollision(transform.root.collider,
|
||||
newCoconut.collider, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 85cba2d465ac9ab4d8064e0b99aaa7dd
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
@@ -0,0 +1,33 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
[RequireComponent (typeof (AudioSource))]
|
||||
public class CoconutWin : MonoBehaviour {
|
||||
|
||||
public static int targets = 0;
|
||||
public static bool haveWon = false;
|
||||
public AudioClip winSound;
|
||||
public GameObject cellPrefab;
|
||||
|
||||
// Use this for initialization
|
||||
void Start () {
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update () {
|
||||
if (targets == 3 && haveWon == false) {
|
||||
targets = 0;
|
||||
audio.PlayOneShot(winSound);
|
||||
GameObject winCell = transform.Find ("powerCell").
|
||||
gameObject;
|
||||
winCell.transform.Translate(-1, 0, 0);
|
||||
Instantiate(cellPrefab, winCell.transform.position,
|
||||
transform.rotation);
|
||||
Destroy (winCell);
|
||||
haveWon = true;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e4ccbd406b9ee9a4dbf41adad9400abe
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
@@ -1,46 +1,42 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class DoorManager : MonoBehaviour
|
||||
{
|
||||
public class DoorManager : MonoBehaviour {
|
||||
bool doorIsOpen = false;
|
||||
float doorTimer = 0.0f;
|
||||
float doorTimer= 0.0f;
|
||||
public float doorOpenTime = 3.0f;
|
||||
public AudioClip doorOpenSound;
|
||||
public AudioClip doorShutSound;
|
||||
|
||||
|
||||
|
||||
// Use this for initialization
|
||||
void Start()
|
||||
{
|
||||
void Start () {
|
||||
doorTimer = 0.0f;
|
||||
}
|
||||
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
if (doorIsOpen)
|
||||
{
|
||||
doorTimer += Time.deltaTime;
|
||||
if (doorTimer > doorOpenTime)
|
||||
{
|
||||
Door(doorShutSound, false, "doorshut");
|
||||
doorTimer = 0.0f;
|
||||
void Update () {
|
||||
if (doorIsOpen) {
|
||||
doorTimer +=Time.deltaTime;
|
||||
|
||||
if(doorTimer > doorOpenTime){
|
||||
Door(doorShutSound,false,"doorshut");
|
||||
doorTimer =0.0f;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void DoorCheck()
|
||||
{
|
||||
if (!doorIsOpen)
|
||||
{
|
||||
Door(doorOpenSound, true, "dooropen");
|
||||
|
||||
void DoorCheck(){
|
||||
if (!doorIsOpen) {
|
||||
Door (doorOpenSound,true,"dooropen");
|
||||
}
|
||||
}
|
||||
|
||||
void Door(AudioClip aClip, bool openCheck, string animName)
|
||||
{
|
||||
audio.PlayOneShot(aClip);
|
||||
|
||||
void Door(AudioClip aClip,bool openCheck, string animName){
|
||||
audio.PlayOneShot (aClip);
|
||||
doorIsOpen = openCheck;
|
||||
transform.parent.animation.Play(animName);
|
||||
transform.parent.animation.Play (animName);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 28c1dfaf4ab0da34590fb036ccc994c1
|
||||
guid: 80af9609c13cf5648aa46809aaec8e8c
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
|
||||
@@ -1,42 +1,76 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class Inventory : MonoBehaviour
|
||||
{
|
||||
public static int charge = 0;
|
||||
public class Inventory : MonoBehaviour {
|
||||
|
||||
public static int charge=0;
|
||||
public AudioClip collectSound;
|
||||
public Texture2D[] hudCharge;
|
||||
public GUITexture chargeHudGUI;
|
||||
|
||||
public Texture2D[] meterCharge;
|
||||
public Renderer meter;
|
||||
public Renderer meter;
|
||||
|
||||
bool haveMatches = false;
|
||||
public GUITexture matchGUIprefab;
|
||||
GUITexture matchGUI;
|
||||
public GUIText textHints;
|
||||
bool fireIsLit = false;
|
||||
|
||||
// Use this for initialization
|
||||
void Start()
|
||||
{
|
||||
void Start () {
|
||||
charge = 0;
|
||||
}
|
||||
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
void Update () {
|
||||
|
||||
}
|
||||
|
||||
void CellPickup()
|
||||
{
|
||||
HUDon();
|
||||
AudioSource.PlayClipAtPoint(collectSound, transform.position);
|
||||
void CellPickup(){
|
||||
HUDon ();
|
||||
AudioSource .PlayClipAtPoint (collectSound, transform.position);
|
||||
|
||||
charge++;
|
||||
chargeHudGUI.texture = hudCharge[charge];
|
||||
chargeHudGUI.texture = hudCharge [charge];
|
||||
meter.material.mainTexture = meterCharge [charge];
|
||||
}
|
||||
|
||||
void HUDon()
|
||||
{
|
||||
if (!chargeHudGUI.enabled)
|
||||
{
|
||||
chargeHudGUI.enabled = true;
|
||||
void HUDon(){
|
||||
if (!chargeHudGUI.enabled) {
|
||||
chargeHudGUI.enabled =true;
|
||||
}
|
||||
}
|
||||
|
||||
void MatchPickup() {
|
||||
haveMatches = true;
|
||||
//AudioSource.PlayClipAtPoint (collectSound, transform.position);
|
||||
GUITexture matchHUD = Instantiate (matchGUIprefab,
|
||||
new Vector3 (0.15f, 0.1f, 0), transform.rotation) as GUITexture;
|
||||
matchGUI = matchHUD;
|
||||
}
|
||||
|
||||
void OnControllerColliderHit(ControllerColliderHit col) {
|
||||
if (col.gameObject.name == "campfire") {
|
||||
if (haveMatches && !fireIsLit) {
|
||||
LightFire(col.gameObject);
|
||||
} else if (!haveMatches && !fireIsLit) {
|
||||
textHints.SendMessage("ShowHint",
|
||||
"I could use this campfire to signal for help... " +
|
||||
"if only I could light it...");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void LightFire(GameObject campfire) {
|
||||
ParticleSystem[] pSystems;
|
||||
pSystems = campfire.GetComponentsInChildren<ParticleSystem> ();
|
||||
foreach (ParticleSystem pSystem in pSystems) {
|
||||
pSystem.Play();
|
||||
}
|
||||
//campfire.audio.Play ();
|
||||
Destroy (matchGUI);
|
||||
haveMatches = false;
|
||||
fireIsLit = true;
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 68f5e2be7df12d64a88637557de0017f
|
||||
guid: 41ee0d51a80bc614cbc4c2fc637cb996
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
[RequireComponent (typeof (AudioSource))]
|
||||
public class MainMenuBtns : MonoBehaviour {
|
||||
|
||||
public string levelToLoad;
|
||||
public Texture2D normalTexture;
|
||||
public Texture2D rollOverTexture;
|
||||
public AudioClip beep;
|
||||
public bool quitButton = false;
|
||||
public bool instructionsButton = false;
|
||||
public GUIText textHints;
|
||||
|
||||
// Use this for initialization
|
||||
void Start () {
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update () {
|
||||
|
||||
}
|
||||
|
||||
void OnMouseEnter() {
|
||||
guiTexture.texture = rollOverTexture;
|
||||
}
|
||||
|
||||
void OnMouseExit() {
|
||||
guiTexture.texture = normalTexture;
|
||||
}
|
||||
|
||||
IEnumerator OnMouseUp() {
|
||||
audio.PlayOneShot (beep);
|
||||
yield return new WaitForSeconds(0.35f);
|
||||
if (quitButton) {
|
||||
Application.Quit ();
|
||||
} else if (instructionsButton) {
|
||||
textHints.SendMessage("ShowHint",
|
||||
"You awake on a mysterious island..." +
|
||||
"Find a way to signal for help or face certain doom!");
|
||||
}
|
||||
else {
|
||||
Application.LoadLevel (levelToLoad);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 782d7955bf27e2244acf3aa18fa8d58e
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
@@ -0,0 +1,22 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class Matches : MonoBehaviour {
|
||||
|
||||
// Use this for initialization
|
||||
void Start () {
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update () {
|
||||
|
||||
}
|
||||
|
||||
void OnTriggerEnter(Collider col) {
|
||||
if (col.gameObject.tag == "Player") {
|
||||
col.gameObject.SendMessage("MatchPickup");
|
||||
Destroy (gameObject);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3ff7e1803b15b4f4c8c16b28071afc58
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
@@ -2,48 +2,69 @@
|
||||
using System.Collections;
|
||||
|
||||
public class PlayerCollisions : MonoBehaviour {
|
||||
// bool doorIsOpen = false;
|
||||
// float doorTimer = 0.0f;
|
||||
// public float doorOpenTime = 3.0f;
|
||||
// public AudioClip doorOpenSound;
|
||||
// public AudioClip doorShutSound;
|
||||
|
||||
//bool doorIsOpen = false;
|
||||
//float doorTimer= 0.0f;
|
||||
//public float doorOpenTime = 3.0f;
|
||||
//public AudioClip doorOpenSound;
|
||||
//public AudioClip doorShutSound;
|
||||
|
||||
GameObject currentDoor;
|
||||
|
||||
|
||||
// Use this for initialization
|
||||
void Start () {
|
||||
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update () {
|
||||
RaycastHit hit;
|
||||
|
||||
if (Physics.Raycast (transform.position, transform.forward, out hit, 3)) {
|
||||
if (hit.collider.gameObject.tag == "playerDoor") {
|
||||
currentDoor = hit.collider.gameObject;
|
||||
if(hit.collider.gameObject.tag=="playerDoor"){
|
||||
currentDoor =hit.collider.gameObject;
|
||||
currentDoor.SendMessage ("DoorCheck");
|
||||
}
|
||||
}
|
||||
// if (doorIsOpen) {
|
||||
// doorTimer += Time.deltaTime;
|
||||
|
||||
// if (doorTimer > doorOpenTime) {
|
||||
// Door (doorShutSound, false, "doorshut",currentDoor);
|
||||
// doorTimer = 0.0f;
|
||||
// }
|
||||
// }
|
||||
/*if (doorIsOpen) {
|
||||
doorTimer +=Time.deltaTime;
|
||||
|
||||
if(doorTimer > doorOpenTime){
|
||||
//ShutDoor(currentDoor );
|
||||
Door(doorShutSound,false,"doorshut",currentDoor);
|
||||
//Door(doorShutSound,false,"doorshut");
|
||||
doorTimer =0.0f;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
// void OnControllerColliderHit(ControllerColliderHit hit) {
|
||||
// if (hit.gameObject.tag == "playerDoor" && doorIsOpen == false) {
|
||||
// currentDoor = hit.gameObject;
|
||||
// Door (doorOpenSound, true, "dooropen",currentDoor);
|
||||
// }
|
||||
// }
|
||||
|
||||
/*void OnControllerColliderHit(ControllerColliderHit hit){
|
||||
if (hit.gameObject.tag == "playerDoor" && doorIsOpen == false) {
|
||||
currentDoor =hit.gameObject;
|
||||
Door (doorOpenSound,true,"dooropen",currentDoor );
|
||||
//OpenDoor(hit.gameObject);
|
||||
}
|
||||
}*/
|
||||
|
||||
/*void Door(AudioClip aClip,bool openCheck, string animName,GameObject thisDoor){
|
||||
thisDoor.audio.PlayOneShot (aClip);
|
||||
doorIsOpen = openCheck;
|
||||
thisDoor.transform.parent.animation.Play (animName);
|
||||
|
||||
}*/
|
||||
|
||||
/*void OpenDoor(GameObject door){
|
||||
doorIsOpen = true;
|
||||
door.audio.PlayOneShot (doorOpenSound);
|
||||
door.transform.parent.animation.Play ("dooropen");
|
||||
|
||||
// void Door(AudioClip aClip, bool openCheck, string animName,GameObject thisDoor) {
|
||||
// thisDoor.audio.PlayOneShot (aClip);
|
||||
// doorIsOpen = openCheck;
|
||||
// thisDoor.transform.parent.animation.Play (animName);
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
void ShutDoor(GameObject door){
|
||||
doorIsOpen = false;
|
||||
door.audio.PlayOneShot (doorShutSound);
|
||||
door.transform.parent.animation.Play ("doorshut");
|
||||
}*/
|
||||
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 479fe5da19b4fba4b9ea55d26873d375
|
||||
guid: e4996adab0d5ae548ae6ef51830da0f2
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
|
||||
@@ -2,17 +2,24 @@
|
||||
using System.Collections;
|
||||
|
||||
public class PowerCell : MonoBehaviour {
|
||||
public float rotationSpeed = 100.0f;
|
||||
|
||||
// Update is called once per frame
|
||||
void Update () {
|
||||
transform.Rotate (new Vector3 (0, rotationSpeed * Time.deltaTime, 0));
|
||||
|
||||
public float rotationSpeed=100.0f;
|
||||
|
||||
// Use this for initialization
|
||||
void Start () {
|
||||
|
||||
}
|
||||
|
||||
void OnTriggerEnter(Collider col) {
|
||||
if (col.gameObject.tag == "Player") {
|
||||
col.gameObject.SendMessage ("CellPickup");
|
||||
Destroy(gameObject);
|
||||
|
||||
void OnTriggerEnter(Collider col){
|
||||
if (col.gameObject .tag == "Player") {
|
||||
col.gameObject .SendMessage ("CellPickup");
|
||||
Destroy (gameObject );
|
||||
}
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update () {
|
||||
transform.Rotate (
|
||||
new Vector3 (0, rotationSpeed * Time .deltaTime, 0));
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 84973f37da8c1b64491db40ade6b4948
|
||||
guid: e564b3f50537083478ebea99a84920c0
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
[RequireComponent (typeof (AudioSource))]
|
||||
public class TargetCollision : MonoBehaviour {
|
||||
|
||||
bool beenHit = false;
|
||||
Animation targetRoot;
|
||||
public AudioClip hitSound;
|
||||
public AudioClip resetSound;
|
||||
public float resetTime = 3.0f;
|
||||
|
||||
// Use this for initialization
|
||||
void Start () {
|
||||
targetRoot = transform.parent.transform.parent.animation;
|
||||
|
||||
}
|
||||
|
||||
void OnCollisionEnter(Collision col) {
|
||||
if (beenHit == false &&
|
||||
col.gameObject.name == "coconut") {
|
||||
StartCoroutine("targetHit");
|
||||
}
|
||||
}
|
||||
|
||||
IEnumerator targetHit() {
|
||||
audio.PlayOneShot (hitSound);
|
||||
targetRoot.Play ("down");
|
||||
beenHit = true;
|
||||
CoconutWin.targets++;
|
||||
|
||||
yield return new WaitForSeconds(resetTime);
|
||||
|
||||
audio.PlayOneShot (resetSound);
|
||||
targetRoot.Play ("up");
|
||||
beenHit = false;
|
||||
CoconutWin.targets--;
|
||||
}
|
||||
|
||||
|
||||
// Update is called once per frame
|
||||
void Update () {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 81348036fe326a44aabe9dd92dad9412
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
@@ -1,30 +1,30 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class TextHints : MonoBehaviour
|
||||
{
|
||||
float timer = 0.0f;
|
||||
public class TextHints : MonoBehaviour {
|
||||
|
||||
float timer =0.0f;
|
||||
|
||||
// Use this for initialization
|
||||
void Start () {
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
if (guiText.enabled)
|
||||
{
|
||||
timer += Time.deltaTime;
|
||||
if (timer >= 4)
|
||||
{
|
||||
guiText.enabled = false;
|
||||
timer = 0.0f;
|
||||
void Update () {
|
||||
if (guiText.enabled) {
|
||||
timer+=Time.deltaTime;
|
||||
if(timer>=4){
|
||||
guiText.enabled=false;
|
||||
timer=0.0f;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void ShowHint(string message)
|
||||
{
|
||||
void ShowHint(string message){
|
||||
guiText.text = message;
|
||||
if (!guiText.enabled)
|
||||
{
|
||||
guiText.enabled = true;
|
||||
if (!guiText.enabled) {
|
||||
guiText.enabled=true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 74894e00c3f33fe4eaaacc1394c80eef
|
||||
guid: ce0e2ee8905a73d4ca6006d8924194e6
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class ThrowTrigger : MonoBehaviour {
|
||||
public GUITexture crosshair;
|
||||
public GUIText textHints;
|
||||
// Use this for initialization
|
||||
void Start () {
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update () {
|
||||
|
||||
}
|
||||
|
||||
void OnTriggerEnter(Collider col) {
|
||||
if (col.gameObject.tag == "Player") {
|
||||
crosshair.enabled = true;
|
||||
if (!CoconutWin.haveWon) {
|
||||
textHints.SendMessage("ShowHint",
|
||||
"\n\n\n\n\n There's a power cell attached to this game, \n" +
|
||||
"maybe I'll win it if I can knock down all the targets...");
|
||||
}
|
||||
|
||||
CoconutThrower.canThrow = true;
|
||||
}
|
||||
}
|
||||
|
||||
void OnTriggerExit(Collider col) {
|
||||
if (col.gameObject.tag == "Player") {
|
||||
crosshair.enabled = false;
|
||||
CoconutThrower.canThrow = false;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3ef851c593da8cd4d8fbf46996e72817
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
@@ -0,0 +1,16 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class TidyObject : MonoBehaviour {
|
||||
|
||||
public float removeTime = 3.0f;
|
||||
// Use this for initialization
|
||||
void Start () {
|
||||
Destroy (gameObject, removeTime);
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update () {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 59dcc2d1f955c094fbee06fc38a0f423
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
@@ -1,45 +1,43 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class TriggerZone : MonoBehaviour
|
||||
{
|
||||
public class TriggerZone : MonoBehaviour {
|
||||
|
||||
public AudioClip lockedSound;
|
||||
public Light doorLight;
|
||||
public GUIText textHints;
|
||||
|
||||
void OnTriggerEnter(Collider col)
|
||||
{
|
||||
if (col.gameObject.tag == "Player")
|
||||
{
|
||||
if (Inventory.charge == 4)
|
||||
{
|
||||
transform.FindChild("door").
|
||||
SendMessage("DoorCheck");
|
||||
if (GameObject.Find("PowerGUI"))
|
||||
{
|
||||
Destroy(GameObject.Find("PowerGUI"));
|
||||
doorLight.color = Color.green;
|
||||
void OnTriggerEnter(Collider col){
|
||||
if (col.gameObject.tag == "Player") {
|
||||
if(Inventory .charge ==4){
|
||||
transform.FindChild("door").SendMessage ("DoorCheck");
|
||||
if(GameObject.Find ("PowerGUI")){
|
||||
Destroy (GameObject .Find ("PowerGUI"));
|
||||
doorLight.color=Color.green;
|
||||
}
|
||||
}else if(Inventory.charge>0&&Inventory.charge<4){
|
||||
textHints.SendMessage ("ShowHint","This door won't budge.. "+
|
||||
"guess it needs fully charging - "+
|
||||
"maybe more power cells will help");
|
||||
transform.FindChild("door").audio .PlayOneShot (lockedSound);
|
||||
}else{
|
||||
transform.FindChild("door").audio .PlayOneShot (lockedSound);
|
||||
col.gameObject .SendMessage ("HUDon");
|
||||
textHints.SendMessage ("ShowHint","This door seems locked.. maybe that "+
|
||||
"generator needs power...");
|
||||
}
|
||||
else if (Inventory.charge > 0 && Inventory.charge < 4)
|
||||
{
|
||||
textHints.SendMessage("ShowHint",
|
||||
"This door won't budge.. " +
|
||||
"guess it needs fully charging - " +
|
||||
"maybe more power cells will help...");
|
||||
transform.FindChild("door").audio.
|
||||
PlayOneShot(lockedSound);
|
||||
}
|
||||
else
|
||||
{
|
||||
transform.FindChild("door").audio.
|
||||
PlayOneShot(lockedSound);
|
||||
col.gameObject.SendMessage("HUDon");
|
||||
textHints.SendMessage("ShowHint",
|
||||
"This door seems locked.. maybe that " +
|
||||
"generator needs power...");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Use this for initialization
|
||||
void Start () {
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update () {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 96b2117e72a038e41acc5be055c9c5f9
|
||||
guid: 749d278a94f759c4bb676c433e07044e
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2d444a177ffcc34459ba1020897ab79e
|
||||
guid: 53f49007e98a9dd4590f353701d2c5a4
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
userData:
|
||||
BIN
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.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
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.
Loaded 100 of 136 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user