├── .gitignore ├── BasicGame ├── Assembly-CSharp-firstpass-vs.csproj ├── Assembly-CSharp-firstpass.csproj ├── Assembly-CSharp-firstpass.pidb ├── Assembly-CSharp-vs.csproj ├── Assembly-CSharp.csproj ├── Assembly-CSharp.pidb ├── Assembly-UnityScript-Editor-vs.unityproj ├── Assembly-UnityScript-Editor.pidb ├── Assembly-UnityScript-Editor.unityproj ├── Assembly-UnityScript-firstpass-vs.unityproj ├── Assembly-UnityScript-firstpass.pidb ├── Assembly-UnityScript-firstpass.unityproj ├── Assets │ ├── Audio.meta │ ├── Audio │ │ ├── EricZombie1.mp3 │ │ ├── EricZombie1.mp3.meta │ │ ├── EricZombie2.mp3 │ │ ├── EricZombie2.mp3.meta │ │ ├── EricZombie3.mp3 │ │ ├── EricZombie3.mp3.meta │ │ ├── GunCock.mp3 │ │ ├── GunCock.mp3.meta │ │ ├── GunFire.mp3 │ │ └── GunFire.mp3.meta │ ├── Editor.meta │ ├── Editor │ │ ├── NavMeshWindow.js │ │ ├── NavMeshWindow.js.meta │ │ ├── PathfindingEditor.js │ │ └── PathfindingEditor.js.meta │ ├── Materials.meta │ ├── Materials │ │ ├── Bricks.mat │ │ ├── Bricks.mat.meta │ │ ├── Door.mat │ │ ├── Door.mat.meta │ │ ├── Material.mat │ │ ├── Material.mat.meta │ │ ├── Material_001.mat │ │ ├── Material_001.mat.meta │ │ ├── Material_004.mat │ │ ├── Material_004.mat.meta │ │ ├── Material_005.mat │ │ ├── Material_005.mat.meta │ │ ├── Material_006.mat │ │ ├── Material_006.mat.meta │ │ ├── Material_007.mat │ │ ├── Material_007.mat.meta │ │ ├── Material_008.mat │ │ ├── Material_008.mat.meta │ │ ├── Material_009.mat │ │ ├── Material_009.mat.meta │ │ ├── Material_011.mat │ │ ├── Material_011.mat.meta │ │ ├── Material_012.mat │ │ ├── Material_012.mat.meta │ │ ├── Materials.meta │ │ ├── Materials │ │ │ ├── wall.mat │ │ │ └── wall.mat.meta │ │ ├── No Name.mat │ │ ├── No Name.mat.meta │ │ ├── Plaster.mat │ │ ├── Plaster.mat.meta │ │ ├── Roof.mat │ │ ├── Roof.mat.meta │ │ ├── Rope.mat │ │ ├── Rope.mat.meta │ │ ├── Stone Wall.mat │ │ ├── Stone Wall.mat.meta │ │ ├── Window.mat │ │ ├── Window.mat.meta │ │ ├── Wood.mat │ │ ├── Wood.mat.meta │ │ ├── dumbcarpet.jpg │ │ ├── dumbcarpet.jpg.meta │ │ ├── unnamed.mat │ │ ├── unnamed.mat.meta │ │ ├── wall.png │ │ ├── wall.png.meta │ │ ├── wall_noline.png │ │ ├── wall_noline.png.meta │ │ ├── wood floor 2.mat │ │ └── wood floor 2.mat.meta │ ├── Models.meta │ ├── Models │ │ ├── FT_CaveWorm.meta │ │ ├── FT_CaveWorm │ │ │ ├── CaveWorm_anim.fbx │ │ │ ├── CaveWorm_anim.fbx.meta │ │ │ ├── Diffuse.psd │ │ │ ├── Diffuse.psd.meta │ │ │ ├── Materials.meta │ │ │ ├── Materials │ │ │ │ ├── CaveWorm.mat │ │ │ │ ├── CaveWorm.mat.meta │ │ │ │ ├── Diffuse.mat │ │ │ │ └── Diffuse.mat.meta │ │ │ ├── Normal.psd │ │ │ └── Normal.psd.meta │ │ ├── GALIL ACE 32 AK-Default Stock.blend │ │ ├── GALIL ACE 32 AK-Default Stock.blend.meta │ │ ├── GALIL ACE 32 AK-Default Stock.blend1 │ │ ├── GALIL ACE 32 AK-Default Stock.blend1.meta │ │ ├── GALIL ACE 32 AK-Default Stock.blend2 │ │ ├── GALIL ACE 32 AK-Default Stock.blend2.meta │ │ ├── HealthBox.blend │ │ ├── HealthBox.blend.meta │ │ ├── HealthBox.blend1 │ │ ├── HealthBox.blend1.meta │ │ ├── HealthBoxTex.png │ │ ├── HealthBoxTex.png.meta │ │ ├── House_LVL1.blend │ │ ├── House_LVL1.blend.meta │ │ ├── House_LVL1.blend1 │ │ ├── House_LVL1.blend1.meta │ │ ├── House_LVL1.blend2 │ │ ├── House_LVL1.blend2.meta │ │ ├── Materials.meta │ │ ├── Materials │ │ │ ├── Barrel.mat │ │ │ ├── Barrel.mat.meta │ │ │ ├── Box.mat │ │ │ ├── Box.mat.meta │ │ │ ├── Caps.mat │ │ │ ├── Caps.mat.meta │ │ │ ├── HealthBoxTex.mat │ │ │ ├── HealthBoxTex.mat.meta │ │ │ ├── Light.mat │ │ │ ├── Light.mat.meta │ │ │ ├── Material_002.mat │ │ │ ├── Material_002.mat.meta │ │ │ ├── Material_003.mat │ │ │ ├── Material_003.mat.meta │ │ │ ├── Material_017.mat │ │ │ ├── Material_017.mat.meta │ │ │ ├── Material_020.mat │ │ │ ├── Material_020.mat.meta │ │ │ ├── Planks.mat │ │ │ ├── Planks.mat.meta │ │ │ ├── Rings.mat │ │ │ ├── Rings.mat.meta │ │ │ ├── String.mat │ │ │ ├── String.mat.meta │ │ │ ├── dumbcarpet.mat │ │ │ ├── dumbcarpet.mat.meta │ │ │ ├── wall.mat │ │ │ └── wall.mat.meta │ │ ├── barrel_metal.blend │ │ ├── barrel_metal.blend.meta │ │ ├── barrel_wooden.blend │ │ ├── barrel_wooden.blend.meta │ │ ├── box_metal.blend │ │ ├── box_metal.blend.meta │ │ ├── box_wooden.blend │ │ ├── box_wooden.blend.meta │ │ ├── shipping_pallet.blend │ │ ├── shipping_pallet.blend.meta │ │ ├── standin.blend │ │ ├── standin.blend.meta │ │ ├── standin.blend1 │ │ └── standin.blend1.meta │ ├── Pathfinding Scripts.meta │ ├── Pathfinding Scripts │ │ ├── NavmeshFollower.js │ │ ├── NavmeshFollower.js.meta │ │ ├── NavmeshGeometry.js │ │ ├── NavmeshGeometry.js.meta │ │ ├── Pathfinder.js │ │ ├── Pathfinder.js.meta │ │ ├── Waypoint.js │ │ ├── Waypoint.js.meta │ │ ├── WaypointFollower.js │ │ ├── WaypointFollower.js.meta │ │ ├── WaypointWanderer.js │ │ └── WaypointWanderer.js.meta │ ├── Resources.meta │ ├── Resources │ │ ├── CaveWorm_anim.prefab │ │ ├── CaveWorm_anim.prefab.meta │ │ ├── HealthBox.prefab │ │ ├── HealthBox.prefab.meta │ │ ├── LampLight.prefab │ │ ├── LampLight.prefab.meta │ │ ├── NavmeshNode.prefab │ │ ├── NavmeshNode.prefab.meta │ │ ├── WaypointNode.prefab │ │ ├── WaypointNode.prefab.meta │ │ ├── box_wooden.prefab │ │ └── box_wooden.prefab.meta │ ├── Scripts.meta │ ├── Scripts │ │ ├── AIDirector.js │ │ ├── AIDirector.js.meta │ │ ├── AmmoDrop.js │ │ ├── AmmoDrop.js.meta │ │ ├── AmmoUse.js │ │ ├── AmmoUse.js.meta │ │ ├── AmmoVisibility.js │ │ ├── AmmoVisibility.js.meta │ │ ├── CanBeHurt.js │ │ ├── CanBeHurt.js.meta │ │ ├── CharacterHealth.js │ │ ├── CharacterHealth.js.meta │ │ ├── Die.js │ │ ├── Die.js.meta │ │ ├── EnemyHealth.js │ │ ├── EnemyHealth.js.meta │ │ ├── GetAmmo.js │ │ ├── GetAmmo.js.meta │ │ ├── Gui.js │ │ ├── Gui.js.meta │ │ ├── HealthDrop.js │ │ ├── HealthDrop.js.meta │ │ ├── IsAmmo.js │ │ ├── IsAmmo.js.meta │ │ ├── Shoot.js │ │ ├── Shoot.js.meta │ │ ├── Spawner.js │ │ ├── Spawner.js.meta │ │ ├── UtilityKey.js │ │ ├── UtilityKey.js.meta │ │ ├── isAmmoSpawn.js │ │ ├── isAmmoSpawn.js.meta │ │ ├── isEnemySpawn.js │ │ ├── isEnemySpawn.js.meta │ │ ├── isHealthSpawn.js │ │ └── isHealthSpawn.js.meta │ ├── Secondary.unity │ ├── Secondary.unity.meta │ ├── Spin.js │ ├── Spin.js.meta │ ├── Standard Assets.meta │ ├── Standard Assets │ │ ├── Character Controllers.meta │ │ └── Character Controllers │ │ │ ├── 3rd Person Controller.prefab │ │ │ ├── 3rd Person Controller.prefab.meta │ │ │ ├── First Person Controller.prefab │ │ │ ├── First Person Controller.prefab.meta │ │ │ ├── Sources.meta │ │ │ └── Sources │ │ │ ├── PrototypeCharacter.meta │ │ │ ├── PrototypeCharacter │ │ │ ├── Constructor.FBX │ │ │ ├── Constructor.FBX.meta │ │ │ ├── Materials.meta │ │ │ ├── Materials │ │ │ │ ├── constructor_done.mat │ │ │ │ └── constructor_done.mat.meta │ │ │ ├── Textures.meta │ │ │ └── Textures │ │ │ │ ├── constructor_diffuse.png │ │ │ │ ├── constructor_diffuse.png.meta │ │ │ │ ├── constructor_normals.png │ │ │ │ └── constructor_normals.png.meta │ │ │ ├── Scripts.meta │ │ │ └── Scripts │ │ │ ├── CharacterMotor.js │ │ │ ├── CharacterMotor.js.meta │ │ │ ├── FPSInputController.js │ │ │ ├── FPSInputController.js.meta │ │ │ ├── GunLook.js │ │ │ ├── GunLook.js.meta │ │ │ ├── MouseLook.cs │ │ │ ├── MouseLook.cs.meta │ │ │ ├── PlatformInputController.js │ │ │ ├── PlatformInputController.js.meta │ │ │ ├── ThirdPersonCamera.js │ │ │ ├── ThirdPersonCamera.js.meta │ │ │ ├── ThirdPersonController.js │ │ │ └── ThirdPersonController.js.meta │ ├── Working Assets.meta │ ├── Working Assets │ │ ├── Objects.meta │ │ ├── Objects │ │ │ ├── splatterDecal.mb │ │ │ └── splatterDecal.mb.meta │ │ ├── Textures.meta │ │ └── Textures │ │ │ ├── splatter1.tif │ │ │ └── splatter1.tif.meta │ ├── sights.png │ └── sights.png.meta ├── ProjectSettings │ ├── AudioManager.asset │ ├── DynamicsManager.asset │ ├── EditorBuildSettings.asset │ ├── EditorSettings.asset │ ├── InputManager.asset │ ├── NavMeshLayers.asset │ ├── NetworkManager.asset │ ├── ProjectSettings.asset │ ├── QualitySettings.asset │ ├── TagManager.asset │ └── TimeManager.asset ├── arachnophobia.exe └── arachnophobia_Data │ ├── Managed │ ├── Assembly-CSharp-firstpass.dll │ ├── Assembly-UnityScript-firstpass.dll │ ├── Assembly-UnityScript.dll │ ├── Boo.Lang.dll │ ├── Mono.Security.dll │ ├── System.Core.dll │ ├── System.dll │ ├── UnityEngine.dll │ ├── UnityScript.Lang.dll │ └── mscorlib.dll │ ├── Mono │ ├── etc │ │ └── mono │ │ │ ├── 1.0 │ │ │ ├── DefaultWsdlHelpGenerator.aspx │ │ │ └── machine.config │ │ │ ├── 2.0 │ │ │ ├── Browsers │ │ │ │ └── Compat.browser │ │ │ ├── DefaultWsdlHelpGenerator.aspx │ │ │ ├── machine.config │ │ │ ├── settings.map │ │ │ └── web.config │ │ │ ├── browscap.ini │ │ │ ├── config │ │ │ └── mconfig │ │ │ └── config.xml │ └── mono.dll │ ├── PlayerConnectionConfigFile │ ├── Resources │ └── unity default resources │ ├── mainData │ ├── output_log.txt │ ├── resources.assets │ └── sharedassets0.assets ├── Builds ├── OSX.app │ └── Contents │ │ ├── Data │ │ ├── Managed │ │ │ ├── Assembly-CSharp-firstpass.dll │ │ │ ├── Assembly-UnityScript-firstpass.dll │ │ │ ├── Assembly-UnityScript.dll │ │ │ ├── Boo.Lang.dll │ │ │ ├── Mono.Security.dll │ │ │ ├── System.Core.dll │ │ │ ├── System.dll │ │ │ ├── UnityEngine.dll │ │ │ ├── UnityScript.Lang.dll │ │ │ ├── etc │ │ │ │ └── mono │ │ │ │ │ ├── 1.0 │ │ │ │ │ ├── DefaultWsdlHelpGenerator.aspx │ │ │ │ │ └── machine.config │ │ │ │ │ ├── 2.0 │ │ │ │ │ ├── Browsers │ │ │ │ │ │ └── Compat.browser │ │ │ │ │ ├── DefaultWsdlHelpGenerator.aspx │ │ │ │ │ ├── machine.config │ │ │ │ │ ├── settings.map │ │ │ │ │ └── web.config │ │ │ │ │ ├── browscap.ini │ │ │ │ │ ├── config │ │ │ │ │ └── mconfig │ │ │ │ │ └── config.xml │ │ │ └── mscorlib.dll │ │ ├── PlayerConnectionConfigFile │ │ ├── mainData │ │ ├── resources.assets │ │ └── sharedassets0.assets │ │ ├── Frameworks │ │ └── MonoEmbedRuntime │ │ │ └── osx │ │ │ └── libmono.0.dylib │ │ ├── Info.plist │ │ ├── MacOS │ │ └── BasicGame │ │ ├── PkgInfo │ │ └── Resources │ │ ├── Ageia.tif │ │ ├── HID_override.plist │ │ ├── KeyConfig.nib │ │ ├── classes.nib │ │ ├── info.nib │ │ └── keyedobjects.nib │ │ ├── MainMenu.nib │ │ ├── classes.nib │ │ ├── info.nib │ │ └── keyedobjects.nib │ │ ├── Mono.tif │ │ ├── ScreenSelector.nib │ │ ├── classes.nib │ │ ├── info.nib │ │ └── keyedobjects.nib │ │ ├── UnityPlayerIcon.png │ │ └── unity default resources ├── Windows.exe └── Windows_Data │ ├── Managed │ ├── Assembly-CSharp-firstpass.dll │ ├── Assembly-UnityScript-firstpass.dll │ ├── Assembly-UnityScript.dll │ ├── Boo.Lang.dll │ ├── Mono.Security.dll │ ├── System.Core.dll │ ├── System.dll │ ├── UnityEngine.dll │ ├── UnityScript.Lang.dll │ └── mscorlib.dll │ ├── Mono │ ├── etc │ │ └── mono │ │ │ ├── 1.0 │ │ │ ├── DefaultWsdlHelpGenerator.aspx │ │ │ └── machine.config │ │ │ ├── 2.0 │ │ │ ├── Browsers │ │ │ │ └── Compat.browser │ │ │ ├── DefaultWsdlHelpGenerator.aspx │ │ │ ├── machine.config │ │ │ ├── settings.map │ │ │ └── web.config │ │ │ ├── browscap.ini │ │ │ ├── config │ │ │ └── mconfig │ │ │ └── config.xml │ └── mono.dll │ ├── PlayerConnectionConfigFile │ ├── Resources │ └── unity default resources │ ├── mainData │ ├── resources.assets │ └── sharedassets0.assets ├── MazeFind.png ├── PathfindingDemo.png ├── README.md └── UnityPathing ├── Assets ├── Demo.unity ├── Demo.unity.meta ├── Editor.meta ├── Editor │ ├── NavMeshWindow.js │ ├── NavMeshWindow.js.meta │ ├── PathfindingEditor.js │ └── PathfindingEditor.js.meta ├── FT_CaveWorm.meta ├── FT_CaveWorm │ ├── CaveWorm_anim.fbx │ ├── CaveWorm_anim.fbx.meta │ ├── Diffuse.psd │ ├── Diffuse.psd.meta │ ├── Materials.meta │ ├── Materials │ │ ├── CaveWorm.mat │ │ ├── CaveWorm.mat.meta │ │ ├── Diffuse.mat │ │ └── Diffuse.mat.meta │ ├── Normal.psd │ └── Normal.psd.meta ├── Maze.unity ├── Maze.unity.meta ├── NavMeshTesting.unity ├── NavMeshTesting.unity.meta ├── Pathfinding Scripts.meta ├── Pathfinding Scripts │ ├── NavmeshFollower.js │ ├── NavmeshFollower.js.meta │ ├── NavmeshGeometry.js │ ├── NavmeshGeometry.js.meta │ ├── Pathfinder.js │ ├── Pathfinder.js.meta │ ├── Waypoint.js │ ├── Waypoint.js.meta │ ├── WaypointFollower.js │ ├── WaypointFollower.js.meta │ ├── WaypointWanderer.js │ └── WaypointWanderer.js.meta ├── Prefabs.meta ├── Prefabs │ ├── Agent.prefab │ └── Agent.prefab.meta ├── Raw Objects.meta ├── Raw Objects │ ├── House.blend │ ├── House.blend.meta │ ├── Materials.meta │ ├── Materials │ │ ├── Material.mat │ │ ├── Material.mat.meta │ │ ├── Material_001.mat │ │ ├── Material_001.mat.meta │ │ ├── Material__Lightmap_001.mat │ │ └── Material__Lightmap_001.mat.meta │ ├── Maze.blend │ ├── Maze.blend.meta │ ├── NavMeshTest.blend │ ├── NavMeshTest.blend.meta │ ├── NavMeshTestComplex.blend │ └── NavMeshTestComplex.blend.meta ├── Resources.meta └── Resources │ ├── NavmeshNode.prefab │ ├── NavmeshNode.prefab.meta │ ├── WaypointNode.prefab │ └── WaypointNode.prefab.meta └── ProjectSettings ├── AudioManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── InputManager.asset ├── NavMeshLayers.asset ├── NetworkManager.asset ├── ProjectSettings.asset ├── QualitySettings.asset ├── TagManager.asset └── TimeManager.asset /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | UnityPathing/Assembly-UnityScript-vs.unityproj 3 | UnityPathing/Assembly-UnityScript.pidb 4 | UnityPathing/Assembly-UnityScript.unityproj 5 | UnityPathing/UnityPathing-csharp.sln 6 | UnityPathing/UnityPathing.sln 7 | UnityPathing/UnityPathing.userprefs 8 | UnityPathing/Library/* 9 | UnityPathing/Library 10 | UnityPathing/Temp 11 | UnityPathing/Temp/* 12 | 13 | BasicGame/Temp 14 | BasicGame/Assembly-UnityScript-vs.unityproj 15 | BasicGame/Assembly-UnityScript.pidb 16 | BasicGame/Assembly-UnityScript.unityproj 17 | BasicGame/BasicGame-csharp.sln 18 | BasicGame/BasicGame.sln 19 | BasicGame/BasicGame.userprefs 20 | BasicGame/Library/* 21 | BasicGame/Temp/* 22 | -------------------------------------------------------------------------------- /BasicGame/Assembly-CSharp-firstpass-vs.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Debug 5 | AnyCPU 6 | 10.0.20506 7 | 2.0 8 | {94DC1989-8039-E279-A5AC-9DB975B0E78E} 9 | Library 10 | Properties 11 | 12 | Assembly-CSharp-firstpass 13 | v3.5 14 | 512 15 | 16 | 17 | true 18 | full 19 | false 20 | Temp\bin\Debug\ 21 | DEBUG;TRACE;UNITY_STANDALONE_WIN;ENABLE_MICROPHONE;ENABLE_IMAGEEFFECTS;ENABLE_WEBCAM;ENABLE_AUDIO_FMOD;UNITY_STANDALONE;ENABLE_NETWORK;ENABLE_MONO;ENABLE_PHYSICS;ENABLE_TERRAIN;ENABLE_CACHING;ENABLE_SUBSTANCE;ENABLE_GENERICS;ENABLE_CLOTH;ENABLE_MOVIES;ENABLE_AUDIO;ENABLE_WWW;ENABLE_SHADOWS;ENABLE_DUCK_TYPING;UNITY_4_1_2;UNITY_4_1;ENABLE_PROFILER;UNITY_EDITOR 22 | prompt 23 | 4 24 | 0169 25 | 26 | 27 | pdbonly 28 | true 29 | Temp\bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 0169 34 | 35 | 36 | 37 | 38 | 39 | 40 | C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEngine.dll 41 | 42 | 43 | C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEditor.dll 44 | 45 | 46 | 47 | 48 | 49 | 50 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /BasicGame/Assembly-CSharp-firstpass.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Debug 5 | AnyCPU 6 | 10.0.20506 7 | 2.0 8 | {94DC1989-8039-E279-A5AC-9DB975B0E78E} 9 | Library 10 | Properties 11 | 12 | Assembly-CSharp-firstpass 13 | v3.5 14 | 512 15 | 16 | 17 | true 18 | full 19 | false 20 | Temp\bin\Debug\ 21 | DEBUG;TRACE;UNITY_STANDALONE_WIN;ENABLE_MICROPHONE;ENABLE_IMAGEEFFECTS;ENABLE_WEBCAM;ENABLE_AUDIO_FMOD;UNITY_STANDALONE;ENABLE_NETWORK;ENABLE_MONO;ENABLE_PHYSICS;ENABLE_TERRAIN;ENABLE_CACHING;ENABLE_SUBSTANCE;ENABLE_GENERICS;ENABLE_CLOTH;ENABLE_MOVIES;ENABLE_AUDIO;ENABLE_WWW;ENABLE_SHADOWS;ENABLE_DUCK_TYPING;UNITY_4_1_2;UNITY_4_1;ENABLE_PROFILER;UNITY_EDITOR 22 | prompt 23 | 4 24 | 0169 25 | 26 | 27 | pdbonly 28 | true 29 | Temp\bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 0169 34 | 35 | 36 | 37 | 38 | 39 | 40 | C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEngine.dll 41 | 42 | 43 | C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEditor.dll 44 | 45 | 46 | 47 | 48 | 49 | 50 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /BasicGame/Assembly-CSharp-firstpass.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assembly-CSharp-firstpass.pidb -------------------------------------------------------------------------------- /BasicGame/Assembly-CSharp-vs.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Debug 5 | AnyCPU 6 | 10.0.20506 7 | 2.0 8 | {9A2D568D-8F52-E76E-636C-2F3A800F57B9} 9 | Library 10 | Properties 11 | 12 | Assembly-CSharp 13 | v3.5 14 | 512 15 | 16 | 17 | true 18 | full 19 | false 20 | Temp\bin\Debug\ 21 | DEBUG;TRACE;UNITY_STANDALONE_WIN;ENABLE_MICROPHONE;ENABLE_IMAGEEFFECTS;ENABLE_WEBCAM;ENABLE_AUDIO_FMOD;UNITY_STANDALONE;ENABLE_NETWORK;ENABLE_MONO;ENABLE_PHYSICS;ENABLE_TERRAIN;ENABLE_CACHING;ENABLE_SUBSTANCE;ENABLE_GENERICS;ENABLE_CLOTH;ENABLE_MOVIES;ENABLE_AUDIO;ENABLE_WWW;ENABLE_SHADOWS;ENABLE_DUCK_TYPING;UNITY_4_1_2;UNITY_4_1;ENABLE_PROFILER;UNITY_EDITOR 22 | prompt 23 | 4 24 | 0169 25 | 26 | 27 | pdbonly 28 | true 29 | Temp\bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 0169 34 | 35 | 36 | 37 | 38 | 39 | 40 | C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEngine.dll 41 | 42 | 43 | C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEditor.dll 44 | 45 | 46 | 47 | 48 | 49 | 50 | Library\ScriptAssemblies\Assembly-UnityScript-firstpass.dll 51 | 52 | 53 | 54 | 55 | {94DC1989-8039-E279-A5AC-9DB975B0E78E} Assembly-CSharp-firstpass-vs 56 | 57 | 58 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /BasicGame/Assembly-CSharp.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Debug 5 | AnyCPU 6 | 10.0.20506 7 | 2.0 8 | {9A2D568D-8F52-E76E-636C-2F3A800F57B9} 9 | Library 10 | Properties 11 | 12 | Assembly-CSharp 13 | v3.5 14 | 512 15 | 16 | 17 | true 18 | full 19 | false 20 | Temp\bin\Debug\ 21 | DEBUG;TRACE;UNITY_STANDALONE_WIN;ENABLE_MICROPHONE;ENABLE_IMAGEEFFECTS;ENABLE_WEBCAM;ENABLE_AUDIO_FMOD;UNITY_STANDALONE;ENABLE_NETWORK;ENABLE_MONO;ENABLE_PHYSICS;ENABLE_TERRAIN;ENABLE_CACHING;ENABLE_SUBSTANCE;ENABLE_GENERICS;ENABLE_CLOTH;ENABLE_MOVIES;ENABLE_AUDIO;ENABLE_WWW;ENABLE_SHADOWS;ENABLE_DUCK_TYPING;UNITY_4_1_2;UNITY_4_1;ENABLE_PROFILER;UNITY_EDITOR 22 | prompt 23 | 4 24 | 0169 25 | 26 | 27 | pdbonly 28 | true 29 | Temp\bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 0169 34 | 35 | 36 | 37 | 38 | 39 | 40 | C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEngine.dll 41 | 42 | 43 | C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEditor.dll 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | {94DC1989-8039-E279-A5AC-9DB975B0E78E} Assembly-CSharp-firstpass 53 | 54 | {D986C9A1-652F-5467-8AB4-D7C1FCA57F3B} Assembly-UnityScript-firstpass 55 | 56 | 57 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /BasicGame/Assembly-CSharp.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assembly-CSharp.pidb -------------------------------------------------------------------------------- /BasicGame/Assembly-UnityScript-Editor.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assembly-UnityScript-Editor.pidb -------------------------------------------------------------------------------- /BasicGame/Assembly-UnityScript-firstpass-vs.unityproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Debug 5 | AnyCPU 6 | 10.0.20506 7 | 2.0 8 | {D986C9A1-652F-5467-8AB4-D7C1FCA57F3B} 9 | Library 10 | Properties 11 | 12 | Assembly-UnityScript-firstpass 13 | v3.5 14 | 512 15 | 16 | 17 | true 18 | full 19 | false 20 | Temp\bin\Debug\ 21 | DEBUG;TRACE;UNITY_STANDALONE_WIN;ENABLE_MICROPHONE;ENABLE_IMAGEEFFECTS;ENABLE_WEBCAM;ENABLE_AUDIO_FMOD;UNITY_STANDALONE;ENABLE_NETWORK;ENABLE_MONO;ENABLE_PHYSICS;ENABLE_TERRAIN;ENABLE_CACHING;ENABLE_SUBSTANCE;ENABLE_GENERICS;ENABLE_CLOTH;ENABLE_MOVIES;ENABLE_AUDIO;ENABLE_WWW;ENABLE_SHADOWS;ENABLE_DUCK_TYPING;UNITY_4_1_2;UNITY_4_1;ENABLE_PROFILER;UNITY_EDITOR 22 | prompt 23 | 4 24 | 0169 25 | 26 | 27 | pdbonly 28 | true 29 | Temp\bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 0169 34 | 35 | 36 | 37 | 38 | 39 | 40 | C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEngine.dll 41 | 42 | 43 | C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEditor.dll 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /BasicGame/Assembly-UnityScript-firstpass.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assembly-UnityScript-firstpass.pidb -------------------------------------------------------------------------------- /BasicGame/Assets/Audio.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e263c7c9cfe6df4590b869e8725f6a3 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Audio/EricZombie1.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Audio/EricZombie1.mp3 -------------------------------------------------------------------------------- /BasicGame/Assets/Audio/EricZombie1.mp3.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e7457af256eb5384a9a3cd55089c234e 3 | AudioImporter: 4 | serializedVersion: 4 5 | format: 0 6 | quality: -1 7 | stream: 1 8 | 3D: 1 9 | forceToMono: 0 10 | useHardware: 0 11 | loopable: 0 12 | userData: 13 | -------------------------------------------------------------------------------- /BasicGame/Assets/Audio/EricZombie2.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Audio/EricZombie2.mp3 -------------------------------------------------------------------------------- /BasicGame/Assets/Audio/EricZombie2.mp3.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: afbafba09fcee224fb7b5228900d3c8a 3 | AudioImporter: 4 | serializedVersion: 4 5 | format: 0 6 | quality: -1 7 | stream: 1 8 | 3D: 1 9 | forceToMono: 0 10 | useHardware: 0 11 | loopable: 0 12 | userData: 13 | -------------------------------------------------------------------------------- /BasicGame/Assets/Audio/EricZombie3.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Audio/EricZombie3.mp3 -------------------------------------------------------------------------------- /BasicGame/Assets/Audio/EricZombie3.mp3.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 63b8e81c32dbf8e438d07e25ccf65df6 3 | AudioImporter: 4 | serializedVersion: 4 5 | format: 0 6 | quality: -1 7 | stream: 1 8 | 3D: 1 9 | forceToMono: 0 10 | useHardware: 0 11 | loopable: 0 12 | userData: 13 | -------------------------------------------------------------------------------- /BasicGame/Assets/Audio/GunCock.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Audio/GunCock.mp3 -------------------------------------------------------------------------------- /BasicGame/Assets/Audio/GunCock.mp3.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a333f54239ce74ec1b3f435d3b3d03bd 3 | AudioImporter: 4 | serializedVersion: 4 5 | format: 0 6 | quality: -1 7 | stream: 1 8 | 3D: 1 9 | forceToMono: 0 10 | useHardware: 0 11 | loopable: 0 12 | userData: 13 | -------------------------------------------------------------------------------- /BasicGame/Assets/Audio/GunFire.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Audio/GunFire.mp3 -------------------------------------------------------------------------------- /BasicGame/Assets/Audio/GunFire.mp3.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 41957fe8ccd2e4f658ae93774a69065d 3 | AudioImporter: 4 | serializedVersion: 4 5 | format: 0 6 | quality: -1 7 | stream: 1 8 | 3D: 1 9 | forceToMono: 0 10 | useHardware: 0 11 | loopable: 0 12 | userData: 13 | -------------------------------------------------------------------------------- /BasicGame/Assets/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 825cfe76a9500214f91bd522aa4cda81 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Editor/NavMeshWindow.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e25743f41b9fb3045ac122fe2e6c4d80 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Editor/PathfindingEditor.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4e94b4d3d36afb74cbf61efce624f744 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2225f5b4acc010049939d8d0924ff412 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Bricks.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/Bricks.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Bricks.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c76da348d071fad4aa345b45a27fd6b2 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Door.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/Door.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Door.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1be7fef3fc3a04d4f9bf239517ae78b8 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Material.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/Material.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Material.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d115eb0df9d9934b9ba4192a6c52e08 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Material_001.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/Material_001.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Material_001.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c940768cd62834a4f959f17a4d9728f3 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Material_004.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/Material_004.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Material_004.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1a60c0c49ef39bc4e977ac64962c6aea 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Material_005.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/Material_005.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Material_005.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ba5f08a0dd38b994aaf5d0a86f018ac3 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Material_006.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/Material_006.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Material_006.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8558015c3c44395469f95d3014bf0950 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Material_007.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/Material_007.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Material_007.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9199e386bb1ae7b4ead8199f4bdc0cd8 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Material_008.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/Material_008.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Material_008.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: befd953b286eff14d9722a05cfc6c8e9 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Material_009.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/Material_009.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Material_009.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a7ad94f1363e8247a644c95532bfa41 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Material_011.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/Material_011.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Material_011.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 741a8df0ab55ba3438fc85e1920f4981 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Material_012.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/Material_012.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Material_012.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92dec411106668941a93a23698cf6151 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e594506139c9b4428df06889d739402 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Materials/wall.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/Materials/wall.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Materials/wall.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cae2f373505a61147be3255bb4868bd8 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/No Name.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/No Name.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/No Name.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ea04550339e97c644b1043c35c965df4 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Plaster.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/Plaster.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Plaster.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2bf7c6054b48e634cb746284e3cc8c64 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Roof.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/Roof.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Roof.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 292998ca36ba23840bff1ccceb2f54e9 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Rope.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/Rope.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Rope.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5afe9f685f3a8a14c8ac8680554087f0 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Stone Wall.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/Stone Wall.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Stone Wall.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 889b36a45e62b4c4b96de7e919d86a06 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Window.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/Window.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Window.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57ffc5e65d19c054d90e9d7c1a96e077 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Wood.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/Wood.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/Wood.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3fdad1107ca0e7146a330ccf422d2ffa 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/dumbcarpet.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/dumbcarpet.jpg -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/dumbcarpet.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | <<<<<<< HEAD 3 | guid: bdf4d2dd8c51dda47bd954e42a2c5f48 4 | ======= 5 | guid: 2b68dbdf04f9c42de946f09e8ef920d8 6 | >>>>>>> 9528d697324ac32c1b03258f347e3193a22a87a7 7 | TextureImporter: 8 | serializedVersion: 2 9 | mipmaps: 10 | mipMapMode: 0 11 | enableMipMap: 1 12 | linearTexture: 0 13 | correctGamma: 0 14 | fadeOut: 0 15 | borderMipMap: 0 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: .25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | grayScaleToAlpha: 0 25 | generateCubemap: 0 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | compressionQuality: 50 37 | textureType: -1 38 | buildTargetSettings: [] 39 | userData: 40 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/unnamed.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/unnamed.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/unnamed.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f8a8aaed870c3641bb28f132cd99d3f 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/wall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/wall.png -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/wall.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b6d19c847838c54295b3aba4e4a3efb 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -1 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: -1 27 | aniso: -1 28 | mipBias: -1 29 | wrapMode: -1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: -1 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/wall_noline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/wall_noline.png -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/wall_noline.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 97257eda47651eb438489241a9127d06 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -1 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: -1 27 | aniso: -1 28 | mipBias: -1 29 | wrapMode: -1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: -1 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/wood floor 2.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Materials/wood floor 2.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Materials/wood floor 2.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06f03cd01a470874ba5b7b5b56209b0a 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6722ae070577fb241b9b073156bd1a25 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/FT_CaveWorm.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0119d29a84172481bb1da71f9ff92aaf 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/FT_CaveWorm/CaveWorm_anim.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/FT_CaveWorm/CaveWorm_anim.fbx -------------------------------------------------------------------------------- /BasicGame/Assets/Models/FT_CaveWorm/Diffuse.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/FT_CaveWorm/Diffuse.psd -------------------------------------------------------------------------------- /BasicGame/Assets/Models/FT_CaveWorm/Diffuse.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a862907d3ae3254d8d236c61b42a818 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -1 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: -1 27 | aniso: -1 28 | mipBias: -1 29 | wrapMode: -1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: -1 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/FT_CaveWorm/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 95d8f876548c7a44eb02244fb8966c58 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/FT_CaveWorm/Materials/CaveWorm.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/FT_CaveWorm/Materials/CaveWorm.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Models/FT_CaveWorm/Materials/CaveWorm.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c2582ef51f2dda246ada28b163103d6a 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/FT_CaveWorm/Materials/Diffuse.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/FT_CaveWorm/Materials/Diffuse.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Models/FT_CaveWorm/Materials/Diffuse.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 831888c3aad1e4b8abf81db4635483e5 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/FT_CaveWorm/Normal.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/FT_CaveWorm/Normal.psd -------------------------------------------------------------------------------- /BasicGame/Assets/Models/FT_CaveWorm/Normal.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a2600978b00dc94e824b5a2ee5080e3 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 1 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 1 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -1 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: -1 27 | aniso: -1 28 | mipBias: -1 29 | wrapMode: -1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: 1 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/GALIL ACE 32 AK-Default Stock.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/GALIL ACE 32 AK-Default Stock.blend -------------------------------------------------------------------------------- /BasicGame/Assets/Models/GALIL ACE 32 AK-Default Stock.blend1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/GALIL ACE 32 AK-Default Stock.blend1 -------------------------------------------------------------------------------- /BasicGame/Assets/Models/GALIL ACE 32 AK-Default Stock.blend1.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c898326f821fec8479c18e8b12c3948c 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/GALIL ACE 32 AK-Default Stock.blend2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/GALIL ACE 32 AK-Default Stock.blend2 -------------------------------------------------------------------------------- /BasicGame/Assets/Models/GALIL ACE 32 AK-Default Stock.blend2.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d7e50b9b468a000469b7dcea856dbfd4 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/HealthBox.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/HealthBox.blend -------------------------------------------------------------------------------- /BasicGame/Assets/Models/HealthBox.blend.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2e371a356040b430ca7219627cd69f6c 3 | ModelImporter: 4 | serializedVersion: 15 5 | fileIDToRecycleName: 6 | 100000: //RootNode 7 | 400000: //RootNode 8 | 2300000: //RootNode 9 | 3300000: //RootNode 10 | 4300000: Cube 11 | 7400000: Default Take 12 | 9500000: //RootNode 13 | materials: 14 | importMaterials: 1 15 | materialName: 0 16 | materialSearch: 1 17 | animations: 18 | legacyGenerateAnimations: 4 19 | bakeSimulation: 0 20 | animationCompression: 1 21 | animationRotationError: .5 22 | animationPositionError: .5 23 | animationScaleError: .5 24 | animationWrapMode: 0 25 | clipAnimations: [] 26 | isReadable: 1 27 | meshes: 28 | lODScreenPercentages: [] 29 | globalScale: 1 30 | meshCompression: 0 31 | addColliders: 0 32 | importBlendShapes: 1 33 | swapUVChannels: 0 34 | generateSecondaryUV: 0 35 | useFileUnits: 1 36 | optimizeMeshForGPU: 1 37 | weldVertices: 1 38 | secondaryUVAngleDistortion: 8 39 | secondaryUVAreaDistortion: 15.000001 40 | secondaryUVHardAngle: 88 41 | secondaryUVPackMargin: 4 42 | tangentSpace: 43 | normalSmoothAngle: 60 44 | splitTangentsAcrossUV: 1 45 | normalImportMode: 0 46 | tangentImportMode: 1 47 | importAnimation: 0 48 | copyAvatar: 0 49 | humanDescription: 50 | human: [] 51 | skeleton: [] 52 | handles: [] 53 | armTwist: .5 54 | foreArmTwist: .5 55 | upperLegTwist: .5 56 | legTwist: .5 57 | armStretch: .0500000007 58 | legStretch: .0500000007 59 | feetSpacing: 0 60 | rootMotionBoneName: 61 | lastHumanDescriptionAvatarSource: {instanceID: 0} 62 | additionalBone: 1 63 | animationType: 0 64 | userData: 65 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/HealthBox.blend1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/HealthBox.blend1 -------------------------------------------------------------------------------- /BasicGame/Assets/Models/HealthBox.blend1.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 731a9dbbfce754201a0ea8c6ffc027ff 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/HealthBoxTex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/HealthBoxTex.png -------------------------------------------------------------------------------- /BasicGame/Assets/Models/HealthBoxTex.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fdbea270774d3453989b5689464d8afa 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -1 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: -1 27 | aniso: -1 28 | mipBias: -1 29 | wrapMode: -1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: -1 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/House_LVL1.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/House_LVL1.blend -------------------------------------------------------------------------------- /BasicGame/Assets/Models/House_LVL1.blend1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/House_LVL1.blend1 -------------------------------------------------------------------------------- /BasicGame/Assets/Models/House_LVL1.blend1.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6cf46279def8d124a866eddaa27798ba 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/House_LVL1.blend2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/House_LVL1.blend2 -------------------------------------------------------------------------------- /BasicGame/Assets/Models/House_LVL1.blend2.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d91cb09c99df6e844911fc6c8cc25419 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8acfde46e2fa7446b7ced44a6c80179 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/Barrel.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/Materials/Barrel.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/Barrel.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70bcaec2a8f13484a87ee50f0fea9ef1 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/Box.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/Materials/Box.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/Box.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a5f94245a1728f40847da3112589f30 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/Caps.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/Materials/Caps.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/Caps.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7fe2c751796cbe4786c05cc94513116 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/HealthBoxTex.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/Materials/HealthBoxTex.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/HealthBoxTex.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff906d562e43e493fbbfc19bcccc091d 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/Light.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/Materials/Light.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/Light.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2f62382adae1844659f0ac20e8e28593 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/Material_002.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/Materials/Material_002.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/Material_002.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a2c3dd3df915f954da67f5d4b4417d1c 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/Material_003.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/Materials/Material_003.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/Material_003.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd7e6e9e1f1168c4592d66c5c550b36d 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/Material_017.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/Materials/Material_017.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/Material_017.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a03b67958fcc624587e7adee609dbf8 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/Material_020.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/Materials/Material_020.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/Material_020.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 415777cc2d5ab5949a1533d3ffd1f09f 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/Planks.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/Materials/Planks.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/Planks.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ecedad95b784d444f9415177358fe7ca 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/Rings.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/Materials/Rings.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/Rings.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c711914a79235464b9088ba345258fa7 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/String.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/Materials/String.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/String.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f10d1effd542147aba99955d2e40b277 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/dumbcarpet.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/Materials/dumbcarpet.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/dumbcarpet.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f689d9fea1f2146c0a63c86f3ebb3f07 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/wall.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/Materials/wall.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Models/Materials/wall.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 30b28ab4e52d3dd449171a7871a2dcad 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/barrel_metal.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/barrel_metal.blend -------------------------------------------------------------------------------- /BasicGame/Assets/Models/barrel_metal.blend.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6a429d4c61a9bd49b0bf9d7bfc05ebd 3 | ModelImporter: 4 | serializedVersion: 15 5 | fileIDToRecycleName: 6 | 100000: //RootNode 7 | 400000: //RootNode 8 | 2300000: //RootNode 9 | 3300000: //RootNode 10 | 4300000: Circle 11 | 7400000: Default Take 12 | 9500000: //RootNode 13 | materials: 14 | importMaterials: 1 15 | materialName: 0 16 | materialSearch: 1 17 | animations: 18 | legacyGenerateAnimations: 4 19 | bakeSimulation: 0 20 | animationCompression: 1 21 | animationRotationError: .5 22 | animationPositionError: .5 23 | animationScaleError: .5 24 | animationWrapMode: 0 25 | clipAnimations: [] 26 | isReadable: 1 27 | meshes: 28 | lODScreenPercentages: [] 29 | globalScale: 1 30 | meshCompression: 0 31 | addColliders: 0 32 | importBlendShapes: 1 33 | swapUVChannels: 0 34 | generateSecondaryUV: 0 35 | useFileUnits: 1 36 | optimizeMeshForGPU: 1 37 | weldVertices: 1 38 | secondaryUVAngleDistortion: 8 39 | secondaryUVAreaDistortion: 15.000001 40 | secondaryUVHardAngle: 88 41 | secondaryUVPackMargin: 4 42 | tangentSpace: 43 | normalSmoothAngle: 60 44 | splitTangentsAcrossUV: 1 45 | normalImportMode: 0 46 | tangentImportMode: 1 47 | importAnimation: 1 48 | copyAvatar: 0 49 | humanDescription: 50 | human: [] 51 | skeleton: [] 52 | handles: [] 53 | armTwist: .5 54 | foreArmTwist: .5 55 | upperLegTwist: .5 56 | legTwist: .5 57 | armStretch: .0500000007 58 | legStretch: .0500000007 59 | feetSpacing: 0 60 | rootMotionBoneName: 61 | lastHumanDescriptionAvatarSource: {instanceID: 0} 62 | additionalBone: 1 63 | animationType: 2 64 | userData: 65 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/barrel_wooden.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/barrel_wooden.blend -------------------------------------------------------------------------------- /BasicGame/Assets/Models/barrel_wooden.blend.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0ceb175c0ad6dfe4697b37c2a2b573b5 3 | ModelImporter: 4 | serializedVersion: 15 5 | fileIDToRecycleName: 6 | 100000: barrel_rings 7 | 100002: barrel_top_bottom 8 | 100004: //RootNode 9 | 100006: Cube 10 | 400000: barrel_rings 11 | 400002: barrel_top_bottom 12 | 400004: //RootNode 13 | 400006: Cube 14 | 2300000: barrel_rings 15 | 2300002: barrel_top_bottom 16 | 2300004: Cube 17 | 3300000: barrel_rings 18 | 3300002: barrel_top_bottom 19 | 3300004: Cube 20 | 4300000: Cube 21 | 4300002: barrel_top_bottom 22 | 4300004: barrel_rings 23 | 7400000: Default Take 24 | 9500000: //RootNode 25 | materials: 26 | importMaterials: 1 27 | materialName: 0 28 | materialSearch: 1 29 | animations: 30 | legacyGenerateAnimations: 4 31 | bakeSimulation: 0 32 | animationCompression: 1 33 | animationRotationError: .5 34 | animationPositionError: .5 35 | animationScaleError: .5 36 | animationWrapMode: 0 37 | clipAnimations: [] 38 | isReadable: 1 39 | meshes: 40 | lODScreenPercentages: [] 41 | globalScale: 1 42 | meshCompression: 0 43 | addColliders: 0 44 | importBlendShapes: 1 45 | swapUVChannels: 0 46 | generateSecondaryUV: 0 47 | useFileUnits: 1 48 | optimizeMeshForGPU: 1 49 | weldVertices: 1 50 | secondaryUVAngleDistortion: 8 51 | secondaryUVAreaDistortion: 15.000001 52 | secondaryUVHardAngle: 88 53 | secondaryUVPackMargin: 4 54 | tangentSpace: 55 | normalSmoothAngle: 60 56 | splitTangentsAcrossUV: 1 57 | normalImportMode: 0 58 | tangentImportMode: 1 59 | importAnimation: 1 60 | copyAvatar: 0 61 | humanDescription: 62 | human: [] 63 | skeleton: [] 64 | handles: [] 65 | armTwist: .5 66 | foreArmTwist: .5 67 | upperLegTwist: .5 68 | legTwist: .5 69 | armStretch: .0500000007 70 | legStretch: .0500000007 71 | feetSpacing: 0 72 | rootMotionBoneName: 73 | lastHumanDescriptionAvatarSource: {instanceID: 0} 74 | additionalBone: 1 75 | animationType: 2 76 | userData: 77 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/box_metal.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/box_metal.blend -------------------------------------------------------------------------------- /BasicGame/Assets/Models/box_metal.blend.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6b4d2d2066a86c4dbeebf71a5455d53 3 | ModelImporter: 4 | serializedVersion: 15 5 | fileIDToRecycleName: 6 | 100000: //RootNode 7 | 100002: Cube 8 | 100004: Cube_001 9 | 100006: Cube_002 10 | 100008: Cube_003 11 | 100010: Cube_004 12 | 400000: //RootNode 13 | 400002: Cube 14 | 400004: Cube_001 15 | 400006: Cube_002 16 | 400008: Cube_003 17 | 400010: Cube_004 18 | 2300000: Cube 19 | 2300002: Cube_001 20 | 2300004: Cube_002 21 | 2300006: Cube_003 22 | 2300008: Cube_004 23 | 3300000: Cube 24 | 3300002: Cube_001 25 | 3300004: Cube_002 26 | 3300006: Cube_003 27 | 3300008: Cube_004 28 | 4300000: Cube_004 29 | 4300002: Cube_003 30 | 4300004: Cube_002 31 | 4300006: Cube 32 | 4300008: Cube_001 33 | 7400000: Default Take 34 | 9500000: //RootNode 35 | materials: 36 | importMaterials: 1 37 | materialName: 0 38 | materialSearch: 1 39 | animations: 40 | legacyGenerateAnimations: 4 41 | bakeSimulation: 0 42 | animationCompression: 1 43 | animationRotationError: .5 44 | animationPositionError: .5 45 | animationScaleError: .5 46 | animationWrapMode: 0 47 | clipAnimations: [] 48 | isReadable: 1 49 | meshes: 50 | lODScreenPercentages: [] 51 | globalScale: 1 52 | meshCompression: 0 53 | addColliders: 0 54 | importBlendShapes: 1 55 | swapUVChannels: 0 56 | generateSecondaryUV: 0 57 | useFileUnits: 1 58 | optimizeMeshForGPU: 1 59 | weldVertices: 1 60 | secondaryUVAngleDistortion: 8 61 | secondaryUVAreaDistortion: 15.000001 62 | secondaryUVHardAngle: 88 63 | secondaryUVPackMargin: 4 64 | tangentSpace: 65 | normalSmoothAngle: 60 66 | splitTangentsAcrossUV: 1 67 | normalImportMode: 0 68 | tangentImportMode: 1 69 | importAnimation: 1 70 | copyAvatar: 0 71 | humanDescription: 72 | human: [] 73 | skeleton: [] 74 | handles: [] 75 | armTwist: .5 76 | foreArmTwist: .5 77 | upperLegTwist: .5 78 | legTwist: .5 79 | armStretch: .0500000007 80 | legStretch: .0500000007 81 | feetSpacing: 0 82 | rootMotionBoneName: 83 | lastHumanDescriptionAvatarSource: {instanceID: 0} 84 | additionalBone: 1 85 | animationType: 2 86 | userData: 87 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/box_wooden.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/box_wooden.blend -------------------------------------------------------------------------------- /BasicGame/Assets/Models/box_wooden.blend.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72c1bec0667d2ab4d8783cc3115a82d2 3 | ModelImporter: 4 | serializedVersion: 15 5 | fileIDToRecycleName: 6 | 100000: //RootNode 7 | 400000: //RootNode 8 | 2300000: //RootNode 9 | 3300000: //RootNode 10 | 4300000: Cube 11 | 7400000: Default Take 12 | 9500000: //RootNode 13 | materials: 14 | importMaterials: 1 15 | materialName: 0 16 | materialSearch: 1 17 | animations: 18 | legacyGenerateAnimations: 4 19 | bakeSimulation: 0 20 | animationCompression: 1 21 | animationRotationError: .5 22 | animationPositionError: .5 23 | animationScaleError: .5 24 | animationWrapMode: 0 25 | clipAnimations: [] 26 | isReadable: 1 27 | meshes: 28 | lODScreenPercentages: [] 29 | globalScale: 1 30 | meshCompression: 0 31 | addColliders: 0 32 | importBlendShapes: 1 33 | swapUVChannels: 0 34 | generateSecondaryUV: 0 35 | useFileUnits: 1 36 | optimizeMeshForGPU: 1 37 | weldVertices: 1 38 | secondaryUVAngleDistortion: 8 39 | secondaryUVAreaDistortion: 15.000001 40 | secondaryUVHardAngle: 88 41 | secondaryUVPackMargin: 4 42 | tangentSpace: 43 | normalSmoothAngle: 60 44 | splitTangentsAcrossUV: 1 45 | normalImportMode: 0 46 | tangentImportMode: 1 47 | importAnimation: 1 48 | copyAvatar: 0 49 | humanDescription: 50 | human: [] 51 | skeleton: [] 52 | handles: [] 53 | armTwist: .5 54 | foreArmTwist: .5 55 | upperLegTwist: .5 56 | legTwist: .5 57 | armStretch: .0500000007 58 | legStretch: .0500000007 59 | feetSpacing: 0 60 | rootMotionBoneName: 61 | lastHumanDescriptionAvatarSource: {instanceID: 0} 62 | additionalBone: 1 63 | animationType: 2 64 | userData: 65 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/shipping_pallet.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/shipping_pallet.blend -------------------------------------------------------------------------------- /BasicGame/Assets/Models/shipping_pallet.blend.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6ab7275e1773b54c921778fbc95abf6 3 | ModelImporter: 4 | serializedVersion: 15 5 | fileIDToRecycleName: 6 | 100000: //RootNode 7 | 400000: //RootNode 8 | 2300000: //RootNode 9 | 3300000: //RootNode 10 | 4300000: shipping_pallet 11 | 7400000: Default Take 12 | 9500000: //RootNode 13 | materials: 14 | importMaterials: 1 15 | materialName: 0 16 | materialSearch: 1 17 | animations: 18 | legacyGenerateAnimations: 4 19 | bakeSimulation: 0 20 | animationCompression: 1 21 | animationRotationError: .5 22 | animationPositionError: .5 23 | animationScaleError: .5 24 | animationWrapMode: 0 25 | clipAnimations: [] 26 | isReadable: 1 27 | meshes: 28 | lODScreenPercentages: [] 29 | globalScale: 1 30 | meshCompression: 0 31 | addColliders: 0 32 | importBlendShapes: 1 33 | swapUVChannels: 0 34 | generateSecondaryUV: 0 35 | useFileUnits: 1 36 | optimizeMeshForGPU: 1 37 | weldVertices: 1 38 | secondaryUVAngleDistortion: 8 39 | secondaryUVAreaDistortion: 15.000001 40 | secondaryUVHardAngle: 88 41 | secondaryUVPackMargin: 4 42 | tangentSpace: 43 | normalSmoothAngle: 60 44 | splitTangentsAcrossUV: 1 45 | normalImportMode: 0 46 | tangentImportMode: 1 47 | importAnimation: 1 48 | copyAvatar: 0 49 | humanDescription: 50 | human: [] 51 | skeleton: [] 52 | handles: [] 53 | armTwist: .5 54 | foreArmTwist: .5 55 | upperLegTwist: .5 56 | legTwist: .5 57 | armStretch: .0500000007 58 | legStretch: .0500000007 59 | feetSpacing: 0 60 | rootMotionBoneName: 61 | lastHumanDescriptionAvatarSource: {instanceID: 0} 62 | additionalBone: 1 63 | animationType: 2 64 | userData: 65 | -------------------------------------------------------------------------------- /BasicGame/Assets/Models/standin.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/standin.blend -------------------------------------------------------------------------------- /BasicGame/Assets/Models/standin.blend1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Models/standin.blend1 -------------------------------------------------------------------------------- /BasicGame/Assets/Models/standin.blend1.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d3774a4ac9ff20d41a57825ce017109e 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Pathfinding Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b9cacbc437a085b43995aafd4b59b567 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Pathfinding Scripts/NavmeshFollower.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 29256c001fbd64ebcba21a75b64e8999 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Pathfinding Scripts/NavmeshGeometry.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | var verts : Vector3[]; 4 | private var transformedVerts : Vector3[] = null; 5 | 6 | // Cache transformed vertex positions if game is running 7 | // This must be modified if we expect the navmesh to move 8 | // while the game is running. 9 | function getTransformedVerts() : Vector3[] { 10 | if (!Application.isPlaying || transformedVerts == null) { 11 | var networkTransform : Transform = transform.parent; 12 | transformedVerts = new Vector3[3]; 13 | for (var i = 0; i < verts.length; i++) { 14 | transformedVerts[i] = networkTransform.position + networkTransform.TransformDirection(verts[i]); 15 | } 16 | } 17 | return transformedVerts; 18 | } 19 | 20 | function OnDrawGizmos() { 21 | Gizmos.color = Color.blue; 22 | var tVerts : Vector3[] = this.getTransformedVerts(); 23 | for (var i = 0; i < tVerts.length; i++) { 24 | Gizmos.DrawLine (tVerts[i], tVerts[(i+1)%tVerts.length]); 25 | } 26 | } -------------------------------------------------------------------------------- /BasicGame/Assets/Pathfinding Scripts/NavmeshGeometry.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a19749bc6594c143b705529e0a466cd 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Pathfinding Scripts/Pathfinder.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 096d86cb8292d364e8244922459c8ed4 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Pathfinding Scripts/Waypoint.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | // Copyright (C) 2013 Julian Ceipek 4 | // 5 | // A component that represents a Waypoint for pathfinding. 6 | // It contains references to other waypoints via linkedTo to form a graph. 7 | // For use in conjunction with PathfindingEditor.js and Pathfinder.js 8 | // 9 | // It should be assigned to a "WaypointNode" prefab in the Assets/Resources folder. 10 | // 11 | 12 | public var linkedTo : Waypoint[]; 13 | 14 | @HideInInspector 15 | var selectedInEditor : boolean = false; 16 | 17 | function OnDrawGizmos() { 18 | if (selectedInEditor) { 19 | Gizmos.color = Color.magenta; 20 | } else { 21 | Gizmos.color = Color.cyan; 22 | } 23 | 24 | Gizmos.DrawWireSphere(transform.position, 0.4f); 25 | 26 | Gizmos.color = Color.cyan; 27 | for (var i = 0; i < linkedTo.length; i++) { 28 | Gizmos.DrawLine (transform.position, linkedTo[i].transform.position); 29 | } 30 | } -------------------------------------------------------------------------------- /BasicGame/Assets/Pathfinding Scripts/Waypoint.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: baa7662b9c60e66469400586622713ed 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Pathfinding Scripts/WaypointFollower.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | // Copyright (C) 2013 Julian Ceipek 4 | // 5 | // A component that makes an object randomly follow connected Waypoints. 6 | // 7 | 8 | import System.Collections.Generic; 9 | 10 | 11 | var currWaypoint : Waypoint; 12 | var endWaypoint : Waypoint; 13 | var confirmationDistance : float; 14 | var confirmationAngle : float; 15 | var moveSpeedWhileTurning : float; 16 | var moveSpeed : float; 17 | var turnSpeed : float; 18 | private var pathWaypoints : List.; 19 | private var aiSystem : Pathfinder; 20 | private var controller : CharacterController; 21 | 22 | function Start () { 23 | controller = GetComponent(CharacterController); 24 | var aiSystemContainer : GameObject; 25 | aiSystemContainer = GameObject.FindWithTag ("AI System"); 26 | aiSystem = aiSystemContainer.GetComponent(Pathfinder); 27 | if (endWaypoint != null) { 28 | currWaypoint = aiSystem.GetClosestWaypointToPoint(transform.position); 29 | pathWaypoints = aiSystem.FindRoute(currWaypoint, endWaypoint); 30 | } 31 | } 32 | 33 | function Update () { 34 | var o : Vector3 = new Vector3(currWaypoint.transform.position.x, 0, currWaypoint.transform.position.z); 35 | var t : Vector3 = new Vector3(transform.position.x, 0, transform.position.z); 36 | var relativePos = o-t;//currWaypoint.transform.position - transform.position; 37 | var rotation = Quaternion.LookRotation(relativePos); 38 | //var angleOffset = Vector3.Angle(relativePos, transform.forward) 39 | if ((o - t).magnitude <= confirmationDistance) { 40 | // In Range, distancewise 41 | //var options : Waypoint[] = currWaypoint.linkedTo; 42 | 43 | if (pathWaypoints.Count > 0) { 44 | currWaypoint = pathWaypoints[pathWaypoints.Count-1]; 45 | pathWaypoints.RemoveAt(pathWaypoints.Count-1); 46 | } 47 | 48 | } else if ( Vector3.Angle(relativePos, transform.forward) <= confirmationAngle) { 49 | // In Range, anglewise 50 | controller.Move(transform.forward * moveSpeed * Time.deltaTime); 51 | controller.Move(transform.up * -1 * moveSpeed * Time.deltaTime); 52 | } else { 53 | transform.rotation = Quaternion.Lerp (transform.rotation, rotation, Time.deltaTime * turnSpeed); 54 | 55 | controller.Move(transform.forward * moveSpeedWhileTurning * Time.deltaTime); 56 | controller.Move(transform.up * -1 * moveSpeedWhileTurning * Time.deltaTime); 57 | } 58 | 59 | } 60 | 61 | function OnDrawGizmos () { 62 | Gizmos.DrawWireSphere(transform.position, confirmationDistance); 63 | Gizmos.color = Color.red; 64 | Gizmos.DrawRay(transform.position, transform.TransformDirection (Vector3.forward) * moveSpeed * 0.5); 65 | } -------------------------------------------------------------------------------- /BasicGame/Assets/Pathfinding Scripts/WaypointFollower.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3bac543457e380242948c23176cddffb 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Pathfinding Scripts/WaypointWanderer.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | // Copyright (C) 2013 Julian Ceipek 4 | // 5 | // A component that makes an object randomly follow connected Waypoints. 6 | // 7 | 8 | var currWaypoint : Waypoint; 9 | var oldWaypoints : Waypoint[] = new Waypoint[2]; 10 | var confirmationDistance : float; 11 | var confirmationAngle : float; 12 | var moveSpeedWhileTurning : float; 13 | var moveSpeed : float; 14 | var turnSpeed : float; 15 | private var controller : CharacterController; 16 | 17 | function Start () { 18 | controller = GetComponent(CharacterController); 19 | oldWaypoints[0] = currWaypoint; 20 | oldWaypoints[1] = currWaypoint; 21 | } 22 | 23 | function Update () { 24 | var o : Vector3 = new Vector3(currWaypoint.transform.position.x, 0, currWaypoint.transform.position.z); 25 | var t : Vector3 = new Vector3(transform.position.x, 0, transform.position.z); 26 | var relativePos = o-t;//currWaypoint.transform.position - transform.position; 27 | var rotation = Quaternion.LookRotation(relativePos); 28 | //var angleOffset = Vector3.Angle(relativePos, transform.forward) 29 | if ((o - t).magnitude <= confirmationDistance) { 30 | // In Range, distancewise 31 | var options : Waypoint[] = currWaypoint.linkedTo; 32 | 33 | do { 34 | var rand : int = Random.Range(0,options.length); 35 | currWaypoint = options[rand]; 36 | 37 | } while ((currWaypoint == oldWaypoints[0] || currWaypoint == oldWaypoints[1]) && options.length > 1); 38 | 39 | oldWaypoints[0] = oldWaypoints[1]; 40 | oldWaypoints[1] = currWaypoint; 41 | 42 | } else if ( Vector3.Angle(relativePos, transform.forward) <= confirmationAngle) { 43 | // In Range, anglewise 44 | controller.Move(transform.forward * moveSpeed * Time.deltaTime); 45 | controller.Move(transform.up * -1 * moveSpeed * Time.deltaTime); 46 | } else { 47 | transform.rotation = Quaternion.Lerp (transform.rotation, rotation, Time.deltaTime * turnSpeed); 48 | 49 | controller.Move(transform.forward * moveSpeedWhileTurning * Time.deltaTime); 50 | controller.Move(transform.up * -1 * moveSpeedWhileTurning * Time.deltaTime); 51 | } 52 | 53 | } 54 | 55 | function OnDrawGizmos () { 56 | Gizmos.DrawWireSphere(transform.position, confirmationDistance); 57 | Gizmos.color = Color.red; 58 | Gizmos.DrawRay(transform.position, transform.TransformDirection (Vector3.forward) * moveSpeed * 0.5); 59 | } -------------------------------------------------------------------------------- /BasicGame/Assets/Pathfinding Scripts/WaypointWanderer.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5de771fe5799fe944a7b492179b9ab26 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6345dfc9e777530489ef7062c5a1c212 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Resources/CaveWorm_anim.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Resources/CaveWorm_anim.prefab -------------------------------------------------------------------------------- /BasicGame/Assets/Resources/CaveWorm_anim.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1204d937bb913ab47be794aaddf58e70 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Resources/HealthBox.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Resources/HealthBox.prefab -------------------------------------------------------------------------------- /BasicGame/Assets/Resources/HealthBox.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 157724f30e178461c9d0ce5b2aade58c 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Resources/LampLight.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Resources/LampLight.prefab -------------------------------------------------------------------------------- /BasicGame/Assets/Resources/LampLight.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37ab6710bf7db40939ae0c4af7d97ec4 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Resources/NavmeshNode.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Resources/NavmeshNode.prefab -------------------------------------------------------------------------------- /BasicGame/Assets/Resources/NavmeshNode.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4285fb87651b4db4f862f93549dae943 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Resources/WaypointNode.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Resources/WaypointNode.prefab -------------------------------------------------------------------------------- /BasicGame/Assets/Resources/WaypointNode.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 28ae628ac4df2114cb740f2e5f0e7e87 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Resources/box_wooden.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Resources/box_wooden.prefab -------------------------------------------------------------------------------- /BasicGame/Assets/Resources/box_wooden.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 47e5446e36bbe3c47b6bc77f6cff7924 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7b31f35cfe3593740ae82c8bb530295a 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/AIDirector.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | //create list of modes 4 | public enum Difficulties { 5 | 6 | Easy, 7 | Medium, 8 | Hard, 9 | DanteMustDie 10 | 11 | } 12 | 13 | //set variables 14 | var characterHealth : CharacterHealth; 15 | var utilityKey : UtilityKey; 16 | public var difficulty : Difficulties; 17 | var enemyHP : int; 18 | var totalEnemy : int; 19 | var ammoTimer : float; 20 | 21 | function Update(){ 22 | //update variables in other scripts 23 | var ammo = utilityKey.ammoCount; 24 | var hp = characterHealth.hp; 25 | 26 | //check to see if the difficulty needs to be switches 27 | determineDifficulty(ammo,hp); 28 | 29 | if(difficulty == Difficulties.Easy){ //easy mode variables 30 | 31 | enemyHP = 1; 32 | totalEnemy = 3; 33 | ammoTimer = 30.0; 34 | 35 | } 36 | else if(difficulty == Difficulties.Medium){ 37 | 38 | enemyHP = 3; 39 | totalEnemy = 5; 40 | ammoTimer = 45.0; 41 | 42 | } 43 | else if(difficulty == Difficulties.Hard){ 44 | 45 | enemyHP = 5; 46 | totalEnemy = 10; 47 | ammoTimer = 60.0; 48 | 49 | } 50 | else if(difficulty == Difficulties.DanteMustDie){ 51 | 52 | enemyHP = 5; 53 | totalEnemy = 15; 54 | ammoTimer = 120.0; 55 | 56 | } 57 | 58 | 59 | } 60 | 61 | //Things to consider is we expand to goal oriented game model: 62 | //Other factor to include, maybe add a timer? For every minute key is not found, increase difficulty? 63 | 64 | //change difficulty based on player reasources 65 | function determineDifficulty(ammo : int, hp : int){ 66 | //Debug.Log(hp); 67 | //Debug.Log(ammo); 68 | if (hp <= 30 || ammo <= 10){ 69 | difficulty = Difficulties.Easy; 70 | } 71 | else if (hp > 50 && ammo > 20 && hp < 80){ 72 | difficulty = Difficulties.Medium; 73 | } 74 | else if (hp > 80 && ammo >40 && ammo > 200){ 75 | difficulty = Difficulties.Hard; 76 | } 77 | else if (ammo > 200){ 78 | difficulty = Difficulties.DanteMustDie; 79 | } 80 | } -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/AIDirector.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec7d838b3b9cd4048b0a67ebf236b974 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/AmmoDrop.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | var aiDirector : AIDirector; 4 | var interval : float; 5 | 6 | function Start(){ 7 | interval = aiDirector.ammoTimer; //get ammo drop interval 8 | InvokeRepeating("spawnAmmo", 0, interval); 9 | } 10 | 11 | function Update(){ 12 | interval = aiDirector.ammoTimer; 13 | } 14 | 15 | function spawnAmmo(){ 16 | var spawnPoints = GameObject.FindGameObjectsWithTag ("ammoSpawnPoint"); // check for unoccupied spawn points 17 | 18 | if (spawnPoints && spawnPoints.length > 0){ //if spawn points available and spawn called... 19 | var ammo : GameObject = Instantiate(Resources.Load("box_wooden")) as GameObject; //create ammo crate in randomized spawn location 20 | var index : int = Random.Range(0,spawnPoints.length-1); 21 | ammo.transform.position = spawnPoints[index].transform.position; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/AmmoDrop.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c88de3f58245437419daa5985d81e4ff 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/AmmoUse.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | //dead code from outdated game structure 4 | 5 | var utilityKey : UtilityKey; 6 | 7 | function Used (hit : float) { 8 | 9 | var utilityKey: UtilityKey = GetComponent(UtilityKey); 10 | utilityKey.ammoCount += 10; 11 | 12 | } -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/AmmoUse.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 109f436f187d0be45b1dfc23df8fc6e5 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/AmmoVisibility.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | //deadcode 4 | 5 | function OnBecomeVisible () { 6 | enabled = true; 7 | } -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/AmmoVisibility.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: af77233d36c241e47bccd2b3392d2074 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/CanBeHurt.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | /*function Start () { 4 | 5 | } 6 | 7 | function Update () { 8 | 9 | }*/ 10 | 11 | private var characterHealth : CharacterHealth = null; 12 | 13 | function Awake(){ 14 | var thePlayer = GameObject.FindWithTag("Player"); //identify the player character 15 | characterHealth = thePlayer.GetComponent(CharacterHealth); //pull player health component 16 | } 17 | 18 | function OnTriggerEnter(other : Collider) { //when enemy collides with player, player loses health 19 | if (other.gameObject.tag == "Enemy") { 20 | if (characterHealth.hp) { 21 | characterHealth.hp-=10; 22 | 23 | } 24 | } 25 | //WaitForSeconds(5.0); 26 | } -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/CanBeHurt.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f8b75f78689c749228ec1827120904b6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/CharacterHealth.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | var hp : int; 4 | 5 | function Start () { //starting health 6 | 7 | hp = 100; 8 | 9 | } 10 | 11 | 12 | function OnGUI() //represent health on screen 13 | { 14 | GUI.color = Color.red; 15 | GUI.HorizontalScrollbar(Rect (0,0,200,20), 0, hp, 0, 100); 16 | } -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/CharacterHealth.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 234a1f1ac5384054984d141f3ca0cb55 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/Die.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | //rename script to GunTriggerFire 4 | 5 | var source : Vector3; 6 | var dir : Vector3; 7 | //var tip : Transform; 8 | 9 | function Fire () { 10 | var hit : RaycastHit; 11 | // Previous Raycast algorithm, fires from gun tip, but it very unintuitive to use in practice 12 | // source = tip.position; 13 | // dir = transform.right; 14 | // if (Physics.Raycast (source, dir, hit)) { 15 | // //send message to hit thing to disapear 16 | // hit.collider.gameObject.SendMessage("ApplyDamage",1.0,SendMessageOptions.DontRequireReceiver); 17 | // } 18 | 19 | //Fire from center of camera 20 | var x = Screen.width / 2; 21 | var y = Screen.height / 2; 22 | 23 | var ray = camera.ScreenPointToRay(Vector3(x, y, 0)); 24 | 25 | //Debug test to see where fire is casting to 26 | Debug.DrawRay(ray.origin, ray.direction * 1000, Color.yellow); 27 | 28 | if (Physics.Raycast (ray, hit)) { 29 | //send message to hit thing to take damage 30 | hit.collider.gameObject.SendMessage("ApplyDamage",1.0,SendMessageOptions.DontRequireReceiver); 31 | } 32 | 33 | 34 | } 35 | 36 | //function OnDrawGizmos () { 37 | // Gizmos.color = Color.red; 38 | // //Debug.Log(source); 39 | // //Debug.Log(dir); 40 | // //Gizmos.DrawRay(source, dir); 41 | // Gizmos.DrawLine(source,source+dir*20); 42 | //} 43 | 44 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/Die.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 65fcd7e8d7d022f42ba31aa08ecca9cd 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/EnemyHealth.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | //initiate variables 4 | var hp : int; 5 | var arena : GameObject; 6 | var aiDirector : AIDirector; 7 | 8 | function Start () { 9 | arena = GameObject.FindWithTag ("Arena"); //find arena 10 | aiDirector = arena.GetComponent(AIDirector); 11 | hp = aiDirector.enemyHP; 12 | } 13 | 14 | function ApplyDamage (damage : float) { //when hit, apply damage and play damaged animation 15 | hp -= damage; 16 | animation.Play("dead", PlayMode.StopSameLayer); 17 | yield WaitForAnimation( animation ); 18 | animation.Play("walk"); 19 | } 20 | 21 | function Update () { 22 | 23 | if (hp == 0) { // if enemy is dead, destroy enemy object 24 | Destroy(gameObject); 25 | arena.SendMessage("killEnemy",SendMessageOptions.DontRequireReceiver); 26 | } 27 | 28 | } 29 | 30 | function WaitForAnimation ( animation : Animation ) //start next animation after current one finished 31 | { 32 | yield; while ( animation.isPlaying ) yield; 33 | } -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/EnemyHealth.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c3416112e6827814a9a301512ae62f6f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/GetAmmo.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | //inialize variables 4 | var other : GameObject; 5 | var utilityKey : UtilityKey; 6 | var gun : GameObject; 7 | var ammoIncrease : int; 8 | private var characterHealth : CharacterHealth = null; 9 | 10 | function Awake(){ 11 | ammoIncrease = 20; //how much ammo you get from picking up crates 12 | var thePlayer = GameObject.FindWithTag("Player"); //find player 13 | characterHealth = thePlayer.GetComponent(CharacterHealth); //get player health 14 | } 15 | 16 | function OnTriggerEnter(other : Collider) { //When Player Collides with trigger 17 | //Debug.Log("entered1"); 18 | var utilityKey: UtilityKey = gun.gameObject.GetComponent(UtilityKey); //increase ammo in the gun object (techincally applied to the camera as camera is raycasting) 19 | if (other.gameObject.tag == "Ammo"){ //destrong ammo object and increase ammo count 20 | Destroy(other.gameObject); 21 | utilityKey.ammoCount += ammoIncrease; 22 | } 23 | else if (other.gameObject.tag == "healthCrate"){ //if collision with health, increase player health and destroy health box object 24 | Debug.Log("entered hp"); 25 | Destroy(other.gameObject); 26 | characterHealth.hp += 15; 27 | } 28 | 29 | 30 | } 31 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/GetAmmo.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0501cff67d53f84baf41594f79b10a6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/Gui.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | var utilityKey : UtilityKey; 4 | var characterHealth : CharacterHealth; 5 | var target : Texture2D; 6 | 7 | function OnGUI () { 8 | //represent amount to ammo to player 9 | var ammoString = "Ammo \n" + utilityKey.ammoCount; 10 | GUI.Box (new Rect (Screen.width - 100,Screen.height - 50,100,50), ammoString); 11 | //GUI.Box (new Rect (0,0,100,50), "HP \n" + characterHealth.hp); 12 | 13 | //Tell player when they've died. 14 | if (characterHealth.hp == 0) { 15 | GUI.Box(new Rect (Screen.width/2-50, Screen.height/2-20, 100, 20), "YOU DIED"); 16 | 17 | } 18 | } -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/Gui.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 14571c8f7d712e542b4fb1d497367aa2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/HealthDrop.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | function Start(){ 4 | 5 | InvokeRepeating("spawnHealth", 0, 30.0); //spawn health every 30 seconds 6 | } 7 | 8 | 9 | 10 | function spawnHealth(){ 11 | var spawnPoints = GameObject.FindGameObjectsWithTag ("healthSpawnPoint"); //check for unoccupied health spawn points 12 | 13 | if (spawnPoints && spawnPoints.length > 0){ //when called, spawn on unoccupied spawn point 14 | var ammo : GameObject = Instantiate(Resources.Load("HealthBox")) as GameObject; 15 | var index : int = Random.Range(0,spawnPoints.length-1); 16 | ammo.transform.position = spawnPoints[index].transform.position; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/HealthDrop.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5e872f98c3652da4ea739077f5bf0f92 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/IsAmmo.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | //registers ammo as trigger, can be deleted 4 | collider.isTrigger = true; -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/IsAmmo.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2200e9db746d38e4e9730aad062df7fd 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/Shoot.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | var utilityKey : UtilityKey; 4 | var die : Die; 5 | 6 | function Update () { 7 | var die : Die = gameObject.GetComponent(Die); 8 | var utilityKey: UtilityKey = GetComponent(UtilityKey); 9 | 10 | if (Input.GetButtonDown ("Fire1") && utilityKey.ammoCount > 0){ //call Fire Gun on mouse click, subtract 1 ammo 11 | 12 | die.Fire(); 13 | 14 | utilityKey.ammoCount -= 1; 15 | 16 | audio.Play(); 17 | 18 | 19 | } 20 | } 21 | 22 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/Shoot.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e87346ff3339f24abfc670c704d5bc4 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/Spawner.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | //Based on C# Spawner Script of Garth de Wet (Corrupted Heart) at mydeathofme[at]gmail[dot]com 4 | 5 | 6 | //enemy settings 7 | public var numEnemy : int = 0; 8 | public var totalEnemy : int; 9 | public var spawnedEnemy : int = 0; 10 | 11 | //types of spawning 12 | public enum SpawnTypes { 13 | 14 | Normal, 15 | Wave, 16 | TimedWave, 17 | Once 18 | 19 | } 20 | 21 | //default state is normal 22 | var spawnType : SpawnTypes = SpawnTypes.Normal; 23 | 24 | //Spawn States 25 | private var waveSpawn : boolean = false; 26 | public var Spawn : boolean = true; 27 | public var waveTimer : float = 30.0f; 28 | private var timeTillWave : float = 0.0f; 29 | public var totalWaves : int = 5; 30 | private var numWaves : int = 0; 31 | 32 | var aiDirector : AIDirector; 33 | 34 | function Update() { 35 | 36 | //change variable based on AI director's settings 37 | totalEnemy = aiDirector.totalEnemy; 38 | 39 | if(Spawn){ 40 | if (spawnType == SpawnTypes.Normal){ //Normal Mode: When one enemy is destroy, spawn a new one it ints place 41 | if(numEnemy < totalEnemy){ 42 | spawnEnemy(); 43 | } 44 | } 45 | else if (spawnType == SpawnTypes.Once){ //Once Mode: Spawn Enemies until reach max number of enemies, then never spawn again 46 | if(spawnedEnemy >= totalEnemy){ 47 | Spawn = false; 48 | } 49 | else{ 50 | spawnEnemy(); 51 | } 52 | } 53 | else if (spawnType == SpawnTypes.Wave){ //Spawn in waves, spawn to max number totalWaves # amount of times 54 | if(numWaves < totalWaves + 1){ 55 | if (waveSpawn){ 56 | spawnEnemy(); 57 | } 58 | if (numEnemy == 0){ 59 | waveSpawn = true; 60 | numWaves++; 61 | } 62 | if (numEnemy == totalEnemy){ 63 | waveSpawn = false; 64 | } 65 | } 66 | } 67 | else if (spawnType == SpawnTypes.TimedWave){ //Wave is based on timer 68 | if (numWaves <= totalWaves){ 69 | timeTillWave += Time.deltaTime; 70 | if (waveSpawn){ 71 | spawnEnemy(); 72 | } 73 | if (timeTillWave >= waveTimer){ 74 | waveSpawn = true; 75 | timeTillWave = 0.0f; 76 | numWaves++; 77 | numEnemy = 0; 78 | } 79 | if (numEnemy >= totalEnemy){ 80 | waveSpawn = false; 81 | } 82 | } 83 | else{ 84 | Spawn = false; 85 | } 86 | } 87 | } 88 | } 89 | 90 | function spawnEnemy(){ //Instantiate an Enemy at availble spawn point 91 | 92 | var spawnPoints = GameObject.FindGameObjectsWithTag ("enemySpawnPoint"); 93 | if (spawnPoints && spawnPoints.length > 0){ 94 | Debug.Log("Spawn"); 95 | var enemy : GameObject = Instantiate(Resources.Load("CaveWorm_anim")) as GameObject; 96 | var index : int = Random.Range(0,spawnPoints.length-1); 97 | enemy.transform.position = spawnPoints[index].transform.position; 98 | 99 | numEnemy++; 100 | spawnedEnemy++; 101 | }} 102 | 103 | function killEnemy(){ //decrease enemy number variable when one is killed 104 | numEnemy--; 105 | } -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/Spawner.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b9eb4b50307ec494d8fd3503e79283f0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/UtilityKey.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | //From old strucure, right now only holds ammoCount variable 4 | 5 | public var ammoCount : int; -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/UtilityKey.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 102ca48ebcf64044eb8a9ee20436b1ec 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/isAmmoSpawn.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | var SpawnPoint : Transform; 4 | var spawnPoint : GameObject; 5 | collider.isTrigger = true; 6 | 7 | function OnTriggerStay(other : Collider){ //When Ammo is in spawn point, declare point unavailable for spawning 8 | //Debug.Log("stay"); 9 | gameObject.tag = "Untagged"; 10 | 11 | } 12 | 13 | 14 | function OnTriggerExit(other : Collider){ // When spawn point unoccupied, declare valid spawn point 15 | 16 | spawnPoint.tag = "ammoSpawnPoint"; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/isAmmoSpawn.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c357d1f06d4ae554d82bc0396615287e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/isEnemySpawn.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | var other : GameObject; 4 | var SpawnPoint : Transform; 5 | var spawnPoint : GameObject; 6 | collider.isTrigger = true; 7 | 8 | 9 | 10 | function OnTriggerStay(other : Collider){ //Not a spawn point when enemy in region, prevent spiders from being on top of each other 11 | //Debug.Log("stay"); 12 | gameObject.tag = "Untagged"; 13 | 14 | } 15 | 16 | 17 | 18 | function OnTriggerExit(other : Collider){ // When spawn point unoccupied, declare valid spawn point 19 | 20 | spawnPoint.tag = "enemySpawnPoint"; 21 | 22 | 23 | } 24 | 25 | function OnDrawGizmos () { //show location of spawn point for devs 26 | Gizmos.color = Color.red; 27 | Gizmos.DrawCube(transform.position, Vector3.one); 28 | } -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/isEnemySpawn.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd5f4bc2ad09c184d8d82bbb85705ad9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/isHealthSpawn.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | var other : GameObject; 3 | var SpawnPoint : Transform; 4 | var spawnPoint : GameObject; 5 | collider.isTrigger = true; 6 | 7 | 8 | 9 | function OnTriggerEnter(other : Collider){ // When spawn point occupied, declare invalid spawn point 10 | Debug.Log("entered2"); 11 | gameObject.tag = "Untagged"; 12 | 13 | } 14 | 15 | 16 | 17 | function OnTriggerExit(other : Collider){ // When spawn point unoccupied, declare valid spawn point 18 | //Debug.Log("empty"); 19 | spawnPoint.tag = "healthSpawnPoint"; 20 | 21 | } 22 | -------------------------------------------------------------------------------- /BasicGame/Assets/Scripts/isHealthSpawn.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a12f90a292957e4a8731bbcca08602a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Secondary.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Secondary.unity -------------------------------------------------------------------------------- /BasicGame/Assets/Secondary.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8ac82c7e1fb75ed419e8e16d660a03e6 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Spin.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | var spinSpeed : float = 1.0; 4 | 5 | function Update () { 6 | transform.Rotate(transform.up, spinSpeed*Time.deltaTime); 7 | } -------------------------------------------------------------------------------- /BasicGame/Assets/Spin.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e3cef992b16b4d398326efcedd762e6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 961d132bbf5df794899b348d1609b000 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 54216e9ed42974e30967824b7f0b2806 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/3rd Person Controller.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Standard Assets/Character Controllers/3rd Person Controller.prefab -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/3rd Person Controller.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2314ce3a3eecf4816bad3c9eca4de2e1 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/First Person Controller.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Standard Assets/Character Controllers/First Person Controller.prefab -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/First Person Controller.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d4133d5d30b644bd87802a347eaccbe 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e0b0a994d8934541a387e092630b5db 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/PrototypeCharacter.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c81df2918c80c054ca3d436e62090893 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/PrototypeCharacter/Constructor.FBX: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Standard Assets/Character Controllers/Sources/PrototypeCharacter/Constructor.FBX -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/PrototypeCharacter/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e53c8c3dcc4ff59438bc9e86cb45c3f6 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/PrototypeCharacter/Materials/constructor_done.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Standard Assets/Character Controllers/Sources/PrototypeCharacter/Materials/constructor_done.mat -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/PrototypeCharacter/Materials/constructor_done.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ca49380a71a2bb64c830d06bd421b9d1 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/PrototypeCharacter/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b365e6042890d4b1987423ed6bb8a08c 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/PrototypeCharacter/Textures/constructor_diffuse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Standard Assets/Character Controllers/Sources/PrototypeCharacter/Textures/constructor_diffuse.png -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/PrototypeCharacter/Textures/constructor_diffuse.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 97b050d43ac7c4d2b9f6cbb587650761 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -1 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: -1 27 | aniso: -1 28 | mipBias: -1 29 | wrapMode: -1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: -1 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/PrototypeCharacter/Textures/constructor_normals.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Standard Assets/Character Controllers/Sources/PrototypeCharacter/Textures/constructor_normals.png -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/PrototypeCharacter/Textures/constructor_normals.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 531c14f8d5cdc4e5baa83ee6e16f783a 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 1 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 1 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -1 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: 1 27 | aniso: -1 28 | mipBias: -1 29 | wrapMode: -1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: 1 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f781c091d1c8647c380d5230adfaee54 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/Scripts/CharacterMotor.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0ab79d7f243824f5d9826bd83522c8df 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/Scripts/FPSInputController.js: -------------------------------------------------------------------------------- 1 | private var motor : CharacterMotor; 2 | 3 | // Use this for initialization 4 | function Awake () { 5 | motor = GetComponent(CharacterMotor); 6 | } 7 | 8 | // Update is called once per frame 9 | function Update () { 10 | // Get the input vector from kayboard or analog stick 11 | var directionVector = new Vector3(Input.GetAxis("Horizontal"), 0, Input.GetAxis("Vertical")); 12 | 13 | if (directionVector != Vector3.zero) { 14 | // Get the length of the directon vector and then normalize it 15 | // Dividing by the length is cheaper than normalizing when we already have the length anyway 16 | var directionLength = directionVector.magnitude; 17 | directionVector = directionVector / directionLength; 18 | 19 | // Make sure the length is no bigger than 1 20 | directionLength = Mathf.Min(1, directionLength); 21 | 22 | // Make the input vector more sensitive towards the extremes and less sensitive in the middle 23 | // This makes it easier to control slow speeds when using analog sticks 24 | directionLength = directionLength * directionLength; 25 | 26 | // Multiply the normalized direction vector by the modified length 27 | directionVector = directionVector * directionLength; 28 | } 29 | 30 | // Apply the direction to the CharacterMotor 31 | motor.inputMoveDirection = transform.rotation * directionVector; 32 | motor.inputJump = Input.GetButton("Jump"); 33 | } 34 | 35 | // Require a character controller to be attached to the same game object 36 | @script RequireComponent (CharacterMotor) 37 | @script AddComponentMenu ("Character/FPS Input Controller") 38 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/Scripts/FPSInputController.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 60bca8f58a0b8478e946e6e86658cb29 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/Scripts/GunLook.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | var target : Transform; 4 | 5 | function Update () { 6 | 7 | transform.LookAt(target); 8 | 9 | } -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/Scripts/GunLook.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf35db70762cb4e41887558b64a95873 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/Scripts/MouseLook.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | /// MouseLook rotates the transform based on the mouse delta. 5 | /// Minimum and Maximum values can be used to constrain the possible rotation 6 | 7 | /// To make an FPS style character: 8 | /// - Create a capsule. 9 | /// - Add the MouseLook script to the capsule. 10 | /// -> Set the mouse look to use LookX. (You want to only turn character but not tilt it) 11 | /// - Add FPSInputController script to the capsule 12 | /// -> A CharacterMotor and a CharacterController component will be automatically added. 13 | 14 | /// - Create a camera. Make the camera a child of the capsule. Reset it's transform. 15 | /// - Add a MouseLook script to the camera. 16 | /// -> Set the mouse look to use LookY. (You want the camera to tilt up and down like a head. The character already turns.) 17 | [AddComponentMenu("Camera-Control/Mouse Look")] 18 | public class MouseLook : MonoBehaviour { 19 | 20 | public enum RotationAxes { MouseXAndY = 0, MouseX = 1, MouseY = 2 } 21 | public RotationAxes axes = RotationAxes.MouseXAndY; 22 | public float sensitivityX = 15F; 23 | public float sensitivityY = 15F; 24 | 25 | public float minimumX = -360F; 26 | public float maximumX = 360F; 27 | 28 | public float minimumY = -60F; 29 | public float maximumY = 60F; 30 | 31 | float rotationY = 0F; 32 | 33 | void Update () 34 | { 35 | if (axes == RotationAxes.MouseXAndY) 36 | { 37 | float rotationX = transform.localEulerAngles.y + Input.GetAxis("Mouse X") * sensitivityX; 38 | 39 | rotationY += Input.GetAxis("Mouse Y") * sensitivityY; 40 | rotationY = Mathf.Clamp (rotationY, minimumY, maximumY); 41 | 42 | transform.localEulerAngles = new Vector3(-rotationY, rotationX, 0); 43 | } 44 | else if (axes == RotationAxes.MouseX) 45 | { 46 | transform.Rotate(0, Input.GetAxis("Mouse X") * sensitivityX, 0); 47 | } 48 | else 49 | { 50 | rotationY += Input.GetAxis("Mouse Y") * sensitivityY; 51 | rotationY = Mathf.Clamp (rotationY, minimumY, maximumY); 52 | 53 | transform.localEulerAngles = new Vector3(-rotationY, transform.localEulerAngles.y, 0); 54 | } 55 | } 56 | 57 | void Start () 58 | { 59 | // Make the rigid body not change rotation 60 | if (rigidbody) 61 | rigidbody.freezeRotation = true; 62 | } 63 | } -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/Scripts/MouseLook.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68ec2fe99d1108b9d0006a298d76c639 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/Scripts/PlatformInputController.js: -------------------------------------------------------------------------------- 1 | // This makes the character turn to face the current movement speed per default. 2 | var autoRotate : boolean = true; 3 | var maxRotationSpeed : float = 360; 4 | 5 | private var motor : CharacterMotor; 6 | 7 | // Use this for initialization 8 | function Awake () { 9 | motor = GetComponent(CharacterMotor); 10 | } 11 | 12 | // Update is called once per frame 13 | function Update () { 14 | // Get the input vector from kayboard or analog stick 15 | var directionVector = new Vector3(Input.GetAxis("Horizontal"), Input.GetAxis("Vertical"), 0); 16 | 17 | if (directionVector != Vector3.zero) { 18 | // Get the length of the directon vector and then normalize it 19 | // Dividing by the length is cheaper than normalizing when we already have the length anyway 20 | var directionLength = directionVector.magnitude; 21 | directionVector = directionVector / directionLength; 22 | 23 | // Make sure the length is no bigger than 1 24 | directionLength = Mathf.Min(1, directionLength); 25 | 26 | // Make the input vector more sensitive towards the extremes and less sensitive in the middle 27 | // This makes it easier to control slow speeds when using analog sticks 28 | directionLength = directionLength * directionLength; 29 | 30 | // Multiply the normalized direction vector by the modified length 31 | directionVector = directionVector * directionLength; 32 | } 33 | 34 | // Rotate the input vector into camera space so up is camera's up and right is camera's right 35 | directionVector = Camera.main.transform.rotation * directionVector; 36 | 37 | // Rotate input vector to be perpendicular to character's up vector 38 | var camToCharacterSpace = Quaternion.FromToRotation(-Camera.main.transform.forward, transform.up); 39 | directionVector = (camToCharacterSpace * directionVector); 40 | 41 | // Apply the direction to the CharacterMotor 42 | motor.inputMoveDirection = directionVector; 43 | motor.inputJump = Input.GetButton("Jump"); 44 | 45 | // Set rotation to the move direction 46 | if (autoRotate && directionVector.sqrMagnitude > 0.01) { 47 | var newForward : Vector3 = ConstantSlerp( 48 | transform.forward, 49 | directionVector, 50 | maxRotationSpeed * Time.deltaTime 51 | ); 52 | newForward = ProjectOntoPlane(newForward, transform.up); 53 | transform.rotation = Quaternion.LookRotation(newForward, transform.up); 54 | } 55 | } 56 | 57 | function ProjectOntoPlane (v : Vector3, normal : Vector3) { 58 | return v - Vector3.Project(v, normal); 59 | } 60 | 61 | function ConstantSlerp (from : Vector3, to : Vector3, angle : float) { 62 | var value : float = Mathf.Min(1, angle / Vector3.Angle(from, to)); 63 | return Vector3.Slerp(from, to, value); 64 | } 65 | 66 | // Require a character controller to be attached to the same game object 67 | @script RequireComponent (CharacterMotor) 68 | @script AddComponentMenu ("Character/Platform Input Controller") 69 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/Scripts/PlatformInputController.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: da93ddd6928094e24bb1f3f665f143d3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonCamera.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b167d00b3108411a8a963cba5ddde1b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1d5ac211a643e447ca78c2d794a16381 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /BasicGame/Assets/Working Assets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9593832c4c901eb4da2b52d8a53d38a6 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Working Assets/Objects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d82c2536abf07bf4da62adb1179ef283 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Working Assets/Objects/splatterDecal.mb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Working Assets/Objects/splatterDecal.mb -------------------------------------------------------------------------------- /BasicGame/Assets/Working Assets/Objects/splatterDecal.mb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6311d665bd1193f2a000894b4ada8c59 3 | ModelImporter: 4 | serializedVersion: 15 5 | fileIDToRecycleName: 6 | 4300000: pPlane1 7 | materials: 8 | importMaterials: 1 9 | materialName: 3 10 | materialSearch: 1 11 | animations: 12 | legacyGenerateAnimations: 4 13 | bakeSimulation: 0 14 | animationCompression: 1 15 | animationRotationError: .5 16 | animationPositionError: .5 17 | animationScaleError: .5 18 | animationWrapMode: 0 19 | clipAnimations: [] 20 | isReadable: 1 21 | meshes: 22 | lODScreenPercentages: [] 23 | globalScale: 1 24 | meshCompression: 0 25 | addColliders: 0 26 | importBlendShapes: 1 27 | swapUVChannels: 0 28 | generateSecondaryUV: 0 29 | useFileUnits: 1 30 | optimizeMeshForGPU: 1 31 | weldVertices: 1 32 | secondaryUVAngleDistortion: 8 33 | secondaryUVAreaDistortion: 15.000001 34 | secondaryUVHardAngle: 88 35 | secondaryUVPackMargin: 4 36 | tangentSpace: 37 | normalSmoothAngle: 60 38 | splitTangentsAcrossUV: 1 39 | normalImportMode: 1 40 | tangentImportMode: 1 41 | importAnimation: 1 42 | copyAvatar: 0 43 | humanDescription: 44 | human: [] 45 | skeleton: [] 46 | handles: [] 47 | armTwist: .5 48 | foreArmTwist: .5 49 | upperLegTwist: .5 50 | legTwist: .5 51 | armStretch: .0500000007 52 | legStretch: .0500000007 53 | feetSpacing: 0 54 | rootMotionBoneName: 55 | lastHumanDescriptionAvatarSource: {instanceID: 0} 56 | additionalBone: 1 57 | animationType: 1 58 | userData: 59 | -------------------------------------------------------------------------------- /BasicGame/Assets/Working Assets/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0e73b99a0e24284ea47e99a92989f46 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /BasicGame/Assets/Working Assets/Textures/splatter1.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/Working Assets/Textures/splatter1.tif -------------------------------------------------------------------------------- /BasicGame/Assets/Working Assets/Textures/splatter1.tif.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ba457fe0bd1183f2a000894b4ada8c59 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 2 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: 12 24 | maxTextureSize: 512 25 | textureSettings: 26 | filterMode: 1 27 | aniso: 9 28 | mipBias: 0 29 | wrapMode: 0 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: -1 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /BasicGame/Assets/sights.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/Assets/sights.png -------------------------------------------------------------------------------- /BasicGame/Assets/sights.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: feed0e9b0d31440449a28efa905a7d70 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -1 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: -1 27 | aniso: -1 28 | mipBias: -1 29 | wrapMode: -1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: -1 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /BasicGame/ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/ProjectSettings/AudioManager.asset -------------------------------------------------------------------------------- /BasicGame/ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/ProjectSettings/DynamicsManager.asset -------------------------------------------------------------------------------- /BasicGame/ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/ProjectSettings/EditorBuildSettings.asset -------------------------------------------------------------------------------- /BasicGame/ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/ProjectSettings/EditorSettings.asset -------------------------------------------------------------------------------- /BasicGame/ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/ProjectSettings/InputManager.asset -------------------------------------------------------------------------------- /BasicGame/ProjectSettings/NavMeshLayers.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/ProjectSettings/NavMeshLayers.asset -------------------------------------------------------------------------------- /BasicGame/ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/ProjectSettings/NetworkManager.asset -------------------------------------------------------------------------------- /BasicGame/ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/ProjectSettings/ProjectSettings.asset -------------------------------------------------------------------------------- /BasicGame/ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/ProjectSettings/QualitySettings.asset -------------------------------------------------------------------------------- /BasicGame/ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/ProjectSettings/TagManager.asset -------------------------------------------------------------------------------- /BasicGame/ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/ProjectSettings/TimeManager.asset -------------------------------------------------------------------------------- /BasicGame/arachnophobia.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/arachnophobia.exe -------------------------------------------------------------------------------- /BasicGame/arachnophobia_Data/Managed/Assembly-CSharp-firstpass.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/arachnophobia_Data/Managed/Assembly-CSharp-firstpass.dll -------------------------------------------------------------------------------- /BasicGame/arachnophobia_Data/Managed/Assembly-UnityScript-firstpass.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/arachnophobia_Data/Managed/Assembly-UnityScript-firstpass.dll -------------------------------------------------------------------------------- /BasicGame/arachnophobia_Data/Managed/Assembly-UnityScript.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/arachnophobia_Data/Managed/Assembly-UnityScript.dll -------------------------------------------------------------------------------- /BasicGame/arachnophobia_Data/Managed/Boo.Lang.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/arachnophobia_Data/Managed/Boo.Lang.dll -------------------------------------------------------------------------------- /BasicGame/arachnophobia_Data/Managed/Mono.Security.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/arachnophobia_Data/Managed/Mono.Security.dll -------------------------------------------------------------------------------- /BasicGame/arachnophobia_Data/Managed/System.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/arachnophobia_Data/Managed/System.Core.dll -------------------------------------------------------------------------------- /BasicGame/arachnophobia_Data/Managed/System.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/arachnophobia_Data/Managed/System.dll -------------------------------------------------------------------------------- /BasicGame/arachnophobia_Data/Managed/UnityEngine.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/arachnophobia_Data/Managed/UnityEngine.dll -------------------------------------------------------------------------------- /BasicGame/arachnophobia_Data/Managed/UnityScript.Lang.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/arachnophobia_Data/Managed/UnityScript.Lang.dll -------------------------------------------------------------------------------- /BasicGame/arachnophobia_Data/Managed/mscorlib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/arachnophobia_Data/Managed/mscorlib.dll -------------------------------------------------------------------------------- /BasicGame/arachnophobia_Data/Mono/etc/mono/2.0/Browsers/Compat.browser: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /BasicGame/arachnophobia_Data/Mono/etc/mono/2.0/settings.map: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 10 | 11 | 20 | 23 | 24 | 25 | 26 | 29 | 30 | 33 | 34 | 43 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /BasicGame/arachnophobia_Data/Mono/etc/mono/browscap.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/arachnophobia_Data/Mono/etc/mono/browscap.ini -------------------------------------------------------------------------------- /BasicGame/arachnophobia_Data/Mono/etc/mono/config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /BasicGame/arachnophobia_Data/Mono/mono.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/arachnophobia_Data/Mono/mono.dll -------------------------------------------------------------------------------- /BasicGame/arachnophobia_Data/PlayerConnectionConfigFile: -------------------------------------------------------------------------------- 1 | listen 213599968 0 0 0 -------------------------------------------------------------------------------- /BasicGame/arachnophobia_Data/Resources/unity default resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/arachnophobia_Data/Resources/unity default resources -------------------------------------------------------------------------------- /BasicGame/arachnophobia_Data/mainData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/arachnophobia_Data/mainData -------------------------------------------------------------------------------- /BasicGame/arachnophobia_Data/resources.assets: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/arachnophobia_Data/resources.assets -------------------------------------------------------------------------------- /BasicGame/arachnophobia_Data/sharedassets0.assets: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/BasicGame/arachnophobia_Data/sharedassets0.assets -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Data/Managed/Assembly-CSharp-firstpass.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Data/Managed/Assembly-CSharp-firstpass.dll -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Data/Managed/Assembly-UnityScript-firstpass.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Data/Managed/Assembly-UnityScript-firstpass.dll -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Data/Managed/Assembly-UnityScript.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Data/Managed/Assembly-UnityScript.dll -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Data/Managed/Boo.Lang.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Data/Managed/Boo.Lang.dll -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Data/Managed/Mono.Security.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Data/Managed/Mono.Security.dll -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Data/Managed/System.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Data/Managed/System.Core.dll -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Data/Managed/System.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Data/Managed/System.dll -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Data/Managed/UnityEngine.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Data/Managed/UnityEngine.dll -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Data/Managed/UnityScript.Lang.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Data/Managed/UnityScript.Lang.dll -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Data/Managed/etc/mono/2.0/Browsers/Compat.browser: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Data/Managed/etc/mono/2.0/settings.map: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 10 | 11 | 20 | 23 | 24 | 25 | 26 | 29 | 30 | 33 | 34 | 43 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Data/Managed/etc/mono/browscap.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Data/Managed/etc/mono/browscap.ini -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Data/Managed/etc/mono/config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Data/Managed/mscorlib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Data/Managed/mscorlib.dll -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Data/PlayerConnectionConfigFile: -------------------------------------------------------------------------------- 1 | listen 3081365894 0 0 0 -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Data/mainData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Data/mainData -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Data/resources.assets: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Data/resources.assets -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Data/sharedassets0.assets: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Data/sharedassets0.assets -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Frameworks/MonoEmbedRuntime/osx/libmono.0.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Frameworks/MonoEmbedRuntime/osx/libmono.0.dylib -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | BasicGame 9 | CFBundleGetInfoString 10 | Unity Player version 4.1.2f1 (911c7369eeac). (c) 2012 Unity Technologies ApS. All rights reserved. 11 | CFBundleIconFile 12 | UnityPlayer.icns 13 | CFBundleIdentifier 14 | unity.DefaultCompany.BasicGame 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | BasicGame 19 | CFBundlePackageType 20 | APPL 21 | CFBundleShortVersionString 22 | Unity Player version 4.1.2f1 23 | CFBundleSignature 24 | ???? 25 | CFBundleVersion 26 | 4.1.2f1 27 | NSMainNibFile 28 | MainMenu 29 | NSPrincipalClass 30 | PlayerApplication 31 | UnityBuildNumber 32 | 911c7369eeac 33 | 34 | 35 | -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/MacOS/BasicGame: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/MacOS/BasicGame -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/PkgInfo: -------------------------------------------------------------------------------- 1 | APPL???? 2 | -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Resources/Ageia.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Resources/Ageia.tif -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Resources/HID_override.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 1699 10 | 11 | 12 | 6 13 | 14 | 15 | Min 1:48 20 16 | Max 1:48 170 Min 1:49 20 Max 1:49 170 Min 1:53 15 Max 1:53 190 Min 1:54 20 Max 1:54 180 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Resources/KeyConfig.nib/classes.nib: -------------------------------------------------------------------------------- 1 | { 2 | IBClasses = ( 3 | {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, 4 | { 5 | CLASS = KeyConfig; 6 | LANGUAGE = ObjC; 7 | OUTLETS = {"m_KeyLabel" = id; "m_Progress" = id; }; 8 | SUPERCLASS = NSObject; 9 | } 10 | ); 11 | IBVersion = 1; 12 | } -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Resources/KeyConfig.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBDocumentLocation 6 | 69 14 356 240 0 0 1280 832 7 | IBFramework Version 8 | 439.0 9 | IBOpenObjects 10 | 11 | 5 12 | 13 | IBSystem Version 14 | 8B15 15 | 16 | 17 | -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Resources/KeyConfig.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Resources/KeyConfig.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Resources/MainMenu.nib/classes.nib: -------------------------------------------------------------------------------- 1 | { 2 | IBClasses = ( 3 | { 4 | CLASS = FirstResponder; 5 | LANGUAGE = ObjC; 6 | SUPERCLASS = NSObject; 7 | }, 8 | { 9 | ACTIONS = { 10 | ToggleFullscreen = id; 11 | }; 12 | CLASS = PlayerAppDelegate; 13 | LANGUAGE = ObjC; 14 | OUTLETS = { 15 | "m_AboutBox" = id; 16 | "m_AboutMenuItem" = id; 17 | "m_FullscreenMenuItem" = id; 18 | "m_HideMenuItem" = id; 19 | "m_QuitMenuItem" = id; 20 | }; 21 | SUPERCLASS = NSObject; 22 | }, 23 | { 24 | CLASS = PlayerApplication; 25 | LANGUAGE = ObjC; 26 | SUPERCLASS = NSApplication; 27 | } 28 | ); 29 | IBVersion = 1; 30 | } -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Resources/MainMenu.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBDocumentLocation 6 | 800 216 356 240 0 0 1440 878 7 | IBEditorPositions 8 | 9 | 29 10 | 59 447 210 44 0 0 1440 878 11 | 12 | IBFramework Version 13 | 489.0 14 | IBOpenObjects 15 | 16 | 251 17 | 29 18 | 19 | IBSystem Version 20 | 9C7010 21 | IBUsesTextArchiving 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Resources/MainMenu.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Resources/MainMenu.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Resources/Mono.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Resources/Mono.tif -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Resources/ScreenSelector.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | ACTIONS 9 | 10 | Play 11 | id 12 | Quit 13 | id 14 | SaveAndQuit 15 | id 16 | 17 | CLASS 18 | ScreenSelector 19 | LANGUAGE 20 | ObjC 21 | OUTLETS 22 | 23 | m_GraphicsQuality 24 | id 25 | m_Input 26 | id 27 | m_OptionKey 28 | id 29 | m_ScreenResolution 30 | id 31 | m_Windowed 32 | id 33 | 34 | SUPERCLASS 35 | NSObject 36 | 37 | 38 | CLASS 39 | FirstResponder 40 | LANGUAGE 41 | ObjC 42 | SUPERCLASS 43 | NSObject 44 | 45 | 46 | CLASS 47 | ScreenSelectorTableView 48 | LANGUAGE 49 | ObjC 50 | SUPERCLASS 51 | NSTableView 52 | 53 | 54 | IBVersion 55 | 1 56 | 57 | 58 | -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Resources/ScreenSelector.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 677 7 | IBOldestOS 8 | 5 9 | IBOpenObjects 10 | 11 | 11 12 | 13 | IBSystem Version 14 | 9J61 15 | targetFramework 16 | IBCocoaFramework 17 | 18 | 19 | -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Resources/ScreenSelector.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Resources/ScreenSelector.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Resources/UnityPlayerIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Resources/UnityPlayerIcon.png -------------------------------------------------------------------------------- /Builds/OSX.app/Contents/Resources/unity default resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/OSX.app/Contents/Resources/unity default resources -------------------------------------------------------------------------------- /Builds/Windows.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/Windows.exe -------------------------------------------------------------------------------- /Builds/Windows_Data/Managed/Assembly-CSharp-firstpass.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/Windows_Data/Managed/Assembly-CSharp-firstpass.dll -------------------------------------------------------------------------------- /Builds/Windows_Data/Managed/Assembly-UnityScript-firstpass.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/Windows_Data/Managed/Assembly-UnityScript-firstpass.dll -------------------------------------------------------------------------------- /Builds/Windows_Data/Managed/Assembly-UnityScript.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/Windows_Data/Managed/Assembly-UnityScript.dll -------------------------------------------------------------------------------- /Builds/Windows_Data/Managed/Boo.Lang.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/Windows_Data/Managed/Boo.Lang.dll -------------------------------------------------------------------------------- /Builds/Windows_Data/Managed/Mono.Security.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/Windows_Data/Managed/Mono.Security.dll -------------------------------------------------------------------------------- /Builds/Windows_Data/Managed/System.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/Windows_Data/Managed/System.Core.dll -------------------------------------------------------------------------------- /Builds/Windows_Data/Managed/System.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/Windows_Data/Managed/System.dll -------------------------------------------------------------------------------- /Builds/Windows_Data/Managed/UnityEngine.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/Windows_Data/Managed/UnityEngine.dll -------------------------------------------------------------------------------- /Builds/Windows_Data/Managed/UnityScript.Lang.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/Windows_Data/Managed/UnityScript.Lang.dll -------------------------------------------------------------------------------- /Builds/Windows_Data/Managed/mscorlib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/Windows_Data/Managed/mscorlib.dll -------------------------------------------------------------------------------- /Builds/Windows_Data/Mono/etc/mono/2.0/Browsers/Compat.browser: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Builds/Windows_Data/Mono/etc/mono/2.0/settings.map: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 10 | 11 | 20 | 23 | 24 | 25 | 26 | 29 | 30 | 33 | 34 | 43 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /Builds/Windows_Data/Mono/etc/mono/browscap.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/Windows_Data/Mono/etc/mono/browscap.ini -------------------------------------------------------------------------------- /Builds/Windows_Data/Mono/etc/mono/config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Builds/Windows_Data/Mono/mono.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/Windows_Data/Mono/mono.dll -------------------------------------------------------------------------------- /Builds/Windows_Data/PlayerConnectionConfigFile: -------------------------------------------------------------------------------- 1 | listen 3081365894 0 0 0 -------------------------------------------------------------------------------- /Builds/Windows_Data/Resources/unity default resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/Windows_Data/Resources/unity default resources -------------------------------------------------------------------------------- /Builds/Windows_Data/mainData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/Windows_Data/mainData -------------------------------------------------------------------------------- /Builds/Windows_Data/resources.assets: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/Windows_Data/resources.assets -------------------------------------------------------------------------------- /Builds/Windows_Data/sharedassets0.assets: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/Builds/Windows_Data/sharedassets0.assets -------------------------------------------------------------------------------- /MazeFind.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/MazeFind.png -------------------------------------------------------------------------------- /PathfindingDemo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/PathfindingDemo.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | UnityAI 2 | ======= 3 | 4 | Reusable Artificial Intelligence Experiments 5 | 6 | ![Elevation Demo](https://raw.github.com/jceipek/UnityAI/master/PathfindingDemo.png "Pathfinding Editor") 7 | ![Demo Maze](https://raw.github.com/jceipek/UnityAI/master/MazeFind.png "Maze Solution") 8 | 9 | ## Current Features 10 | 11 | - Pathfinding editor for waypoints and pathing visualization 12 | - A* Route Planning 13 | - Random waypoint navigation 14 | - Waypoint to waypoint following using Pathfinder 15 | - Navigation mesh processor in the Tools Menu (creates a NavmeshNode network with triangles and vertices from a selected mesh) 16 | - Pathing for navigation meshes 17 | - Funnel algorithm for navigation meshes 18 | - Steering behavior for path following 19 | - A basic FPS with path following spiders, ammo, and health spawned by an AI director 20 | 21 | # Script Locations 22 | 23 | This project includes 2 Unity projects: 24 | - UnityPathing (a sandbox project for pathfinding experiments) 25 | - BasicGame (the FPS demo with pathfinding and an AI director) 26 | 27 | Planning scripts are located in `BasicGame/Assets/Pathfinding Scripts` and gameplay/director scripts are located in `BasicGame/Assets/Scripts` 28 | 29 | ##License: MIT 30 | 31 | Copyright (c) 2013 Julian Ceipek, Alyssa Bawgus, Eric Tappan, Alex Adkins 32 | 33 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 34 | 35 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 36 | 37 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /UnityPathing/Assets/Demo.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/Assets/Demo.unity -------------------------------------------------------------------------------- /UnityPathing/Assets/Demo.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 607ba8edc2a2a4d50b14b51959854fd8 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 34f5c9d92c7a9434ea94d0527e77acbf 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Editor/NavMeshWindow.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2c8b4a920dad943ab914693c6d1ff1d1 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Editor/PathfindingEditor.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6cd1decd49ac644b581af2136924f4dd 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /UnityPathing/Assets/FT_CaveWorm.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e743b296a30e43f79403031bd27281d 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /UnityPathing/Assets/FT_CaveWorm/CaveWorm_anim.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/Assets/FT_CaveWorm/CaveWorm_anim.fbx -------------------------------------------------------------------------------- /UnityPathing/Assets/FT_CaveWorm/Diffuse.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/Assets/FT_CaveWorm/Diffuse.psd -------------------------------------------------------------------------------- /UnityPathing/Assets/FT_CaveWorm/Diffuse.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a862907d3ae3254d8d236c61b42a818 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -1 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: -1 27 | aniso: -1 28 | mipBias: -1 29 | wrapMode: -1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: -1 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /UnityPathing/Assets/FT_CaveWorm/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 95d8f876548c7a44eb02244fb8966c58 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /UnityPathing/Assets/FT_CaveWorm/Materials/CaveWorm.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/Assets/FT_CaveWorm/Materials/CaveWorm.mat -------------------------------------------------------------------------------- /UnityPathing/Assets/FT_CaveWorm/Materials/CaveWorm.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c2582ef51f2dda246ada28b163103d6a 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /UnityPathing/Assets/FT_CaveWorm/Materials/Diffuse.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/Assets/FT_CaveWorm/Materials/Diffuse.mat -------------------------------------------------------------------------------- /UnityPathing/Assets/FT_CaveWorm/Materials/Diffuse.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 75a56ee0b9a4444c797acf7039a998e0 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /UnityPathing/Assets/FT_CaveWorm/Normal.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/Assets/FT_CaveWorm/Normal.psd -------------------------------------------------------------------------------- /UnityPathing/Assets/FT_CaveWorm/Normal.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a2600978b00dc94e824b5a2ee5080e3 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 1 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 1 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -1 24 | maxTextureSize: 1024 25 | textureSettings: 26 | filterMode: -1 27 | aniso: -1 28 | mipBias: -1 29 | wrapMode: -1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | textureType: 1 34 | buildTargetSettings: [] 35 | userData: 36 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Maze.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/Assets/Maze.unity -------------------------------------------------------------------------------- /UnityPathing/Assets/Maze.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff7b045c688ed43c58837e2d8c8a09ff 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /UnityPathing/Assets/NavMeshTesting.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/Assets/NavMeshTesting.unity -------------------------------------------------------------------------------- /UnityPathing/Assets/NavMeshTesting.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 44e3df931f7f14b90bf8754a57c886a2 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Pathfinding Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ed5efa080fa54590b131c88ce046dd2 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Pathfinding Scripts/NavmeshFollower.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4737f23a45bfc477597841aa0063b223 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Pathfinding Scripts/NavmeshGeometry.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | var verts : Vector3[]; 4 | private var transformedVerts : Vector3[] = null; 5 | 6 | // Cache transformed vertex positions if game is running 7 | // This must be modified if we expect the navmesh to move 8 | // while the game is running. 9 | function getTransformedVerts() : Vector3[] { 10 | if (!Application.isPlaying || transformedVerts == null) { 11 | var networkTransform : Transform = transform.parent; 12 | transformedVerts = new Vector3[3]; 13 | for (var i = 0; i < verts.length; i++) { 14 | transformedVerts[i] = networkTransform.position + networkTransform.TransformDirection(verts[i]); 15 | } 16 | } 17 | return transformedVerts; 18 | } 19 | 20 | function OnDrawGizmos() { 21 | Gizmos.color = Color.blue; 22 | var tVerts : Vector3[] = this.getTransformedVerts(); 23 | for (var i = 0; i < tVerts.length; i++) { 24 | Gizmos.DrawLine (tVerts[i], tVerts[(i+1)%tVerts.length]); 25 | } 26 | } -------------------------------------------------------------------------------- /UnityPathing/Assets/Pathfinding Scripts/NavmeshGeometry.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 83b77e1e0c8344303a816fc87a13301a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Pathfinding Scripts/Pathfinder.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 89a592dd514cc4d4e9e591141e6f9d46 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Pathfinding Scripts/Waypoint.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | // Copyright (C) 2013 Julian Ceipek 4 | // 5 | // A component that represents a Waypoint for pathfinding. 6 | // It contains references to other waypoints via linkedTo to form a graph. 7 | // For use in conjunction with PathfindingEditor.js and Pathfinder.js 8 | // 9 | // It should be assigned to a "WaypointNode" prefab in the Assets/Resources folder. 10 | // 11 | 12 | public var linkedTo : Waypoint[]; 13 | 14 | @HideInInspector 15 | var selectedInEditor : boolean = false; 16 | 17 | function OnDrawGizmos() { 18 | if (selectedInEditor) { 19 | Gizmos.color = Color.magenta; 20 | } else { 21 | Gizmos.color = Color.cyan; 22 | } 23 | 24 | Gizmos.DrawWireSphere(transform.position, 0.4f); 25 | 26 | Gizmos.color = Color.cyan; 27 | for (var i = 0; i < linkedTo.length; i++) { 28 | Gizmos.DrawLine (transform.position, linkedTo[i].transform.position); 29 | } 30 | } -------------------------------------------------------------------------------- /UnityPathing/Assets/Pathfinding Scripts/Waypoint.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 231b20fbfe4a449759ac0036862376f3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Pathfinding Scripts/WaypointFollower.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | // Copyright (C) 2013 Julian Ceipek 4 | // 5 | // A component that makes an object randomly follow connected Waypoints. 6 | // 7 | 8 | import System.Collections.Generic; 9 | 10 | 11 | var currWaypoint : Waypoint; 12 | var endWaypoint : Waypoint; 13 | var confirmationDistance : float; 14 | var confirmationAngle : float; 15 | var moveSpeedWhileTurning : float; 16 | var moveSpeed : float; 17 | var turnSpeed : float; 18 | private var pathWaypoints : List.; 19 | private var aiSystem : Pathfinder; 20 | private var controller : CharacterController; 21 | 22 | function Start () { 23 | controller = GetComponent(CharacterController); 24 | var aiSystemContainer : GameObject; 25 | aiSystemContainer = GameObject.FindWithTag ("AI System"); 26 | aiSystem = aiSystemContainer.GetComponent(Pathfinder); 27 | if (endWaypoint != null) { 28 | currWaypoint = aiSystem.GetClosestWaypointToPoint(transform.position); 29 | pathWaypoints = aiSystem.FindRoute(currWaypoint, endWaypoint); 30 | } 31 | } 32 | 33 | function Update () { 34 | var o : Vector3 = new Vector3(currWaypoint.transform.position.x, 0, currWaypoint.transform.position.z); 35 | var t : Vector3 = new Vector3(transform.position.x, 0, transform.position.z); 36 | var relativePos = o-t;//currWaypoint.transform.position - transform.position; 37 | var rotation = Quaternion.LookRotation(relativePos); 38 | //var angleOffset = Vector3.Angle(relativePos, transform.forward) 39 | if ((o - t).magnitude <= confirmationDistance) { 40 | // In Range, distancewise 41 | //var options : Waypoint[] = currWaypoint.linkedTo; 42 | 43 | if (pathWaypoints.Count > 0) { 44 | currWaypoint = pathWaypoints[pathWaypoints.Count-1]; 45 | pathWaypoints.RemoveAt(pathWaypoints.Count-1); 46 | } 47 | 48 | } else if ( Vector3.Angle(relativePos, transform.forward) <= confirmationAngle) { 49 | // In Range, anglewise 50 | controller.Move(transform.forward * moveSpeed * Time.deltaTime); 51 | controller.Move(transform.up * -1 * moveSpeed * Time.deltaTime); 52 | } else { 53 | transform.rotation = Quaternion.Lerp (transform.rotation, rotation, Time.deltaTime * turnSpeed); 54 | 55 | controller.Move(transform.forward * moveSpeedWhileTurning * Time.deltaTime); 56 | controller.Move(transform.up * -1 * moveSpeedWhileTurning * Time.deltaTime); 57 | } 58 | 59 | } 60 | 61 | function OnDrawGizmos () { 62 | Gizmos.DrawWireSphere(transform.position, confirmationDistance); 63 | Gizmos.color = Color.red; 64 | Gizmos.DrawRay(transform.position, transform.TransformDirection (Vector3.forward) * moveSpeed * 0.5); 65 | } -------------------------------------------------------------------------------- /UnityPathing/Assets/Pathfinding Scripts/WaypointFollower.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 94dd70dac222a2c44a13149b400cec33 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Pathfinding Scripts/WaypointWanderer.js: -------------------------------------------------------------------------------- 1 | #pragma strict 2 | 3 | // Copyright (C) 2013 Julian Ceipek 4 | // 5 | // A component that makes an object randomly follow connected Waypoints. 6 | // 7 | 8 | var currWaypoint : Waypoint; 9 | var oldWaypoints : Waypoint[] = new Waypoint[2]; 10 | var confirmationDistance : float; 11 | var confirmationAngle : float; 12 | var moveSpeedWhileTurning : float; 13 | var moveSpeed : float; 14 | var turnSpeed : float; 15 | private var controller : CharacterController; 16 | 17 | function Start () { 18 | controller = GetComponent(CharacterController); 19 | oldWaypoints[0] = currWaypoint; 20 | oldWaypoints[1] = currWaypoint; 21 | } 22 | 23 | function Update () { 24 | var o : Vector3 = new Vector3(currWaypoint.transform.position.x, 0, currWaypoint.transform.position.z); 25 | var t : Vector3 = new Vector3(transform.position.x, 0, transform.position.z); 26 | var relativePos = o-t;//currWaypoint.transform.position - transform.position; 27 | var rotation = Quaternion.LookRotation(relativePos); 28 | //var angleOffset = Vector3.Angle(relativePos, transform.forward) 29 | if ((o - t).magnitude <= confirmationDistance) { 30 | // In Range, distancewise 31 | var options : Waypoint[] = currWaypoint.linkedTo; 32 | 33 | do { 34 | var rand : int = Random.Range(0,options.length); 35 | currWaypoint = options[rand]; 36 | 37 | } while ((currWaypoint == oldWaypoints[0] || currWaypoint == oldWaypoints[1]) && options.length > 1); 38 | 39 | oldWaypoints[0] = oldWaypoints[1]; 40 | oldWaypoints[1] = currWaypoint; 41 | 42 | } else if ( Vector3.Angle(relativePos, transform.forward) <= confirmationAngle) { 43 | // In Range, anglewise 44 | controller.Move(transform.forward * moveSpeed * Time.deltaTime); 45 | controller.Move(transform.up * -1 * moveSpeed * Time.deltaTime); 46 | } else { 47 | transform.rotation = Quaternion.Lerp (transform.rotation, rotation, Time.deltaTime * turnSpeed); 48 | 49 | controller.Move(transform.forward * moveSpeedWhileTurning * Time.deltaTime); 50 | controller.Move(transform.up * -1 * moveSpeedWhileTurning * Time.deltaTime); 51 | } 52 | 53 | } 54 | 55 | function OnDrawGizmos () { 56 | Gizmos.DrawWireSphere(transform.position, confirmationDistance); 57 | Gizmos.color = Color.red; 58 | Gizmos.DrawRay(transform.position, transform.TransformDirection (Vector3.forward) * moveSpeed * 0.5); 59 | } -------------------------------------------------------------------------------- /UnityPathing/Assets/Pathfinding Scripts/WaypointWanderer.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a351dd0e9365343ffaf211dd8331ba1f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f0d4a5478d596470fbd21912b19282df 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Prefabs/Agent.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/Assets/Prefabs/Agent.prefab -------------------------------------------------------------------------------- /UnityPathing/Assets/Prefabs/Agent.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d347b999a310f4dc69916874fa09c630 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Raw Objects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4810638e9d6ce4677a0e806d560bb4db 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Raw Objects/House.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/Assets/Raw Objects/House.blend -------------------------------------------------------------------------------- /UnityPathing/Assets/Raw Objects/House.blend.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 74c946e4d401845878c90a7d546143f8 3 | ModelImporter: 4 | serializedVersion: 15 5 | fileIDToRecycleName: 6 | 100000: //RootNode 7 | 400000: //RootNode 8 | 2300000: //RootNode 9 | 3300000: //RootNode 10 | 4300000: Cube 11 | 7400000: Default Take 12 | 9500000: //RootNode 13 | materials: 14 | importMaterials: 1 15 | materialName: 0 16 | materialSearch: 1 17 | animations: 18 | legacyGenerateAnimations: 4 19 | bakeSimulation: 0 20 | animationCompression: 1 21 | animationRotationError: .5 22 | animationPositionError: .5 23 | animationScaleError: .5 24 | animationWrapMode: 0 25 | clipAnimations: [] 26 | isReadable: 1 27 | meshes: 28 | lODScreenPercentages: [] 29 | globalScale: 1 30 | meshCompression: 0 31 | addColliders: 0 32 | swapUVChannels: 0 33 | generateSecondaryUV: 0 34 | useFileUnits: 1 35 | optimizeMeshForGPU: 1 36 | secondaryUVAngleDistortion: 8 37 | secondaryUVAreaDistortion: 15.000001 38 | secondaryUVHardAngle: 88 39 | secondaryUVPackMargin: 4 40 | tangentSpace: 41 | normalSmoothAngle: 60 42 | splitTangentsAcrossUV: 1 43 | normalImportMode: 0 44 | tangentImportMode: 1 45 | importAnimation: 1 46 | copyAvatar: 0 47 | humanDescription: 48 | human: [] 49 | skeleton: [] 50 | handles: [] 51 | armTwist: .5 52 | foreArmTwist: .5 53 | upperLegTwist: .5 54 | legTwist: .5 55 | armStretch: .0500000007 56 | legStretch: .0500000007 57 | feetSpacing: 0 58 | rootMotionBoneName: 59 | lastHumanDescriptionAvatarSource: {instanceID: 0} 60 | additionalBone: 1 61 | animationType: 2 62 | userData: 63 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Raw Objects/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 995c0d8ce44254f2693c7db0f0b81874 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Raw Objects/Materials/Material.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/Assets/Raw Objects/Materials/Material.mat -------------------------------------------------------------------------------- /UnityPathing/Assets/Raw Objects/Materials/Material.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 779951231ca0d4eeba4f0dd630e07ea5 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Raw Objects/Materials/Material_001.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/Assets/Raw Objects/Materials/Material_001.mat -------------------------------------------------------------------------------- /UnityPathing/Assets/Raw Objects/Materials/Material_001.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f8bacc1214e494a9599d7e07ec77823a 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Raw Objects/Materials/Material__Lightmap_001.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/Assets/Raw Objects/Materials/Material__Lightmap_001.mat -------------------------------------------------------------------------------- /UnityPathing/Assets/Raw Objects/Materials/Material__Lightmap_001.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a391dcf6ab0bb411fac64e9561ab7aa8 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Raw Objects/Maze.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/Assets/Raw Objects/Maze.blend -------------------------------------------------------------------------------- /UnityPathing/Assets/Raw Objects/Maze.blend.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c0072ef2a4004303b5561e4538c47df 3 | ModelImporter: 4 | serializedVersion: 15 5 | fileIDToRecycleName: 6 | 100000: Cube 7 | 100002: Cube_001 8 | 100004: //RootNode 9 | 400000: Cube 10 | 400002: Cube_001 11 | 400004: //RootNode 12 | 2300000: Cube 13 | 2300002: Cube_001 14 | 2300004: //RootNode 15 | 3300000: Cube 16 | 3300002: Cube_001 17 | 3300004: //RootNode 18 | 4300000: Cube_001 19 | 4300002: Cube 20 | 7400000: Default Take 21 | 9500000: //RootNode 22 | materials: 23 | importMaterials: 1 24 | materialName: 0 25 | materialSearch: 1 26 | animations: 27 | legacyGenerateAnimations: 4 28 | bakeSimulation: 0 29 | animationCompression: 1 30 | animationRotationError: .5 31 | animationPositionError: .5 32 | animationScaleError: .5 33 | animationWrapMode: 0 34 | clipAnimations: [] 35 | isReadable: 1 36 | meshes: 37 | lODScreenPercentages: [] 38 | globalScale: 1 39 | meshCompression: 0 40 | addColliders: 0 41 | swapUVChannels: 0 42 | generateSecondaryUV: 0 43 | useFileUnits: 1 44 | optimizeMeshForGPU: 1 45 | secondaryUVAngleDistortion: 8 46 | secondaryUVAreaDistortion: 15.000001 47 | secondaryUVHardAngle: 88 48 | secondaryUVPackMargin: 4 49 | tangentSpace: 50 | normalSmoothAngle: 60 51 | splitTangentsAcrossUV: 1 52 | normalImportMode: 0 53 | tangentImportMode: 1 54 | importAnimation: 0 55 | copyAvatar: 0 56 | humanDescription: 57 | human: [] 58 | skeleton: [] 59 | handles: [] 60 | armTwist: .5 61 | foreArmTwist: .5 62 | upperLegTwist: .5 63 | legTwist: .5 64 | armStretch: .0500000007 65 | legStretch: .0500000007 66 | feetSpacing: 0 67 | rootMotionBoneName: 68 | lastHumanDescriptionAvatarSource: {instanceID: 0} 69 | additionalBone: 1 70 | animationType: 0 71 | userData: 72 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Raw Objects/NavMeshTest.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/Assets/Raw Objects/NavMeshTest.blend -------------------------------------------------------------------------------- /UnityPathing/Assets/Raw Objects/NavMeshTest.blend.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45518d1368c514252a9a36bf4073e7b4 3 | ModelImporter: 4 | serializedVersion: 15 5 | fileIDToRecycleName: 6 | 100000: //RootNode 7 | 400000: //RootNode 8 | 2300000: //RootNode 9 | 3300000: //RootNode 10 | 4300000: Cube 11 | 7400000: Default Take 12 | 9500000: //RootNode 13 | materials: 14 | importMaterials: 1 15 | materialName: 0 16 | materialSearch: 1 17 | animations: 18 | legacyGenerateAnimations: 4 19 | bakeSimulation: 0 20 | animationCompression: 1 21 | animationRotationError: .5 22 | animationPositionError: .5 23 | animationScaleError: .5 24 | animationWrapMode: 0 25 | clipAnimations: [] 26 | isReadable: 1 27 | meshes: 28 | lODScreenPercentages: [] 29 | globalScale: 1 30 | meshCompression: 0 31 | addColliders: 0 32 | swapUVChannels: 0 33 | generateSecondaryUV: 0 34 | useFileUnits: 1 35 | optimizeMeshForGPU: 1 36 | secondaryUVAngleDistortion: 8 37 | secondaryUVAreaDistortion: 15.000001 38 | secondaryUVHardAngle: 88 39 | secondaryUVPackMargin: 4 40 | tangentSpace: 41 | normalSmoothAngle: 60 42 | splitTangentsAcrossUV: 1 43 | normalImportMode: 0 44 | tangentImportMode: 1 45 | importAnimation: 1 46 | copyAvatar: 0 47 | humanDescription: 48 | human: [] 49 | skeleton: [] 50 | handles: [] 51 | armTwist: .5 52 | foreArmTwist: .5 53 | upperLegTwist: .5 54 | legTwist: .5 55 | armStretch: .0500000007 56 | legStretch: .0500000007 57 | feetSpacing: 0 58 | rootMotionBoneName: 59 | lastHumanDescriptionAvatarSource: {instanceID: 0} 60 | additionalBone: 1 61 | animationType: 2 62 | userData: 63 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Raw Objects/NavMeshTestComplex.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/Assets/Raw Objects/NavMeshTestComplex.blend -------------------------------------------------------------------------------- /UnityPathing/Assets/Raw Objects/NavMeshTestComplex.blend.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 063b5131492044dc18d56abc74751cbc 3 | ModelImporter: 4 | serializedVersion: 15 5 | fileIDToRecycleName: 6 | 100000: //RootNode 7 | 400000: //RootNode 8 | 2300000: //RootNode 9 | 3300000: //RootNode 10 | 4300000: Cube 11 | 7400000: Default Take 12 | 9500000: //RootNode 13 | materials: 14 | importMaterials: 1 15 | materialName: 0 16 | materialSearch: 1 17 | animations: 18 | legacyGenerateAnimations: 4 19 | bakeSimulation: 0 20 | animationCompression: 1 21 | animationRotationError: .5 22 | animationPositionError: .5 23 | animationScaleError: .5 24 | animationWrapMode: 0 25 | clipAnimations: [] 26 | isReadable: 1 27 | meshes: 28 | lODScreenPercentages: [] 29 | globalScale: 1 30 | meshCompression: 0 31 | addColliders: 0 32 | importBlendShapes: 1 33 | swapUVChannels: 0 34 | generateSecondaryUV: 0 35 | useFileUnits: 1 36 | optimizeMeshForGPU: 1 37 | weldVertices: 1 38 | secondaryUVAngleDistortion: 8 39 | secondaryUVAreaDistortion: 15.000001 40 | secondaryUVHardAngle: 88 41 | secondaryUVPackMargin: 4 42 | tangentSpace: 43 | normalSmoothAngle: 60 44 | splitTangentsAcrossUV: 1 45 | normalImportMode: 0 46 | tangentImportMode: 1 47 | importAnimation: 1 48 | copyAvatar: 0 49 | humanDescription: 50 | human: [] 51 | skeleton: [] 52 | handles: [] 53 | armTwist: .5 54 | foreArmTwist: .5 55 | upperLegTwist: .5 56 | legTwist: .5 57 | armStretch: .0500000007 58 | legStretch: .0500000007 59 | feetSpacing: 0 60 | rootMotionBoneName: 61 | lastHumanDescriptionAvatarSource: {instanceID: 0} 62 | additionalBone: 1 63 | animationType: 2 64 | userData: 65 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 304574a2abd8c4c98bca66cb6d91e529 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Resources/NavmeshNode.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/Assets/Resources/NavmeshNode.prefab -------------------------------------------------------------------------------- /UnityPathing/Assets/Resources/NavmeshNode.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b95acb9fc50c4c57a8dc99076781220 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /UnityPathing/Assets/Resources/WaypointNode.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/Assets/Resources/WaypointNode.prefab -------------------------------------------------------------------------------- /UnityPathing/Assets/Resources/WaypointNode.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed988681d08894ed3bdd761a1dde7e16 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /UnityPathing/ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/ProjectSettings/AudioManager.asset -------------------------------------------------------------------------------- /UnityPathing/ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/ProjectSettings/DynamicsManager.asset -------------------------------------------------------------------------------- /UnityPathing/ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/ProjectSettings/EditorBuildSettings.asset -------------------------------------------------------------------------------- /UnityPathing/ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/ProjectSettings/EditorSettings.asset -------------------------------------------------------------------------------- /UnityPathing/ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/ProjectSettings/InputManager.asset -------------------------------------------------------------------------------- /UnityPathing/ProjectSettings/NavMeshLayers.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/ProjectSettings/NavMeshLayers.asset -------------------------------------------------------------------------------- /UnityPathing/ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/ProjectSettings/NetworkManager.asset -------------------------------------------------------------------------------- /UnityPathing/ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/ProjectSettings/ProjectSettings.asset -------------------------------------------------------------------------------- /UnityPathing/ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/ProjectSettings/QualitySettings.asset -------------------------------------------------------------------------------- /UnityPathing/ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/ProjectSettings/TagManager.asset -------------------------------------------------------------------------------- /UnityPathing/ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jceipek/UnityAI/e1c20053552b2411249f866b04dd42a5c8d8f280/UnityPathing/ProjectSettings/TimeManager.asset --------------------------------------------------------------------------------