Add prototype gameplay loop with character/battlefield assets and server game APIs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
udx
2026-10-20 18:50:00 +08:00
co-authored by Cursor
parent 79369e4473
commit 6c64210331
833 changed files with 998079 additions and 1042 deletions
+66
View File
@@ -0,0 +1,66 @@
{
"schemaVersion": 1,
"id": "FireCat",
"kind": "Animal",
"usage": "companion_visual",
"profile": "biped_short",
"boneMappingReady": false,
"height": 0.55,
"maxTriangles": 2000,
"assetRoot": "Assets/Bundles/Characters/Animal/FireCat",
"staticPrefab": "Assets/Bundles/Characters/Animal/FireCat/FireCat.prefab",
"approvedMesh": "AIClient/Assets/Bundles/Characters/Animal/FireCat/FireCat.fbx",
"rigSource": "Tools/output/firecat_dgx/high_rig/rigged.glb",
"lowUp": "Y",
"outputDir": "Tools/output/companions/FireCat",
"visualPrefab": "Assets/Bundles/Characters/Animal/FireCat/FireCat_Companion.prefab",
"reviewScene": "Assets/Bundles/Scenes/Review/Companion_FireCat_Review.unity",
"reviewOriginX": 40,
"rootBone": "",
"chestBone": "",
"faceRight": "",
"faceLeft": "",
"rightFoot": "",
"leftFoot": "",
"rightFootTip": "",
"leftFootTip": "",
"rightArm": "",
"leftArm": "",
"walkStride": 0.06,
"walkLift": 0.018,
"walkSeconds": 1.1,
"idleSeconds": 1.6,
"idleBreath": 0.003,
"attackStyle": "ranged_cast",
"attackEvent": "OnCompanionAttackImpact",
"attackSeconds": 1.1,
"attackWindup": 0.28,
"attackImpact": 0.5,
"attackRecover": 0.9,
"attackLeanDegrees": 6,
"attackArmDegrees": 40,
"attackLunge": 0.005,
"attackReach": 0.025,
"maxRootTilt": 25,
"groundTolerance": 0.003,
"motions": [
{
"name": "Idle",
"sourceDir": "Tools/output/companions/FireCat/motions/Idle",
"prompt": "a small bipedal cat stands upright on two feet and idles with gentle breathing and a subtle tail sway",
"duration": 2.0
},
{
"name": "Walk",
"sourceDir": "Tools/output/companions/FireCat/motions/Walk",
"prompt": "a small bipedal cat walks upright on two feet with alternating short steps and gentle front paw swings",
"duration": 2.0
},
{
"name": "Attack",
"sourceDir": "Tools/output/companions/FireCat/motions/Attack",
"prompt": "a small bipedal cat stands on two feet, gathers energy, pushes both front paws forward once to cast a fireball, and recovers to upright standing",
"duration": 2.0
}
]
}
+78
View File
@@ -0,0 +1,78 @@
{
"schemaVersion": 1,
"id": "FireCat",
"kind": "Animal",
"usage": "companion_visual",
"profile": "biped_short",
"boneMappingReady": true,
"height": 0.55,
"maxTriangles": 2000,
"assetRoot": "Assets/Bundles/Characters/Animal/FireCat",
"staticPrefab": "Assets/Bundles/Characters/Animal/FireCat/FireCat.prefab",
"approvedMesh": "AIClient/Assets/Bundles/Characters/Animal/FireCat/FireCat.fbx",
"rigSource": "Tools/output/firecat_dgx/high_rig/rigged.glb",
"lowUp": "Y",
"skinOverrides": [
{
"bone": "bone_0",
"seed": [0.335, 0.625, -0.31],
"fullDistance": 0.43,
"fadeDistance": 0.65
}
],
"outputDir": "Tools/output/companions/FireCat",
"visualPrefab": "Assets/Bundles/Characters/Animal/FireCat/FireCat_Companion.prefab",
"reviewScene": "Assets/Bundles/Scenes/Review/Companion_FireCat_Review.unity",
"reviewOriginX": 40,
"rootBone": "bone_0",
"chestBone": "bone_3",
"faceRight": "bone_16",
"faceLeft": "bone_20",
"rightFoot": "bone_16",
"leftFoot": "bone_20",
"rightFootTip": "bone_17",
"leftFootTip": "bone_21",
"rightArm": "bone_7",
"leftArm": "bone_11",
"walkStride": 0.06,
"walkLift": 0.018,
"walkSeconds": 1.1,
"walkBindCalibration": true,
"walkSourceWeight": 0.35,
"idleSeconds": 1.6,
"idleBreath": 0.003,
"idleSourceWeight": 0.08,
"attackStyle": "ranged_cast",
"attackEvent": "OnCompanionAttackImpact",
"attackSeconds": 1.1,
"attackSourceWeight": 0.12,
"attackWindup": 0.28,
"attackImpact": 0.5,
"attackRecover": 0.9,
"attackLeanDegrees": 6,
"attackArmDegrees": 75,
"attackLunge": 0.005,
"attackReach": 0.035,
"maxRootTilt": 25,
"groundTolerance": 0.003,
"motions": [
{
"name": "Idle",
"sourceDir": "Tools/output/companions/FireCat/motions/Idle",
"prompt": "a small bipedal cat stands upright on two feet and idles with gentle breathing and a subtle tail sway",
"duration": 2.0
},
{
"name": "Walk",
"sourceDir": "Tools/output/companions/FireCat/motions/Walk",
"prompt": "a small bipedal cat walks upright on two feet with alternating short steps and gentle front paw swings",
"duration": 2.0
},
{
"name": "Attack",
"sourceDir": "Tools/output/companions/FireCat/motions/Attack",
"prompt": "a small bipedal cat stands on two feet, gathers energy, pushes both front paws forward once to cast a fireball, and recovers to upright standing",
"duration": 2.0
}
]
}
+66
View File
@@ -0,0 +1,66 @@
{
"schemaVersion": 1,
"id": "RockBall",
"kind": "Animal",
"profile": "biped_short",
"height": 0.55,
"maxTriangles": 2000,
"assetRoot": "Assets/Bundles/Characters/Animal/RockBall",
"staticPrefab": "Assets/Bundles/Characters/Animal/RockBall/RockBall.prefab",
"approvedMesh": "AIClient/Assets/Bundles/Characters/Animal/RockBall/RockBall.fbx",
"rigSource": "Tools/output/rockball_dgx/high_rig/rigged.glb",
"lowUp": "Y",
"outputDir": "Tools/output/enemy_characters/RockBall",
"enemyPrefab": "Assets/Bundles/Characters/Enemy/RockBall/RockBall_Enemy.prefab",
"reviewScene": "Assets/Bundles/Scenes/Review/Enemy_RockBall_Review.unity",
"rootBone": "bone_0",
"chestBone": "bone_1",
"faceRight": "bone_8",
"faceLeft": "bone_10",
"rightFoot": "bone_8",
"leftFoot": "bone_10",
"rightFootTip": "bone_9",
"leftFootTip": "bone_11",
"rightArm": "bone_4",
"leftArm": "bone_6",
"walkStride": 0.06,
"walkLift": 0.018,
"walkSeconds": 1.1,
"idleSeconds": 1.6,
"idleBreath": 0.003,
"attackSeconds": 1.0,
"attackWindup": 0.25,
"attackImpact": 0.45,
"attackRecover": 0.9,
"attackLeanDegrees": 14,
"attackArmDegrees": 25,
"attackLunge": 0.025,
"maxRootTilt": 25,
"groundTolerance": 0.003,
"motions": [
{
"name": "Idle",
"cachedFbx": "Tools/output/rockball_dgx/high_rig/anims/RockBall_Idle.fbx",
"cachedRig": "Tools/output/rockball_dgx/high_rig/rigged.glb",
"cachedPrompt": "an animal idles with a gentle breathing motion",
"sourceDir": "Tools/output/enemy_characters/RockBall/motions/Idle",
"prompt": "a small bipedal character stands upright and idles with gentle breathing",
"duration": 2.0
},
{
"name": "Walk",
"sourceDir": "Tools/output/rockball_dgx/walk_verified/motion",
"prompt": "a small bipedal character walks forward upright with alternating short steps and gentle arm swings",
"duration": 2.0
},
{
"name": "Attack",
"cachedFbx": "Tools/output/rockball_dgx/high_rig/anims/RockBall_Attack.fbx",
"cachedRig": "Tools/output/rockball_dgx/high_rig/rigged.glb",
"cachedPrompt": "an animal moves forward with clear rhythmic limb motion",
"sourceDir": "Tools/output/enemy_characters/RockBall/motions/Attack",
"prompt": "a small bipedal character performs one forward body slam attack and recovers to standing",
"duration": 2.0
}
]
}
File diff suppressed because it is too large Load Diff