Replace TownSquare with HomeCamp art and land humanoid bots, LittleBear, and LmGirl review assets.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
udx
2026-11-03 20:33:08 +08:00
co-authored by Cursor
parent 45e62132c8
commit 9eec364f30
838 changed files with 57978 additions and 12225 deletions
+4 -2
View File
@@ -4,7 +4,8 @@
Usage:
python Tools/enemy_static_pipeline.py Dashlet 0.5 # bake + install + SetupCharacter + AuditCharacterVisual
python Tools/enemy_static_pipeline.py Dashlet 0.5 --source Tools/output/enemy_3d/Dashlet/dashlet_forward.glb
The high model must already face -Y in Blender (check with renders first; rotate with model_tools/bl_orient_character.py).
New models must pass the project's +Z front check in Unity. Check rendered face/feet,
not just FBX axis_forward. Legacy assets can request --forward-z=-1 for audit views.
"""
from __future__ import annotations
@@ -39,6 +40,7 @@ def main() -> None:
ap.add_argument("name")
ap.add_argument("height", type=float)
ap.add_argument("--source", type=Path)
ap.add_argument("--forward-z",type=int,choices=(-1,1),default=1,help="+1 is project +Z front; -1 audits an explicitly legacy -Z asset")
ap.add_argument("--kind", default="Enemy", choices=("Enemy", "Animal"), help="Animal installs a companion under Characters/Animal")
a = ap.parse_args()
low = a.name.lower()
@@ -52,7 +54,7 @@ def main() -> None:
unity("AgentScripts/SetupCharacter.cs", "SetupCharacter.Run", [a.kind, a.name, a.height])
audit = ROOT / (f"Tools/output/enemy_characters/{a.name}/static_audit" if a.kind == "Enemy" else f"Tools/output/companions/{a.name}/static_audit")
unity("AgentScripts/AuditCharacterVisual.cs", "AuditCharacterVisual.Capture",
[f"Assets/Bundles/Characters/{a.kind}/{a.name}/{a.name}.prefab", str(audit).replace("\\", "/"), a.height])
[f"Assets/Bundles/Characters/{a.kind}/{a.name}/{a.name}.prefab", str(audit).replace("\\", "/"), a.height,"",0,a.forward_z])
print((audit / "static_verification.txt").read_text(encoding="utf-8"))