Simple Pigman AI

This commit is contained in:
Michal Pikulski
2025-12-04 08:52:59 +01:00
committed by Michal Pikulski
parent 9b71b00441
commit a463e099b4
27 changed files with 7452 additions and 428 deletions

View File

@@ -0,0 +1,24 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d354649c25014aa2a7b3b45841834f74, type: 3}
m_Name: FortFightDeveloperSettings
m_EditorClassIdentifier: AppleHillsScripts::AppleHills.Core.Settings.FortFightDeveloperSettings
showAIDebugVisuals: 1
aiDebugTargetColor: {r: 1, g: 0, b: 0, a: 1}
aiDebugCircleRadius: 0.5
aiDebugTrajectoryColor: {r: 1, g: 0.92156863, b: 0.015686275, a: 1}
slingshotShowDebugLogs: 1
ammunitionShowDebugLogs: 1
fortShowDebugInfo: 1
healthUIDebugDisplay: 0
debugPlayerFortPrefab: {fileID: 0}
debugEnemyFortPrefab: {fileID: 0}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1476365959c6ead48985cb10ae82696f
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -32,6 +32,26 @@ MonoBehaviour:
- size: 2
hpMultiplier: 2
massMultiplier: 2
aiDifficultyConfigs:
- difficulty: 0
data:
angleDeviation: 45
forceDeviation: 0.3
thinkTimeMin: 1.5
thinkTimeMax: 2
- difficulty: 1
data:
angleDeviation: 30
forceDeviation: 0.2
thinkTimeMin: 1
thinkTimeMax: 2
- difficulty: 2
data:
angleDeviation: 10
forceDeviation: 0.1
thinkTimeMin: 0.5
thinkTimeMax: 2
defaultAIDifficulty: 1
weakPointExplosionRadius: 5
weakPointExplosionDamage: 50
weakPointExplosionForce: 50