feat(addons): hemp plant, wild cherry tree, naturalist-lite
New addons: - hemp-addon: silverlabs:hemp_crop (5 ages, indoor sun-lamp grown vs outdoor sky-lit), shears harvest, cauldron tincture, brownie food, bonemeal, sun-lamp redstone-lit block (light_dampening: 0 so crops beneath stay lit), grass-seed bootstrap, wandering-trader buyback, pillager raid stealing. - trees-features-addon: ods_orch wild cherry tree — log/leaves/planks/ stripped/sapling/fruit blocks with seasonal fruit states, structure- spawn worldgen. - naturalist-lite-addon: 13-mob subset of Naturalist (deer, fox, owl, skunk, snake, hedgehog, red panda, capybara, elephant, kangaroo, moose, tiger, firefly), trimmed for Switch joinability. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.alligator.main": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"walk": "!q.is_in_water && (q.modified_move_speed > 0.1) && (!q.is_baby || q.modified_move_speed <= 0.45)"
|
||||
},
|
||||
{
|
||||
"run": "!q.is_in_water && q.is_baby && (q.modified_move_speed > 0.45)"
|
||||
},
|
||||
{ "swim": "q.is_in_water && (q.modified_move_speed > 0.1)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
{ "walk": "!q.is_baby" },
|
||||
{ "baby_walk": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "idle": "!(q.modified_move_speed > 0.1)" },
|
||||
{
|
||||
"run": "q.is_baby && q.modified_move_speed > 0.45 && q.state_time > 0.25"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
{ "baby_run": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "idle": "!(q.modified_move_speed > 0.1)" },
|
||||
{ "walk": "q.modified_move_speed <= 0.4" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim": {
|
||||
"animations": [
|
||||
{ "swim": "!q.is_baby" },
|
||||
{ "baby_swim": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "idle": "!(q.modified_move_speed > 0.1) || !q.is_in_water" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.alligator.attack": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"transitions": [
|
||||
{ "bite": "q.is_delayed_attacking" }
|
||||
]
|
||||
},
|
||||
"bite": {
|
||||
"animations": ["bite"],
|
||||
"transitions": [
|
||||
{ "idle": "q.any_animation_finished" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.anglerfish.main": {
|
||||
"initial_state": "swim",
|
||||
"states": {
|
||||
"swim": {
|
||||
"animations": [
|
||||
"swim"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"flop": "v.out_of_water"
|
||||
},
|
||||
{
|
||||
"swim_fast": "q.modified_move_speed > 1.2"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim_fast": {
|
||||
"animations": [
|
||||
"swim_fast"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"flop": "v.out_of_water"
|
||||
},
|
||||
{
|
||||
"swim": "q.modified_move_speed < 1.2"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"flop": {
|
||||
"animations": [
|
||||
"flop"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"swim_fast": "!v.out_of_water && q.modified_move_speed > 1.2"
|
||||
},
|
||||
{
|
||||
"swim": "!v.out_of_water && q.modified_move_speed < 1.2"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.anglerfish.attack": {
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"luring": "q.has_target && !q.is_delayed_attacking"
|
||||
},
|
||||
{
|
||||
"attack": "q.is_delayed_attacking"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"luring": {
|
||||
"animations": [
|
||||
"luring"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"attack": "q.is_delayed_attacking"
|
||||
},
|
||||
{
|
||||
"default": "!q.has_target && q.all_animations_finished"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"attack": {
|
||||
"animations": [
|
||||
"attack"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_delayed_attacking && q.all_animations_finished"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.anglerfish.var.out_of_water": {
|
||||
"states": {
|
||||
"default": {
|
||||
"on_entry": [
|
||||
"v.out_of_water = 0.0;"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"wait": "!q.is_in_water"
|
||||
}
|
||||
]
|
||||
},
|
||||
"wait": {
|
||||
"on_entry": [
|
||||
"v.wait_time = q.life_time;"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.is_in_water"
|
||||
},
|
||||
{
|
||||
"out_of_water": "q.life_time >= (v.wait_time + 0.3)"
|
||||
}
|
||||
]
|
||||
},
|
||||
"out_of_water": {
|
||||
"on_entry": [
|
||||
"v.out_of_water = 1.0;"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.is_in_water"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.ant": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{ "walk": "v.is_moving && q.is_on_ground" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"walk": {
|
||||
"animations": ["walk"],
|
||||
"transitions": [
|
||||
{ "idle": "!v.is_moving" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.anteater": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"idle",
|
||||
{ "licking": "q.property('silverlabs_nat:is_licking')" }
|
||||
],
|
||||
|
||||
"transitions": [
|
||||
{ "walk": "v.is_moving && q.is_on_ground" },
|
||||
{ "digging_item": "v.is_digging_item" },
|
||||
{ "begging": "v.is_begging && !v.is_digging_item" },
|
||||
{ "defensive_mode": "v.on_defensive_mode" },
|
||||
{ "sit": "q.is_sitting" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk",
|
||||
{ "licking": "q.property('silverlabs_nat:is_licking')" }
|
||||
],
|
||||
|
||||
"transitions": [
|
||||
{ "default": "!v.is_moving" },
|
||||
{ "digging_item": "v.is_digging_item" },
|
||||
{ "defensive_mode": "v.on_defensive_mode" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"digging_item": {
|
||||
"animations": ["digging"],
|
||||
"transitions": [
|
||||
{ "default": "!v.is_digging_item" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"begging": {
|
||||
"animations": ["beg"],
|
||||
"transitions": [
|
||||
{ "default": "!v.is_begging" },
|
||||
{ "digging_item": "v.is_digging_item" },
|
||||
{ "defensive_mode": "v.on_defensive_mode" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"defensive_mode": {
|
||||
"animations": ["defensive"],
|
||||
"transitions": [
|
||||
{ "default": "!v.on_defensive_mode" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": ["sit"],
|
||||
"transitions": [
|
||||
{ "default": "!q.is_sitting" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"controller.animation.silverlabs_nat.anteater.attack": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"on_entry": [
|
||||
"v.attack_type = Math.random_integer(0, 2);"
|
||||
],
|
||||
|
||||
"transitions": [
|
||||
{ "punch_left": "q.is_delayed_attacking && v.attack_type == 0" },
|
||||
{ "punch_right": "q.is_delayed_attacking && v.attack_type == 1" },
|
||||
{ "slam": "q.is_delayed_attacking && v.attack_type == 2" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"punch_left": {
|
||||
"animations": ["punch_left"],
|
||||
"transitions": [
|
||||
{ "default": "q.all_animations_finished" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"punch_right": {
|
||||
"animations": ["punch_right"],
|
||||
"transitions": [
|
||||
{ "default": "q.all_animations_finished" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"slam": {
|
||||
"animations": ["slam"],
|
||||
"transitions": [
|
||||
{ "default": "q.all_animations_finished" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.badger.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"idle"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"walk": "!q.is_sleeping && !q.is_interested && q.modified_move_speed >= 0.05"
|
||||
},
|
||||
{
|
||||
"run": "!q.is_sleeping && q.is_interested && q.modified_move_speed >= 0.05"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.modified_move_speed < 0.05"
|
||||
},
|
||||
{
|
||||
"run": "q.is_interested"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sleep": {
|
||||
"animations": [
|
||||
"sleep"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_sleeping"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
"run"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.modified_move_speed < 0.05"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_interested"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.badger.events": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"duration"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"random_anim": "!q.is_sleeping && q.all_animations_finished"
|
||||
}
|
||||
]
|
||||
},
|
||||
"random_anim": {
|
||||
"transitions": [
|
||||
{
|
||||
"sniff": "math.random_integer(0, 10) == 0"
|
||||
},
|
||||
{
|
||||
"left_ear_flick": "math.random_integer(0, 9) == 0"
|
||||
},
|
||||
{
|
||||
"right_ear_flick": "math.random_integer(0, 8) == 0"
|
||||
},
|
||||
{
|
||||
"default": "1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"right_ear_flick": {
|
||||
"animations": [
|
||||
"right_ear_flick"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished"
|
||||
}
|
||||
]
|
||||
},
|
||||
"left_ear_flick": {
|
||||
"animations": [
|
||||
"left_ear_flick"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sniff": {
|
||||
"animations": [
|
||||
"sniff"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.bear.move": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["idle"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"walk": "q.ground_speed >= 0.5"
|
||||
}
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": ["walk"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.ground_speed < 0.5"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.bear.eating": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"eating": "q.property('silverlabs_nat:is_eating')"
|
||||
}
|
||||
]
|
||||
},
|
||||
"eating": {
|
||||
"animations": ["eat"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"eating": "!q.property('silverlabs_nat:is_eating')"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.beaver.main": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "idle": "!q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "tail_slap": "!q.is_baby && math.random_integer(0,1000) == 0" },
|
||||
{ "chew": "!q.is_baby && q.property('silverlabs_nat:is_chewing')" },
|
||||
{ "swim": "q.is_in_water && q.modified_move_speed >= 0.05" },
|
||||
{
|
||||
"walk": "!q.is_in_water && !q.is_interested && q.modified_move_speed >= 0.05"
|
||||
},
|
||||
{
|
||||
"run": "!q.is_in_water && q.is_interested && q.modified_move_speed >= 0.05"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
{ "baby_sit": "q.is_baby" },
|
||||
{ "sit": "!q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "!q.is_sitting" },
|
||||
{ "swim": "q.is_in_water && q.modified_move_speed >= 0.05" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"tail_slap": {
|
||||
"animations": [
|
||||
"tail_slap"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "q.all_animations_finished" },
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "chew": "q.property('silverlabs_nat:is_chewing')" },
|
||||
{ "swim": "q.is_in_water && q.modified_move_speed >= 0.05" },
|
||||
{
|
||||
"walk": "!q.is_in_water && !q.is_interested && q.modified_move_speed >= 0.05"
|
||||
},
|
||||
{
|
||||
"run": "!q.is_in_water && q.is_interested && q.modified_move_speed >= 0.05"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"chew": {
|
||||
"animations": [
|
||||
"nibbling"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "!q.property('silverlabs_nat:is_chewing')" },
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "swim": "q.is_in_water && q.modified_move_speed >= 0.05" },
|
||||
{
|
||||
"walk": "!q.is_in_water && !q.is_interested && q.modified_move_speed >= 0.05"
|
||||
},
|
||||
{
|
||||
"run": "!q.is_in_water && q.is_interested && q.modified_move_speed >= 0.05"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
{ "baby_walk": "q.is_baby" },
|
||||
{ "walk": "!q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.property('silverlabs_nat:is_chewing') && (q.modified_move_speed < 0.05)"
|
||||
},
|
||||
{ "sit": "q.is_sitting" },
|
||||
{
|
||||
"chew": "!q.is_baby && q.property('silverlabs_nat:is_chewing') && (q.modified_move_speed < 0.05)"
|
||||
},
|
||||
{ "run": "q.is_interested" },
|
||||
{ "swim": "q.is_in_water && q.modified_move_speed >= 0.05" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim": {
|
||||
"animations": [
|
||||
"swim"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "!q.is_in_water || q.modified_move_speed < 0.05" }
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
{ "baby_run": "q.is_baby" },
|
||||
{ "run": "!q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.property('silverlabs_nat:is_chewing') && (q.modified_move_speed < 0.05)"
|
||||
},
|
||||
{ "sit": "q.is_sitting" },
|
||||
{
|
||||
"chew": "!q.is_baby && q.property('silverlabs_nat:is_chewing') && (q.modified_move_speed < 0.05)"
|
||||
},
|
||||
{ "walk": "!q.is_interested" },
|
||||
{ "swim": "q.is_in_water && q.modified_move_speed >= 0.05" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.beetle": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{ "fly": "!q.is_on_ground" },
|
||||
{ "run": "v.is_sprinting && q.is_on_ground" },
|
||||
{ "walk": "v.is_moving && q.is_on_ground" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"walk": {
|
||||
"animations": ["walk"],
|
||||
"transitions": [
|
||||
{ "fly": "!q.is_on_ground" },
|
||||
{ "idle": "!v.is_moving && q.is_on_ground" },
|
||||
{ "run": "v.is_sprinting && q.is_on_ground" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"run": {
|
||||
"animations": ["run"],
|
||||
"transitions": [
|
||||
{ "fly": "!q.is_on_ground" },
|
||||
{ "idle": "!v.is_moving && q.is_on_ground" },
|
||||
{ "walk": "!v.is_sprinting && q.is_on_ground" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"fly": {
|
||||
"animations": ["fly"],
|
||||
"transitions": [
|
||||
{ "idle": "!v.is_moving && q.is_on_ground" },
|
||||
{ "run": "v.is_sprinting && q.is_on_ground" },
|
||||
{ "walk": "v.is_moving && q.is_on_ground" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.bird.move": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground) && !q.is_riding && !q.is_baby"
|
||||
},
|
||||
{
|
||||
"walk": "(q.modified_move_speed > 0.05) && !q.is_riding && !q.is_baby"
|
||||
},
|
||||
{ "fly": "!q.is_on_ground && !q.is_riding && !q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"baby_idle": {
|
||||
"animations": ["baby_idle"],
|
||||
"transitions": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{
|
||||
"baby_idle_event": "math.random_integer(0, 300) == 0 && !q.is_riding"
|
||||
},
|
||||
{ "baby_walk": "q.is_baby && (q.modified_move_speed > 0.02)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"baby_walk": {
|
||||
"animations": ["baby_walk"],
|
||||
"transitions": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby && !(q.modified_move_speed > 0.02)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"baby_idle_event": {
|
||||
"animations": ["baby_idle_event"],
|
||||
"transitions": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_walk": "q.is_baby && (q.modified_move_speed > 0.02)" },
|
||||
{ "baby_idle": "q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": ["walk"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{ "idle": "!(q.modified_move_speed > 0.05) || q.is_riding" },
|
||||
{ "fly": "!q.is_on_ground && !q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"fly": {
|
||||
"animations": ["fly"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{
|
||||
"idle": "(q.is_on_ground && !(q.modified_move_speed > 0.05)) || q.is_riding"
|
||||
},
|
||||
{ "walk": "q.is_on_ground && (q.modified_move_speed > 0.05)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": ["sit"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "idle": "!(q.is_sitting && q.is_on_ground) || q.is_riding" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,149 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.black_bear.move": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
{ "idle": "!q.is_interested" },
|
||||
{ "sniff": "q.is_interested" },
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "walk": "q.modified_move_speed >= 0.1" },
|
||||
{ "sleeping": "q.is_sleeping" },
|
||||
{ "sitting": "q.property('silverlabs_nat:is_sitting')" },
|
||||
{ "eating": "q.property('silverlabs_nat:is_eating')" }
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
{ "sniff": "q.is_interested" },
|
||||
{ "walk": "!(q.is_angry && q.has_target)" },
|
||||
{ "run": "q.is_angry && q.has_target" },
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "default": "q.modified_move_speed < 0.1" },
|
||||
{ "sleeping": "q.is_sleeping" },
|
||||
{ "sitting": "q.property('silverlabs_nat:is_sitting')" },
|
||||
{ "eating": "q.property('silverlabs_nat:is_eating')" }
|
||||
]
|
||||
},
|
||||
"sleeping": {
|
||||
"animations": ["sleep"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "default": "!q.is_sleeping" }
|
||||
]
|
||||
},
|
||||
"sitting": {
|
||||
"animations": ["sit"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.property('silverlabs_nat:is_sitting') && q.modified_move_speed < 0.1"
|
||||
},
|
||||
{
|
||||
"walk": "!q.property('silverlabs_nat:is_sitting') && q.modified_move_speed >= 0.1"
|
||||
},
|
||||
{ "eating": "q.property('silverlabs_nat:is_eating')" }
|
||||
]
|
||||
},
|
||||
"eating": {
|
||||
"animations": ["eat"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "default": "!q.property('silverlabs_nat:is_sitting')" },
|
||||
{
|
||||
"sitting": "q.property('silverlabs_nat:is_sitting') && !q.property('silverlabs_nat:is_eating')"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.black_bear.baby_move": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["baby_idle", "look_at_target"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "sleeping": "q.is_sleeping" },
|
||||
{ "run": "q.modified_move_speed >= 0.7" },
|
||||
{ "walk": "q.modified_move_speed >= 0.1" }
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": ["baby_walk", "look_at_target"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "sleeping": "q.is_sleeping" },
|
||||
{ "run": "q.modified_move_speed >= 0.7" },
|
||||
{ "default": "q.modified_move_speed < 0.1" }
|
||||
]
|
||||
},
|
||||
"run": {
|
||||
"animations": ["baby_run", "look_at_target"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "default": "q.modified_move_speed < 0.1" },
|
||||
{ "walk": "q.modified_move_speed < 0.7" }
|
||||
]
|
||||
},
|
||||
"sit": {
|
||||
"animations": ["baby_sit", "look_at_target"],
|
||||
"blend_transition": 0,
|
||||
"transitions": [
|
||||
{ "sit_loop": "q.is_sitting && q.state_time >= 0.75" },
|
||||
{ "default": "!q.is_sitting && q.modified_move_speed < 0.1" },
|
||||
{
|
||||
"walk": "!q.is_sitting && q.modified_move_speed >= 0.1 && q.modified_move_speed < 0.7"
|
||||
},
|
||||
{ "run": "!q.is_sitting && q.modified_move_speed >= 0.7" }
|
||||
]
|
||||
},
|
||||
"sit_loop": {
|
||||
"animations": ["baby_sit_idle", "look_at_target"],
|
||||
"blend_transition": 0,
|
||||
"transitions": [
|
||||
{ "default": "!q.is_sitting && q.modified_move_speed < 0.1" },
|
||||
{
|
||||
"walk": "!q.is_sitting && q.modified_move_speed >= 0.1 && q.modified_move_speed < 0.7"
|
||||
},
|
||||
{ "run": "!q.is_sitting && q.modified_move_speed >= 0.7" }
|
||||
]
|
||||
},
|
||||
"sleeping": {
|
||||
"animations": ["baby_sleep"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "default": "!q.is_sleeping" }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.black_bear.attack_time": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{ "attack_time": "v.attack_time > 0" }
|
||||
]
|
||||
},
|
||||
"attack_time": {
|
||||
"animations": ["attack"],
|
||||
"transitions": [
|
||||
{ "default": "v.attack_time <= 0 && q.all_animations_finished" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,144 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.boar.move": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
{
|
||||
"idle": "!q.is_baby"
|
||||
},
|
||||
{
|
||||
"baby_idle": "q.is_baby"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.35,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "q.is_baby && q.is_sitting"
|
||||
},
|
||||
{
|
||||
"run": "v.is_sprinting"
|
||||
},
|
||||
{
|
||||
"walk": "v.is_moving"
|
||||
}
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
{
|
||||
"walk": "!q.is_baby"
|
||||
},
|
||||
{
|
||||
"baby_walk": "q.is_baby"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.35,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "q.is_baby && q.is_sitting"
|
||||
},
|
||||
{
|
||||
"default": "!v.is_moving"
|
||||
},
|
||||
{
|
||||
"run": "v.is_sprinting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
{
|
||||
"run": "!q.is_baby"
|
||||
},
|
||||
{
|
||||
"baby_run": "q.is_baby"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.35,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "q.is_baby && q.is_sitting"
|
||||
},
|
||||
{
|
||||
"default": "!v.is_moving"
|
||||
},
|
||||
{
|
||||
"walk": "!v.is_sprinting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
"baby_sit"
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"sit_idle": "q.is_sitting && q.all_animations_finished"
|
||||
},
|
||||
{
|
||||
"unsit": "!q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sit_idle": {
|
||||
"animations": [
|
||||
"baby_sit_idle"
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"unsit": "!q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"unsit": {
|
||||
"animations": [
|
||||
"baby_unsit"
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
},
|
||||
{
|
||||
"default": "!q.is_sitting && q.all_animations_finished"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.boar.attack": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"blend_transition": 0.25,
|
||||
"transitions": [
|
||||
{
|
||||
"attack": "v.attack_time > 0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"attack": {
|
||||
"animations": [
|
||||
"attack"
|
||||
],
|
||||
"blend_transition": 0.12,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "v.attack_time <= 0 && q.all_animations_finished"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.budgie.main": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{
|
||||
"idle_event": "math.random_integer(0, 1000) == 0 && q.ground_speed < 0.15 && !q.is_riding"
|
||||
},
|
||||
{ "walk": "q.modified_move_speed >= 0.05 && !q.is_riding" },
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground) && !q.is_riding" },
|
||||
{
|
||||
"fly": "!q.is_in_water && !q.is_on_ground && !q.is_riding && v.health == q.health && !q.is_riding && !q.is_baby"
|
||||
},
|
||||
{ "hurt": "v.health != q.health" },
|
||||
{ "pet": "q.property('silverlabs_nat:on_pet')" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"baby_idle": {
|
||||
"animations": ["baby_idle"],
|
||||
"transitions": [
|
||||
{ "default": "!q.is_baby" },
|
||||
{
|
||||
"baby_idle_event": "math.random_integer(0, 300) == 0 && !q.is_riding"
|
||||
},
|
||||
{ "baby_walk": "q.is_baby && (q.modified_move_speed > 0.02)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"baby_walk": {
|
||||
"animations": ["baby_walk"],
|
||||
"transitions": [
|
||||
{ "default": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby && !(q.modified_move_speed > 0.02)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"baby_idle_event": {
|
||||
"animations": ["baby_idle_event"],
|
||||
"transitions": [
|
||||
{ "default": "!q.is_baby" },
|
||||
{ "baby_walk": "q.is_baby && (q.modified_move_speed > 0.02)" },
|
||||
{ "baby_idle": "q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"idle_event": {
|
||||
"animations": ["idle_event"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "default": "q.all_animations_finished" },
|
||||
{ "sit": "q.is_sitting" },
|
||||
{
|
||||
"fly": "!q.is_in_water && !q.is_on_ground && !q.is_riding && v.health == q.health && !q.is_baby"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_in_water && !q.is_interested && q.modified_move_speed >= 0.05"
|
||||
},
|
||||
{ "hurt": "v.health != q.health" },
|
||||
{ "pet": "q.property('silverlabs_nat:on_pet')" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": ["walk"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "default": "q.modified_move_speed < 0.05 || q.is_riding" },
|
||||
{
|
||||
"fly": "!q.is_in_water && !q.is_on_ground && !q.is_riding && v.health == q.health && !q.is_baby || q.is_riding"
|
||||
},
|
||||
{ "hurt": "v.health != q.health" },
|
||||
{ "pet": "q.property('silverlabs_nat:on_pet')" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": ["sit"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "default": "!q.is_sitting" },
|
||||
{ "sit_pet": "q.property('silverlabs_nat:on_pet')" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit_pet": {
|
||||
"animations": ["sit", "pet"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "default": "!q.is_sitting" },
|
||||
{ "sit": "q.state_time >= 0.5417" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"fly": {
|
||||
"animations": ["fly"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "default": "q.is_in_water || q.is_on_ground || q.is_riding" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"hurt": {
|
||||
"animations": [{ "hurt": "v.health > q.health" }],
|
||||
"transitions": [
|
||||
{ "default": "v.health > q.health ? q.state_time >= 0.333 : 1.0" }
|
||||
],
|
||||
"on_exit": ["v.health = q.health;"],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"pet": {
|
||||
"animations": ["pet"],
|
||||
"transitions": [{ "default": "q.any_animation_finished" }],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.butterfly.drip": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"dripping": "q.property('silverlabs_nat:has_nectar')"
|
||||
}
|
||||
]
|
||||
},
|
||||
"dripping": {
|
||||
"particle_effects": [
|
||||
{
|
||||
"effect": "nectar_dripping"
|
||||
}
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.property('silverlabs_nat:has_nectar')"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.butterfly_wings.flying_state": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{ "idle": "q.is_on_ground" },
|
||||
{ "flying_state": "!q.is_on_ground && !q.is_in_water" }
|
||||
]
|
||||
},
|
||||
"idle": {
|
||||
"transitions": [
|
||||
{ "flying_start_cooldown": "!q.is_on_ground && !q.is_in_water" }
|
||||
]
|
||||
},
|
||||
"flying_start_cooldown": {
|
||||
"transitions": [
|
||||
{ "idle": "q.is_on_ground || q.is_in_water" },
|
||||
{ "flying_state": "q.state_time > 0.4" }
|
||||
]
|
||||
},
|
||||
"flying_state": {
|
||||
"on_entry": ["v.is_flying = 1.0;"],
|
||||
"on_exit": ["v.is_flying = 0.0;"],
|
||||
"transitions": [
|
||||
{ "idle": "q.is_on_ground || q.is_in_water" }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.butterfly_wings.general": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{ "flying": "v.is_flying" }
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"blend_via_shortest_path": true
|
||||
},
|
||||
"flying": {
|
||||
"animations": ["flying"],
|
||||
"transitions": [
|
||||
{ "default": "!v.is_flying" }
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"blend_via_shortest_path": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.capybara.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["idle"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"walk": "q.modified_move_speed > 0.05 && !q.is_in_water"
|
||||
},
|
||||
{
|
||||
"swim": "q.modified_move_speed > 0.05 && q.is_in_water"
|
||||
},
|
||||
{
|
||||
"sleeping": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sit": {
|
||||
"animations": ["sit"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
},
|
||||
{
|
||||
"default": "q.modified_move_speed < 0.05 || q.is_in_water"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"swim": {
|
||||
"animations": [
|
||||
"swim"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
},
|
||||
{
|
||||
"default": "q.modified_move_speed < 0.05 || !q.is_in_water"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"sleeping": {
|
||||
"animations": [
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
},
|
||||
{
|
||||
"sleep": "q.property('silverlabs_nat:sleep')"
|
||||
},
|
||||
{
|
||||
"sleep2": "!q.property('silverlabs_nat:sleep')"
|
||||
}
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_sleeping"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.capybara.baby_main": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["baby_idle"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "run": "q.modified_move_speed > 0.15" },
|
||||
{ "walk": "q.modified_move_speed > 0.05" }
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": ["baby_walk"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "run": "q.modified_move_speed > 0.15" },
|
||||
{ "default": "q.modified_move_speed <= 0.05" }
|
||||
]
|
||||
},
|
||||
"run": {
|
||||
"animations": ["baby_run"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "default": "q.modified_move_speed <= 0.05" },
|
||||
{ "walk": "q.modified_move_speed <= 0.15" }
|
||||
]
|
||||
},
|
||||
"sit": {
|
||||
"animations": ["baby_sit"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{ "sit_idle": "q.is_sitting && q.all_animations_finished" },
|
||||
{ "unsit": "!q.is_sitting" }
|
||||
]
|
||||
},
|
||||
"sit_idle": {
|
||||
"animations": ["baby_sit_idle"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{ "unsit": "!q.is_sitting" }
|
||||
]
|
||||
},
|
||||
"unsit": {
|
||||
"animations": ["baby_unsit"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "default": "!q.is_sitting && q.all_animations_finished" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.caterpillar.general": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"blend_transition": 0.25,
|
||||
"transitions": [
|
||||
{
|
||||
"move": "q.ground_speed > 0 && !q.is_riding"
|
||||
}
|
||||
]
|
||||
},
|
||||
"move": {
|
||||
"animations": ["move"],
|
||||
"blend_transition": 0.25,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.ground_speed <= 0"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.clam.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"idle_closed"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"launch": "q.property('silverlabs_nat:is_open') && q.property('silverlabs_nat:launch')"
|
||||
},
|
||||
{ "open": "q.property('silverlabs_nat:is_open')" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"launch": {
|
||||
"animations": [
|
||||
"launch"
|
||||
],
|
||||
"transitions": [
|
||||
{ "idle_open": "q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"open": {
|
||||
"animations": [
|
||||
"open"
|
||||
],
|
||||
"transitions": [
|
||||
{ "idle_open": "q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"idle_open": {
|
||||
"animations": [
|
||||
"idle_open"
|
||||
],
|
||||
"transitions": [
|
||||
{ "close": "!q.property('silverlabs_nat:is_open')" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"close": {
|
||||
"animations": [
|
||||
"close"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.corvid.main": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground) && !q.is_riding" },
|
||||
{ "walk": "(q.modified_move_speed > 0.1) && !q.is_riding" },
|
||||
{ "fly": "!q.is_on_ground && !q.is_riding && !q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"baby_idle": {
|
||||
"animations": ["baby_idle"],
|
||||
"transitions": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{
|
||||
"baby_idle_event": "math.random_integer(0, 300) == 0 && !q.is_riding"
|
||||
},
|
||||
{ "baby_walk": "q.is_baby && (q.modified_move_speed > 0.02)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"baby_walk": {
|
||||
"animations": ["baby_walk"],
|
||||
"transitions": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby && !(q.modified_move_speed > 0.02)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"baby_idle_event": {
|
||||
"animations": ["baby_idle_event"],
|
||||
"transitions": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_walk": "q.is_baby && (q.modified_move_speed > 0.02)" },
|
||||
{ "baby_idle": "q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": ["walk"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{ "idle": "!(q.modified_move_speed > 0.1) || q.is_riding" },
|
||||
{ "fly": "!q.is_on_ground && !q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"fly": {
|
||||
"animations": ["fly"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{
|
||||
"idle": "(q.is_on_ground && !(q.modified_move_speed > 0.1)) || q.is_riding"
|
||||
},
|
||||
{ "walk": "q.is_on_ground && (q.modified_move_speed > 0.1)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": ["sit"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "idle": "!(q.is_sitting && q.is_on_ground) || q.is_riding" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,225 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.coyote.main": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["idle"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"run": "((q.modified_move_speed >= (v.walk_threshold ?? 0)) && q.is_avoiding_mobs) || (q.modified_move_speed >= (v.run_threshold ?? 0))"
|
||||
},
|
||||
{
|
||||
"sneak": "q.is_stalking && (q.modified_move_speed >= (v.walk_threshold ?? 0))"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed >= (v.walk_threshold ?? 0)"
|
||||
},
|
||||
{
|
||||
"crouch": "q.is_stalking"
|
||||
},
|
||||
{
|
||||
"stuck": "q.is_stunned"
|
||||
},
|
||||
{
|
||||
"wiggle": "q.is_interested"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sit": {
|
||||
"animations": ["sit"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": ["walk"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"sneak": "q.is_stalking"
|
||||
},
|
||||
{
|
||||
"default": "q.modified_move_speed < (v.walk_threshold ?? 0)"
|
||||
},
|
||||
{
|
||||
"run": "q.is_avoiding_mobs || (q.modified_move_speed >= (v.run_threshold ?? 0))"
|
||||
},
|
||||
{
|
||||
"stuck": "q.is_stunned"
|
||||
},
|
||||
{
|
||||
"wiggle": "q.is_interested"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"crouch": {
|
||||
"animations": ["crouch"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_stalking"
|
||||
},
|
||||
{
|
||||
"sneak": "q.modified_move_speed >= (v.walk_threshold ?? 0)"
|
||||
},
|
||||
{
|
||||
"run": "q.modified_move_speed >= (v.run_threshold ?? 0)"
|
||||
},
|
||||
{
|
||||
"stuck": "q.is_stunned"
|
||||
},
|
||||
{
|
||||
"wiggle": "q.is_interested"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sneak": {
|
||||
"animations": ["crouch", "walk"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"crouch": "q.modified_move_speed < (v.walk_threshold ?? 0)"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_stalking"
|
||||
},
|
||||
{
|
||||
"run": "(q.modified_move_speed >= (v.run_threshold ?? 0)) || q.is_avoiding_mobs"
|
||||
},
|
||||
{
|
||||
"stuck": "q.is_stunned"
|
||||
},
|
||||
{
|
||||
"wiggle": "q.is_interested"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"run": {
|
||||
"animations": ["run"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"sneak": "q.is_stalking && q.in_range(q.modified_move_speed, (v.walk_threshold ?? 0), (v.run_threshold ?? 0))"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_avoiding_mobs && !q.is_stalking && q.in_range(q.modified_move_speed, (v.walk_threshold ?? 0), (v.run_threshold ?? 0))"
|
||||
},
|
||||
{
|
||||
"default": "!(q.modified_move_speed >= (v.walk_threshold ?? 0))"
|
||||
},
|
||||
{
|
||||
"stuck": "q.is_stunned"
|
||||
},
|
||||
{
|
||||
"wiggle": "q.is_interested"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"wiggle": {
|
||||
"animations": ["wiggle"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.has_target && q.is_on_ground"
|
||||
},
|
||||
{
|
||||
"sneak": "q.is_stalking && q.in_range(q.modified_move_speed, (v.walk_threshold ?? 0), (v.run_threshold ?? 0))"
|
||||
},
|
||||
{
|
||||
"pounce": "!q.is_on_ground"
|
||||
},
|
||||
{
|
||||
"stuck": "q.is_stunned"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"pounce": {
|
||||
"animations": ["pounce", "walk"],
|
||||
"blend_transition": 0.15,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.is_on_ground"
|
||||
},
|
||||
{
|
||||
"stuck": "q.is_stunned"
|
||||
}
|
||||
]
|
||||
},
|
||||
"stuck": {
|
||||
"animations": ["stuck"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_stunned"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.coyote.attack": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"prepare": "v.attack_time > 0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"prepare": {
|
||||
"on_entry": [
|
||||
"v.choice = math.random_integer(1, 3);"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"attack_a": "(v.choice ?? 0) != 3"
|
||||
},
|
||||
{
|
||||
"attack_b": "(v.choice ?? 0) == 3"
|
||||
}
|
||||
]
|
||||
},
|
||||
"attack_a": {
|
||||
"animations": ["attack"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.any_animation_finished"
|
||||
}
|
||||
]
|
||||
},
|
||||
"attack_b": {
|
||||
"animations": ["attack2"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.any_animation_finished"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,228 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.crab": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{
|
||||
"swing_right": "!q.is_baby && (q.property('silverlabs_nat:sand_block_interaction_state') == 'try_collect_sand' || v.attack_time > 0.0)"
|
||||
},
|
||||
{ "holding_weapon": "!q.is_baby && v.weapon_or_tool_equipped" }
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"walk": "v.smoothed_move_speed > 0.1 && !q.property('silverlabs_nat:is_dancing') && !q.is_avoiding_mobs && !q.is_sitting"
|
||||
},
|
||||
{
|
||||
"dance": "q.property('silverlabs_nat:is_dancing') && q.is_alive && !q.is_avoiding_mobs && !q.is_sitting"
|
||||
},
|
||||
{ "hide": "q.is_avoiding_mobs && !q.is_sitting" },
|
||||
{ "sit": "q.is_sitting" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
|
||||
"walk": {
|
||||
"animations": [
|
||||
{ "walk": "!q.is_baby" },
|
||||
{ "baby_walk": "q.is_baby" },
|
||||
{
|
||||
"swing_right": "!q.is_baby && (q.property('silverlabs_nat:sand_block_interaction_state') == 'try_collect_sand' || v.attack_time > 0.0)"
|
||||
},
|
||||
{ "holding_weapon": "!q.is_baby && v.weapon_or_tool_equipped" }
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "v.smoothed_move_speed <= 0.1 && !q.property('silverlabs_nat:is_dancing') && !q.is_avoiding_mobs && !q.is_sitting"
|
||||
},
|
||||
{
|
||||
"dance": "q.property('silverlabs_nat:is_dancing') && q.is_alive && !q.is_avoiding_mobs && !q.is_sitting"
|
||||
},
|
||||
{ "hide": "q.is_avoiding_mobs && !q.is_sitting" },
|
||||
{ "sit": "q.is_sitting" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
|
||||
"dance": {
|
||||
"animations": [
|
||||
{ "dance": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{
|
||||
"swing_right": "!q.is_baby && (q.property('silverlabs_nat:sand_block_interaction_state') == 'try_collect_sand' || v.attack_time > 0.0)"
|
||||
},
|
||||
{ "holding_weapon": "!q.is_baby && v.weapon_or_tool_equipped" }
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "(v.smoothed_move_speed <= 0.1 && !q.property('silverlabs_nat:is_dancing')) || !q.is_alive || q.is_sitting"
|
||||
},
|
||||
{
|
||||
"walk": "v.smoothed_move_speed > 0.1 && !q.property('silverlabs_nat:is_dancing') && !q.is_sitting"
|
||||
},
|
||||
{ "hide": "q.is_avoiding_mobs && !q.is_sitting" },
|
||||
{ "sit": "q.is_sitting" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"hide": {
|
||||
"animations": [
|
||||
{ "hide": "!q.is_baby" },
|
||||
{ "baby_hide": "q.is_baby" }
|
||||
],
|
||||
"on_entry": [
|
||||
"v.hide_timer = q.is_avoiding_mobs ? 0 : q.life_time + 2.0;",
|
||||
"v.hide_start_time = q.life_time;",
|
||||
"v.hide_peek_timer = 0;"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"hide_loop": "q.life_time > (v.hide_start_time ?? 0) + 1.0 && !q.is_sitting"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
],
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.0
|
||||
},
|
||||
"hide_loop": {
|
||||
"animations": [
|
||||
{ "hide_loop": "!q.is_baby && !v.hide_peek_active" },
|
||||
{ "baby_hide_idle": "q.is_baby && !v.hide_peek_active" }
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"unhide": "!q.is_avoiding_mobs && v.hide_timer > 0 && q.life_time > v.hide_timer && !q.is_sitting"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
],
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.0
|
||||
},
|
||||
"unhide": {
|
||||
"animations": [
|
||||
{ "unhide": "!q.is_baby" },
|
||||
{ "baby_unhide": "q.is_baby" }
|
||||
],
|
||||
"on_entry": [
|
||||
"v.unhide_start_time = q.life_time;"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "q.life_time > (v.unhide_start_time ?? 0) + 0.5 && v.smoothed_move_speed <= 0.1 && !q.property('silverlabs_nat:is_dancing') && !q.is_sitting"
|
||||
},
|
||||
{
|
||||
"walk": "q.life_time > (v.unhide_start_time ?? 0) + 0.5 && v.smoothed_move_speed > 0.1 && !q.property('silverlabs_nat:is_dancing') && !q.is_sitting"
|
||||
},
|
||||
{
|
||||
"dance": "q.life_time > (v.unhide_start_time ?? 0) + 0.5 && q.property('silverlabs_nat:is_dancing') && q.is_alive && !q.is_sitting"
|
||||
},
|
||||
{
|
||||
"hide": "q.is_avoiding_mobs && !q.is_sitting"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
],
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
{ "sit": "!q.is_baby" },
|
||||
{ "baby_sit": "q.is_baby" }
|
||||
],
|
||||
"on_entry": [
|
||||
"v.sit_start_time = q.life_time;"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit_loop": "q.is_sitting && q.state_time >= 0.7"
|
||||
}
|
||||
],
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.1
|
||||
},
|
||||
"sit_loop": {
|
||||
"animations": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "sit_loop": "!q.is_baby" },
|
||||
{ "baby_sit_idle": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"unsit": "!q.is_sitting"
|
||||
}
|
||||
],
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.1
|
||||
},
|
||||
"unsit": {
|
||||
"animations": [
|
||||
{ "unsit": "!q.is_baby" },
|
||||
{ "baby_unsit": "q.is_baby" }
|
||||
],
|
||||
"on_entry": [
|
||||
"v.unsit_start_time = q.life_time;"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "q.all_animations_finished && v.smoothed_move_speed <= 0.1 && !q.property('silverlabs_nat:is_dancing') && !q.is_avoiding_mobs"
|
||||
},
|
||||
{
|
||||
"walk": "q.all_animations_finished && v.smoothed_move_speed > 0.1 && !q.property('silverlabs_nat:is_dancing') && !q.is_avoiding_mobs"
|
||||
},
|
||||
{
|
||||
"dance": "q.all_animations_finished && q.property('silverlabs_nat:is_dancing') && q.is_alive && !q.is_avoiding_mobs"
|
||||
},
|
||||
{
|
||||
"hide": "q.all_animations_finished && q.is_avoiding_mobs"
|
||||
}
|
||||
],
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.crab.hide_peek": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"hide_peek": "v.hide_peek_active"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.0
|
||||
},
|
||||
"hide_peek": {
|
||||
"animations": [
|
||||
{ "hide_peek": "!q.is_baby" },
|
||||
{ "baby_hide_peek": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished || !v.hide_peek_active"
|
||||
}
|
||||
],
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.crab.look_at_target": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": [
|
||||
{
|
||||
"look_at_target": "!q.is_avoiding_mobs"
|
||||
}
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"walk": "q.modified_move_speed > 0.1 && !q.is_avoiding_mobs"
|
||||
}
|
||||
],
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
{
|
||||
"look_at_target": "!q.is_avoiding_mobs"
|
||||
}
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "q.modified_move_speed <= 0.1 && !q.is_avoiding_mobs"
|
||||
}
|
||||
],
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.deer.move": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"idle",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"run": "v.is_sprinting"
|
||||
},
|
||||
{
|
||||
"walk": "v.is_moving"
|
||||
},
|
||||
{
|
||||
"eat": "q.property('silverlabs_nat:is_grazing')"
|
||||
}
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
{ "walk": "!q.is_baby" },
|
||||
{ "baby_walk": "q.is_baby" },
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!v.is_moving"
|
||||
},
|
||||
{
|
||||
"run": "v.is_sprinting || q.is_avoiding_mobs"
|
||||
},
|
||||
{
|
||||
"eat": "q.property('silverlabs_nat:is_grazing')"
|
||||
}
|
||||
]
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
{ "run": "!q.is_baby" },
|
||||
{ "baby_run": "q.is_baby" },
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.25,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!v.is_moving"
|
||||
},
|
||||
{
|
||||
"walk": "!v.is_sprinting && !q.is_avoiding_mobs"
|
||||
},
|
||||
{
|
||||
"eat": "q.property('silverlabs_nat:is_grazing')"
|
||||
}
|
||||
]
|
||||
},
|
||||
"eat": {
|
||||
"animations": [
|
||||
{ "eat": "!q.is_baby" },
|
||||
{ "baby_eat": "q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.property('silverlabs_nat:is_grazing')"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.deer.ambient": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"on_entry": [
|
||||
"v.next_flick = math.random_integer(0, 50);",
|
||||
"v.last_flick = q.life_time;"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"ear_flick": "q.life_time >= ((v.next_flick ?? 0) + (v.last_flick ?? 0))"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ear_flick": {
|
||||
"animations": ["ear_flick"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.dragonfly.idle_event_controller": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"on_entry": [
|
||||
"v.delay = Math.random_integer(8, 20);",
|
||||
"v.current_delay = q.life_time;"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"idle_event": "(q.life_time - v.current_delay >= v.delay) && q.modified_move_speed <= 0.1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"idle_event": {
|
||||
"animations": ["idle_event"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished || q.modified_move_speed > 0.1"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.dragonfly.tilt_controller": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["tilt"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.duck.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{ "swim": "q.property('silverlabs_nat:is_swimming')" },
|
||||
{ "run": "q.modified_move_speed > 0.35 && !q.is_riding" },
|
||||
{ "walk": "q.modified_move_speed > 0.05 && !q.is_riding" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
{ "sit": "!q.is_baby" },
|
||||
{ "baby_sit": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "!(q.is_sitting && q.is_on_ground)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
{ "walk": "!q.is_baby" },
|
||||
{ "baby_walk": "q.is_baby" },
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{ "swim": "q.property('silverlabs_nat:is_swimming')" },
|
||||
{ "run": "q.modified_move_speed > 0.35" },
|
||||
{ "default": "q.modified_move_speed <= 0.05" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
{ "baby_run": "q.is_baby" },
|
||||
{ "walk": "!q.is_baby" },
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{ "swim": "q.property('silverlabs_nat:is_swimming')" },
|
||||
{ "walk": "q.modified_move_speed <= 0.35" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim": {
|
||||
"animations": [
|
||||
{ "swim": "!q.is_baby" },
|
||||
{ "baby_swim": "q.is_baby && q.modified_move_speed > 0.05" },
|
||||
{ "baby_swim_idle": "q.is_baby && q.modified_move_speed <= 0.05" },
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{
|
||||
"walk": "!q.property('silverlabs_nat:is_swimming') && q.modified_move_speed > 0.05"
|
||||
},
|
||||
{ "default": "!q.property('silverlabs_nat:is_swimming')" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.duck.flap": {
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{ "flap": "!q.is_on_ground && !q.property('silverlabs_nat:is_swimming')" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"flap": {
|
||||
"animations": [
|
||||
{ "flap": "!q.is_baby" },
|
||||
{ "baby_flap": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "q.is_on_ground || q.property('silverlabs_nat:is_swimming')" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.eagle.move": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground) && !q.is_riding && !q.is_baby"
|
||||
},
|
||||
{
|
||||
"walk": "(q.modified_move_speed > 0.1) && !q.is_riding && !q.is_baby"
|
||||
},
|
||||
{ "fly": "!q.is_on_ground && !q.is_riding && !q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"baby_idle": {
|
||||
"animations": ["baby_idle"],
|
||||
"transitions": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_walk": "q.is_baby && (q.modified_move_speed > 0.02)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"baby_walk": {
|
||||
"animations": ["baby_walk"],
|
||||
"transitions": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby && !(q.modified_move_speed > 0.02)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": ["walk"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{ "idle": "!(q.modified_move_speed > 0.1) || q.is_riding" },
|
||||
{ "fly": "!q.is_on_ground && !q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"fly": {
|
||||
"animations": ["fly"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{
|
||||
"idle": "(q.is_on_ground && !(q.modified_move_speed > 0.1)) || q.is_riding"
|
||||
},
|
||||
{ "walk": "q.is_on_ground && (q.modified_move_speed > 0.1)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": ["sit"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "idle": "!(q.is_sitting && q.is_on_ground) || q.is_riding" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.eel.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"flop": "!q.is_in_water"
|
||||
},
|
||||
{
|
||||
"swim": "q.modified_move_speed > 0.1"
|
||||
},
|
||||
{
|
||||
"idle": "q.is_in_water"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.1
|
||||
},
|
||||
"flop": {
|
||||
"animations": ["flop", "flop_sfx"],
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "q.is_in_water"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.1
|
||||
},
|
||||
"idle": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{
|
||||
"flop": "!q.is_in_water"
|
||||
},
|
||||
{
|
||||
"swim": "q.modified_move_speed > 0.1"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.1
|
||||
},
|
||||
"swim": {
|
||||
"animations": ["swim"],
|
||||
"transitions": [
|
||||
{
|
||||
"flop": "!q.is_in_water"
|
||||
},
|
||||
{
|
||||
"idle": "q.modified_move_speed <= 0.1"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.1
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.eel.attack": {
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"attack": "q.is_delayed_attacking"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.05
|
||||
},
|
||||
"attack": {
|
||||
"animations": ["bite"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.05
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.egg.crack_sound": {
|
||||
"states": {
|
||||
"default": {
|
||||
"on_entry": [
|
||||
"v.current_variant = q.variant;"
|
||||
],
|
||||
"transitions": [
|
||||
{ "crack": "v.current_variant != q.variant" }
|
||||
]
|
||||
},
|
||||
"crack": {
|
||||
"sound_effects": [
|
||||
{
|
||||
"effect": "crack"
|
||||
}
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "1" }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.egg.crack_sound_v2": {
|
||||
"states": {
|
||||
"default": {
|
||||
"on_entry": [
|
||||
"v.current_variant = q.variant;"
|
||||
],
|
||||
"transitions": [
|
||||
{ "hatch": "q.variant == 3" },
|
||||
{ "crack": "v.current_variant != q.variant" }
|
||||
]
|
||||
},
|
||||
"crack": {
|
||||
"sound_effects": [
|
||||
{
|
||||
"effect": "crack"
|
||||
}
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "1" }
|
||||
]
|
||||
},
|
||||
"hatch": {
|
||||
"sound_effects": [
|
||||
{
|
||||
"effect": "hatch"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,199 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.elephant.move": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["idle"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"walk": "q.modified_move_speed >= 0.08"
|
||||
}
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": ["walk"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.modified_move_speed < 0.08"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.elephant.drinking": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"water": "q.property('silverlabs_nat:is_drinking')"
|
||||
}
|
||||
]
|
||||
},
|
||||
"water": {
|
||||
"animations": ["water"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"drink": "!q.property('silverlabs_nat:is_drinking')"
|
||||
}
|
||||
]
|
||||
},
|
||||
"drink": {
|
||||
"animations": ["drink"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.elephant.attack": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"attack": "v.attack_time > 0"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"attack": {
|
||||
"animations": ["swing"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.elephant.baby_move": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": ["baby_idle"],
|
||||
"blend_transition": 0.3,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"walk": "q.modified_move_speed >= 0.08 && !q.property('silverlabs_nat:is_dancing')"
|
||||
},
|
||||
{
|
||||
"run": "q.modified_move_speed >= 0.6 && !q.property('silverlabs_nat:is_dancing')"
|
||||
},
|
||||
{
|
||||
"playful": "q.property('silverlabs_nat:is_dancing')"
|
||||
}
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": ["baby_walk"],
|
||||
"blend_transition": 0.3,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "q.modified_move_speed < 0.08 && !q.property('silverlabs_nat:is_dancing')"
|
||||
},
|
||||
{
|
||||
"run": "q.modified_move_speed >= 0.6 && !q.property('silverlabs_nat:is_dancing')"
|
||||
},
|
||||
{
|
||||
"playful": "q.property('silverlabs_nat:is_dancing')"
|
||||
}
|
||||
]
|
||||
},
|
||||
"run": {
|
||||
"animations": ["baby_run"],
|
||||
"blend_transition": 0.3,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "q.modified_move_speed < 0.08 && !q.property('silverlabs_nat:is_dancing')"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed < 0.6 && q.modified_move_speed >= 0.08 && !q.property('silverlabs_nat:is_dancing')"
|
||||
},
|
||||
{
|
||||
"playful": "q.property('silverlabs_nat:is_dancing')"
|
||||
}
|
||||
]
|
||||
},
|
||||
"playful": {
|
||||
"animations": ["baby_playful"],
|
||||
"blend_transition": 0.3,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "!q.property('silverlabs_nat:is_dancing') && q.modified_move_speed < 0.08"
|
||||
},
|
||||
{
|
||||
"walk": "!q.property('silverlabs_nat:is_dancing') && q.modified_move_speed >= 0.08 && q.modified_move_speed < 0.6"
|
||||
},
|
||||
{
|
||||
"run": "!q.property('silverlabs_nat:is_dancing') && q.modified_move_speed >= 0.6"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.elephant.baby_look_at_target": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["baby_look_at_target"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.elephant.baby_idle_event": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"idle_event": "math.random_integer(0, 2000) == 0 && q.modified_move_speed < 0.08 && !q.property('silverlabs_nat:is_dancing')"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"idle_event": {
|
||||
"animations": ["baby_idle_event"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.any_animation_finished && q.modified_move_speed < 0.08 && !q.property('silverlabs_nat:is_dancing')"
|
||||
},
|
||||
{
|
||||
"default": "q.modified_move_speed >= 0.08 || q.property('silverlabs_nat:is_dancing')"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.elephant.body_rotation": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["body_rotation"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.elephant.baby_body_rotation": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["baby_body_rotation"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,229 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.emperor_penguin.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"idle",
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{ "swim": "q.is_in_water && !q.is_riding" },
|
||||
{ "run": "q.modified_move_speed > 0.25 && !q.is_riding" },
|
||||
{ "walk": "q.modified_move_speed > 0.05 && !q.is_riding" },
|
||||
{
|
||||
"fall": "q.property('silverlabs_nat:slip_anim') == 'fall' && !q.is_riding"
|
||||
},
|
||||
{
|
||||
"slide": "q.property('silverlabs_nat:slip_anim') == 'slide' && !q.is_riding"
|
||||
},
|
||||
{
|
||||
"idle_event": "math.random_integer(0, 200) == 0 && !q.is_riding"
|
||||
},
|
||||
{ "sit": "q.is_sitting && !q.is_riding" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"idle_event": {
|
||||
"animations": [
|
||||
"idle_event"
|
||||
],
|
||||
"transitions": [
|
||||
{ "swim": "q.is_in_water" },
|
||||
{ "run": "q.modified_move_speed > 0.25" },
|
||||
{ "walk": "q.modified_move_speed > 0.05" },
|
||||
{ "fall": "q.property('silverlabs_nat:slip_anim') == 'fall'" },
|
||||
{ "slide": "q.property('silverlabs_nat:slip_anim') == 'slide'" },
|
||||
{ "default": "q.all_animations_finished" },
|
||||
{ "sit": "q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk",
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{ "swim": "q.is_in_water" },
|
||||
{ "fall": "q.property('silverlabs_nat:slip_anim') == 'fall'" },
|
||||
{ "slide": "q.property('silverlabs_nat:slip_anim') == 'slide'" },
|
||||
{ "run": "q.modified_move_speed > 0.25" },
|
||||
{ "default": "q.modified_move_speed <= 0.05" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
"run",
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{ "swim": "q.is_in_water" },
|
||||
{ "fall": "q.property('silverlabs_nat:slip_anim') == 'fall'" },
|
||||
{ "slide": "q.property('silverlabs_nat:slip_anim') == 'slide'" },
|
||||
{ "default": "q.modified_move_speed <= 0.05" },
|
||||
{ "walk": "q.modified_move_speed <= 0.25" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim": {
|
||||
"animations": [
|
||||
"swim"
|
||||
],
|
||||
"transitions": [
|
||||
{ "run": "!q.is_in_water && q.modified_move_speed > 0.25" },
|
||||
{ "walk": "!q.is_in_water && q.modified_move_speed > 0.05" },
|
||||
{ "default": "!q.is_in_water" }
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"fall": {
|
||||
"animations": [
|
||||
"fall"
|
||||
],
|
||||
"transitions": [
|
||||
{ "swim": "q.is_in_water" },
|
||||
{
|
||||
"run": "q.all_animations_finished && q.modified_move_speed > 0.25"
|
||||
},
|
||||
{
|
||||
"walk": "q.all_animations_finished && q.modified_move_speed > 0.05"
|
||||
},
|
||||
{ "default": "q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"slide": {
|
||||
"animations": [
|
||||
"slide"
|
||||
],
|
||||
"transitions": [
|
||||
{ "swim": "q.is_in_water" },
|
||||
{
|
||||
"run": "q.all_animations_finished && q.modified_move_speed > 0.25"
|
||||
},
|
||||
{
|
||||
"walk": "q.all_animations_finished && q.modified_move_speed > 0.05"
|
||||
},
|
||||
{ "default": "q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
"sit"
|
||||
],
|
||||
"transitions": [
|
||||
{ "unsit_transition": "!q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"unsit_transition": {
|
||||
"animations": [
|
||||
"unsit"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.emperor_penguin.baby_main": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"baby_idle",
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "swim": "q.is_in_water" },
|
||||
{ "run": "q.modified_move_speed > 0.25" },
|
||||
{ "walk": "q.modified_move_speed > 0.05" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"baby_walk",
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "swim": "q.is_in_water" },
|
||||
{ "run": "q.modified_move_speed > 0.25" },
|
||||
{ "default": "q.modified_move_speed <= 0.05" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
"baby_run",
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "swim": "q.is_in_water" },
|
||||
{ "default": "q.modified_move_speed <= 0.05" },
|
||||
{ "walk": "q.modified_move_speed <= 0.25" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim": {
|
||||
"animations": [
|
||||
"baby_swim"
|
||||
],
|
||||
"transitions": [
|
||||
{ "run": "!q.is_in_water && q.modified_move_speed > 0.25" },
|
||||
{ "walk": "!q.is_in_water && q.modified_move_speed > 0.05" },
|
||||
{ "default": "!q.is_in_water" }
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
"baby_sit",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.0,
|
||||
"transitions": [
|
||||
{ "sit_loop": "q.is_sitting && q.state_time >= 0.5" },
|
||||
{ "unsit": "!q.is_sitting" }
|
||||
]
|
||||
},
|
||||
"sit_loop": {
|
||||
"animations": [
|
||||
"baby_sit_idle",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.0,
|
||||
"transitions": [
|
||||
{ "unsit": "!q.is_sitting" }
|
||||
]
|
||||
},
|
||||
"unsit": {
|
||||
"animations": [
|
||||
"baby_unsit",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished && q.modified_move_speed <= 0.05"
|
||||
},
|
||||
{
|
||||
"walk": "q.all_animations_finished && q.modified_move_speed > 0.05"
|
||||
},
|
||||
{
|
||||
"run": "q.all_animations_finished && q.modified_move_speed > 0.25"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,244 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.fennec_fox.main": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["idle"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"run": "((q.modified_move_speed >= (v.walk_threshold ?? 0)) && q.is_avoiding_mobs) || (q.modified_move_speed >= (v.run_threshold ?? 0))"
|
||||
},
|
||||
{
|
||||
"sneak": "q.is_stalking && (q.modified_move_speed >= (v.walk_threshold ?? 0))"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_avoiding_mobs && (q.modified_move_speed >= (v.walk_threshold ?? 0))"
|
||||
},
|
||||
{
|
||||
"crouch": "q.is_stalking"
|
||||
},
|
||||
{
|
||||
"stuck": "q.is_stunned"
|
||||
},
|
||||
{
|
||||
"wiggle": "q.is_interested"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sleep": {
|
||||
"animations": ["sleep"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_sleeping"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sit": {
|
||||
"animations": ["sit"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": ["walk"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"sneak": "q.is_stalking"
|
||||
},
|
||||
{
|
||||
"default": "q.modified_move_speed < (v.walk_threshold ?? 0)"
|
||||
},
|
||||
{
|
||||
"run": "q.is_avoiding_mobs || (q.modified_move_speed >= (v.run_threshold ?? 0))"
|
||||
},
|
||||
{
|
||||
"stuck": "q.is_stunned"
|
||||
},
|
||||
{
|
||||
"wiggle": "q.is_interested"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"crouch": {
|
||||
"animations": ["crouch"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_stalking"
|
||||
},
|
||||
{
|
||||
"sneak": "q.modified_move_speed >= (v.walk_threshold ?? 0)"
|
||||
},
|
||||
{
|
||||
"run": "q.modified_move_speed >= (v.run_threshold ?? 0)"
|
||||
},
|
||||
{
|
||||
"stuck": "q.is_stunned"
|
||||
},
|
||||
{
|
||||
"wiggle": "q.is_interested"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sneak": {
|
||||
"animations": ["crouch", "walk"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"crouch": "q.modified_move_speed < (v.walk_threshold ?? 0)"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_stalking"
|
||||
},
|
||||
{
|
||||
"run": "(q.modified_move_speed >= (v.run_threshold ?? 0)) || q.is_avoiding_mobs"
|
||||
},
|
||||
{
|
||||
"stuck": "q.is_stunned"
|
||||
},
|
||||
{
|
||||
"wiggle": "q.is_interested"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"run": {
|
||||
"animations": ["run"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"sneak": "q.is_stalking && q.in_range(q.modified_move_speed, (v.walk_threshold ?? 0), (v.run_threshold ?? 0))"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_avoiding_mobs && !q.is_stalking && q.in_range(q.modified_move_speed, (v.walk_threshold ?? 0), (v.run_threshold ?? 0))"
|
||||
},
|
||||
{
|
||||
"default": "!(q.modified_move_speed >= (v.walk_threshold ?? 0))"
|
||||
},
|
||||
{
|
||||
"stuck": "q.is_stunned"
|
||||
},
|
||||
{
|
||||
"wiggle": "q.is_interested"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"wiggle": {
|
||||
"animations": [
|
||||
"wiggle",
|
||||
{
|
||||
"walk": "!q.is_avoiding_mobs && (q.modified_move_speed >= (v.walk_threshold ?? 0))"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_interested && q.is_on_ground"
|
||||
},
|
||||
{
|
||||
"sneak": "q.is_stalking && q.in_range(q.modified_move_speed, (v.walk_threshold ?? 0), (v.run_threshold ?? 0))"
|
||||
},
|
||||
{
|
||||
"pounce": "q.is_interested && !q.is_on_ground"
|
||||
},
|
||||
{
|
||||
"stuck": "q.is_stunned"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"pounce": {
|
||||
"animations": ["pounce", "walk"],
|
||||
"blend_transition": 0.15,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.is_on_ground"
|
||||
},
|
||||
{
|
||||
"stuck": "q.is_stunned"
|
||||
}
|
||||
]
|
||||
},
|
||||
"stuck": {
|
||||
"animations": ["stuck"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_stunned"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.fennec_fox.shake": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"prepare": "q.is_in_water_or_rain"
|
||||
}
|
||||
]
|
||||
},
|
||||
"prepare": {
|
||||
"transitions": [
|
||||
{
|
||||
"shake": "!q.is_in_water_or_rain"
|
||||
}
|
||||
]
|
||||
},
|
||||
"shake": {
|
||||
"animations": ["shake"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.any_animation_finished"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.firefly.hide": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"hide": "q.property('silverlabs_nat:on_hide')"
|
||||
},
|
||||
{
|
||||
"perish": "q.out_of_control"
|
||||
}
|
||||
]
|
||||
},
|
||||
"hide": {
|
||||
"particle_effects": [
|
||||
{
|
||||
"effect": "hide"
|
||||
}
|
||||
]
|
||||
},
|
||||
"perish": {
|
||||
"particle_effects": [
|
||||
{
|
||||
"effect": "perish"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.firefly.rotation_controller": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["rotation"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.firefly_jar.particle": {
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{ "do": "1" }
|
||||
]
|
||||
},
|
||||
"do": {
|
||||
"particle_effects": [
|
||||
{
|
||||
"effect": "inner_glow"
|
||||
},
|
||||
{
|
||||
"effect": "outer_glow"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.fish.move": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"swim"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"flopping": "!q.is_in_water"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"flopping": {
|
||||
"animations": [
|
||||
"flop"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.is_in_water"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,154 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.flamingo.main": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "q.is_sitting && !q.is_riding"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed >= 0.02 && !q.is_riding"
|
||||
},
|
||||
{
|
||||
"swim": "q.is_in_water && !q.is_riding"
|
||||
},
|
||||
{
|
||||
"idle_event": "!q.is_baby && math.random_integer(0, 500) == 0 && q.state_time > 2 && !q.is_riding"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
{ "walk": "!q.is_baby" },
|
||||
{ "baby_walk": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
},
|
||||
{
|
||||
"swim": "q.is_in_water"
|
||||
},
|
||||
{
|
||||
"idle": "q.modified_move_speed < 0.02"
|
||||
},
|
||||
{
|
||||
"run": "q.modified_move_speed >= (q.is_baby ? 0.5 : 0.858)"
|
||||
}
|
||||
],
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.25
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
{ "run": "!q.is_baby" },
|
||||
{ "baby_run": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
},
|
||||
{
|
||||
"idle": "q.modified_move_speed < 0.02"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed < (q.is_baby ? 0.5 : 0.858)"
|
||||
},
|
||||
{
|
||||
"swim": "q.is_in_water"
|
||||
}
|
||||
],
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.25
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
{ "sit": "!q.is_baby" },
|
||||
{ "baby_sit": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit_idle": "q.is_sitting && q.all_animations_finished"
|
||||
},
|
||||
{
|
||||
"unsit": "!q.is_sitting"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit_idle": {
|
||||
"animations": [
|
||||
{ "sit_idle": "!q.is_baby" },
|
||||
{ "baby_sit_idle": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"unsit": "!q.is_sitting"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"unsit": {
|
||||
"animations": [
|
||||
{ "unsit": "!q.is_baby" },
|
||||
{ "baby_unsit": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"walk": "q.all_animations_finished && q.modified_move_speed >= 0.02"
|
||||
},
|
||||
{
|
||||
"idle": "q.all_animations_finished || q.state_time > (q.is_baby ? 0.7 : 1.2)"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim": {
|
||||
"animations": [
|
||||
"swim"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
},
|
||||
{
|
||||
"idle": "!q.is_in_water && q.modified_move_speed < 0.02"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_in_water && q.modified_move_speed >= 0.02"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"idle_event": {
|
||||
"animations": [
|
||||
"idle_event"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"swim": "q.is_in_water"
|
||||
},
|
||||
{
|
||||
"run": "q.modified_move_speed >= (q.is_baby ? 0.5 : 0.858)"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed >= 0.02"
|
||||
},
|
||||
{
|
||||
"idle": "q.all_animations_finished"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.flying_fish": {
|
||||
"initial_state": "flopping",
|
||||
"states": {
|
||||
"flopping": {
|
||||
"animations": ["flop"],
|
||||
"transitions": [
|
||||
{ "swimming": "!v.out_of_water" }
|
||||
]
|
||||
},
|
||||
|
||||
"swimming": {
|
||||
"animations": ["swim"],
|
||||
"transitions": [
|
||||
{ "flopping": "v.out_of_water" }
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.giant_isopod.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"idle"
|
||||
],
|
||||
"transitions": [
|
||||
{ "walk": "q.modified_move_speed" },
|
||||
{ "swim": "q.is_avoiding_mobs" },
|
||||
{ "hide_start": "q.property('silverlabs_nat:panic_state')" }
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"blend_via_shortest_path": true
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "!q.modified_move_speed" },
|
||||
{ "swim": "q.is_avoiding_mobs" },
|
||||
{ "hide_start": "q.property('silverlabs_nat:panic_state')" }
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"blend_via_shortest_path": true
|
||||
},
|
||||
"swim": {
|
||||
"animations": [
|
||||
"swim"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "!q.is_avoiding_mobs" },
|
||||
{ "hide_start": "q.property('silverlabs_nat:panic_state')" }
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"blend_via_shortest_path": true
|
||||
},
|
||||
"hide_start": {
|
||||
"animations": [
|
||||
"hide_start"
|
||||
],
|
||||
"transitions": [
|
||||
{ "hide_end": "!q.property('silverlabs_nat:panic_state')" }
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"blend_via_shortest_path": true
|
||||
},
|
||||
"hide_end": {
|
||||
"animations": [
|
||||
"hide_end"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"blend_via_shortest_path": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.giant_salamander.move": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"idle",
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"run": "q.modified_move_speed > 0.14"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed > 0.05"
|
||||
},
|
||||
{
|
||||
"swim": "q.property('silverlabs_nat:is_swimming')"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk",
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"run": "q.modified_move_speed > 0.14"
|
||||
},
|
||||
{
|
||||
"default": "q.modified_move_speed <= 0.05"
|
||||
},
|
||||
{
|
||||
"swim": "q.property('silverlabs_nat:is_swimming')"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
"run",
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.modified_move_speed <= 0.05"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed <= 0.14"
|
||||
},
|
||||
{
|
||||
"swim": "q.property('silverlabs_nat:is_swimming')"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim": {
|
||||
"animations": [
|
||||
"swim",
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"walk": "!q.property('silverlabs_nat:is_swimming') && q.modified_move_speed > 0.05"
|
||||
},
|
||||
{
|
||||
"default": "!q.property('silverlabs_nat:is_swimming')"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.giant_salamander.mouth": {
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"open_mouth": "q.is_interested"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"open_mouth": {
|
||||
"animations": [
|
||||
"open_mouth"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"open_mouth_idle": "q.any_animation_finished"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"open_mouth_idle": {
|
||||
"animations": [
|
||||
"idle_open_mouth"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"close_mouth": "!q.is_interested"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"close_mouth": {
|
||||
"animations": [
|
||||
"close_mouth"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "(1.0)"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,240 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.giraffe.move": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "q.is_sitting && q.is_baby"
|
||||
},
|
||||
{
|
||||
"run": "v.is_sprinting && q.state_time > (q.is_baby ? 0.5 : 1.0)"
|
||||
},
|
||||
{
|
||||
"walk": "v.is_moving && q.state_time > 0.5"
|
||||
}
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
{ "walk": "!q.is_baby" },
|
||||
{ "baby_walk": "q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "q.is_sitting && q.is_baby"
|
||||
},
|
||||
{
|
||||
"default": "!v.is_moving && q.state_time > 0.5"
|
||||
},
|
||||
{
|
||||
"run": "v.is_sprinting && q.state_time > 0.5"
|
||||
}
|
||||
]
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
{ "run": "!q.is_baby" },
|
||||
{ "baby_run": "q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "q.is_sitting && q.is_baby"
|
||||
},
|
||||
{
|
||||
"default": "!v.is_moving && q.state_time > 0.5"
|
||||
},
|
||||
{
|
||||
"walk": "!v.is_sprinting && q.state_time > 0.5"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
{ "baby_sit": "q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.0,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"sit_loop": "q.is_sitting && q.is_baby && q.state_time >= 1.0"
|
||||
},
|
||||
{
|
||||
"unsit": "!q.is_sitting && q.is_baby"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sit_loop": {
|
||||
"animations": [
|
||||
{ "baby_sit_idle": "q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.0,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"unsit": "!q.is_sitting && q.is_baby"
|
||||
}
|
||||
]
|
||||
},
|
||||
"unsit": {
|
||||
"animations": [
|
||||
{ "baby_unsit": "q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished && !v.is_moving"
|
||||
},
|
||||
{
|
||||
"walk": "q.all_animations_finished && v.is_moving && !v.is_sprinting"
|
||||
},
|
||||
{
|
||||
"run": "q.all_animations_finished && v.is_sprinting"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.giraffe.look_at_target": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["look_at_target"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.giraffe.baby_look_at_target": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["baby_look_at_target"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.giraffe.eat": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"on_entry": [
|
||||
"v.health = q.health;"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"eat": "(v.health ?? 0) < q.health"
|
||||
},
|
||||
{
|
||||
"damage": "q.health < (v.health ?? 0)"
|
||||
}
|
||||
]
|
||||
},
|
||||
"damage": {
|
||||
"transitions": [
|
||||
{
|
||||
"default": "1.0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"eat": {
|
||||
"animations": [
|
||||
"eat"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.giraffe.breed": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"breedable": "!q.is_in_love"
|
||||
}
|
||||
]
|
||||
},
|
||||
"breedable": {
|
||||
"transitions": [
|
||||
{
|
||||
"eat": "q.is_in_love"
|
||||
}
|
||||
]
|
||||
},
|
||||
"eat": {
|
||||
"animations": [
|
||||
"eat"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.giraffe.tame": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"wild": "!q.is_tamed"
|
||||
},
|
||||
{
|
||||
"tame": "q.is_tamed"
|
||||
}
|
||||
]
|
||||
},
|
||||
"wild": {
|
||||
"transitions": [
|
||||
{
|
||||
"eat": "q.is_tamed"
|
||||
}
|
||||
]
|
||||
},
|
||||
"eat": {
|
||||
"animations": [
|
||||
"eat"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"tame": "q.all_animations_finished"
|
||||
}
|
||||
]
|
||||
},
|
||||
"tame": {
|
||||
"transitions": [
|
||||
{
|
||||
"tame_timeout": "!q.is_tamed"
|
||||
}
|
||||
]
|
||||
},
|
||||
"tame_timeout": {
|
||||
"sound_effects": [
|
||||
{
|
||||
"effect": "mad"
|
||||
}
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"wild": "1.0"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,180 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.goose.general_control": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": [
|
||||
{
|
||||
"idle": "!q.is_baby"
|
||||
},
|
||||
{
|
||||
"baby_idle": "q.is_baby"
|
||||
},
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground) && !q.is_riding"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed >= (v.walk_lower_boundary ?? 0) && !q.is_riding"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping && !q.is_riding"
|
||||
},
|
||||
{
|
||||
"swim": "q.property('silverlabs_nat:is_swimming') && !q.is_riding"
|
||||
}
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
{
|
||||
"walk": "!q.is_baby"
|
||||
},
|
||||
{
|
||||
"baby_walk": "q.is_baby"
|
||||
},
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "q.modified_move_speed < (v.walk_lower_boundary ?? 0)"
|
||||
},
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground)"
|
||||
},
|
||||
{
|
||||
"run": "q.modified_move_speed >= (v.running_lower_boundary ?? 0)"
|
||||
},
|
||||
{
|
||||
"swim": "q.property('silverlabs_nat:is_swimming')"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
}
|
||||
]
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
{
|
||||
"run": "!q.is_baby"
|
||||
},
|
||||
{
|
||||
"baby_run": "q.is_baby"
|
||||
},
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "q.modified_move_speed < (v.walk_lower_boundary ?? 0)"
|
||||
},
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground)"
|
||||
},
|
||||
{
|
||||
"walk": "q.in_range(q.modified_move_speed, (v.walk_lower_boundary ?? 0), (v.walk_upper_boundary ?? 0))"
|
||||
},
|
||||
{
|
||||
"swim": "q.property('silverlabs_nat:is_swimming')"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
}
|
||||
]
|
||||
},
|
||||
"swim": {
|
||||
"animations": [
|
||||
{
|
||||
"swim": "!q.is_baby"
|
||||
},
|
||||
{
|
||||
"baby_swim": "q.is_baby && q.modified_move_speed > 0.05"
|
||||
},
|
||||
{
|
||||
"baby_swim_idle": "q.is_baby && q.modified_move_speed <= 0.05"
|
||||
},
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground)"
|
||||
},
|
||||
{
|
||||
"walk": "!q.property('silverlabs_nat:is_swimming') && q.modified_move_speed > 0.05"
|
||||
},
|
||||
{
|
||||
"idle": "!q.property('silverlabs_nat:is_swimming')"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sleep": {
|
||||
"animations": [
|
||||
{
|
||||
"sleep": "!q.is_baby"
|
||||
},
|
||||
{
|
||||
"baby_idle": "q.is_baby"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground)"
|
||||
},
|
||||
{
|
||||
"idle": "!q.is_sleeping"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
{
|
||||
"sit": "!q.is_baby"
|
||||
},
|
||||
{
|
||||
"baby_sit": "q.is_baby"
|
||||
}
|
||||
],
|
||||
"transitions": [
|
||||
{ "idle": "!(q.is_sitting && q.is_on_ground)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.goose.attack_control": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"peck": "q.is_delayed_attacking == 1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"peck": {
|
||||
"blend_transition": 0.2,
|
||||
"animations": [
|
||||
"peck"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.is_delayed_attacking == 0"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,111 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.gorilla.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"idle"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"walk": "q.ground_speed > 0.14 && !q.is_riding"
|
||||
},
|
||||
{
|
||||
"run": "q.ground_speed > 0.14 && !q.is_riding && q.has_target"
|
||||
},
|
||||
{
|
||||
"idle_event": "math.random_integer(0,2000) == 0 && !q.is_delayed_attacking && q.ground_speed < 0.15"
|
||||
},
|
||||
{
|
||||
"attack": "q.is_delayed_attacking"
|
||||
},
|
||||
{
|
||||
"beat_chest": "q.timer_flag_1"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"blend_via_shortest_path": true
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.ground_speed < 0.15"
|
||||
},
|
||||
{
|
||||
"attack": "q.is_delayed_attacking"
|
||||
},
|
||||
{
|
||||
"beat_chest": "q.timer_flag_1"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.3,
|
||||
"blend_via_shortest_path": true
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
"run"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.ground_speed < 0.15 || !q.has_target"
|
||||
},
|
||||
{
|
||||
"attack": "q.is_delayed_attacking"
|
||||
},
|
||||
{
|
||||
"beat_chest": "q.timer_flag_1"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.3,
|
||||
"blend_via_shortest_path": true
|
||||
},
|
||||
"idle_event": {
|
||||
"animations": [
|
||||
"idle_event"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished"
|
||||
},
|
||||
{
|
||||
"beat_chest": "q.timer_flag_1"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"blend_via_shortest_path": true
|
||||
},
|
||||
"attack": {
|
||||
"animations": [
|
||||
"punch_left"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_delayed_attacking"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"blend_via_shortest_path": true
|
||||
},
|
||||
"beat_chest": {
|
||||
"animations": [
|
||||
"beat_chest"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.any_animation_finished && math.random_integer(0, 100) >= 100"
|
||||
},
|
||||
{
|
||||
"walk": "q.ground_speed > 0.14 && !q.timer_flag_1"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"blend_via_shortest_path": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,236 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.grizzly_bear.move": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
{
|
||||
"idle": "!q.is_interested"
|
||||
},
|
||||
{
|
||||
"sniff": "q.is_interested"
|
||||
},
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"walk": "q.modified_move_speed >= 0.1"
|
||||
},
|
||||
{
|
||||
"sleeping": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"sitting": "q.property('silverlabs_nat:is_sitting')"
|
||||
},
|
||||
{
|
||||
"eating": "q.property('silverlabs_nat:is_eating')"
|
||||
}
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
{
|
||||
"sniff": "q.is_interested"
|
||||
},
|
||||
{
|
||||
"walk": "!(q.is_angry && q.has_target)"
|
||||
},
|
||||
{
|
||||
"run": "q.is_angry && q.has_target"
|
||||
},
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.modified_move_speed < 0.1"
|
||||
},
|
||||
{
|
||||
"sleeping": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"sitting": "q.property('silverlabs_nat:is_sitting')"
|
||||
},
|
||||
{
|
||||
"eating": "q.property('silverlabs_nat:is_eating')"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sleeping": {
|
||||
"animations": ["sleep"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_sleeping"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sitting": {
|
||||
"animations": ["sit"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"sit_idle": "q.property('silverlabs_nat:is_sitting') && q.all_animations_finished"
|
||||
},
|
||||
{
|
||||
"unsit": "!q.property('silverlabs_nat:is_sitting')"
|
||||
},
|
||||
{
|
||||
"eating": "q.property('silverlabs_nat:is_eating')"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sit_idle": {
|
||||
"animations": ["sit_idle"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"unsit": "!q.property('silverlabs_nat:is_sitting')"
|
||||
},
|
||||
{
|
||||
"eating": "q.property('silverlabs_nat:is_eating')"
|
||||
}
|
||||
]
|
||||
},
|
||||
"unsit": {
|
||||
"animations": ["unsit"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished && q.modified_move_speed < 0.1"
|
||||
},
|
||||
{
|
||||
"walk": "q.all_animations_finished && q.modified_move_speed >= 0.1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"eating": {
|
||||
"animations": ["eat"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.property('silverlabs_nat:is_sitting')"
|
||||
},
|
||||
{
|
||||
"sit_idle": "q.property('silverlabs_nat:is_sitting') && !q.property('silverlabs_nat:is_eating')"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.grizzly_bear.baby_move": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"baby_idle",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "sleeping": "q.is_sleeping" },
|
||||
{ "run": "q.modified_move_speed >= 0.7" },
|
||||
{ "walk": "q.modified_move_speed >= 0.1" }
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"baby_walk",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "sleeping": "q.is_sleeping" },
|
||||
{ "run": "q.modified_move_speed >= 0.7" },
|
||||
{ "default": "q.modified_move_speed < 0.1" }
|
||||
]
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
"baby_run",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "default": "q.modified_move_speed < 0.1" },
|
||||
{ "walk": "q.modified_move_speed < 0.7" }
|
||||
]
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
"baby_sit",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.0,
|
||||
"transitions": [
|
||||
{ "sit_loop": "q.is_sitting && q.state_time >= 0.75" },
|
||||
{ "unsit": "!q.is_sitting" }
|
||||
]
|
||||
},
|
||||
"sit_loop": {
|
||||
"animations": [
|
||||
"baby_sit_idle",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.0,
|
||||
"transitions": [
|
||||
{ "unsit": "!q.is_sitting" }
|
||||
]
|
||||
},
|
||||
"unsit": {
|
||||
"animations": [
|
||||
"baby_unsit",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished && q.modified_move_speed < 0.1"
|
||||
},
|
||||
{
|
||||
"walk": "q.all_animations_finished && q.modified_move_speed >= 0.1"
|
||||
},
|
||||
{
|
||||
"run": "q.all_animations_finished && q.modified_move_speed >= 0.7"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sleeping": {
|
||||
"animations": ["baby_sleep"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_sleeping"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.grizzly_bear.attack_time": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"attack_time": "v.attack_time > 0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"attack_time": {
|
||||
"animations": ["attack"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "v.attack_time <= 0 && q.all_animations_finished"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,241 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.hamster.move": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"on_entry": [
|
||||
"v.move_anim_transition_time = q.life_time + (v.move_anim_change_delay ?? 0.2);"
|
||||
],
|
||||
"animations": [
|
||||
"idle",
|
||||
{
|
||||
"drinking": "q.property('silverlabs_nat:interaction_state') == 'drinking'"
|
||||
}
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"run": "(q.life_time > (v.move_anim_transition_time ?? 0)) && (q.modified_move_speed >= (v.run_speed_threshold ?? 0.15))"
|
||||
},
|
||||
{
|
||||
"walk": "((q.life_time > (v.move_anim_transition_time ?? 0)) && (q.modified_move_speed >= (v.walk_speed_threshold ?? 0.05)))"
|
||||
},
|
||||
{
|
||||
"walk_ball": "q.is_riding && q.property('silverlabs_nat:is_walking_in_ball')"
|
||||
},
|
||||
{
|
||||
"walk_wheel": "q.is_riding && q.property('silverlabs_nat:interaction_state') == 'wheel'"
|
||||
},
|
||||
{
|
||||
"stand": "(q.is_sitting && !v.is_sleeping_on_bed && !(q.is_riding && q.property('silverlabs_nat:interaction_state') == 'wheel')) || q.property('silverlabs_nat:interaction_state') == 'skateboard'"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"on_entry": [
|
||||
"v.move_anim_transition_time = q.life_time + (v.move_anim_change_delay ?? 0.2);"
|
||||
],
|
||||
"animations": [
|
||||
"walk"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "((q.life_time > (v.move_anim_transition_time ?? 0)) && (q.modified_move_speed < (v.walk_speed_threshold ?? 0.05)))"
|
||||
},
|
||||
{
|
||||
"run": "(q.life_time > (v.move_anim_transition_time ?? 0)) && (q.modified_move_speed >= (v.run_speed_threshold ?? 0.15))"
|
||||
},
|
||||
{
|
||||
"stand": "(q.is_sitting && !v.is_sleeping_on_bed && !(q.is_riding && q.property('silverlabs_nat:interaction_state') == 'wheel')) || q.property('silverlabs_nat:interaction_state') == 'skateboard'"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk_ball": {
|
||||
"animations": [
|
||||
"walk"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_riding || !q.property('silverlabs_nat:is_walking_in_ball')"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk_wheel": {
|
||||
"animations": [
|
||||
"walk"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_riding || q.property('silverlabs_nat:interaction_state') != 'wheel'"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"run": {
|
||||
"on_entry": [
|
||||
"v.move_anim_transition_time = q.life_time + (v.move_anim_change_delay ?? 0.2);"
|
||||
],
|
||||
"animations": [
|
||||
"run"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "(q.life_time > (v.move_anim_transition_time ?? 0)) && (q.modified_move_speed < (v.walk_speed_threshold ?? 0.05))"
|
||||
},
|
||||
{
|
||||
"walk": "(q.life_time > (v.move_anim_transition_time ?? 0)) && (q.modified_move_speed < (v.run_speed_threshold ?? 0.15))"
|
||||
},
|
||||
{
|
||||
"stand": "(q.is_sitting && !v.is_sleeping_on_bed && !(q.is_riding && q.property('silverlabs_nat:interaction_state') == 'wheel'))"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"stand": {
|
||||
"animations": [
|
||||
{
|
||||
"stand": "!q.is_tamed"
|
||||
},
|
||||
{
|
||||
"stand.tame": "q.is_tamed"
|
||||
}
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_sitting && q.property('silverlabs_nat:interaction_state') != 'skateboard'"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.hamster.master": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"squished": "q.timer_flag_1"
|
||||
},
|
||||
{
|
||||
"sleep": "v.is_sleeping_on_bed"
|
||||
},
|
||||
{
|
||||
"move": "1"
|
||||
},
|
||||
{
|
||||
"walk_wheel": "q.property('silverlabs_nat:interaction_state') == 'wheel'"
|
||||
}
|
||||
]
|
||||
},
|
||||
"move": {
|
||||
"animations": [
|
||||
"controller.move",
|
||||
"controller.attack_sfx"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"squish": "q.timer_flag_1"
|
||||
},
|
||||
{
|
||||
"sleep": "v.is_sleeping_on_bed"
|
||||
},
|
||||
{
|
||||
"walk_wheel": "q.is_riding && q.property('silverlabs_nat:interaction_state') == 'wheel'"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk_wheel": {
|
||||
"on_entry": [
|
||||
"v.move_anim_transition_time = q.life_time + (v.move_anim_change_delay ?? 0.2);"
|
||||
],
|
||||
"animations": [
|
||||
"run"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.property('silverlabs_nat:interaction_state') != 'wheel'"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sleep": {
|
||||
"animations": [
|
||||
{
|
||||
"sleep": "!q.is_baby"
|
||||
},
|
||||
{
|
||||
"baby_sleep": "q.is_baby"
|
||||
}
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"move": "!v.is_sleeping_on_bed"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.25
|
||||
},
|
||||
"squish": {
|
||||
"animations": [
|
||||
"squish"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"squished": "q.any_animation_finished"
|
||||
}
|
||||
]
|
||||
},
|
||||
"squished": {
|
||||
"animations": [
|
||||
"squished"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"unsquish": "!q.timer_flag_1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"unsquish": {
|
||||
"animations": [
|
||||
"unsquish"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"move": "q.any_animation_finished"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"blend_via_shortest_path": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.hamster.attack_sfx": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"attack": "v.attack_time > 0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"attack": {
|
||||
"sound_effects": [
|
||||
{
|
||||
"effect": "attack"
|
||||
}
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "v.attack_time == 0"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.hedgehog.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"idle"
|
||||
],
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{
|
||||
"idle_event": "math.random_integer(0, 1000) == 0 && q.ground_speed < 0.15"
|
||||
},
|
||||
{ "rolling": "q.property('silverlabs_nat:rolling')" },
|
||||
{
|
||||
"roll_ground": "q.ground_speed > 0.19 && q.property('silverlabs_nat:panic_state')"
|
||||
},
|
||||
{ "hide": "q.property('silverlabs_nat:is_hiding')" },
|
||||
{ "walk": "!q.is_in_water && q.modified_move_speed >= 0.05" },
|
||||
{ "attack": "v.attack_time > 0.0" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
"sit"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "!q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"idle_event": {
|
||||
"animations": [
|
||||
"idle_event"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "q.all_animations_finished" },
|
||||
{ "sit": "q.is_sitting" },
|
||||
{
|
||||
"walk": "!q.is_in_water && !q.is_interested && q.modified_move_speed >= 0.05"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"hide": {
|
||||
"animations": [
|
||||
"hide"
|
||||
],
|
||||
"transitions": [
|
||||
{ "unhide": "!q.property('silverlabs_nat:is_hiding')" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"unhide": {
|
||||
"animations": [
|
||||
"unhide"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.property('silverlabs_nat:is_hiding') && (q.modified_move_speed < 0.05)"
|
||||
},
|
||||
{ "sit": "q.is_sitting" },
|
||||
{
|
||||
"hide": "q.property('silverlabs_nat:is_hiding') && (q.modified_move_speed < 0.05)"
|
||||
},
|
||||
{
|
||||
"roll_ground": "q.ground_speed > 0.19 && q.property('silverlabs_nat:panic_state')"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"attack": {
|
||||
"animations": [
|
||||
"attack"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"rolling": {
|
||||
"animations": [
|
||||
"roll_air"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "!q.property('silverlabs_nat:rolling')" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"roll_ground": {
|
||||
"animations": [
|
||||
"roll_ground"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.ground_speed < 0.2 || !q.property('silverlabs_nat:panic_state')"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,141 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.hippo.move": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "q.is_baby && q.is_sitting" },
|
||||
{ "walk": "!q.has_target && (q.modified_move_speed >= 0.1)" },
|
||||
{ "run": "q.has_target && (q.modified_move_speed >= 0.1)" },
|
||||
{ "swim": "q.is_in_water && (q.modified_move_speed >= 0.1)" }
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
{ "walk": "!q.is_baby" },
|
||||
{ "baby_walk": "q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "q.is_baby && q.is_sitting" },
|
||||
{ "default": "q.modified_move_speed < 0.1" },
|
||||
{ "run": "q.has_target" },
|
||||
{ "swim": "q.is_in_water" }
|
||||
]
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
{ "run": "!q.is_baby" },
|
||||
{ "baby_run": "q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "q.is_baby && q.is_sitting" },
|
||||
{ "default": "q.modified_move_speed < 0.1" },
|
||||
{ "walk": "!q.has_target" },
|
||||
{ "swim": "q.is_in_water" }
|
||||
]
|
||||
},
|
||||
"sit": {
|
||||
"animations": ["baby_sit"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{ "sit_idle": "q.is_sitting && q.all_animations_finished" },
|
||||
{ "unsit": "!q.is_sitting" }
|
||||
]
|
||||
},
|
||||
"sit_idle": {
|
||||
"animations": ["baby_sit_idle"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{ "unsit": "!q.is_sitting" }
|
||||
]
|
||||
},
|
||||
"unsit": {
|
||||
"animations": ["baby_unsit"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "default": "!q.is_sitting && q.all_animations_finished" }
|
||||
]
|
||||
},
|
||||
"swim": {
|
||||
"animations": ["swim"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "q.is_baby && q.is_sitting" },
|
||||
{ "default": "q.modified_move_speed < 0.1" },
|
||||
{ "run": "q.has_target && !q.is_in_water" },
|
||||
{ "walk": "!q.has_target && !q.is_in_water" }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.hippo.attack": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"bite": "v.attack_time > 0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"bite": {
|
||||
"animations": ["bite"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.any_animation_finished"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.hippo.eat": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"breedable": "!q.is_in_love"
|
||||
}
|
||||
]
|
||||
},
|
||||
"breedable": {
|
||||
"transitions": [
|
||||
{
|
||||
"eat": "q.is_in_love"
|
||||
}
|
||||
]
|
||||
},
|
||||
"eat": {
|
||||
"animations": ["bite"],
|
||||
"particle_effects": [
|
||||
{
|
||||
"effect": "bite",
|
||||
"locator": "chomp"
|
||||
},
|
||||
{
|
||||
"effect": "slice",
|
||||
"locator": "chomp"
|
||||
}
|
||||
],
|
||||
"on_entry": ["v.is_biting = 1;"],
|
||||
"on_exit": ["v.is_biting = 0;"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.hyena.move_controller": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{
|
||||
"idle_event": "math.random_integer(0, 1000) == 0 && q.ground_speed < 0.15"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed >= 0.05 && !q.has_target && !q.property('silverlabs_nat:is_panicking')"
|
||||
},
|
||||
{ "run": "q.modified_move_speed >= 0.6" },
|
||||
{ "transform": "q.is_transforming" },
|
||||
{ "sleep": "q.is_sleeping" },
|
||||
{ "sit": "q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"idle_event": {
|
||||
"animations": ["idle_event"],
|
||||
"transitions": [
|
||||
{ "default": "q.all_animations_finished" },
|
||||
{ "walk": "q.modified_move_speed >= 0.05" },
|
||||
{ "transform": "q.is_transforming" },
|
||||
{ "sit": "q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": ["walk"],
|
||||
"transitions": [
|
||||
{ "default": "q.modified_move_speed < 0.05" },
|
||||
{ "run": "q.modified_move_speed >= 0.6" },
|
||||
{ "transform": "q.is_transforming" },
|
||||
{ "sit": "q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"run": {
|
||||
"animations": ["run"],
|
||||
"transitions": [
|
||||
{ "default": "q.modified_move_speed < 0.5" },
|
||||
{ "transform": "q.is_transforming" },
|
||||
{ "sit": "q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"transform": {
|
||||
"animations": ["ravenous"],
|
||||
"transitions": [
|
||||
{ "default": "q.state_time >= 0.5" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sleep": {
|
||||
"animations": ["sleep"],
|
||||
"transitions": [
|
||||
{ "default": "!q.is_sleeping" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": ["sit"],
|
||||
"transitions": [
|
||||
{ "default": "!q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.hyena.attack_controller": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{ "attack": "v.attack_time" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"attack": {
|
||||
"animations": ["attack"],
|
||||
"transitions": [
|
||||
{ "default": "q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,100 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.iguana.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground)"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"swim": "q.is_swimming"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed > 0.05"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
"sit"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "!(q.is_sitting && q.is_on_ground)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk",
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground)"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"swim": "q.is_swimming"
|
||||
},
|
||||
{
|
||||
"default": "q.modified_move_speed <= 0.05"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim": {
|
||||
"animations": [
|
||||
"swim",
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground)"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_swimming && q.modified_move_speed > 0.05"
|
||||
},
|
||||
{
|
||||
"default": "!q.is_swimming"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sleep": {
|
||||
"animations": [
|
||||
"sleep"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground)"
|
||||
},
|
||||
{
|
||||
"swim": "!q.is_sleeping && q.is_swimming"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_sleeping && q.modified_move_speed > 0.05"
|
||||
},
|
||||
{
|
||||
"default": "!q.is_sleeping"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.info_book.general": {
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{ "spawn": "q.is_ignited" },
|
||||
{
|
||||
"scroll": "Math.abs(v.page - q.property('silverlabs_nat:page_index')) > 2"
|
||||
},
|
||||
{ "turn_page": "v.page < q.property('silverlabs_nat:page_index')" },
|
||||
{ "previous_page": "v.page > q.property('silverlabs_nat:page_index')" },
|
||||
{ "pickup": "q.is_shaking" }
|
||||
]
|
||||
},
|
||||
"spawn": {
|
||||
"animations": ["spawn", "spawn_pages"],
|
||||
"transitions": [{ "default": "q.all_animations_finished" }]
|
||||
},
|
||||
"turn_page": {
|
||||
"animations": ["turn_page", "turn_pages"],
|
||||
"transitions": [{ "default": "q.any_animation_finished" }]
|
||||
},
|
||||
"previous_page": {
|
||||
"animations": ["previous_page", "previous_page_pages"],
|
||||
"transitions": [{ "default": "q.any_animation_finished" }]
|
||||
},
|
||||
"scroll": {
|
||||
"animations": ["scroll", "scroll_through_pages"],
|
||||
"transitions": [{ "default": "q.any_animation_finished" }]
|
||||
},
|
||||
"pickup": {
|
||||
"animations": ["pickup", "pickup_pages"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.jellyfish.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{ "swim": "q.is_swimming" },
|
||||
{
|
||||
"idle_event": "math.random_integer(0, 2000) == 0 && !q.is_swimming"
|
||||
},
|
||||
{ "land": "!q.is_in_water" }
|
||||
]
|
||||
},
|
||||
"swim": {
|
||||
"animations": ["swim"],
|
||||
"transitions": [{ "default": "q.all_animations_finished" }],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"idle_event": {
|
||||
"animations": ["idle_event"],
|
||||
"transitions": [{ "default": "q.all_animations_finished" }],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"land": {
|
||||
"animations": ["land"],
|
||||
"transitions": [{ "default": "q.is_in_water" }],
|
||||
"blend_transition": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.kakapo.main": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{
|
||||
"walk": "q.modified_move_speed >= 0.05 && !q.has_target && !q.property('silverlabs_nat:is_panicking') && !q.is_riding"
|
||||
},
|
||||
{
|
||||
"run": "q.modified_move_speed >= 0.05 && (q.has_target || q.property('silverlabs_nat:is_panicking')) && !q.is_riding"
|
||||
},
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground) && !q.is_riding" },
|
||||
{ "sleep": "q.is_sleeping && !q.is_riding" },
|
||||
{ "dance": "q.property('silverlabs_nat:is_dancing') && !q.is_riding" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"dance": {
|
||||
"animations": ["dance"],
|
||||
"transitions": [
|
||||
{ "default": "!q.property('silverlabs_nat:is_dancing')" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sleep": {
|
||||
"animations": ["sleep"],
|
||||
"transitions": [
|
||||
{ "default": "!q.is_sleeping" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": ["walk"],
|
||||
"transitions": [
|
||||
{ "default": "q.modified_move_speed < 0.05" },
|
||||
{
|
||||
"run": "q.modified_move_speed >= 0.05 && (q.has_target || q.property('silverlabs_nat:is_panicking'))"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"run": {
|
||||
"animations": ["run"],
|
||||
"transitions": [
|
||||
{ "default": "q.modified_move_speed <= 0.05" },
|
||||
{
|
||||
"walk": "q.modified_move_speed >= 0.05 && !q.has_target && !q.property('silverlabs_nat:is_panicking')"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": ["sit"],
|
||||
"transitions": [
|
||||
{ "default": "!(q.is_sitting && q.is_on_ground)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,237 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.kangaroo": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": [
|
||||
"idle",
|
||||
{ "pouch": "q.has_rider" }
|
||||
],
|
||||
|
||||
"transitions": [
|
||||
{ "walk": "q.is_on_ground && v.is_walking && !v.is_sprinting" },
|
||||
{ "run": "q.is_on_ground && v.is_sprinting && !v.is_walking" },
|
||||
{ "sit": "q.is_sitting" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": ["baby_sit"],
|
||||
"transitions": [
|
||||
{ "sit_idle": "q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit_idle": {
|
||||
"animations": ["baby_sit_idle"],
|
||||
"transitions": [
|
||||
{ "unsit": "!q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"unsit": {
|
||||
"animations": ["baby_unsit"],
|
||||
"transitions": [
|
||||
{ "idle": "!q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk",
|
||||
{ "pouch": "q.has_rider" }
|
||||
],
|
||||
|
||||
"transitions": [
|
||||
{ "idle": "q.is_on_ground && !v.is_walking && !v.is_sprinting" },
|
||||
{ "run": "q.is_on_ground && v.is_sprinting && !v.is_walking" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"run": {
|
||||
"animations": [
|
||||
"run",
|
||||
{ "pouch": "q.has_rider" }
|
||||
],
|
||||
|
||||
"transitions": [
|
||||
{ "idle": "q.is_on_ground && !v.is_walking && !v.is_sprinting" },
|
||||
{ "walk": "q.is_on_ground && v.is_walking && !v.is_sprinting" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"controller.animation.silverlabs_nat.kangaroo.baby_main": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["baby_idle"],
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "walk": "q.is_on_ground && v.is_walking && !v.is_sprinting" },
|
||||
{ "run": "q.is_on_ground && v.is_sprinting" }
|
||||
],
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": ["baby_walk"],
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "default": "q.is_on_ground && !v.is_walking && !v.is_sprinting" },
|
||||
{ "run": "q.is_on_ground && v.is_sprinting" }
|
||||
],
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"run": {
|
||||
"animations": ["baby_run"],
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "default": "q.is_on_ground && !v.is_walking && !v.is_sprinting" },
|
||||
{ "walk": "q.is_on_ground && v.is_walking && !v.is_sprinting" }
|
||||
],
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": ["baby_sit"],
|
||||
"transitions": [
|
||||
{ "sit_idle": "q.is_sitting && q.all_animations_finished" },
|
||||
{ "unsit": "!q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit_idle": {
|
||||
"animations": ["baby_sit_idle"],
|
||||
"transitions": [
|
||||
{ "unsit": "!q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"unsit": {
|
||||
"animations": ["baby_unsit"],
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "default": "!q.is_sitting && q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"controller.animation.silverlabs_nat.kangaroo_punch": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"on_entry": [
|
||||
"v.punch_selector = Math.random_integer(0, 1);"
|
||||
],
|
||||
|
||||
"transitions": [
|
||||
{ "punch_left": "q.is_delayed_attacking && v.punch_selector == 0" },
|
||||
{ "punch_right": "q.is_delayed_attacking && v.punch_selector == 1" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"punch_left": {
|
||||
"animations": ["punch_left"],
|
||||
"transitions": [
|
||||
{ "default": "q.all_animations_finished" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"punch_right": {
|
||||
"animations": ["punch_right"],
|
||||
"transitions": [
|
||||
{ "default": "q.all_animations_finished" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"controller.animation.silverlabs_nat.kangaroo_idle_event": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"on_entry": [
|
||||
"v.delay = Math.random_integer(10, 28);",
|
||||
"v.current_delay = q.life_time;",
|
||||
"v.idle_selector = Math.random_integer(0, 100);"
|
||||
],
|
||||
|
||||
"transitions": [
|
||||
{
|
||||
"right_ear_flick": "(q.life_time - v.current_delay >= v.delay) && q.modified_move_speed <= 0.1 && q.is_on_ground && v.idle_selector <= 45"
|
||||
},
|
||||
{
|
||||
"left_ear_flick": "(q.life_time - v.current_delay >= v.delay) && q.modified_move_speed <= 0.1 && q.is_on_ground && (v.idle_selector >= 46 && v.idle_selector <= 90)"
|
||||
},
|
||||
{
|
||||
"right_and_left_ear_flick": "(q.life_time - v.current_delay >= v.delay) && q.modified_move_speed <= 0.1 && q.is_on_ground && v.idle_selector >= 91"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"right_ear_flick": {
|
||||
"animations": ["right_ear_flick"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished || q.modified_move_speed > 0.1 || !q.is_on_ground"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"left_ear_flick": {
|
||||
"animations": ["left_ear_flick"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished || q.modified_move_speed > 0.1 || !q.is_on_ground"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"right_and_left_ear_flick": {
|
||||
"animations": [
|
||||
"left_ear_flick",
|
||||
"right_ear_flick"
|
||||
],
|
||||
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished || q.modified_move_speed > 0.1 || !q.is_on_ground"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,158 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.kiwi.main": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": [
|
||||
"idle"
|
||||
],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground) && !q.is_riding" },
|
||||
{ "sleep": "q.is_sleeping && !q.is_riding" },
|
||||
{
|
||||
"run": "q.is_avoiding_mobs && (q.modified_move_speed > 0.1) && !q.is_riding"
|
||||
},
|
||||
{ "walk": "(q.modified_move_speed > 0.1) && !q.is_riding" },
|
||||
{ "swim": "q.is_in_water && !q.is_riding" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk"
|
||||
],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{ "sleep": "q.is_sleeping" },
|
||||
{ "run": "q.is_avoiding_mobs" },
|
||||
{ "idle": "!(q.modified_move_speed > 0.1)" },
|
||||
{ "swim": "q.is_in_water" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
"run"
|
||||
],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{ "sleep": "q.is_sleeping" },
|
||||
{ "walk": "!q.is_avoiding_mobs" },
|
||||
{ "idle": "!(q.modified_move_speed > 0.1)" },
|
||||
{ "swim": "q.is_in_water" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim": {
|
||||
"animations": [
|
||||
"swim"
|
||||
],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{ "idle": "!q.is_in_water && !(q.modified_move_speed > 0.1)" },
|
||||
{ "walk": "!q.is_in_water && (q.modified_move_speed > 0.1)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sleep": {
|
||||
"animations": [
|
||||
"sleep"
|
||||
],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{ "idle": "!q.is_sleeping" },
|
||||
{ "swim": "q.is_in_water" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
"sit"
|
||||
],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "idle": "!(q.is_sitting && q.is_on_ground)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"baby_idle": {
|
||||
"animations": [
|
||||
"baby_idle"
|
||||
],
|
||||
"transitions": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_sleep": "q.is_sleeping && !q.is_riding" },
|
||||
{
|
||||
"baby_run": "(q.modified_move_speed > 0.2) && !q.is_riding"
|
||||
},
|
||||
{ "baby_walk": "(q.modified_move_speed > 0.1) && !q.is_riding" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"baby_walk": {
|
||||
"animations": [
|
||||
"baby_walk"
|
||||
],
|
||||
"transitions": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_sleep": "q.is_sleeping" },
|
||||
{ "baby_run": "(q.modified_move_speed > 0.2)" },
|
||||
{ "baby_idle": "!(q.modified_move_speed > 0.1)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"baby_run": {
|
||||
"animations": [
|
||||
"baby_run"
|
||||
],
|
||||
"transitions": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_sleep": "q.is_sleeping" },
|
||||
{
|
||||
"baby_walk": "!(q.modified_move_speed > 0.2) && (q.modified_move_speed > 0.1)"
|
||||
},
|
||||
{ "baby_idle": "!(q.modified_move_speed > 0.1)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"baby_sleep": {
|
||||
"animations": [
|
||||
"baby_sleep"
|
||||
],
|
||||
"transitions": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_idle": "!q.is_sleeping" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.kiwi.happy_screech": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"transitions": [
|
||||
{ "screech": "q.property('silverlabs_nat:feeling_happy')" }
|
||||
]
|
||||
},
|
||||
"screech": {
|
||||
"sound_effects": [
|
||||
{
|
||||
"effect": "screech"
|
||||
}
|
||||
],
|
||||
"transitions": [
|
||||
{ "idle": "!q.property('silverlabs_nat:feeling_happy')" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.komodo_dragon.move": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": ["idle"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"walk": "q.modified_move_speed > 0.05"
|
||||
},
|
||||
{
|
||||
"sit_down": "q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
{ "walk": "math.lerp(0.75, 2.5, q.modified_move_speed)" }
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "!(q.modified_move_speed > 0.05)"
|
||||
},
|
||||
{
|
||||
"sit_down": "q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sit_down": {
|
||||
"blend_transition": 1,
|
||||
"transitions": [
|
||||
{
|
||||
"bask": "1.0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"bask": {
|
||||
"animations": ["bask"],
|
||||
"blend_transition": 1,
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "!q.is_sitting"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.komodo_dragon.attack": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"transitions": [
|
||||
{ "bite": "q.is_delayed_attacking" }
|
||||
]
|
||||
},
|
||||
"bite": {
|
||||
"animations": ["bite"],
|
||||
"transitions": [
|
||||
{ "idle": "q.any_animation_finished" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,221 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.lion.move": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"idle",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"prey": "v.is_moving && q.is_powered && !q.is_sprinting && q.is_on_ground"
|
||||
},
|
||||
{
|
||||
"run": "v.is_moving && q.is_powered && !q.is_sprinting && q.is_on_ground"
|
||||
},
|
||||
{
|
||||
"walk": "v.is_moving && !q.is_powered"
|
||||
},
|
||||
{
|
||||
"sleeping": "q.is_sleeping"
|
||||
}
|
||||
]
|
||||
},
|
||||
"prey": {
|
||||
"animations": [
|
||||
"prey",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!v.is_moving || !q.is_powered"
|
||||
},
|
||||
{
|
||||
"run": "v.is_moving && q.is_sprinting && q.is_on_ground"
|
||||
},
|
||||
{
|
||||
"walk": "v.is_moving && !q.is_sneaking && !q.is_sprinting"
|
||||
},
|
||||
{
|
||||
"sleeping": "q.is_sleeping"
|
||||
}
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!v.is_moving"
|
||||
},
|
||||
{
|
||||
"prey": "v.is_moving && q.is_sneaking && q.is_on_ground"
|
||||
},
|
||||
{
|
||||
"run": "v.is_moving && q.is_sprinting && q.is_on_ground"
|
||||
},
|
||||
{
|
||||
"sleeping": "q.is_sleeping"
|
||||
}
|
||||
]
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
"run",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!v.is_moving"
|
||||
},
|
||||
{
|
||||
"prey": "v.is_moving && q.is_sneaking && q.is_on_ground"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_sprinting && !q.has_target"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sleeping": {
|
||||
"animations": [
|
||||
{
|
||||
"sleep": "!q.property('silverlabs_nat:is_male') && !q.is_baby"
|
||||
},
|
||||
{
|
||||
"sleep2": "q.property('silverlabs_nat:is_male') || q.is_baby"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_sleeping"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.lion.attack": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"attack": "v.attack_time > 0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"attack": {
|
||||
"animations": ["swing"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "v.attack_time <= 0 && q.all_animations_finished"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.lion.baby_move": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"baby_idle",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "run": "q.modified_move_speed >= 0.7" },
|
||||
{ "walk": "q.modified_move_speed >= 0.1" },
|
||||
{ "sleeping": "q.is_sleeping" }
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"baby_walk",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "run": "q.modified_move_speed >= 0.7" },
|
||||
{ "default": "q.modified_move_speed < 0.1" },
|
||||
{ "sleeping": "q.is_sleeping" }
|
||||
]
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
"baby_run",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "default": "q.modified_move_speed < 0.1" },
|
||||
{ "walk": "q.modified_move_speed < 0.7" },
|
||||
{ "sleeping": "q.is_sleeping" }
|
||||
]
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
"baby_sit",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.0,
|
||||
"transitions": [
|
||||
{ "sit_loop": "q.is_sitting && q.state_time >= 0.75" },
|
||||
{ "unsit": "!q.is_sitting" },
|
||||
{ "sleeping": "q.is_sleeping" }
|
||||
]
|
||||
},
|
||||
"sit_loop": {
|
||||
"animations": [
|
||||
"baby_sit_idle",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.0,
|
||||
"transitions": [
|
||||
{ "unsit": "!q.is_sitting" },
|
||||
{ "sleeping": "q.is_sleeping" }
|
||||
]
|
||||
},
|
||||
"unsit": {
|
||||
"animations": [
|
||||
"baby_unsit",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished && q.modified_move_speed < 0.1"
|
||||
},
|
||||
{
|
||||
"walk": "q.all_animations_finished && q.modified_move_speed >= 0.1"
|
||||
},
|
||||
{
|
||||
"run": "q.all_animations_finished && q.modified_move_speed >= 0.7"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sleeping": {
|
||||
"animations": [
|
||||
"baby_sleep"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "default": "!q.is_sleeping" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.lizard.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"idle",
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed > 0.05"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk",
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
},
|
||||
{
|
||||
"default": "q.modified_move_speed <= 0.05"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
"sit",
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_sitting && q.modified_move_speed > 0.05"
|
||||
},
|
||||
{
|
||||
"default": "!q.is_sitting"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sleep": {
|
||||
"animations": [
|
||||
"sleep"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "!q.is_sleeping && q.is_sitting"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_sleeping && q.modified_move_speed > 0.05"
|
||||
},
|
||||
{
|
||||
"default": "!q.is_sleeping"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.mammoth.move": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["idle"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"walk": "q.modified_move_speed > 0.05"
|
||||
}
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": ["walk"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.modified_move_speed < 0.05"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.mammoth.drinking": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"water": "q.property('silverlabs_nat:is_drinking')"
|
||||
}
|
||||
]
|
||||
},
|
||||
"water": {
|
||||
"animations": ["water"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"drink": "!q.property('silverlabs_nat:is_drinking')"
|
||||
}
|
||||
]
|
||||
},
|
||||
"drink": {
|
||||
"animations": ["drink"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.mammoth.attack": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"attack": "v.attack_time > 0"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"attack": {
|
||||
"animations": ["swing"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.mammoth.baby_move": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": ["baby_idle"],
|
||||
"blend_transition": 0.3,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"walk": "q.modified_move_speed >= 0.08 && !(q.has_property('silverlabs_nat:is_dancing') && q.property('silverlabs_nat:is_dancing'))"
|
||||
},
|
||||
{
|
||||
"run": "q.modified_move_speed >= 0.6 && !(q.has_property('silverlabs_nat:is_dancing') && q.property('silverlabs_nat:is_dancing'))"
|
||||
},
|
||||
{
|
||||
"playful": "(q.has_property('silverlabs_nat:is_dancing') && q.property('silverlabs_nat:is_dancing'))"
|
||||
}
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": ["baby_walk"],
|
||||
"blend_transition": 0.3,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "q.modified_move_speed < 0.08 && !(q.has_property('silverlabs_nat:is_dancing') && q.property('silverlabs_nat:is_dancing'))"
|
||||
},
|
||||
{
|
||||
"run": "q.modified_move_speed >= 0.6 && !(q.has_property('silverlabs_nat:is_dancing') && q.property('silverlabs_nat:is_dancing'))"
|
||||
},
|
||||
{
|
||||
"playful": "(q.has_property('silverlabs_nat:is_dancing') && q.property('silverlabs_nat:is_dancing'))"
|
||||
}
|
||||
]
|
||||
},
|
||||
"run": {
|
||||
"animations": ["baby_run"],
|
||||
"blend_transition": 0.3,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "q.modified_move_speed < 0.08 && !(q.has_property('silverlabs_nat:is_dancing') && q.property('silverlabs_nat:is_dancing'))"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed < 0.6 && q.modified_move_speed >= 0.08 && !(q.has_property('silverlabs_nat:is_dancing') && q.property('silverlabs_nat:is_dancing'))"
|
||||
},
|
||||
{
|
||||
"playful": "(q.has_property('silverlabs_nat:is_dancing') && q.property('silverlabs_nat:is_dancing'))"
|
||||
}
|
||||
]
|
||||
},
|
||||
"playful": {
|
||||
"animations": ["baby_playful"],
|
||||
"blend_transition": 0.3,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "!(q.has_property('silverlabs_nat:is_dancing') && q.property('silverlabs_nat:is_dancing')) && q.modified_move_speed < 0.08"
|
||||
},
|
||||
{
|
||||
"walk": "!(q.has_property('silverlabs_nat:is_dancing') && q.property('silverlabs_nat:is_dancing')) && q.modified_move_speed >= 0.08 && q.modified_move_speed < 0.6"
|
||||
},
|
||||
{
|
||||
"run": "!(q.has_property('silverlabs_nat:is_dancing') && q.property('silverlabs_nat:is_dancing')) && q.modified_move_speed >= 0.6"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.mammoth.baby_look_at_target": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["baby_look_at_target"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.mammoth.baby_idle_event": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"idle_event": "math.random_integer(0, 2000) == 0 && q.modified_move_speed < 0.08 && !(q.has_property('silverlabs_nat:is_dancing') && q.property('silverlabs_nat:is_dancing'))"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"idle_event": {
|
||||
"animations": ["baby_idle_event"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.any_animation_finished && q.modified_move_speed < 0.08 && !(q.has_property('silverlabs_nat:is_dancing') && q.property('silverlabs_nat:is_dancing'))"
|
||||
},
|
||||
{
|
||||
"default": "q.modified_move_speed >= 0.08 || (q.has_property('silverlabs_nat:is_dancing') && q.property('silverlabs_nat:is_dancing'))"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.mammoth.baby_body_rotation": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["baby_body_rotation"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.mole.main": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
{
|
||||
"idle_event": "math.random_integer(0, 2000) == 0 && !v.is_rolled_up"
|
||||
},
|
||||
"idle"
|
||||
],
|
||||
"transitions": [{ "roll_up": "v.is_rolled_up" }],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"roll_up": {
|
||||
"animations": ["dig_down"],
|
||||
"transitions": [
|
||||
{
|
||||
"rolled_up": "v.is_rolled_up && q.all_animations_finished"
|
||||
},
|
||||
{
|
||||
"unroll": "!v.is_rolled_up && q.all_animations_finished"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"rolled_up": {
|
||||
"animations": ["underground_transform"],
|
||||
"transitions": [
|
||||
{ "peek": "v.is_rolled_up && v.is_peeking" },
|
||||
{ "unroll": "!v.is_rolled_up || v.is_unrolling" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"peek": {
|
||||
"animations": ["peek"],
|
||||
"transitions": [
|
||||
{
|
||||
"rolled_up": "v.is_rolled_up && !v.is_peeking && q.all_animations_finished"
|
||||
},
|
||||
{
|
||||
"unroll": "(!v.is_rolled_up || v.is_unrolling) && q.all_animations_finished"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"unroll": {
|
||||
"animations": ["dig_up"],
|
||||
"transitions": [
|
||||
{ "rolled_up": "v.is_rolled_up && !v.is_unrolling" },
|
||||
{
|
||||
"default": "!v.is_rolled_up && q.all_animations_finished"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,157 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.monkey.attack": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"attack": "v.attack_time > 0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"attack": {
|
||||
"animations": ["attack"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.any_animation_finished"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.monkey.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"idle"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground)"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed > 0.05"
|
||||
},
|
||||
{
|
||||
"idle_event": "math.random_integer(0, 2000) == 0 && !q.is_moving"
|
||||
},
|
||||
{
|
||||
"climb": "q.is_wall_climbing"
|
||||
},
|
||||
{
|
||||
"attack": "v.attack_time > 0"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"idle_event": {
|
||||
"animations": [
|
||||
"idle_event"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground)"
|
||||
},
|
||||
{
|
||||
"default": "q.all_animations_finished"
|
||||
},
|
||||
{
|
||||
"climb": "q.is_wall_climbing"
|
||||
},
|
||||
{
|
||||
"attack": "v.attack_time > 0"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground)"
|
||||
},
|
||||
{
|
||||
"default": "q.modified_move_speed < 0.05"
|
||||
},
|
||||
{
|
||||
"run": "q.has_target || q.modified_move_speed >= 0.4"
|
||||
},
|
||||
{
|
||||
"climb": "q.is_wall_climbing"
|
||||
},
|
||||
{
|
||||
"attack": "v.attack_time > 0"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
"run"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground)"
|
||||
},
|
||||
{
|
||||
"default": "q.modified_move_speed < 0.05"
|
||||
},
|
||||
{
|
||||
"walk": "!q.has_target && q.modified_move_speed < 0.4"
|
||||
},
|
||||
{
|
||||
"climb": "q.is_wall_climbing"
|
||||
},
|
||||
{
|
||||
"attack": "v.attack_time > 0"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"climb": {
|
||||
"animations": [
|
||||
"climb"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_wall_climbing"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"attack": {
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!v.attack_time && q.modified_move_speed < 0.05"
|
||||
},
|
||||
{
|
||||
"climb": "!v.attack_time && q.is_wall_climbing"
|
||||
},
|
||||
{
|
||||
"walk": "!v.attack_time && !q.has_target"
|
||||
},
|
||||
{
|
||||
"run": "!v.attack_time && q.has_target"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
"sit"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!(q.is_sitting && q.is_on_ground)"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,201 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.moose.move": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
},
|
||||
{
|
||||
"run": "v.is_running"
|
||||
},
|
||||
{
|
||||
"walk": "v.is_walking"
|
||||
},
|
||||
{
|
||||
"belling": "v.is_belling"
|
||||
}
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
{ "walk": "!q.is_baby" },
|
||||
{ "baby_walk": "q.is_baby" },
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
},
|
||||
{
|
||||
"idle": "v.is_idling"
|
||||
},
|
||||
{
|
||||
"run": "v.is_running"
|
||||
},
|
||||
{
|
||||
"belling": "v.is_belling"
|
||||
}
|
||||
]
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
{ "run": "!q.is_baby" },
|
||||
{ "baby_run": "q.is_baby" },
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
},
|
||||
{
|
||||
"idle": "v.is_idling"
|
||||
},
|
||||
{
|
||||
"walk": "v.is_walking"
|
||||
},
|
||||
{
|
||||
"belling": "v.is_belling"
|
||||
}
|
||||
]
|
||||
},
|
||||
"belling": {
|
||||
"animations": [
|
||||
"bellow"
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
},
|
||||
{
|
||||
"idle": "!v.is_belling || (q.all_animations_finished && v.is_idling)"
|
||||
},
|
||||
{
|
||||
"run": "!v.is_belling || (q.all_animations_finished && v.is_running)"
|
||||
},
|
||||
{
|
||||
"walk": "!v.is_belling || (q.all_animations_finished && v.is_walking)"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
{ "sit": "!q.is_baby" },
|
||||
{ "baby_sit": "q.is_baby" },
|
||||
"look_at_target"
|
||||
],
|
||||
"on_entry": [
|
||||
"v.sit_start_time = q.life_time;"
|
||||
],
|
||||
"blend_transition": 0.0,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"sit_loop": "q.is_sitting && (q.is_baby ? q.state_time >= 0.7917 : q.state_time >= 1)"
|
||||
},
|
||||
{
|
||||
"unsit": "!q.is_sitting && q.is_baby"
|
||||
},
|
||||
{
|
||||
"idle": "!q.is_sitting && !q.is_baby && v.is_idling"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_sitting && !q.is_baby && v.is_walking"
|
||||
},
|
||||
{
|
||||
"run": "!q.is_sitting && !q.is_baby && v.is_running"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sit_loop": {
|
||||
"animations": [
|
||||
{ "sit_idle": "!q.is_baby" },
|
||||
{ "baby_sit_idle": "q.is_baby" },
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.0,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"unsit": "!q.is_sitting"
|
||||
},
|
||||
{
|
||||
"idle": "!q.is_sitting && !q.is_baby && v.is_idling"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_sitting && !q.is_baby && v.is_walking"
|
||||
},
|
||||
{
|
||||
"run": "!q.is_sitting && !q.is_baby && v.is_running"
|
||||
}
|
||||
]
|
||||
},
|
||||
"unsit": {
|
||||
"animations": [
|
||||
{ "unsit": "!q.is_baby" },
|
||||
{ "baby_unsit": "q.is_baby" },
|
||||
"look_at_target"
|
||||
],
|
||||
"on_entry": [
|
||||
"v.unsit_start_time = q.life_time;"
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"walk": "(q.is_baby ? q.state_time >= 0.9167 : q.state_time >= 1.2083) && v.is_walking"
|
||||
},
|
||||
{
|
||||
"run": "(q.is_baby ? q.state_time >= 0.9167 : q.state_time >= 1.2083) && v.is_running"
|
||||
},
|
||||
{
|
||||
"idle": "(q.is_baby ? q.state_time >= 0.9167 : q.state_time >= 1.2083)"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.moose.attack": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"blend_transition": 0.2,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"attack": "v.is_attacking"
|
||||
}
|
||||
]
|
||||
},
|
||||
"attack": {
|
||||
"blend_transition": 0.2,
|
||||
"blend_via_shortest_path": true,
|
||||
"animations": [
|
||||
"attack"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!v.is_attacking && q.all_animations_finished"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.octopus.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"idle"
|
||||
],
|
||||
"transitions": [
|
||||
{ "swim_fast": "!q.is_on_ground && q.modified_move_speed > 1.2" },
|
||||
{ "swim": "!q.is_on_ground && q.modified_move_speed > 0.05" },
|
||||
{ "walk": "q.modified_move_speed > 0.05" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk"
|
||||
],
|
||||
"transitions": [
|
||||
{ "swim_fast": "!q.is_on_ground && q.modified_move_speed > 1.2" },
|
||||
{ "swim": "!q.is_on_ground && q.modified_move_speed > 0.05" },
|
||||
{ "default": "q.is_on_ground && q.modified_move_speed <= 0.05" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim": {
|
||||
"animations": [
|
||||
"swim",
|
||||
"tilt"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"spray": "q.is_avoiding_mobs && math.random_integer(0, 250) == 0"
|
||||
},
|
||||
{ "swim_fast": "!q.is_on_ground && q.modified_move_speed > 1.2" },
|
||||
{ "walk": "q.is_on_ground && q.modified_move_speed > 0.05" },
|
||||
{ "default": "q.is_on_ground" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim_fast": {
|
||||
"animations": [
|
||||
"swim_fast",
|
||||
"tilt"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"spray": "q.is_avoiding_mobs && math.random_integer(0, 250) == 0"
|
||||
},
|
||||
{ "swim": "!q.is_on_ground && q.modified_move_speed <= 1.2" },
|
||||
{ "walk": "q.is_on_ground && q.modified_move_speed > 0.05" },
|
||||
{ "default": "q.is_on_ground" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"spray": {
|
||||
"animations": [
|
||||
"spray",
|
||||
"tilt"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"swim_fast": "q.all_animations_finished && !q.is_on_ground && q.modified_move_speed > 1.2"
|
||||
},
|
||||
{
|
||||
"swim": "q.all_animations_finished && !q.is_on_ground && q.modified_move_speed > 0.05"
|
||||
},
|
||||
{
|
||||
"walk": "q.all_animations_finished && q.modified_move_speed > 0.05"
|
||||
},
|
||||
{ "default": "q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,187 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.ostrich.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"idle"
|
||||
],
|
||||
"transitions": [
|
||||
{ "flap": "!q.is_on_ground && !q.is_riding" },
|
||||
{ "sit": "q.is_sitting && q.state_time > 0.5 && !q.is_riding" },
|
||||
{
|
||||
"run": "q.modified_move_speed > 0.5 && q.state_time > 0.5 && !q.is_riding"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed > 0.1 && q.state_time > 0.5 && !q.is_riding"
|
||||
},
|
||||
{
|
||||
"bury_head": "q.is_avoiding_mobs && !q.is_interested && q.state_time > 0.5 && !q.is_riding"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
"sit"
|
||||
],
|
||||
"transitions": [
|
||||
{ "flap": "!q.is_on_ground" },
|
||||
{ "default": "!q.is_sitting && q.state_time > 0.5" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk"
|
||||
],
|
||||
"transitions": [
|
||||
{ "flap": "!q.is_on_ground" },
|
||||
{ "sit": "q.is_sitting && q.state_time > 0.5" },
|
||||
{ "run": "q.modified_move_speed > 0.5 && q.state_time > 0.5" },
|
||||
{
|
||||
"bury_head": "q.modified_move_speed <= 0.1 && q.is_avoiding_mobs && !q.is_interested && q.state_time > 0.5"
|
||||
},
|
||||
{ "default": "q.modified_move_speed <= 0.1 && q.state_time > 0.5" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
"run"
|
||||
],
|
||||
"transitions": [
|
||||
{ "flap": "!q.is_on_ground" },
|
||||
{ "sit": "q.is_sitting && q.state_time > 0.5" },
|
||||
{
|
||||
"bury_head": "q.modified_move_speed <= 0.1 && q.is_avoiding_mobs && !q.is_interested && q.state_time > 0.5"
|
||||
},
|
||||
{ "default": "q.modified_move_speed <= 0.1 && q.state_time > 0.5" },
|
||||
{ "walk": "q.modified_move_speed <= 0.5 && q.state_time > 0.5" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"flap": {
|
||||
"animations": [
|
||||
"flap"
|
||||
],
|
||||
"transitions": [
|
||||
{ "sit": "q.is_on_ground && q.is_sitting" },
|
||||
{ "run": "q.is_on_ground && q.modified_move_speed > 0.5" },
|
||||
{ "walk": "q.is_on_ground && q.modified_move_speed > 0.1" },
|
||||
{ "default": "q.is_on_ground" }
|
||||
],
|
||||
"blend_transition": 0.15
|
||||
},
|
||||
"bury_head": {
|
||||
"animations": [
|
||||
"bury_head"
|
||||
],
|
||||
"transitions": [
|
||||
{ "flap": "!q.is_on_ground" },
|
||||
{ "sit": "q.is_sitting && q.state_time > 0.5" },
|
||||
{
|
||||
"run": "!q.is_avoiding_mobs && q.modified_move_speed > 0.5 && q.state_time > 0.5"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_avoiding_mobs && q.modified_move_speed > 0.1 && q.state_time > 0.5"
|
||||
},
|
||||
{
|
||||
"default": "(!q.is_avoiding_mobs || q.is_interested) && q.state_time > 0.5"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.ostrich.attack": {
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{ "attack": "q.is_delayed_attacking" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"attack": {
|
||||
"animations": [
|
||||
"attack"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_delayed_attacking && q.all_animations_finished"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.ostrich.baby_main": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"baby_idle"
|
||||
],
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "run": "q.modified_move_speed > 0.5" },
|
||||
{ "walk": "q.modified_move_speed > 0.1" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"baby_walk"
|
||||
],
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "run": "q.modified_move_speed > 0.5" },
|
||||
{ "default": "q.modified_move_speed <= 0.1" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
"baby_run"
|
||||
],
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "default": "q.modified_move_speed <= 0.1" },
|
||||
{ "walk": "q.modified_move_speed <= 0.5" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
"baby_sit"
|
||||
],
|
||||
"transitions": [
|
||||
{ "sit_idle": "q.is_sitting && q.all_animations_finished" },
|
||||
{ "unsit": "!q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit_idle": {
|
||||
"animations": [
|
||||
"baby_sit_idle"
|
||||
],
|
||||
"transitions": [
|
||||
{ "unsit": "!q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"unsit": {
|
||||
"animations": [
|
||||
"baby_unsit"
|
||||
],
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "default": "!q.is_sitting && q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,145 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.otter.main": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"on_entry": ["v.float_delay = q.life_time + 1;"],
|
||||
"transitions": [
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{ "float": "q.property('silverlabs_nat:floating')" },
|
||||
{
|
||||
"walk": "!q.has_target && (q.modified_move_speed >= (v.walk_threshold ?? 0))"
|
||||
},
|
||||
{
|
||||
"run": "q.has_target && (q.modified_move_speed >= (v.walk_threshold ?? 0))"
|
||||
},
|
||||
{
|
||||
"swim": "q.is_in_water && (q.modified_move_speed >= (v.swim_threshold ?? 0))"
|
||||
},
|
||||
{ "sleep": "q.is_sleeping && !q.is_in_water" }
|
||||
]
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
{ "sit": "!q.is_baby" },
|
||||
{ "baby_sit": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit_idle": "q.is_baby && q.is_sitting && q.all_animations_finished"
|
||||
},
|
||||
{ "unsit": "q.is_baby && !q.is_sitting" },
|
||||
{ "default": "!q.is_baby && !q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit_idle": {
|
||||
"animations": ["baby_sit_idle"],
|
||||
"transitions": [
|
||||
{ "unsit": "!q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"unsit": {
|
||||
"animations": ["baby_unsit"],
|
||||
"transitions": [
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "default": "!q.is_sitting && q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"float": {
|
||||
"animations": ["float"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{ "default": "!q.is_item_equipped(0) || !q.is_in_water" },
|
||||
{
|
||||
"walk": "!q.has_target && (q.modified_move_speed >= (v.walk_threshold ?? 0))"
|
||||
},
|
||||
{
|
||||
"run": "q.has_target && (q.modified_move_speed >= (v.walk_threshold ?? 0))"
|
||||
},
|
||||
{
|
||||
"swim": "q.is_in_water && (q.modified_move_speed >= (v.swim_threshold ?? 0))"
|
||||
}
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
{ "walk": "!q.is_baby" },
|
||||
{ "baby_walk": "q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{ "default": "q.modified_move_speed < (v.walk_threshold ?? 0)" },
|
||||
{ "run": "q.has_target || q.is_interested" },
|
||||
{ "swim": "q.is_in_water" }
|
||||
]
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
{ "run": "!q.is_baby" },
|
||||
{ "baby_run": "q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{ "default": "q.modified_move_speed < (v.walk_threshold ?? 0)" },
|
||||
{ "walk": "!q.has_target && !q.is_interested" },
|
||||
{ "swim": "q.is_in_water" }
|
||||
]
|
||||
},
|
||||
"sleep": {
|
||||
"animations": ["sleep"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{ "default": "!q.is_sleeping || q.is_in_water" }
|
||||
]
|
||||
},
|
||||
"swim": {
|
||||
"animations": ["swim"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{ "default": "q.modified_move_speed < (v.swim_threshold ?? 0)" },
|
||||
{ "run": "q.has_target && !q.is_in_water" },
|
||||
{ "walk": "!q.has_target && !q.is_in_water" }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.otter.hold_item": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["item_adjust"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "play_with_item": "(q.property('silverlabs_nat:floating'))" },
|
||||
{ "nap_with_item": "q.is_sleeping" }
|
||||
]
|
||||
},
|
||||
"play_with_item": {
|
||||
"animations": ["play_with_item"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [{ "default": "!(q.property('silverlabs_nat:floating'))" }]
|
||||
},
|
||||
"nap_with_item": {
|
||||
"animations": ["nap_with_item"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [{ "default": "!q.is_sleeping" }]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.owl.main": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "sleep": "q.is_on_ground && q.is_sleeping" },
|
||||
{
|
||||
"fly": "!q.is_baby && ( !q.is_on_ground || q.modified_move_speed > 0.02 )"
|
||||
},
|
||||
{
|
||||
"idle_event": "math.random_integer(0, 2000) == 0 && !q.is_sleeping && !q.modified_move_speed > 0.1"
|
||||
},
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" }
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"baby_idle": {
|
||||
"animations": ["baby_idle"],
|
||||
"transitions": [
|
||||
{ "default": "!q.is_baby" },
|
||||
{ "baby_walk": "q.is_baby && (q.modified_move_speed > 0.02)" }
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"baby_walk": {
|
||||
"animations": ["baby_walk"],
|
||||
"transitions": [
|
||||
{ "default": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby && !(q.modified_move_speed > 0.02)" }
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"sleep": {
|
||||
"animations": ["sleep"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "default": "!q.is_sleeping" },
|
||||
{
|
||||
"fly": "!q.is_baby && ( !q.is_on_ground || q.modified_move_speed > 0.02 )"
|
||||
},
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" }
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"idle_event": {
|
||||
"animations": ["idle_event"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "default": "q.all_animations_finished" },
|
||||
{
|
||||
"fly": "!q.is_baby && ( !q.is_on_ground || q.modified_move_speed > 0.02 )"
|
||||
},
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" }
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"fly": {
|
||||
"animations": ["fly"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "default": "q.is_on_ground && q.modified_move_speed <= 0.02" }
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"sit": {
|
||||
"animations": ["sit"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "default": "!(q.is_sitting && q.is_on_ground)" }
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.peacloak.main": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"float_transition": "!q.is_on_ground && !q.is_in_water && !q.is_riding && q.is_sneaking"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"float_transition": {
|
||||
"animations": ["unfurl"],
|
||||
"transitions": [
|
||||
{ "float": "q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"float": {
|
||||
"animations": ["float"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.is_on_ground || q.is_in_water || q.is_riding || !q.is_sneaking"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.peafowl.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"idle"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"idle_event": "math.random_integer(0, 1000) == 0 && q.ground_speed < 0.15"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed >= 0.05 && !q.property('silverlabs_nat:is_panicking')"
|
||||
},
|
||||
{
|
||||
"run": "q.modified_move_speed >= 0.05 && q.property('silverlabs_nat:is_panicking')"
|
||||
},
|
||||
{ "unfurl": "q.property('silverlabs_nat:unfurl')" },
|
||||
{ "dance": "q.property('silverlabs_nat:is_dancing')" },
|
||||
{ "sit": "q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"idle_event": {
|
||||
"animations": [
|
||||
"idle_event"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "q.all_animations_finished" },
|
||||
{
|
||||
"walk": "q.modified_move_speed >= 0.05 && !q.property('silverlabs_nat:is_panicking')"
|
||||
},
|
||||
{
|
||||
"run": "q.modified_move_speed >= 0.05 && q.property('silverlabs_nat:is_panicking')"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"unfurl": {
|
||||
"animations": [
|
||||
"unfurl"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "!q.property('silverlabs_nat:unfurl')" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.property('silverlabs_nat:is_dancing') && (q.modified_move_speed < 0.05)"
|
||||
},
|
||||
{
|
||||
"run": "q.modified_move_speed >= 0.05 && q.property('silverlabs_nat:is_panicking')"
|
||||
},
|
||||
{
|
||||
"dance": "q.property('silverlabs_nat:is_dancing') && (q.modified_move_speed < 0.05)"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
"run"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.property('silverlabs_nat:is_dancing') && (q.modified_move_speed < 0.05)"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed >= 0.05 && !q.property('silverlabs_nat:is_panicking')"
|
||||
},
|
||||
{
|
||||
"dance": "q.property('silverlabs_nat:is_dancing') && (q.modified_move_speed < 0.05)"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"dance": {
|
||||
"animations": [
|
||||
"dance"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "!q.property('silverlabs_nat:is_dancing')" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
"sit"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "!q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,109 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.piranha.general": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["controller.move", "controller.attack"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.piranha.move": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{ "flop": "v.out_of_water" },
|
||||
{ "swim_fast": "q.modified_move_speed > 0.5 && q.has_target" },
|
||||
{ "swim": "q.modified_move_speed > 0.2" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim": {
|
||||
"animations": [
|
||||
{ "swim": 1.5 }
|
||||
],
|
||||
"transitions": [
|
||||
{ "flop": "v.out_of_water" },
|
||||
{ "swim_fast": "q.modified_move_speed > 0.5 && q.has_target" },
|
||||
{ "default": "q.modified_move_speed <= 0.2" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim_fast": {
|
||||
"animations": [
|
||||
{ "swim_fast": 1.0 }
|
||||
],
|
||||
"transitions": [
|
||||
{ "flop": "v.out_of_water" },
|
||||
{ "swim": "q.modified_move_speed <= 0.5 || !q.has_target" },
|
||||
{ "default": "q.modified_move_speed <= 0.2" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"flop": {
|
||||
"animations": ["flop"],
|
||||
"sound_effects": [
|
||||
{ "effect": "flop" }
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"swim_fast": "!v.out_of_water && q.modified_move_speed > 0.5 && q.has_target"
|
||||
},
|
||||
{ "swim": "!v.out_of_water && q.modified_move_speed > 0.2" },
|
||||
{ "default": "!v.out_of_water" }
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.piranha.attack": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{ "attack": "q.is_delayed_attacking" }
|
||||
]
|
||||
},
|
||||
"attack": {
|
||||
"animations": ["attack"],
|
||||
"transitions": [
|
||||
{ "default": "q.any_animation_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.piranha.var.out_of_water": {
|
||||
"states": {
|
||||
"default": {
|
||||
"on_entry": [
|
||||
"v.out_of_water = 0.0;"
|
||||
],
|
||||
"transitions": [
|
||||
{ "wait": "!q.is_in_water" }
|
||||
]
|
||||
},
|
||||
"wait": {
|
||||
"on_entry": [
|
||||
"v.wait_time = q.life_time;"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "q.is_in_water" },
|
||||
{ "out_of_water": "q.life_time >= (v.wait_time + 0.3)" }
|
||||
]
|
||||
},
|
||||
"out_of_water": {
|
||||
"on_entry": [
|
||||
"v.out_of_water = 1.0;"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "q.is_in_water" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.platypus.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"idle"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"swim": "q.is_swimming || q.is_in_water"
|
||||
},
|
||||
{
|
||||
"run": "q.modified_move_speed > 0.05 && q.is_sprinting || q.is_avoiding_mobs"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed > 0.05"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"swim": "q.is_swimming"
|
||||
},
|
||||
{
|
||||
"run": "q.modified_move_speed > 0.05 && q.is_sprinting || q.is_avoiding_mobs"
|
||||
},
|
||||
{
|
||||
"default": "q.modified_move_speed <= 0.05"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
"run"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"swim": "q.is_swimming"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed > 0.05 && !q.is_sprinting && !q.is_avoiding_mobs"
|
||||
},
|
||||
{
|
||||
"default": "q.modified_move_speed <= 0.05"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim": {
|
||||
"animations": [
|
||||
"swim"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"run": "!q.is_in_water&& q.modified_move_speed > 0.05 && q.is_sprinting || q.is_avoiding_mobs"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_in_water && q.modified_move_speed > 0.05"
|
||||
},
|
||||
{
|
||||
"default": "!q.is_in_water && q.modified_move_speed <= 0.05"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sleep": {
|
||||
"animations": [
|
||||
"sleep"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"swim": "!q.is_sleeping && q.is_swimming"
|
||||
},
|
||||
{
|
||||
"run": "!q.is_sleeping && q.modified_move_speed > 0.05 && q.is_sprinting || q.is_avoiding_mobs"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_sleeping && q.modified_move_speed > 0.05"
|
||||
},
|
||||
{
|
||||
"default": "!q.is_sleeping"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
"sit"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_sitting"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.projectile_particles": {
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{ "particle": "q.is_alive" }
|
||||
]
|
||||
},
|
||||
"particle": {
|
||||
"particle_effects": [
|
||||
{ "effect": "sprite" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "!q.is_alive" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,153 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.raccoon": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{
|
||||
"run": "v.is_sprinting && q.is_on_ground && q.property('silverlabs_nat:search_state') != 'searching_item'"
|
||||
},
|
||||
{
|
||||
"walk": "v.is_moving && q.is_on_ground && q.property('silverlabs_nat:search_state') != 'searching_item'"
|
||||
},
|
||||
{
|
||||
"search_item_on_chest": "q.property('silverlabs_nat:search_state') == 'searching_item' && (q.property('silverlabs_nat:container_type') == 'chest' || q.property('silverlabs_nat:container_type') == 'trapped_chest')"
|
||||
},
|
||||
{
|
||||
"search_item_on_barrel": "q.property('silverlabs_nat:search_state') == 'searching_item' && q.property('silverlabs_nat:container_type') == 'barrel'"
|
||||
},
|
||||
{ "sleep": "q.is_sleeping" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"walk": {
|
||||
"animations": ["walk"],
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "!v.is_moving && q.property('silverlabs_nat:search_state') != 'searching_item'"
|
||||
},
|
||||
{
|
||||
"run": "v.is_sprinting && q.is_on_ground && q.property('silverlabs_nat:search_state') != 'searching_item'"
|
||||
},
|
||||
{
|
||||
"search_item_on_chest": "q.property('silverlabs_nat:search_state') == 'searching_item' && (q.property('silverlabs_nat:container_type') == 'chest' || q.property('silverlabs_nat:container_type') == 'trapped_chest')"
|
||||
},
|
||||
{
|
||||
"search_item_on_barrel": "q.property('silverlabs_nat:search_state') == 'searching_item' && q.property('silverlabs_nat:container_type') == 'barrel'"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"run": {
|
||||
"animations": ["run"],
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "!v.is_moving && q.property('silverlabs_nat:search_state') != 'searching_item'"
|
||||
},
|
||||
{
|
||||
"walk": "!v.is_sprinting && q.is_on_ground && q.property('silverlabs_nat:search_state') != 'searching_item'"
|
||||
},
|
||||
{
|
||||
"search_item_on_chest": "q.property('silverlabs_nat:search_state') == 'searching_item' && (q.property('silverlabs_nat:container_type') == 'chest' || q.property('silverlabs_nat:container_type') == 'trapped_chest')"
|
||||
},
|
||||
{
|
||||
"search_item_on_barrel": "q.property('silverlabs_nat:search_state') == 'searching_item' && q.property('silverlabs_nat:container_type') == 'barrel'"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"search_item_on_chest": {
|
||||
"animations": ["rummage.chest"],
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "!q.is_sleeping && !v.is_moving && q.property('silverlabs_nat:search_state') != 'searching_item'"
|
||||
},
|
||||
{
|
||||
"run": "!q.is_sleeping && v.is_sprinting && q.is_on_ground && q.property('silverlabs_nat:search_state') != 'searching_item'"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_sleeping && !v.is_sprinting && q.is_on_ground && q.property('silverlabs_nat:search_state') != 'searching_item'"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"search_item_on_barrel": {
|
||||
"animations": ["rummage.barrel"],
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "!q.is_sleeping && !v.is_moving && q.property('silverlabs_nat:search_state') != 'searching_item'"
|
||||
},
|
||||
{
|
||||
"run": "!q.is_sleeping && v.is_sprinting && q.is_on_ground && q.property('silverlabs_nat:search_state') != 'searching_item'"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_sleeping && !v.is_sprinting && q.is_on_ground && q.property('silverlabs_nat:search_state') != 'searching_item'"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"sleep": {
|
||||
"animations": ["sleep"],
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "!q.is_sleeping && !v.is_moving && q.property('silverlabs_nat:search_state') != 'searching_item'"
|
||||
},
|
||||
{
|
||||
"run": "!q.is_sleeping && v.is_sprinting && q.is_on_ground && q.property('silverlabs_nat:search_state') != 'searching_item'"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_sleeping && !v.is_sprinting && q.is_on_ground && q.property('silverlabs_nat:search_state') != 'searching_item'"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"controller.animation.silverlabs_nat.raccoon.idle_event": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"on_entry": [
|
||||
"v.delay = Math.random_integer(10, 28);",
|
||||
"v.current_delay = q.life_time;"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"idle_event": "(q.life_time - v.current_delay >= v.delay) && q.modified_move_speed <= 0.1 && q.is_on_ground"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"idle_event": {
|
||||
"animations": ["idle_event"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished || q.modified_move_speed > 0.1 || !q.is_on_ground"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,214 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.rat.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"idle",
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground)"
|
||||
},
|
||||
{
|
||||
"in_hamster_wheel": "q.property('silverlabs_nat:in_hamster_wheel')"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"run": "q.modified_move_speed > 0.14"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed > 0.05"
|
||||
},
|
||||
{
|
||||
"standing": "q.is_interested"
|
||||
},
|
||||
{
|
||||
"swim": "q.property('silverlabs_nat:is_swimming')"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
"sit"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!(q.is_sitting && q.is_on_ground)"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk",
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground)"
|
||||
},
|
||||
{
|
||||
"in_hamster_wheel": "q.property('silverlabs_nat:in_hamster_wheel')"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"run": "q.modified_move_speed > 0.14"
|
||||
},
|
||||
{
|
||||
"standing": "q.modified_move_speed <= 0.05 && q.is_interested"
|
||||
},
|
||||
{
|
||||
"default": "q.modified_move_speed <= 0.05"
|
||||
},
|
||||
{
|
||||
"swim": "q.property('silverlabs_nat:is_swimming')"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim": {
|
||||
"animations": [
|
||||
"swim",
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground)"
|
||||
},
|
||||
{
|
||||
"in_hamster_wheel": "q.property('silverlabs_nat:in_hamster_wheel')"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"run": "!q.property('silverlabs_nat:is_swimming') && q.modified_move_speed > 0.14"
|
||||
},
|
||||
{
|
||||
"standing": "!q.property('silverlabs_nat:is_swimming') && q.modified_move_speed <= 0.05 && q.is_interested"
|
||||
},
|
||||
{
|
||||
"default": "!q.property('silverlabs_nat:is_swimming') && q.modified_move_speed <= 0.05"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
"run",
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground)"
|
||||
},
|
||||
{
|
||||
"in_hamster_wheel": "q.property('silverlabs_nat:in_hamster_wheel')"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"standing": "q.modified_move_speed <= 0.05 && q.is_interested"
|
||||
},
|
||||
{
|
||||
"default": "q.modified_move_speed <= 0.05"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed <= 0.14"
|
||||
},
|
||||
{
|
||||
"swim": "q.property('silverlabs_nat:is_swimming')"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"standing": {
|
||||
"animations": [
|
||||
"standing",
|
||||
"look_at_target"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground)"
|
||||
},
|
||||
{
|
||||
"in_hamster_wheel": "q.property('silverlabs_nat:in_hamster_wheel')"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"run": "q.modified_move_speed > 0.14"
|
||||
},
|
||||
{
|
||||
"walk": "q.modified_move_speed > 0.05"
|
||||
},
|
||||
{
|
||||
"default": "!q.is_interested"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sleep": {
|
||||
"animations": [
|
||||
"sleep"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sit": "(q.is_sitting && q.is_on_ground)"
|
||||
},
|
||||
{
|
||||
"in_hamster_wheel": "q.property('silverlabs_nat:in_hamster_wheel')"
|
||||
},
|
||||
{
|
||||
"run": "!q.is_sleeping && q.modified_move_speed > 0.14"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_sleeping && q.modified_move_speed > 0.05"
|
||||
},
|
||||
{
|
||||
"standing": "!q.is_sleeping && q.is_interested"
|
||||
},
|
||||
{
|
||||
"default": "!q.is_sleeping"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"in_hamster_wheel": {
|
||||
"animations": [
|
||||
"run",
|
||||
"cardinal_orientation"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sleep": "!q.property('silverlabs_nat:in_hamster_wheel') && q.is_sleeping"
|
||||
},
|
||||
{
|
||||
"run": "!q.property('silverlabs_nat:in_hamster_wheel') && q.modified_move_speed > 0.14"
|
||||
},
|
||||
{
|
||||
"walk": "!q.property('silverlabs_nat:in_hamster_wheel') && q.modified_move_speed > 0.05"
|
||||
},
|
||||
{
|
||||
"standing": "!q.property('silverlabs_nat:in_hamster_wheel') && q.is_interested"
|
||||
},
|
||||
{
|
||||
"default": "!q.property('silverlabs_nat:in_hamster_wheel')"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.ray.main": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": [
|
||||
"idle"
|
||||
],
|
||||
"transitions": [
|
||||
{ "hide": "(v.is_hiding ?? 0)" },
|
||||
{ "swim": "(q.modified_move_speed > 0.01)" },
|
||||
{ "on_land": "!q.is_on_ground && !q.is_in_water" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"on_land": {
|
||||
"transitions": [
|
||||
{ "idle": "q.is_in_water || (q.modified_move_speed > 0.01)" },
|
||||
{ "swim": "q.is_in_water || (q.modified_move_speed > 0.01)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim": {
|
||||
"animations": [
|
||||
"swim"
|
||||
],
|
||||
"transitions": [
|
||||
{ "hide": "(v.is_hiding ?? 0)" },
|
||||
{ "idle": "!(q.modified_move_speed > 0.01)" },
|
||||
{ "on_land": "!q.is_on_ground && !q.is_in_water" },
|
||||
{
|
||||
"swim_b": "q.any_animation_finished && (math.random_integer(0, 4) == 0)"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim_b": {
|
||||
"animations": [
|
||||
"swim_b"
|
||||
],
|
||||
"transitions": [
|
||||
{ "hide": "(v.is_hiding ?? 0)" },
|
||||
{ "idle": "!(q.modified_move_speed > 0.01)" },
|
||||
{ "on_land": "!q.is_on_ground && !q.is_in_water" },
|
||||
{ "swim": "q.any_animation_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"hide": {
|
||||
"animations": [
|
||||
"hide"
|
||||
],
|
||||
"transitions": [
|
||||
{ "idle": "!(v.is_hiding ?? 0)" },
|
||||
{ "on_land": "!q.is_on_ground && !q.is_in_water" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.ray.dust": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"on_entry": [
|
||||
"v.dig = (v.is_hiding ?? 0);"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"dig_up": "(v.dig ?? 0) != (v.is_hiding ?? 0) && !(v.is_hiding ?? 0)"
|
||||
},
|
||||
{
|
||||
"dig_down": "(v.dig ?? 0) != (v.is_hiding ?? 0) && (v.is_hiding ?? 0)"
|
||||
}
|
||||
]
|
||||
},
|
||||
"dig_up": {
|
||||
"particle_effects": [
|
||||
{
|
||||
"effect": "dust",
|
||||
"locator": "dust",
|
||||
"pre_effect_script": "v.direction = 1;"
|
||||
}
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "1" }
|
||||
]
|
||||
},
|
||||
"dig_down": {
|
||||
"particle_effects": [
|
||||
{
|
||||
"effect": "dust",
|
||||
"locator": "dust",
|
||||
"pre_effect_script": "v.direction = -1;"
|
||||
}
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "1" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.red_panda.move": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"idle"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"run": "v.is_sprinting"
|
||||
},
|
||||
{
|
||||
"walk": "v.is_moving"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!v.is_moving"
|
||||
},
|
||||
{
|
||||
"run": "v.is_sprinting"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
"run"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!v.is_moving"
|
||||
},
|
||||
{
|
||||
"walk": "!v.is_sprinting"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
"sit"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_sitting"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.red_panda.sleep_stand": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"blend_transition": 0.7,
|
||||
"transitions": [
|
||||
{
|
||||
"stand": "!q.is_sitting && q.property('silverlabs_nat:red_panda_standing')"
|
||||
},
|
||||
{
|
||||
"sleep": "!q.is_sitting && q.property('silverlabs_nat:red_panda_sleep')"
|
||||
}
|
||||
]
|
||||
},
|
||||
"stand": {
|
||||
"blend_transition": 0.2,
|
||||
"animations": [
|
||||
"standing"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"sleep": "!q.property('silverlabs_nat:red_panda_standing')"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sleep": {
|
||||
"animations": [
|
||||
"sleep"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"jolted_awake": "q.is_sitting || q.property('silverlabs_nat:red_panda_jolt_awake')"
|
||||
},
|
||||
{
|
||||
"wake_up": "!q.property('silverlabs_nat:red_panda_sleep')"
|
||||
}
|
||||
]
|
||||
},
|
||||
"wake_up": {
|
||||
"animations": [
|
||||
"sleep"
|
||||
],
|
||||
"blend_transition": 1.0,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"jolted_awake": {
|
||||
"animations": [
|
||||
"sleep"
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "1"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.rhino.move": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["idle", "look_at_target"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"run": "q.is_casting && v.is_moving"
|
||||
},
|
||||
{
|
||||
"walk": "v.is_moving"
|
||||
},
|
||||
{
|
||||
"stunned": "q.is_stunned"
|
||||
}
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": ["walk", "look_at_target"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!v.is_moving"
|
||||
},
|
||||
{
|
||||
"run": "q.is_casting"
|
||||
},
|
||||
{
|
||||
"stunned": "q.is_stunned"
|
||||
}
|
||||
]
|
||||
},
|
||||
"run": {
|
||||
"animations": ["run"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!v.is_moving"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_casting"
|
||||
},
|
||||
{
|
||||
"stunned": "q.is_stunned"
|
||||
}
|
||||
]
|
||||
},
|
||||
"stunned": {
|
||||
"animations": ["stunned"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_stunned"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.rhino.charge": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"prepare": "q.is_casting && !v.is_moving"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"prepare": {
|
||||
"animations": ["foot"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_casting || v.is_moving"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.rhino.attack": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"prepare": "v.attack_time > 0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"prepare": {
|
||||
"animations": ["attack"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!(v.attack_time > 0)"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.scorpion": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{
|
||||
"run": "q.is_on_ground && q.modified_move_speed > 0.1 && q.has_target"
|
||||
},
|
||||
{
|
||||
"walk": "q.is_on_ground && q.modified_move_speed > 0.1 && !q.has_target"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"walk": {
|
||||
"animations": ["walk"],
|
||||
"transitions": [
|
||||
{ "idle": "q.modified_move_speed <= 0.1" },
|
||||
{
|
||||
"run": "q.is_on_ground && q.modified_move_speed > 0.1 && q.has_target"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"run": {
|
||||
"animations": ["run"],
|
||||
"transitions": [
|
||||
{ "idle": "q.modified_move_speed <= 0.1" },
|
||||
{
|
||||
"walk": "q.is_on_ground && q.modified_move_speed > 0.1 && !q.has_target"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"controller.animation.silverlabs_nat.scorpion.attack": {
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{ "attack": "q.is_delayed_attacking" }
|
||||
]
|
||||
},
|
||||
|
||||
"attack": {
|
||||
"animations": ["attack"],
|
||||
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_delayed_attacking && q.all_animations_finished"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.seal.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "swim": "q.is_in_water" },
|
||||
{ "walk": "q.modified_move_speed > 0.05" },
|
||||
{ "sleep": "q.is_sleeping && !q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
{ "walk": "!q.is_baby" },
|
||||
{ "baby_walk": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "swim": "q.is_in_water" },
|
||||
{ "default": "q.modified_move_speed <= 0.05" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim": {
|
||||
"animations": [
|
||||
{ "swim": "!q.is_baby && q.modified_move_speed > 0.05" },
|
||||
{ "baby_swim": "q.is_baby && q.modified_move_speed > 0.05" },
|
||||
{ "baby_swim_idle": "q.is_baby && q.modified_move_speed <= 0.05" },
|
||||
{ "baby_tilt": "q.is_baby && q.modified_move_speed > 0.05" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "walk": "!q.is_in_water && q.modified_move_speed > 0.05" },
|
||||
{ "default": "!q.is_in_water" }
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"sleep": {
|
||||
"animations": [
|
||||
"sleep"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "!q.is_sleeping" }
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.shark": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{ "flop_wait": "!q.is_in_water && q.is_on_ground" },
|
||||
{
|
||||
"swim": "q.is_in_water && q.modified_move_speed > 0.1 && !q.has_target"
|
||||
},
|
||||
{
|
||||
"swim_fast": "q.is_in_water && q.modified_move_speed > 0.1 && q.has_target"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"swim": {
|
||||
"animations": ["swim"],
|
||||
"transitions": [
|
||||
{ "flop_wait": "!q.is_in_water && q.is_on_ground" },
|
||||
{
|
||||
"swim_fast": "q.is_in_water && q.modified_move_speed > 0.1 && q.has_target"
|
||||
},
|
||||
{ "idle": "q.is_in_water && q.modified_move_speed <= 0.1" }
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"swim_fast": {
|
||||
"animations": ["swim_fast"],
|
||||
"transitions": [
|
||||
{ "flop_wait": "!q.is_in_water" },
|
||||
{
|
||||
"swim": "q.is_in_water && q.modified_move_speed > 0.1 && !q.has_target"
|
||||
},
|
||||
{ "idle": "q.is_in_water && q.modified_move_speed <= 0.1" }
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"flop_wait": {
|
||||
"on_entry": ["v.wait_time = q.life_time;"],
|
||||
"transitions": [
|
||||
{ "idle": "q.is_in_water" },
|
||||
{
|
||||
"flop": "q.life_time >= (v.wait_time + 0.05) && q.is_on_ground"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"flop": {
|
||||
"animations": ["flop"],
|
||||
"transitions": [
|
||||
{ "idle": "q.is_in_water && q.modified_move_speed <= 0.1" },
|
||||
{ "swim": "q.is_in_water && q.modified_move_speed > 0.1" }
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"controller.animation.silverlabs_nat.shark.attack": {
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{ "attack": "q.is_delayed_attacking" }
|
||||
]
|
||||
},
|
||||
|
||||
"attack": {
|
||||
"animations": ["attack"],
|
||||
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_delayed_attacking && q.all_animations_finished"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.skunk": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"idle_event": "!q.is_baby && math.random_integer(0, 1000) == 0 && q.modified_move_speed < 0.15"
|
||||
},
|
||||
{ "walk": "q.modified_move_speed >= 0.15 && !q.is_avoiding_mobs" },
|
||||
{ "run": "q.modified_move_speed > 0.4" },
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "spray": "q.property('silverlabs_nat:is_spraying') == true" },
|
||||
{ "sleeping": "q.is_sleeping" },
|
||||
{ "attacking": "v.attack_time > 0" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"idle_event": {
|
||||
"animations": [
|
||||
{ "idle_event": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "idle": "q.all_animations_finished" },
|
||||
{ "walk": "q.modified_move_speed >= 0.14" },
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "attacking": "v.attack_time > 0" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
{ "walk": "!q.is_baby" },
|
||||
{ "baby_walk": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "idle": "q.modified_move_speed < 0.15" },
|
||||
{ "run": "q.modified_move_speed > 0.4" },
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "attacking": "v.attack_time > 0" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
{ "run": "!q.is_baby" },
|
||||
{ "baby_run": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "idle": "q.modified_move_speed < 0.2" },
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "attacking": "v.attack_time > 0" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
{ "sit": "!q.is_baby" },
|
||||
{ "baby_sit": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "idle": "!q.is_sitting" },
|
||||
{ "sit_idle": "q.is_baby && q.any_animation_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit_idle": {
|
||||
"animations": [
|
||||
"baby_sit_idle"
|
||||
],
|
||||
"transitions": [
|
||||
{ "unsit": "!q.is_sitting" },
|
||||
{ "sit": "!q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"unsit": {
|
||||
"animations": [
|
||||
"baby_unsit"
|
||||
],
|
||||
"transitions": [
|
||||
{ "idle": "q.any_animation_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"spray": {
|
||||
"animations": [
|
||||
{ "spray": "!q.is_baby" },
|
||||
{ "baby_spray": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "idle": "q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sleeping": {
|
||||
"animations": [
|
||||
{ "sleep": "!q.is_baby" },
|
||||
{ "baby_sleep": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "idle": "!q.is_sleeping" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"attacking": {
|
||||
"on_entry": [
|
||||
"v.random_attack = math.random_integer(0, 1);"
|
||||
],
|
||||
"animations": [
|
||||
{ "attack_1": "v.random_attack == 0" },
|
||||
{ "attack_2": "v.random_attack == 1" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "idle": "v.attack_time == 0" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.sloth.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["idle"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"walk": "q.modified_move_speed > 0.01 && !q.is_in_water"
|
||||
},
|
||||
{
|
||||
"hang": "q.property('silverlabs_nat:hanging') == true"
|
||||
},
|
||||
{
|
||||
"sit": "q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.modified_move_speed <= 0.01 || q.is_in_water"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"hang": {
|
||||
"animations": [
|
||||
"hang"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.property('silverlabs_nat:hanging') == false"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
"sit"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_sitting"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.slug": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": [
|
||||
"idle"
|
||||
],
|
||||
|
||||
"transitions": [
|
||||
{ "crawl": "q.ground_speed > 0" },
|
||||
{ "climb": "q.is_wall_climbing" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
|
||||
"crawl": {
|
||||
"animations": [
|
||||
"crawl"
|
||||
],
|
||||
|
||||
"transitions": [
|
||||
{ "climb": "q.is_wall_climbing" },
|
||||
{ "idle": "q.ground_speed <= 0" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
|
||||
"climb": {
|
||||
"animations": [
|
||||
"climb",
|
||||
"crawl"
|
||||
],
|
||||
|
||||
"transitions": [
|
||||
{ "crawl": "q.ground_speed > 0 && !q.is_wall_climbing" },
|
||||
{ "idle": "!q.is_wall_climbing" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.small_jellyfish.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{ "swim": "q.is_swimming" },
|
||||
{
|
||||
"idle_event": "math.random_integer(0, 2000) == 0 && !q.is_swimming"
|
||||
}
|
||||
]
|
||||
},
|
||||
"swim": {
|
||||
"animations": ["swim"],
|
||||
"transitions": [{ "default": "q.all_animations_finished" }],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"idle_event": {
|
||||
"animations": ["idle_event"],
|
||||
"transitions": [{ "default": "q.all_animations_finished" }],
|
||||
"blend_transition": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.snail.general": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"move": "q.ground_speed > 0"
|
||||
},
|
||||
{
|
||||
"retreat": "q.is_avoiding_mobs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"move": {
|
||||
"animations": ["move"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.ground_speed <= 0"
|
||||
},
|
||||
{
|
||||
"retreat": "q.is_avoiding_mobs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"retreat": {
|
||||
"animations": ["retreat"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_avoiding_mobs"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.snake.general": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["look_at_target"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"climb": "q.is_wall_climbing"
|
||||
},
|
||||
{
|
||||
"move": "q.modified_move_speed > 0.01"
|
||||
},
|
||||
{
|
||||
"sleeping": "q.is_sleeping || q.is_sitting"
|
||||
}
|
||||
]
|
||||
},
|
||||
"climb": {
|
||||
"animations": [
|
||||
"climb",
|
||||
"move",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"move": "(q.modified_move_speed > 0.1) && !q.is_wall_climbing"
|
||||
},
|
||||
{
|
||||
"sleeping": "q.is_sleeping || q.is_sitting"
|
||||
},
|
||||
{
|
||||
"default": "!q.is_wall_climbing"
|
||||
}
|
||||
]
|
||||
},
|
||||
"move": {
|
||||
"animations": [
|
||||
"move",
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"climb": "q.is_wall_climbing"
|
||||
},
|
||||
{
|
||||
"sleeping": "q.is_sleeping || q.is_sitting"
|
||||
},
|
||||
{
|
||||
"default": "q.modified_move_speed <= 0.01"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sleeping": {
|
||||
"animations": ["sleep"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!(q.is_sleeping || q.is_sitting)"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.snake.bite": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"attack": "v.attack_time > 0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"attack": {
|
||||
"animations": ["attack"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "v.attack_time <= 0 && q.all_animations_finished"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.snake.ambient": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"on_entry": [
|
||||
"v.next_tongue = math.random_integer(0, 50);",
|
||||
"v.last_tongue = q.life_time;"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"tongue": "q.life_time >= ((v.next_tongue ?? 0) + (v.last_tongue ?? 0)) && !q.is_sleeping"
|
||||
}
|
||||
]
|
||||
},
|
||||
"tongue": {
|
||||
"animations": ["tongue"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished || q.is_sleeping"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.squirrel": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{ "sleeping_selector": "q.is_sleeping && !q.is_riding" },
|
||||
{
|
||||
"run": "q.is_on_ground && q.modified_move_speed > 0.1 && !q.is_sleeping && !q.is_riding"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"run": {
|
||||
"animations": ["run"],
|
||||
"transitions": [
|
||||
{ "sleeping_selector": "q.is_sleeping" },
|
||||
{ "idle": "q.modified_move_speed <= 0.1 && !q.is_sleeping" }
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"sleeping_selector": {
|
||||
"on_entry": ["v.sleep_type = Math.random_integer(0, 100);"],
|
||||
"transitions": [
|
||||
{ "idle": "q.modified_move_speed <= 0.1 && !q.is_sleeping" },
|
||||
{
|
||||
"run": "q.is_on_ground && q.modified_move_speed > 0.1 && !q.is_sleeping"
|
||||
},
|
||||
{ "sleep_0": "v.sleep_type > 20" },
|
||||
{ "sleep_1": "v.sleep_type <= 20" }
|
||||
],
|
||||
|
||||
"blend_transition": 0.4
|
||||
},
|
||||
|
||||
"sleep_0": {
|
||||
"animations": ["sleep_0"],
|
||||
"transitions": [
|
||||
{ "idle": "q.modified_move_speed <= 0.1 && !q.is_sleeping" },
|
||||
{ "run": "q.modified_move_speed > 0.1 && !q.is_sleeping" }
|
||||
],
|
||||
|
||||
"blend_transition": 0.4
|
||||
},
|
||||
|
||||
"sleep_1": {
|
||||
"animations": ["sleep_1"],
|
||||
"transitions": [
|
||||
{ "idle": "q.modified_move_speed <= 0.1 && !q.is_sleeping" },
|
||||
{ "run": "q.modified_move_speed > 0.1 && !q.is_sleeping" }
|
||||
],
|
||||
|
||||
"blend_transition": 0.4
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"controller.animation.silverlabs_nat.squirrel.idle_event": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"on_entry": [
|
||||
"v.delay = Math.random_integer(10, 28);",
|
||||
"v.current_delay = q.life_time;"
|
||||
],
|
||||
|
||||
"transitions": [
|
||||
{
|
||||
"idle_event": "(q.life_time - v.current_delay >= v.delay) && q.modified_move_speed <= 0.1 && q.is_on_ground && !q.is_riding"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"idle_event": {
|
||||
"animations": ["idle_event"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished || q.modified_move_speed > 0.1 || !q.is_on_ground"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.starfish.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"moving": "q.modified_move_speed > 0.001"
|
||||
},
|
||||
{
|
||||
"idle_event": "math.random_integer(0, 100) == 0 && q.modified_move_speed < 0.001"
|
||||
}
|
||||
]
|
||||
},
|
||||
"moving": {
|
||||
"animations": [
|
||||
"walk"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.modified_move_speed < 0.001"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"idle_event": {
|
||||
"on_entry": [
|
||||
"v.choose_event = math.random_integer(1,5);"
|
||||
],
|
||||
"animations": [
|
||||
{
|
||||
"idle_event_1": "v.choose_event == 1"
|
||||
},
|
||||
{
|
||||
"idle_event_2": "v.choose_event == 2"
|
||||
},
|
||||
{
|
||||
"idle_event_3": "v.choose_event == 3"
|
||||
},
|
||||
{
|
||||
"idle_event_4": "v.choose_event == 4"
|
||||
},
|
||||
{
|
||||
"idle_event_5": "v.choose_event == 5"
|
||||
}
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.any_animation_finished"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.termite": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{ "run": "v.is_sprinting && q.is_on_ground" },
|
||||
{ "walk": "v.is_moving && q.is_on_ground" },
|
||||
{ "chewing": "v.is_chewing" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"walk": {
|
||||
"animations": ["walk"],
|
||||
"transitions": [
|
||||
{ "idle": "!v.is_moving" },
|
||||
{ "run": "v.is_sprinting && q.is_on_ground" },
|
||||
{ "chewing": "v.is_chewing" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"run": {
|
||||
"animations": ["run"],
|
||||
"transitions": [
|
||||
{ "idle": "!v.is_moving" },
|
||||
{ "walk": "!v.is_sprinting && q.is_on_ground" },
|
||||
{ "chewing": "v.is_chewing" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"chewing": {
|
||||
"animations": ["chewing"],
|
||||
"transitions": [
|
||||
{ "idle": "!v.is_moving && !v.is_chewing" },
|
||||
{ "run": "v.is_sprinting && q.is_on_ground && !v.is_chewing" },
|
||||
{ "walk": "v.is_moving && q.is_on_ground && !v.is_chewing" }
|
||||
],
|
||||
|
||||
"blend_via_shortest_path": true,
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.tiger.move": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.35,
|
||||
"transitions": [
|
||||
{ "prey": "v.is_moving && q.is_sneaking && q.is_on_ground" },
|
||||
{ "run": "v.is_sprinting || q.is_sprinting" },
|
||||
{ "walk": "v.is_moving" },
|
||||
{ "sleeping": "q.is_sleeping" }
|
||||
]
|
||||
},
|
||||
"prey": {
|
||||
"animations": ["prey", "look_at_target"],
|
||||
"blend_transition": 0.35,
|
||||
"transitions": [
|
||||
{ "default": "!v.is_moving" },
|
||||
{ "run": "v.is_sprinting || q.is_sprinting" },
|
||||
{ "walk": "v.is_moving && !(q.is_sneaking && q.is_on_ground)" },
|
||||
{ "sleeping": "q.is_sleeping" }
|
||||
]
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
{ "walk": "!q.is_baby" },
|
||||
{ "baby_walk": "q.is_baby" },
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.35,
|
||||
"transitions": [
|
||||
{ "default": "!v.is_moving" },
|
||||
{ "prey": "v.is_moving && q.is_sneaking && q.is_on_ground" },
|
||||
{ "run": "v.is_sprinting || q.is_sprinting" },
|
||||
{ "sleeping": "q.is_sleeping" }
|
||||
]
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
{ "run": "!q.is_baby" },
|
||||
{ "baby_run": "q.is_baby" },
|
||||
"look_at_target"
|
||||
],
|
||||
"blend_transition": 0.25,
|
||||
"transitions": [
|
||||
{ "default": "!v.is_moving" },
|
||||
{ "prey": "v.is_moving && q.is_sneaking && q.is_on_ground" },
|
||||
{ "walk": "!(v.is_sprinting || q.is_sprinting)" }
|
||||
]
|
||||
},
|
||||
"sleeping": {
|
||||
"animations": [
|
||||
{ "baby_sleep": "q.is_baby" },
|
||||
{ "sleep": "!q.is_baby && q.property('silverlabs_nat:sleep')" },
|
||||
{ "sleep2": "!q.is_baby && !q.property('silverlabs_nat:sleep')" }
|
||||
],
|
||||
"transitions": [{ "default": "!q.is_sleeping" }],
|
||||
"blend_transition": 0.35
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.tiger.attack": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": { "transitions": [{ "attack": "v.attack_time > 0" }] },
|
||||
"attack": {
|
||||
"animations": ["swing"],
|
||||
"transitions": [
|
||||
{ "default": "v.attack_time <= 0 && q.all_animations_finished" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.tortoise.main": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "walk": "q.modified_move_speed > 0.02" },
|
||||
{ "run": "q.is_baby && v.is_sprinting" },
|
||||
{ "hide": "q.is_avoiding_mobs && !q.is_interested && !q.is_baby" },
|
||||
{ "dig": "q.is_laying_egg" },
|
||||
{ "sit": "q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.25
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
{ "walk": "!q.is_baby" },
|
||||
{ "baby_walk": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"hide": "q.modified_move_speed < 0.02 && q.is_avoiding_mobs && !q.is_interested && !q.is_baby"
|
||||
},
|
||||
{ "default": "q.modified_move_speed < 0.02" },
|
||||
{ "run": "q.is_baby && v.is_sprinting" }
|
||||
],
|
||||
"blend_transition": 0.25
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
{ "baby_run": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"hide": "q.modified_move_speed < 0.02 && q.is_avoiding_mobs && !q.is_interested && !q.is_baby"
|
||||
},
|
||||
{ "walk": "!v.is_sprinting" },
|
||||
{ "default": "q.modified_move_speed < 0.02" },
|
||||
{ "sit": "q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.25
|
||||
},
|
||||
"hide": {
|
||||
"animations": [
|
||||
"hide"
|
||||
],
|
||||
"transitions": [
|
||||
{ "walk": "!q.is_avoiding_mobs && q.modified_move_speed >= 0.02" },
|
||||
{ "run": "q.is_baby && v.is_sprinting" },
|
||||
{ "default": "!q.is_avoiding_mobs || q.is_interested || q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.25
|
||||
},
|
||||
"dig": {
|
||||
"animations": [
|
||||
"dig"
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "!q.is_laying_egg" }
|
||||
],
|
||||
"blend_transition": 0.25
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
{ "sit": "!q.is_baby" },
|
||||
{ "baby_sit": "q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.25,
|
||||
"transitions": [
|
||||
{
|
||||
"sit_loop": "q.is_baby && q.is_sitting && q.state_time >= 0.625"
|
||||
},
|
||||
{ "unsit": "q.is_baby && !q.is_sitting" },
|
||||
{
|
||||
"walk": "!q.is_baby && !q.is_avoiding_mobs && q.modified_move_speed > 0.02"
|
||||
},
|
||||
{ "default": "!q.is_sitting" }
|
||||
]
|
||||
},
|
||||
"sit_loop": {
|
||||
"animations": [
|
||||
"baby_sit_idle"
|
||||
],
|
||||
"blend_transition": 0,
|
||||
"transitions": [
|
||||
{ "unsit": "!q.is_sitting" }
|
||||
]
|
||||
},
|
||||
"unsit": {
|
||||
"animations": [
|
||||
"baby_unsit"
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"blend_via_shortest_path": true,
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished && q.modified_move_speed < 0.02"
|
||||
},
|
||||
{
|
||||
"walk": "q.all_animations_finished && q.modified_move_speed >= 0.02 && !v.is_sprinting"
|
||||
},
|
||||
{ "run": "q.all_animations_finished && v.is_sprinting" }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.tortoise.look_at_target": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["look_at_target"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.tortoise.baby_look_at_target": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["baby_look_at_target"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.toucan.main": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground) && !q.is_riding" },
|
||||
{ "walk": "(q.modified_move_speed > 0.1) && !q.is_riding" },
|
||||
{ "fly": "!q.is_on_ground && !q.is_riding && !q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"baby_idle": {
|
||||
"animations": ["baby_idle"],
|
||||
"transitions": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{
|
||||
"baby_idle_event": "math.random_integer(0, 300) == 0 && !q.is_riding"
|
||||
},
|
||||
{ "baby_walk": "q.is_baby && (q.modified_move_speed > 0.02)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"baby_walk": {
|
||||
"animations": ["baby_walk"],
|
||||
"transitions": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby && !(q.modified_move_speed > 0.02)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"baby_idle_event": {
|
||||
"animations": ["baby_idle_event"],
|
||||
"transitions": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_walk": "q.is_baby && (q.modified_move_speed > 0.02)" },
|
||||
{ "baby_idle": "q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": ["walk"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{ "idle": "!(q.modified_move_speed > 0.1)" },
|
||||
{ "fly": "!q.is_on_ground && !q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"fly": {
|
||||
"animations": ["fly"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "sit": "(q.is_sitting && q.is_on_ground)" },
|
||||
{ "idle": "q.is_on_ground && !(q.modified_move_speed > 0.1)" },
|
||||
{ "walk": "q.is_on_ground && (q.modified_move_speed > 0.1)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sit": {
|
||||
"animations": ["sit"],
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "idle": "!(q.is_sitting && q.is_on_ground)" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.tree_frog.main": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{
|
||||
"walk": "(q.modified_move_speed > 0.01) || (q.is_wall_climbing && (q.vertical_speed != 0))"
|
||||
},
|
||||
{
|
||||
"swim": "q.is_in_water"
|
||||
},
|
||||
{ "jump": "!q.is_on_ground" },
|
||||
{
|
||||
"eat": "q.is_eating_mob"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"eat": {
|
||||
"animations": ["eat"],
|
||||
"transitions": [
|
||||
{ "idle": "q.all_animations_finished" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": ["walk"],
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "!(q.modified_move_speed > 0.01) && !(q.is_wall_climbing && (q.vertical_speed != 0)) && !q.is_in_water"
|
||||
},
|
||||
{
|
||||
"jump": "!q.is_on_ground && !q.is_in_water && !(q.is_wall_climbing && (q.vertical_speed != 0))"
|
||||
},
|
||||
{
|
||||
"swim": "q.is_in_water"
|
||||
},
|
||||
{
|
||||
"eat": "q.is_eating_mob"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim": {
|
||||
"animations": ["swim"],
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "!(q.modified_move_speed > 0.01) && !(q.is_wall_climbing && (q.vertical_speed != 0)) && !q.is_in_water"
|
||||
},
|
||||
{
|
||||
"jump": "!q.is_on_ground && !q.is_in_water && !(q.is_wall_climbing && (q.vertical_speed != 0))"
|
||||
},
|
||||
{
|
||||
"walk": "(q.is_on_ground || (q.is_wall_climbing && (q.vertical_speed != 0))) && (q.modified_move_speed > 0.01)"
|
||||
},
|
||||
{
|
||||
"eat": "q.is_eating_mob"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"jump": {
|
||||
"animations": ["jump"],
|
||||
"transitions": [
|
||||
{
|
||||
"idle": "(q.is_on_ground) && !(q.modified_move_speed > 0.01) && !q.is_in_water"
|
||||
},
|
||||
{
|
||||
"walk": "(q.is_on_ground || (q.is_wall_climbing && (q.vertical_speed != 0))) && (q.modified_move_speed > 0.01)"
|
||||
},
|
||||
{
|
||||
"swim": "q.is_in_water"
|
||||
},
|
||||
{
|
||||
"eat": "q.is_eating_mob"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.tree_frog.croak": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{ "croak": "Math.random_integer(0,500) == 0" }
|
||||
]
|
||||
},
|
||||
"croak": {
|
||||
"animations": ["croak"],
|
||||
"transitions": [{ "default": "q.all_animations_finished" }]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.tree_frog.climb": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"climb": "(q.is_wall_climbing && (q.vertical_speed != 0))"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"climb": {
|
||||
"animations": ["climb"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!(q.is_wall_climbing && (q.vertical_speed != 0))"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.turkey.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"idle"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"walk": "q.ground_speed > 0.14"
|
||||
},
|
||||
{
|
||||
"picking_on_ground": "q.is_eating_mob"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"blend_via_shortest_path": true
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.ground_speed < 0.15"
|
||||
},
|
||||
{
|
||||
"picking_on_ground": "q.is_eating_mob"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"blend_via_shortest_path": true
|
||||
},
|
||||
"picking_on_ground": {
|
||||
"animations": [
|
||||
"picking_on_ground"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2,
|
||||
"blend_via_shortest_path": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,117 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.vulture.move": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": ["idle"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "sit": "q.is_sitting && !q.is_baby" },
|
||||
{ "fly": "!q.is_on_ground && !q.is_riding && !q.is_baby" },
|
||||
{
|
||||
"glide": "q.modified_move_speed >= 0.1 && q.is_on_ground && !q.is_baby"
|
||||
}
|
||||
]
|
||||
},
|
||||
"baby_idle": {
|
||||
"animations": ["baby_idle"],
|
||||
"transitions": [
|
||||
{ "default": "!q.is_baby" },
|
||||
{
|
||||
"baby_walk": "q.is_baby && (q.modified_move_speed > 0.02) && !q.is_avoiding_mobs"
|
||||
},
|
||||
{ "baby_run": "q.is_baby && q.is_avoiding_mobs" },
|
||||
{ "sit": "q.is_baby && q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"baby_walk": {
|
||||
"animations": ["baby_walk"],
|
||||
"transitions": [
|
||||
{ "default": "!q.is_baby" },
|
||||
{
|
||||
"baby_idle": "q.is_baby && !(q.modified_move_speed > 0.02) && !q.is_avoiding_mobs"
|
||||
},
|
||||
{ "baby_run": "q.is_baby && q.is_avoiding_mobs" },
|
||||
{ "sit": "q.is_baby && q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"baby_run": {
|
||||
"animations": ["baby_run"],
|
||||
"transitions": [
|
||||
{ "default": "!q.is_baby" },
|
||||
{
|
||||
"baby_idle": "q.is_baby && !(q.modified_move_speed > 0.02) && !q.is_avoiding_mobs"
|
||||
},
|
||||
{
|
||||
"baby_walk": "q.is_baby && (q.modified_move_speed > 0.02) && !q.is_avoiding_mobs"
|
||||
},
|
||||
{ "sit": "q.is_baby && q.is_sitting" }
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"fly": {
|
||||
"animations": ["fly"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "glide": "q.modified_move_speed >= 0.1 && q.is_on_ground" },
|
||||
{ "default": "q.is_on_ground || q.is_riding" }
|
||||
]
|
||||
},
|
||||
"glide": {
|
||||
"animations": ["glide"],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "baby_idle": "q.is_baby" },
|
||||
{ "sit": "q.is_sitting" },
|
||||
{ "fly": "!q.is_on_ground && !q.is_riding && !q.is_baby" },
|
||||
{ "default": "!(q.modified_move_speed >= 0.1 && q.is_on_ground)" }
|
||||
]
|
||||
},
|
||||
"sit": {
|
||||
"animations": [
|
||||
{ "sit": "!q.is_baby" },
|
||||
{ "baby_sit": "q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.5,
|
||||
"transitions": [
|
||||
{ "sit_loop": "q.is_sitting && q.state_time >= 0.5" },
|
||||
{ "unsit": "q.is_baby && !q.is_sitting" },
|
||||
{ "default": "!q.is_baby && !q.is_sitting" },
|
||||
{ "fly": "!q.is_sitting && !q.is_on_ground && !q.is_baby" }
|
||||
]
|
||||
},
|
||||
"sit_loop": {
|
||||
"animations": [
|
||||
{ "sit": "!q.is_baby" },
|
||||
{ "baby_sit_idle": "q.is_baby" }
|
||||
],
|
||||
"blend_transition": 0.1,
|
||||
"transitions": [
|
||||
{ "unsit": "q.is_baby && !q.is_sitting" },
|
||||
{ "default": "!q.is_baby && !q.is_sitting" }
|
||||
]
|
||||
},
|
||||
"unsit": {
|
||||
"animations": ["baby_unsit"],
|
||||
"blend_transition": 0.2,
|
||||
"transitions": [
|
||||
{
|
||||
"baby_idle": "q.all_animations_finished && q.modified_move_speed <= 0.02"
|
||||
},
|
||||
{
|
||||
"baby_walk": "q.all_animations_finished && q.modified_move_speed > 0.02 && !q.is_avoiding_mobs"
|
||||
},
|
||||
{ "baby_run": "q.all_animations_finished && q.is_avoiding_mobs" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.walrus.attack": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"attack": "v.attack_time > 0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"attack": {
|
||||
"animations": [
|
||||
"attack"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.any_animation_finished"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.walrus.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
"idle"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"swim": "q.is_in_water && q.modified_move_speed >= 0.05"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_in_water && !q.has_target && q.modified_move_speed >= 0.05"
|
||||
},
|
||||
{
|
||||
"run": "!q.is_in_water && q.has_target && q.modified_move_speed >= 0.05"
|
||||
},
|
||||
{
|
||||
"sleep": "q.is_sleeping"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
"walk"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.modified_move_speed < 0.05"
|
||||
},
|
||||
{
|
||||
"run": "q.is_interested"
|
||||
},
|
||||
{
|
||||
"swim": "q.is_in_water"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"swim": {
|
||||
"animations": [
|
||||
"swim"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.modified_move_speed < 0.05"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_in_water"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
"run"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.modified_move_speed < 0.05"
|
||||
},
|
||||
{
|
||||
"walk": "!q.is_interested"
|
||||
},
|
||||
{
|
||||
"swim": "q.is_in_water"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"sleep": {
|
||||
"animations": [
|
||||
"sleep"
|
||||
],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "!q.is_sleeping"
|
||||
}
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.whale": {
|
||||
"initial_state": "idle",
|
||||
"states": {
|
||||
"idle": {
|
||||
"animations": ["idle"],
|
||||
"transitions": [
|
||||
{ "flop_wait": "!q.is_in_water && q.is_on_ground" },
|
||||
{ "swim": "q.is_in_water && q.modified_move_speed > 0.1" }
|
||||
],
|
||||
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
|
||||
"swim": {
|
||||
"animations": ["swim"],
|
||||
"transitions": [
|
||||
{ "flop_wait": "!q.is_in_water && q.is_on_ground" },
|
||||
{ "idle": "!q.is_in_water || q.modified_move_speed <= 0.1" }
|
||||
],
|
||||
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
|
||||
"flop_wait": {
|
||||
"on_entry": ["v.wait_time = q.life_time;"],
|
||||
"transitions": [
|
||||
{ "idle": "q.is_in_water" },
|
||||
{
|
||||
"flop": "q.life_time >= (v.wait_time + 0.05) && q.is_on_ground"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"flop": {
|
||||
"animations": ["flop"],
|
||||
"transitions": [
|
||||
{ "idle": "q.is_in_water && q.modified_move_speed <= 0.1" },
|
||||
{ "swim": "q.is_in_water && q.modified_move_speed > 0.1" }
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"controller.animation.silverlabs_nat.whale.idle_event": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"on_entry": [
|
||||
"v.delay = Math.random_integer(10, 28);",
|
||||
"v.current_delay = q.life_time;"
|
||||
],
|
||||
|
||||
"transitions": [
|
||||
{
|
||||
"idle_event": "(q.life_time - (v.current_delay ?? 0) >= (v.delay ?? 0)) && q.modified_move_speed <= 0.1 && q.is_in_water"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
|
||||
"idle_event": {
|
||||
"animations": ["idle_event"],
|
||||
"transitions": [
|
||||
{
|
||||
"default": "q.all_animations_finished || q.modified_move_speed > 0.1 || !q.is_in_water"
|
||||
}
|
||||
],
|
||||
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.whale.particle": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [
|
||||
{
|
||||
"blowhole": "q.property('silverlabs_nat:can_particle') && (Math.random_integer(0, 200) == 0)"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"blowhole": {
|
||||
"animations": ["particle"],
|
||||
"transitions": [
|
||||
{ "default": "q.all_animations_finished" }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.animation.silverlabs_nat.whale.baby": {
|
||||
"initial_state": "water_idle",
|
||||
"states": {
|
||||
"water_idle": {
|
||||
"animations": ["baby_swim_idle", "baby_tilt"],
|
||||
"transitions": [
|
||||
{ "flop_wait": "!q.is_in_water && q.is_on_ground" },
|
||||
{ "water_swim": "q.is_in_water && q.modified_move_speed > 0.1" }
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"water_swim": {
|
||||
"animations": ["baby_swim", "baby_tilt"],
|
||||
"transitions": [
|
||||
{ "flop_wait": "!q.is_in_water && q.is_on_ground" },
|
||||
{ "water_idle": "!q.is_in_water || q.modified_move_speed <= 0.1" }
|
||||
],
|
||||
"blend_transition": 0.5
|
||||
},
|
||||
"flop_wait": {
|
||||
"on_entry": ["v.wait_time = q.life_time;"],
|
||||
"transitions": [
|
||||
{ "water_idle": "q.is_in_water" },
|
||||
{ "flop": "q.life_time >= (v.wait_time + 0.05) && q.is_on_ground" }
|
||||
]
|
||||
},
|
||||
"flop": {
|
||||
"animations": ["baby_flop"],
|
||||
"transitions": [
|
||||
{ "water_idle": "q.is_in_water" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.silverlabs_nat.zebra.main": {
|
||||
"states": {
|
||||
"default": {
|
||||
"animations": [
|
||||
{ "idle": "!q.is_baby" },
|
||||
{ "baby_idle": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "run": "q.modified_move_speed > 0.5 && q.state_time > 0.5" },
|
||||
{ "walk": "q.modified_move_speed > 0.1 && q.state_time > 0.5" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"walk": {
|
||||
"animations": [
|
||||
{ "walk": "!q.is_baby" },
|
||||
{ "baby_walk": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "run": "q.modified_move_speed > 0.5 && q.state_time > 0.5" },
|
||||
{ "default": "q.modified_move_speed <= 0.1 && q.state_time > 0.5" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
},
|
||||
"run": {
|
||||
"animations": [
|
||||
{ "run": "!q.is_baby" },
|
||||
{ "baby_run": "q.is_baby" }
|
||||
],
|
||||
"transitions": [
|
||||
{ "default": "q.modified_move_speed <= 0.1 && q.state_time > 0.5" },
|
||||
{ "walk": "q.modified_move_speed <= 0.5 && q.state_time > 0.5" }
|
||||
],
|
||||
"blend_transition": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user