Skip to content

Commit 440671e

Browse files
committed
Update unit prefabs and materials for movement and sun direction
Increased NavMeshAgent acceleration from 8 to 70 for all major unit prefabs (Infantry, Quad, TankCombat, TankHeavyA, TankHeavyB, Trike) and added new movement-related fields (_TargetMovePosition, _IsMovingToPosition, _fuelLevel) to their MonoBehaviours. Removed selectionColor property from these prefabs. Updated _SunDirection values in AtmosphereMaterial, CloudMaterial, and FogMaterial to new vector values.
1 parent 90e085d commit 440671e

File tree

9 files changed

+27
-15
lines changed

9 files changed

+27
-15
lines changed

Red Strike/Assets/PlanetAtmosphereSystem/AtmosphereMaterial.mat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Material:
4747
- _GunesYonu: {r: -0.91, g: 0.4, b: 3.24, a: 0}
4848
- _RenkUzak: {r: 0, g: 0.10166844, b: 2.152374, a: 1}
4949
- _RenkYakin: {r: 0, g: 5.670685, b: 8, a: 1}
50-
- _SunDirection: {r: 0.10851663, g: -0.78068715, b: -0.61542803, a: 0}
50+
- _SunDirection: {r: 0.1483191, g: -0.52005136, b: -0.84115875, a: 0}
5151
m_BuildTextureStacks: []
5252
m_AllowLocking: 1
5353
--- !u!114 &1522106816477559216

Red Strike/Assets/PlanetAtmosphereSystem/CloudMaterial.mat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Material:
4343
m_Colors:
4444
- _Color: {r: 0, g: 3.8274493, b: 5.992155, a: 1}
4545
- _GunesYonu: {r: -1, g: 0, b: 0, a: 0}
46-
- _SunDirection: {r: 0.10851663, g: -0.78068715, b: -0.61542803, a: 0}
46+
- _SunDirection: {r: 0.1483191, g: -0.52005136, b: -0.84115875, a: 0}
4747
m_BuildTextureStacks: []
4848
m_AllowLocking: 1
4949
--- !u!114 &8499732345945835446

Red Strike/Assets/PlanetAtmosphereSystem/FogMaterial.mat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ Material:
5454
- _QueueControl: 0
5555
- _QueueOffset: 0
5656
m_Colors:
57-
- _SunDirection: {r: 0.10851663, g: -0.78068715, b: -0.61542803, a: 0}
57+
- _SunDirection: {r: 0.1483191, g: -0.52005136, b: -0.84115875, a: 0}
5858
m_BuildTextureStacks: []
5959
m_AllowLocking: 1

Red Strike/Assets/Resources/Infantry.prefab

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5380,7 +5380,7 @@ NavMeshAgent:
53805380
m_AgentTypeID: 0
53815381
m_Radius: 0.5
53825382
m_Speed: 3.5
5383-
m_Acceleration: 8
5383+
m_Acceleration: 70
53845384
avoidancePriority: 50
53855385
m_AngularSpeed: 120
53865386
m_StoppingDistance: 0
@@ -5473,6 +5473,9 @@ MonoBehaviour:
54735473
lowEnergyThreshold: 0.3
54745474
_TargetNetworkId:
54755475
Raw: 0
5476+
_TargetMovePosition: {x: 0, y: 0, z: 0}
5477+
_IsMovingToPosition: 0
5478+
_fuelLevel: 0
54765479
engineSource: {fileID: 6058987034765308819}
54775480
animator: {fileID: 7699472609279259922}
54785481
rocketAttackRange: 40
@@ -5508,7 +5511,6 @@ MonoBehaviour:
55085511
m_Script: {fileID: 11500000, guid: d3e01160669f82e499d3f5c9fdb4eebc, type: 3}
55095512
m_Name:
55105513
m_EditorClassIdentifier:
5511-
selectionColor: {r: 0, g: 0.30980393, b: 1, a: 1}
55125514
--- !u!114 &6855712048071949838
55135515
MonoBehaviour:
55145516
m_ObjectHideFlags: 0

Red Strike/Assets/Resources/Quad.prefab

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5335,7 +5335,7 @@ NavMeshAgent:
53355335
m_AgentTypeID: 0
53365336
m_Radius: 2.44
53375337
m_Speed: 3.5
5338-
m_Acceleration: 8
5338+
m_Acceleration: 70
53395339
avoidancePriority: 50
53405340
m_AngularSpeed: 120
53415341
m_StoppingDistance: 0
@@ -5430,6 +5430,9 @@ MonoBehaviour:
54305430
lowEnergyThreshold: 0.3
54315431
_TargetNetworkId:
54325432
Raw: 0
5433+
_TargetMovePosition: {x: 0, y: 0, z: 0}
5434+
_IsMovingToPosition: 0
5435+
_fuelLevel: 0
54335436
engineSource: {fileID: 7040296906606052471}
54345437
animator: {fileID: 1362993600178568906}
54355438
rocketAttackRange: 40
@@ -5482,7 +5485,6 @@ MonoBehaviour:
54825485
m_Script: {fileID: 11500000, guid: d3e01160669f82e499d3f5c9fdb4eebc, type: 3}
54835486
m_Name:
54845487
m_EditorClassIdentifier:
5485-
selectionColor: {r: 0, g: 0.30699968, b: 1, a: 1}
54865488
--- !u!82 &6342048877260788982
54875489
AudioSource:
54885490
m_ObjectHideFlags: 0

Red Strike/Assets/Resources/TankCombat.prefab

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4925,7 +4925,7 @@ NavMeshAgent:
49254925
m_AgentTypeID: 0
49264926
m_Radius: 3.18
49274927
m_Speed: 3.5
4928-
m_Acceleration: 8
4928+
m_Acceleration: 70
49294929
avoidancePriority: 50
49304930
m_AngularSpeed: 120
49314931
m_StoppingDistance: 0
@@ -4981,6 +4981,9 @@ MonoBehaviour:
49814981
lowEnergyThreshold: 0.3
49824982
_TargetNetworkId:
49834983
Raw: 0
4984+
_TargetMovePosition: {x: 0, y: 0, z: 0}
4985+
_IsMovingToPosition: 0
4986+
_fuelLevel: 0
49844987
engineSource: {fileID: 681241975874448737}
49854988
animator: {fileID: 3600975313029927869}
49864989
rocketAttackRange: 40
@@ -5054,7 +5057,6 @@ MonoBehaviour:
50545057
m_Script: {fileID: 11500000, guid: d3e01160669f82e499d3f5c9fdb4eebc, type: 3}
50555058
m_Name:
50565059
m_EditorClassIdentifier:
5057-
selectionColor: {r: 0, g: 0.30980393, b: 1, a: 1}
50585060
--- !u!114 &3587256659096845638
50595061
MonoBehaviour:
50605062
m_ObjectHideFlags: 0

Red Strike/Assets/Resources/TankHeavyA.prefab

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5312,7 +5312,7 @@ NavMeshAgent:
53125312
m_AgentTypeID: 0
53135313
m_Radius: 4.41
53145314
m_Speed: 3.5
5315-
m_Acceleration: 8
5315+
m_Acceleration: 70
53165316
avoidancePriority: 50
53175317
m_AngularSpeed: 120
53185318
m_StoppingDistance: 0
@@ -5405,6 +5405,9 @@ MonoBehaviour:
54055405
lowEnergyThreshold: 0.3
54065406
_TargetNetworkId:
54075407
Raw: 0
5408+
_TargetMovePosition: {x: 0, y: 0, z: 0}
5409+
_IsMovingToPosition: 0
5410+
_fuelLevel: 0
54085411
engineSource: {fileID: 8344803449278041535}
54095412
animator: {fileID: 5007558135761398548}
54105413
rocketAttackRange: 40
@@ -5441,7 +5444,6 @@ MonoBehaviour:
54415444
m_Script: {fileID: 11500000, guid: d3e01160669f82e499d3f5c9fdb4eebc, type: 3}
54425445
m_Name:
54435446
m_EditorClassIdentifier:
5444-
selectionColor: {r: 0, g: 0.30980393, b: 1, a: 1}
54455447
--- !u!114 &5259369918086251800
54465448
MonoBehaviour:
54475449
m_ObjectHideFlags: 0

Red Strike/Assets/Resources/TankHeavyB.prefab

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ NavMeshAgent:
372372
m_AgentTypeID: 0
373373
m_Radius: 4.42
374374
m_Speed: 3.5
375-
m_Acceleration: 8
375+
m_Acceleration: 70
376376
avoidancePriority: 50
377377
m_AngularSpeed: 120
378378
m_StoppingDistance: 0
@@ -465,6 +465,9 @@ MonoBehaviour:
465465
lowEnergyThreshold: 0.3
466466
_TargetNetworkId:
467467
Raw: 0
468+
_TargetMovePosition: {x: 0, y: 0, z: 0}
469+
_IsMovingToPosition: 0
470+
_fuelLevel: 0
468471
engineSource: {fileID: 595451111231717810}
469472
animator: {fileID: 3908224367845254761}
470473
rocketAttackRange: 40
@@ -501,7 +504,6 @@ MonoBehaviour:
501504
m_Script: {fileID: 11500000, guid: d3e01160669f82e499d3f5c9fdb4eebc, type: 3}
502505
m_Name:
503506
m_EditorClassIdentifier:
504-
selectionColor: {r: 0, g: 0.30980393, b: 1, a: 1}
505507
--- !u!114 &5437171139404782462
506508
MonoBehaviour:
507509
m_ObjectHideFlags: 0

Red Strike/Assets/Resources/Trike.prefab

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5516,7 +5516,7 @@ NavMeshAgent:
55165516
m_AgentTypeID: 0
55175517
m_Radius: 1.65
55185518
m_Speed: 3.5
5519-
m_Acceleration: 8
5519+
m_Acceleration: 70
55205520
avoidancePriority: 50
55215521
m_AngularSpeed: 120
55225522
m_StoppingDistance: 0
@@ -5609,6 +5609,9 @@ MonoBehaviour:
56095609
lowEnergyThreshold: 0.3
56105610
_TargetNetworkId:
56115611
Raw: 0
5612+
_TargetMovePosition: {x: 0, y: 0, z: 0}
5613+
_IsMovingToPosition: 0
5614+
_fuelLevel: 0
56125615
engineSource: {fileID: 7716342696854761872}
56135616
animator: {fileID: 574273482213751387}
56145617
rocketAttackRange: 40
@@ -5644,7 +5647,6 @@ MonoBehaviour:
56445647
m_Script: {fileID: 11500000, guid: d3e01160669f82e499d3f5c9fdb4eebc, type: 3}
56455648
m_Name:
56465649
m_EditorClassIdentifier:
5647-
selectionColor: {r: 0, g: 0.30980393, b: 1, a: 1}
56485650
--- !u!82 &1947969905624286606
56495651
AudioSource:
56505652
m_ObjectHideFlags: 0

0 commit comments

Comments
 (0)