dont ask me

This commit is contained in:
Glence 2023-03-25 02:38:56 +08:00
parent 4f44435823
commit 98d9683995
45 changed files with 338 additions and 71 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,3 +1,4 @@
- NavData: 0
- EID: 1 - EID: 1
Name: DefaultLight Name: DefaultLight
IsActive: true IsActive: true
@ -2419,7 +2420,7 @@
Components: Components:
Transform Component: Transform Component:
Translate: {x: 0, y: 0, z: 0} Translate: {x: 0, y: 0, z: 0}
Rotate: {x: 0, y: 0, z: 0} Rotate: {x: -0.0818509459, y: 0.5, z: -11.5662012}
Scale: {x: 1, y: 1, z: 1} Scale: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
Renderable Component: Renderable Component:
@ -7009,6 +7010,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -7061,6 +7063,7 @@
Enabled: true Enabled: true
Score: 500 Score: 500
currCategory: 2 currCategory: 2
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -7113,6 +7116,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -7165,6 +7169,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -7801,8 +7806,6 @@
armLength: 2 armLength: 2
turnSpeedPitch: 0.200000003 turnSpeedPitch: 0.200000003
turnSpeedYaw: 0.400000006 turnSpeedYaw: 0.400000006
inverseXControls: true
inverseYControls: false
pitchUpperClamp: 45 pitchUpperClamp: 45
pitchLowerClamp: 5 pitchLowerClamp: 5
- EID: 65731 - EID: 65731
@ -8486,7 +8489,7 @@
Rotation Offset: {x: 0, y: 0, z: 0} Rotation Offset: {x: 0, y: 0, z: 0}
IsActive: true IsActive: true
classSHADE::SHParticleEmitterComponent: classSHADE::SHParticleEmitterComponent:
Emission Count: 4 Emission Count: 10
Is Passive: false Is Passive: false
Emission Interval: 0 Emission Interval: 0
Min Life: 1 Min Life: 1
@ -8501,7 +8504,7 @@
Rotation Decay: 0 Rotation Decay: 0
Texture Asset ID: 0 Texture Asset ID: 0
Custom Update Shader Asset ID: 0 Custom Update Shader Asset ID: 0
Color Tint: {x: 0.470701218, y: 0.559471369, z: 0.283432603, w: 1} Color Tint: {x: 0.581223547, y: 0.722466946, z: 0.283257961, w: 1}
Acceleration: {x: 0, y: -0.0390000008, z: 0} Acceleration: {x: 0, y: -0.0390000008, z: 0}
IsActive: true IsActive: true
Scripts: Scripts:
@ -8509,6 +8512,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 1
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10

View File

@ -1,3 +1,4 @@
- NavData: 0
- EID: 20 - EID: 20
Name: ===== Light ===== Name: ===== Light =====
IsActive: true IsActive: true
@ -111,6 +112,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -163,6 +165,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -215,6 +218,7 @@
Enabled: true Enabled: true
Score: 500 Score: 500
currCategory: 2 currCategory: 2
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -267,6 +271,7 @@
Enabled: true Enabled: true
Score: 500 Score: 500
currCategory: 2 currCategory: 2
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -319,6 +324,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -371,6 +377,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -423,6 +430,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -481,6 +489,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 2 density: 2
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -701,6 +710,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -753,6 +763,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -805,6 +816,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -857,6 +869,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -909,6 +922,7 @@
Enabled: true Enabled: true
Score: 500 Score: 500
currCategory: 2 currCategory: 2
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -961,6 +975,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -1013,6 +1028,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -1025,7 +1041,7 @@
NumberOfChildren: 0 NumberOfChildren: 0
Components: Components:
Transform Component: Transform Component:
Translate: {x: 2.66560459, y: 0.10531798, z: 5.97001934} Translate: {x: 4.52824974, y: 0.902858257, z: 3.99456692}
Rotate: {x: -0, y: 0, z: -0} Rotate: {x: -0, y: 0, z: -0}
Scale: {x: 1, y: 1, z: 1} Scale: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
@ -1065,6 +1081,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -1117,6 +1134,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -1169,6 +1187,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -1221,6 +1240,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -1273,6 +1293,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -1325,6 +1346,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -1377,6 +1399,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -1429,6 +1452,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -1481,6 +1505,7 @@
Enabled: true Enabled: true
Score: 500 Score: 500
currCategory: 2 currCategory: 2
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -1533,6 +1558,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -1585,6 +1611,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -1637,6 +1664,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -1695,6 +1723,7 @@
Enabled: true Enabled: true
Score: 500 Score: 500
currCategory: 2 currCategory: 2
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -1747,6 +1776,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 3 density: 3
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -1799,6 +1829,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 3 density: 3
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -1851,6 +1882,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 3 density: 3
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -1903,6 +1935,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 3 density: 3
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -1955,6 +1988,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 3 density: 3
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -2013,6 +2047,7 @@
Enabled: true Enabled: true
Score: 500 Score: 500
currCategory: 2 currCategory: 2
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -2065,6 +2100,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 3 density: 3
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -2117,6 +2153,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 3 density: 3
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -2169,6 +2206,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 3 density: 3
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -2221,6 +2259,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 3 density: 3
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -2273,6 +2312,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 3 density: 3
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -2331,6 +2371,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 2 density: 2
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -2557,6 +2598,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 2 density: 2
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -3102,7 +3144,7 @@
armLength: 2 armLength: 2
turnSpeedPitch: 0.200000003 turnSpeedPitch: 0.200000003
turnSpeedYaw: 0.400000006 turnSpeedYaw: 0.400000006
inverseXControls: true inverseXControls: false
inverseYControls: false inverseYControls: false
pitchUpperClamp: 45 pitchUpperClamp: 45
pitchLowerClamp: 5 pitchLowerClamp: 5

View File

@ -1,3 +1,4 @@
- NavData: 0
- EID: 0 - EID: 0
Name: Light_Direction Name: Light_Direction
IsActive: true IsActive: true
@ -9535,6 +9536,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -9587,6 +9589,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -9639,6 +9642,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -9691,6 +9695,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -9743,6 +9748,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -9795,6 +9801,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -9847,6 +9854,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -9899,6 +9907,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -9951,6 +9960,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -10003,6 +10013,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -10055,6 +10066,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -10107,6 +10119,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -10159,6 +10172,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -10211,6 +10225,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -10263,6 +10278,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -10315,6 +10331,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -10367,6 +10384,7 @@
Enabled: true Enabled: true
Score: 500 Score: 500
currCategory: 2 currCategory: 2
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -10419,6 +10437,7 @@
Enabled: true Enabled: true
Score: 500 Score: 500
currCategory: 2 currCategory: 2
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -10471,6 +10490,7 @@
Enabled: true Enabled: true
Score: 500 Score: 500
currCategory: 2 currCategory: 2
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -10523,6 +10543,7 @@
Enabled: true Enabled: true
Score: 500 Score: 500
currCategory: 2 currCategory: 2
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -10581,6 +10602,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 2 density: 2
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -10807,6 +10829,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 2 density: 2
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -11033,6 +11056,7 @@
Enabled: true Enabled: true
Score: 500 Score: 500
currCategory: 2 currCategory: 2
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -11085,6 +11109,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 1 density: 1
dontReturn: true dontReturn: true
soundDistance: 10 soundDistance: 10
@ -11137,6 +11162,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 1 density: 1
dontReturn: true dontReturn: true
soundDistance: 10 soundDistance: 10
@ -11189,6 +11215,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: true dontReturn: true
soundDistance: 10 soundDistance: 10
@ -11241,6 +11268,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: true dontReturn: true
soundDistance: 10 soundDistance: 10
@ -11293,6 +11321,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: true dontReturn: true
soundDistance: 10 soundDistance: 10
@ -11351,6 +11380,7 @@
Enabled: true Enabled: true
Score: 500 Score: 500
currCategory: 2 currCategory: 2
currFood: 0
density: 1 density: 1
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -11403,6 +11433,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 1 density: 1
dontReturn: true dontReturn: true
soundDistance: 10 soundDistance: 10
@ -11455,6 +11486,7 @@
Enabled: true Enabled: true
Score: 50 Score: 50
currCategory: 1 currCategory: 1
currFood: 0
density: 1 density: 1
dontReturn: true dontReturn: true
soundDistance: 10 soundDistance: 10
@ -11507,6 +11539,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: true dontReturn: true
soundDistance: 10 soundDistance: 10
@ -11559,6 +11592,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: true dontReturn: true
soundDistance: 10 soundDistance: 10
@ -11611,6 +11645,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 1 density: 1
dontReturn: true dontReturn: true
soundDistance: 10 soundDistance: 10
@ -11696,6 +11731,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 2 density: 2
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -11922,6 +11958,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 2 density: 2
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -12148,6 +12185,7 @@
Enabled: true Enabled: true
Score: 10 Score: 10
currCategory: 0 currCategory: 0
currFood: 0
density: 2 density: 2
dontReturn: false dontReturn: false
soundDistance: 10 soundDistance: 10
@ -12472,8 +12510,6 @@
armLength: 2 armLength: 2
turnSpeedPitch: 0.200000003 turnSpeedPitch: 0.200000003
turnSpeedYaw: 0.400000006 turnSpeedYaw: 0.400000006
inverseXControls: true
inverseYControls: false
pitchUpperClamp: 45 pitchUpperClamp: 45
pitchLowerClamp: 5 pitchLowerClamp: 5
- EID: 66064 - EID: 66064

View File

@ -1,3 +1,4 @@
- NavData: 0
- EID: 0 - EID: 0
Name: Main Menu Canvas Name: Main Menu Canvas
IsActive: true IsActive: true
@ -540,7 +541,14 @@
Canvas Height: 1080 Canvas Height: 1080
Scale by canvas width: false Scale by canvas width: false
IsActive: false IsActive: false
Scripts: ~ Scripts:
- Type: SHADE_Scripting.UI.Options
Enabled: true
masterVolSlider: 29
sfxVolSlider: 30
bgmVolSlider: 31
fovSlider: 37
sensitivitySlider: 38
- EID: 20 - EID: 20
Name: BackGround Name: BackGround
IsActive: true IsActive: true
@ -898,47 +906,47 @@
Scripts: ~ Scripts: ~
- EID: 449 - EID: 449
Name: Camera Invert X Text Name: Camera Invert X Text
IsActive: false IsActive: true
NumberOfChildren: 0 NumberOfChildren: 0
Components: Components:
Transform Component: Transform Component:
Translate: {x: 0, y: -200, z: 0.100000001} Translate: {x: 0, y: -200, z: 0.100000001}
Rotate: {x: 0, y: 0, z: 0} Rotate: {x: 0, y: 0, z: 0}
Scale: {x: 75, y: 75, z: 1} Scale: {x: 75, y: 75, z: 1}
IsActive: false IsActive: true
Text Renderer Component: Text Renderer Component:
Text: "Camera Invert X:" Text: "Camera Invert X:"
Font: 174412429 Font: 174412429
Color: {x: 0, y: 0, z: 0, w: 1} Color: {x: 0, y: 0, z: 0, w: 1}
Text Size: {x: 1, y: 1, z: 1} Text Size: {x: 1, y: 1, z: 1}
IsActive: false IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
Hovered: false Hovered: false
Clicked: false Clicked: false
IsActive: false IsActive: true
Scripts: ~ Scripts: ~
- EID: 447 - EID: 447
Name: Camera Invert Y Text Name: Camera Invert Y Text
IsActive: false IsActive: true
NumberOfChildren: 0 NumberOfChildren: 0
Components: Components:
Transform Component: Transform Component:
Translate: {x: 800, y: -200, z: 0.100000001} Translate: {x: 800, y: -200, z: 0.100000001}
Rotate: {x: 0, y: 0, z: 0} Rotate: {x: 0, y: 0, z: 0}
Scale: {x: 75, y: 75, z: 1} Scale: {x: 75, y: 75, z: 1}
IsActive: false IsActive: true
Text Renderer Component: Text Renderer Component:
Text: "Y:" Text: "Y:"
Font: 174412429 Font: 174412429
Color: {x: 0, y: 0, z: 0, w: 1} Color: {x: 0, y: 0, z: 0, w: 1}
Text Size: {x: 1, y: 1, z: 1} Text Size: {x: 1, y: 1, z: 1}
IsActive: false IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
Hovered: false Hovered: false
Clicked: false Clicked: false
IsActive: false IsActive: true
Scripts: ~ Scripts: ~
- EID: 36 - EID: 36
Name: Camera Slider Group Name: Camera Slider Group
@ -1008,54 +1016,62 @@
Scripts: ~ Scripts: ~
- EID: 448 - EID: 448
Name: Invert X Toggle Button Name: Invert X Toggle Button
IsActive: false IsActive: true
NumberOfChildren: 0 NumberOfChildren: 0
Components: Components:
Transform Component: Transform Component:
Translate: {x: -300, y: -200, z: 0} Translate: {x: -300, y: -200, z: 0}
Rotate: {x: 0, y: 0, z: 0} Rotate: {x: 0, y: 0, z: 0}
Scale: {x: 75, y: 75, z: 1} Scale: {x: 150, y: 150, z: 1}
IsActive: false IsActive: true
Renderable Component: Renderable Component:
Mesh: 141771688 Mesh: 141771688
Material: 129340704 Material: 129340704
IsActive: false IsActive: true
Toggle Button Component: Toggle Button Component:
Non Toggled Texture: 55358401 Non Toggled Texture: 50439604
Toggled Texture: 52333376 Toggled Texture: 64389107
Value: false Value: false
IsActive: false IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
Hovered: false Hovered: false
Clicked: false Clicked: false
IsActive: false IsActive: true
Scripts: ~ Scripts:
- Type: InverseCamera
Enabled: true
inverseX: true
inverseY: false
- EID: 445 - EID: 445
Name: Invert Y Toggle Button Name: Invert Y Toggle Button
IsActive: false IsActive: true
NumberOfChildren: 0 NumberOfChildren: 0
Components: Components:
Transform Component: Transform Component:
Translate: {x: -50, y: -200, z: 0} Translate: {x: -50, y: -200, z: 0}
Rotate: {x: 0, y: 0, z: 0} Rotate: {x: 0, y: 0, z: 0}
Scale: {x: 75, y: 75, z: 1} Scale: {x: 150, y: 150, z: 1}
IsActive: false IsActive: true
Renderable Component: Renderable Component:
Mesh: 141771688 Mesh: 141771688
Material: 129340704 Material: 129340704
IsActive: false IsActive: true
Toggle Button Component: Toggle Button Component:
Non Toggled Texture: 55358401 Non Toggled Texture: 50439604
Toggled Texture: 52333376 Toggled Texture: 64389107
Value: false Value: false
IsActive: false IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
Hovered: false Hovered: false
Clicked: false Clicked: false
IsActive: false IsActive: true
Scripts: ~ Scripts:
- Type: InverseCamera
Enabled: true
inverseX: false
inverseY: true
- EID: 39 - EID: 39
Name: Audio Slider Text Group Name: Audio Slider Text Group
IsActive: true IsActive: true
@ -1490,9 +1506,9 @@
Material: 129340704 Material: 129340704
IsActive: true IsActive: true
Button Component: Button Component:
Default Texture: 52916516 Default Texture: 55897117
Hovered Texture: 52916516 Hovered Texture: 55897117
Clicked Texture: 52916516 Clicked Texture: 55897117
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 50 Canvas ID: 50
@ -1518,9 +1534,9 @@
Material: 129340704 Material: 129340704
IsActive: true IsActive: true
Button Component: Button Component:
Default Texture: 55380564 Default Texture: 52151774
Hovered Texture: 55380564 Hovered Texture: 52151774
Clicked Texture: 55380564 Clicked Texture: 52151774
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 50 Canvas ID: 50
@ -1546,9 +1562,9 @@
Material: 129340704 Material: 129340704
IsActive: true IsActive: true
Button Component: Button Component:
Default Texture: 53392159 Default Texture: 51704639
Hovered Texture: 53392159 Hovered Texture: 51704639
Clicked Texture: 53392159 Clicked Texture: 51704639
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 50 Canvas ID: 50

View File

@ -10,9 +10,19 @@ public class Item : Script
HEAVY HEAVY
} }
public enum Food
{
EGG,
APPLE,
MEAT,
WATERMELON,
CHEESE
}
public int Score = 10; public int Score = 10;
public ItemCategory currCategory; public ItemCategory currCategory;
public Food currFood;
public bool returnBack { get; set; } public bool returnBack { get; set; }
private Transform transform; private Transform transform;
private RigidBody rb; private RigidBody rb;
@ -146,6 +156,7 @@ public class Item : Script
Audio.DetachAudioClipFromObject(AudioHandler.audioClipHandlers["SFXImpactElastic"]); Audio.DetachAudioClipFromObject(AudioHandler.audioClipHandlers["SFXImpactElastic"]);
Audio.DetachAudioClipFromObject(AudioHandler.audioClipHandlers["SFXImpactHard"]); Audio.DetachAudioClipFromObject(AudioHandler.audioClipHandlers["SFXImpactHard"]);
Debug.Log("ENTER");
if(emitter) if(emitter)
emitter.Emit(); emitter.Emit();

View File

@ -1,4 +1,5 @@
using SHADE; using SHADE;
using SHADE_Scripting.Audio;
using System; using System;
public class PlayerLandState : BaseState public class PlayerLandState : BaseState

View File

@ -72,7 +72,9 @@ public class PickAndThrow : Script
if (!tpc) if (!tpc)
Debug.LogError("TPC EMPTY"); Debug.LogError("TPC EMPTY");
AudioHandler.audioClipHandlers["SFXThrow"] = Audio.CreateAudioClip("event:/Raccoon/raccoon_throw"); AudioHandler.audioClipHandlers["SFXThrowLarge"] = Audio.CreateAudioClip("event:/Raccoon/raccoon_throw_large");
AudioHandler.audioClipHandlers["SFXThrowMedium"] = Audio.CreateAudioClip("event:/Raccoon/raccoon_throw_medium");
AudioHandler.audioClipHandlers["SFXThrowSmall"] = Audio.CreateAudioClip("event:/Raccoon/raccoon_throw_small");
timer = delayTimer; timer = delayTimer;
@ -126,7 +128,13 @@ public class PickAndThrow : Script
if (Input.GetMouseButtonUp(Input.MouseCode.LeftButton) && pc.isAiming) if (Input.GetMouseButtonUp(Input.MouseCode.LeftButton) && pc.isAiming)
{ {
AudioHandler.audioClipHandlers["SFXThrow"].Play(); if (itemScript.currCategory == ItemCategory.LIGHT)
AudioHandler.audioClipHandlers["SFXThrowSmall"].Play();
else if (itemScript.currCategory == ItemCategory.MEDIUM)
AudioHandler.audioClipHandlers["SFXThrowMedium"].Play();
else
AudioHandler.audioClipHandlers["SFXThrowLarge"].Play();
itemRidigBody.IsGravityEnabled = true; itemRidigBody.IsGravityEnabled = true;
itemCollider.GetCollisionShape(0).IsTrigger = false; itemCollider.GetCollisionShape(0).IsTrigger = false;
pc.isAiming = false; pc.isAiming = false;

View File

@ -150,6 +150,10 @@ public class PlayerController : Script
} }
AudioHandler.audioClipHandlers["footsteps"] = Audio.CreateAudioClip("event:/Raccoon/raccoon_footsteps"); AudioHandler.audioClipHandlers["footsteps"] = Audio.CreateAudioClip("event:/Raccoon/raccoon_footsteps");
AudioHandler.audioClipHandlers["Jump"] = Audio.CreateAudioClip("event:/Raccoon/raccoon_jump");
AudioHandler.audioClipHandlers["JumpPad"] = Audio.CreateAudioClip("event:/Raccoon/raccoon_jumpPad");
AudioHandler.audioClipHandlers["Land"] = Audio.CreateAudioClip("event:/Raccoon/raccoon_land");
AudioHandler.audioClipHandlers["RaccoonCaught"] = Audio.CreateAudioClip("event:/Raccoon/raccoon_caught");
playLandedAnimation = false; playLandedAnimation = false;
@ -403,7 +407,11 @@ public class PlayerController : Script
v.y *= jumpPadMultiplayer; v.y *= jumpPadMultiplayer;
landedOnJumpPad = false; landedOnJumpPad = false;
jumpPadDrop = true; jumpPadDrop = true;
AudioHandler.audioClipHandlers["JumpPad"].Play();
} }
else
AudioHandler.audioClipHandlers["Jump"].Play();
rb.LinearVelocity = v; rb.LinearVelocity = v;
} }
} }
@ -445,6 +453,7 @@ public class PlayerController : Script
isGrounded = true; isGrounded = true;
if (currentState == RaccoonStates.FALLING) if (currentState == RaccoonStates.FALLING)
{ {
AudioHandler.audioClipHandlers["Land"].Play();
currentState = RaccoonStates.LANDED; currentState = RaccoonStates.LANDED;
jumpPadDrop = false; jumpPadDrop = false;
dropTimer = 0.0f; dropTimer = 0.0f;
@ -491,6 +500,7 @@ public class PlayerController : Script
{ {
if (currentState == RaccoonStates.CAUGHT && tranform && respawnPoint) if (currentState == RaccoonStates.CAUGHT && tranform && respawnPoint)
{ {
AudioHandler.audioClipHandlers["RaccoonCaught"].Play();
currentState = RaccoonStates.IDLE; currentState = RaccoonStates.IDLE;
if (stateMachine && !stateMachine.IsState(typeof(PlayerIdleState))) if (stateMachine && !stateMachine.IsState(typeof(PlayerIdleState)))
stateMachine.SetState(typeof(PlayerIdleState)); stateMachine.SetState(typeof(PlayerIdleState));

View File

@ -14,8 +14,6 @@ namespace SHADE_Scripting
public float armLength = 2.0f; public float armLength = 2.0f;
public float turnSpeedPitch = 0.3f; public float turnSpeedPitch = 0.3f;
public float turnSpeedYaw = 0.5f; public float turnSpeedYaw = 0.5f;
public bool inverseXControls = false;
public bool inverseYControls = false;
public float pitchUpperClamp = 45.0f; public float pitchUpperClamp = 45.0f;
public float pitchLowerClamp = 5.0f; public float pitchLowerClamp = 5.0f;
@ -51,15 +49,15 @@ namespace SHADE_Scripting
if (arm) if (arm)
{ {
Vector2 vel = Input.GetMouseVelocity(); Vector2 vel = Input.GetMouseVelocity();
if(inverseYControls) if(Settings.inverseY)
arm.Pitch -= vel.y * turnSpeedPitch * Time.DeltaTimeF; arm.Pitch -= vel.y * turnSpeedPitch * Time.DeltaTimeF;
else else
arm.Pitch += vel.y * turnSpeedPitch * Time.DeltaTimeF; arm.Pitch += vel.y * turnSpeedPitch * Time.DeltaTimeF;
if (inverseXControls) if (Settings.inverseX)
arm.Yaw -= vel.x * turnSpeedYaw * Time.DeltaTimeF;
else
arm.Yaw += vel.x * turnSpeedYaw * Time.DeltaTimeF; arm.Yaw += vel.x * turnSpeedYaw * Time.DeltaTimeF;
else
arm.Yaw -= vel.x * turnSpeedYaw * Time.DeltaTimeF;
if (arm.Pitch > pitchUpperClamp) if (arm.Pitch > pitchUpperClamp)
{ {

View File

@ -90,6 +90,7 @@ public class GameManager : Script
Application.FixDeltaTime = Time.DefaultFixDeltaTime; Application.FixDeltaTime = Time.DefaultFixDeltaTime;
AudioHandler.audioClipHandlers["SFXItemScore"] = Audio.CreateAudioClip("event:/Music/stingers/item_scored"); AudioHandler.audioClipHandlers["SFXItemScore"] = Audio.CreateAudioClip("event:/Music/stingers/item_scored");
AudioHandler.audioClipHandlers["RaccoonScored"] = Audio.CreateAudioClip("event:/Raccoon/raccoon_scored");
} }
protected override void start() protected override void start()
@ -248,6 +249,7 @@ public class GameManager : Script
Audio.SetParameter("Multiplier", currMultiplierCombo); Audio.SetParameter("Multiplier", currMultiplierCombo);
AudioHandler.audioClipHandlers["SFXItemScore"].Play(); AudioHandler.audioClipHandlers["SFXItemScore"].Play();
AudioHandler.audioClipHandlers["RaccoonScored"].Play();
MultiplierTextFx fx = multiplierText.GetScript<MultiplierTextFx>(); MultiplierTextFx fx = multiplierText.GetScript<MultiplierTextFx>();
if (fx) if (fx)

View File

@ -0,0 +1,53 @@
using SHADE;
using SHADE_Scripting.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class InverseCamera : Script
{
public bool inverseX = false;
public bool inverseY = false;
protected override void awake()
{
UIElement ui = GetComponent<UIElement>();
if (ui)
{
Toggle toggle = ui.GetComponent<Toggle>();
if(inverseX)
toggle.SetValue(Settings.inverseX);
if(inverseY)
toggle.SetValue(Settings.inverseY);
}
else
{
Debug.LogError("Failed to register Toggle action for inverse");
}
}
protected override void start()
{
UIElement ui = GetComponent<UIElement>();
if (ui)
{
ui.OnClick.RegisterAction(() =>
{
Toggle toggle = ui.GetComponent<Toggle>();
if(inverseX)
Settings.inverseX = toggle.GetValue();
if(inverseY)
Settings.inverseY = toggle.GetValue();
});
}
else
{
Debug.LogError("Failed to register Toggle action for inverse");
}
}
}

View File

@ -0,0 +1,3 @@
Name: SC_InverseCamera
ID: 160969739
Type: 9

View File

@ -15,9 +15,6 @@ namespace SHADE_Scripting.UI
public GameObject fovSlider; public GameObject fovSlider;
public GameObject sensitivitySlider; public GameObject sensitivitySlider;
protected override void awake() protected override void awake()
{ {
Slider mv = masterVolSlider.GetComponent<Slider>(); Slider mv = masterVolSlider.GetComponent<Slider>();
@ -26,8 +23,6 @@ namespace SHADE_Scripting.UI
Slider fov = fovSlider.GetComponent<Slider>(); Slider fov = fovSlider.GetComponent<Slider>();
Slider sens = sensitivitySlider.GetComponent<Slider>(); Slider sens = sensitivitySlider.GetComponent<Slider>();
if (mv != null) if (mv != null)
{ {
mv.ScaledValue = Settings.masterVolume; mv.ScaledValue = Settings.masterVolume;

View File

@ -13,5 +13,7 @@ static public class Settings
static public float masterVolume = 100.0f; static public float masterVolume = 100.0f;
static public float sfxVolume = 100.0f; static public float sfxVolume = 100.0f;
static public float bgmVolume = 100.0f; static public float bgmVolume = 100.0f;
static public bool inverseX = false;
static public bool inverseY = false;
} }

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,3 @@
Name: Checkbox_Empty
ID: 50439604
Type: 3

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,3 @@
Name: Checkbox_Filled
ID: 64389107
Type: 3

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,3 @@
Name: Level_1_Select
ID: 55897117
Type: 3

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,3 @@
Name: Level_2_Select
ID: 52151774
Type: 3

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,3 @@
Name: Level_3_Select
ID: 51704639
Type: 3

View File

@ -1,3 +0,0 @@
Name: TX_Button_Level1
ID: 52916516
Type: 3

View File

@ -1,3 +0,0 @@
Name: TX_Button_Level2_1
ID: 55380564
Type: 3

View File

@ -1,3 +0,0 @@
Name: TX_Button_Level3_1
ID: 53392159
Type: 3

View File

@ -0,0 +1,30 @@
// Precompiled Headers
#include "SHpch.h"
// Primary Header
#include "Toggle.hxx"
#include "Assets/NativeAsset.hxx"
#include "Utility/Convert.hxx"
#include "Utility/Debug.hxx"
#include "ECS_Base/Managers/SHSystemManager.h"
#include "UI/SHUISystem.h"
namespace SHADE
{
Toggle::Toggle(Entity entity)
: Component(entity)
{}
bool Toggle::GetValue()
{
return GetNativeComponent()->GetValue();
}
void Toggle::SetValue(bool value)
{
return GetNativeComponent()->SetValue(value);
}
}

View File

@ -0,0 +1,48 @@
/************************************************************************************//*!
\file Slider.hxx
\author Daniel Chua, 2001877
\par email: yeechendaniel/@digipen.edu
\date Feb 26, 2023
\brief Contains the definition of the managed Slider class with the
declaration of functions for working with it.
Note: This file is written in C++17/CLI.
Copyright (C) 2023 DigiPen Institute of Technology.
Reproduction or disclosure of this file or its contents without the prior written consent
of DigiPen Institute of Technology is prohibited.
*//*************************************************************************************/
#pragma once
// Project Includes
#include "Components/Component.hxx"
#include "Math/Vector3.hxx"
#include "Math/Quaternion.hxx"
// External Dependencies
#include "UI/SHToggleButtonComponent.h"
namespace SHADE
{
/// <summary>
/// CLR version of the SHADE Engine's SHSliderComponent.
/// </summary>
public ref class Toggle : public Component<SHToggleButtonComponent>
{
internal:
/*-----------------------------------------------------------------------------*/
/* Constructors */
/*-----------------------------------------------------------------------------*/
/// <summary>
/// Constructs a Slider Component that represents a native SHSliderComponent
/// tied to the specified Entity.
/// </summary>
/// <param name="entity">Entity that this Component will be tied to.</param>
Toggle(Entity entity);
public:
bool GetValue();
void SetValue(bool value);
};
}

View File

@ -53,6 +53,7 @@ of DigiPen Institute of Technology is prohibited.
#include "Components\Animator.hxx" #include "Components\Animator.hxx"
#include "Components\ParticleEmitter.hxx" #include "Components\ParticleEmitter.hxx"
#include "Components\Navigation.hxx" #include "Components\Navigation.hxx"
#include "Components\Toggle.hxx"
namespace SHADE namespace SHADE
@ -345,6 +346,7 @@ namespace SHADE
componentMap.Add(createComponentSet<SHAnimatorComponent, Animator>()); componentMap.Add(createComponentSet<SHAnimatorComponent, Animator>());
componentMap.Add(createComponentSet<SHParticleEmitterComponent, ParticleEmitter>()); componentMap.Add(createComponentSet<SHParticleEmitterComponent, ParticleEmitter>());
componentMap.Add(createComponentSet<SHNavigationComponent, Navigation>()); componentMap.Add(createComponentSet<SHNavigationComponent, Navigation>());
componentMap.Add(createComponentSet<SHToggleButtonComponent, Toggle>());
} }
/*---------------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------------*/