Like this:
1.I add a new effects, like name combat_spear.json
Build a new weapon like bronze_pike
bronze_pike.json:
"stonehearth:combat:melee_attacks" : [
{
"name" : "/mymod/data/rigs/humans/effects/combat_spear.json",
"active_frame" : 21,
"cooldown" : 0,
"priority" : 2
}
],
2.combat_spear.json:
"animation": {
"type": "animation_effect",
"start_time": 0,
"animation": "combat_spear.json",
"loop": false
},
This file combat_spear.json should in āstonehearth\data\rigs\humans\animationsā,
If I add the file in that everything is ok
But I want it in mymod like āmymod\data\rigs\humans\animationsā
3.I have a try Like this:
"animation": {
"type": "animation_effect",
"start_time": 0,
"animation": "file(/data/rigs/humans/animations/combat_spear.json)",
"loop": false
},
or
"animation": {
"type": "animation_effect",
"start_time": 0,
"animation": "file(mymod/data/rigs/humans/animations/combat_spear.json)",
"loop": false
},
But it show this:
or
I donāt know how to do
Help~~~