port 2D step 1: look up root/<cls>_<m/w>.msm first (40250 root pack layout)
40250 playersettingmodule.py loads chrmgr.LoadLocalRaceData("warrior_m.msm") from
root/; m2dev root/msm/ stays as the fallback. equip_model_test checks all 8
races resolve from Eternexus/root with shape 0 under pc/ (0..3) or pc2/ (4..7).
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -526,7 +526,9 @@ func _ensure_spec() -> void:
|
||||
return
|
||||
var cls: String = CLASS_OF[race & 3]
|
||||
var suffix := "w" if race in [1, 3, 4, 6] else "m"
|
||||
for rel in ["root/msm/%s_%s.msm" % [cls, suffix],
|
||||
# 40250 的 root 包把 <cls>_<m/w>.msm 放在 root/ 下(playersettingmodule.py chrmgr.LoadLocalRaceData("warrior_m.msm"));m2dev 放在 root/msm/。
|
||||
for rel in ["root/%s_%s.msm" % [cls, suffix],
|
||||
"root/msm/%s_%s.msm" % [cls, suffix],
|
||||
"PC/ymir work/pc/%s/%s.msm" % [cls, cls],
|
||||
"pc2/ymir work/pc2/%s/%s.msm" % [cls, cls],
|
||||
"season1/season1/pc/%s.msm" % cls]:
|
||||
|
||||
Reference in New Issue
Block a user