mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 10:43:21 +02:00
sit idles and idle fidgets with json edits
This commit is contained in:
parent
c780f8ad08
commit
0ab4075c3b
11 changed files with 377 additions and 48 deletions
BIN
interface/resources/avatar/animations/sitting_idle04.fbx
Normal file
BIN
interface/resources/avatar/animations/sitting_idle04.fbx
Normal file
Binary file not shown.
BIN
interface/resources/avatar/animations/sitting_idle05.fbx
Normal file
BIN
interface/resources/avatar/animations/sitting_idle05.fbx
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -680,84 +680,413 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"children": [
|
"children": [
|
||||||
|
{
|
||||||
|
"children": [
|
||||||
|
],
|
||||||
|
"data": {
|
||||||
|
"endFrame": 800,
|
||||||
|
"loopFlag": true,
|
||||||
|
"startFrame": 0,
|
||||||
|
"timeScale": 1,
|
||||||
|
"url": "qrc:///avatar/animations/sitting_idle.fbx"
|
||||||
|
},
|
||||||
|
"id": "seatedIdle01",
|
||||||
|
"type": "clip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"children": [
|
||||||
|
],
|
||||||
|
"data": {
|
||||||
|
"endFrame": 800,
|
||||||
|
"loopFlag": true,
|
||||||
|
"startFrame": 1,
|
||||||
|
"timeScale": 1,
|
||||||
|
"url": "qrc:///avatar/animations/sitting_idle02.fbx"
|
||||||
|
},
|
||||||
|
"id": "seatedIdle02",
|
||||||
|
"type": "clip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"children": [
|
||||||
|
],
|
||||||
|
"data": {
|
||||||
|
"endFrame": 800,
|
||||||
|
"loopFlag": true,
|
||||||
|
"startFrame": 0,
|
||||||
|
"timeScale": 1,
|
||||||
|
"url": "qrc:///avatar/animations/sitting_idle03.fbx"
|
||||||
|
},
|
||||||
|
"id": "seatedIdle03",
|
||||||
|
"type": "clip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"children": [
|
||||||
|
],
|
||||||
|
"data": {
|
||||||
|
"endFrame": 800,
|
||||||
|
"loopFlag": true,
|
||||||
|
"startFrame": 1,
|
||||||
|
"timeScale": 1,
|
||||||
|
"url": "qrc:///avatar/animations/sitting_idle04.fbx"
|
||||||
|
},
|
||||||
|
"id": "seatedIdle04",
|
||||||
|
"type": "clip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"children": [
|
||||||
|
],
|
||||||
|
"data": {
|
||||||
|
"endFrame": 332,
|
||||||
|
"loopFlag": true,
|
||||||
|
"startFrame": 1,
|
||||||
|
"timeScale": 1,
|
||||||
|
"url": "qrc:///avatar/animations/sitting_idle05.fbx"
|
||||||
|
},
|
||||||
|
"id": "seatedIdle05",
|
||||||
|
"type": "clip"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"data": {
|
"data": {
|
||||||
"endFrame": 800,
|
"currentState": "seatedIdle01",
|
||||||
"loopFlag": true,
|
"endFrame": 30,
|
||||||
"startFrame": 0,
|
"randomSwitchTimeMax": 20,
|
||||||
|
"randomSwitchTimeMin": 10,
|
||||||
|
"startFrame": 10,
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"easingType": "easeInOutQuad",
|
||||||
|
"id": "seatedIdle01",
|
||||||
|
"interpDuration": 20,
|
||||||
|
"interpTarget": 20,
|
||||||
|
"interpType": "evaluateBoth",
|
||||||
|
"priority": 1,
|
||||||
|
"resume": true,
|
||||||
|
"transitions": [
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"easingType": "easeInOutQuad",
|
||||||
|
"id": "seatedIdle02",
|
||||||
|
"interpDuration": 20,
|
||||||
|
"interpTarget": 20,
|
||||||
|
"interpType": "evaluateBoth",
|
||||||
|
"priority": 1,
|
||||||
|
"resume": true,
|
||||||
|
"transitions": [
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"easingType": "easeInOutQuad",
|
||||||
|
"id": "seatedIdle03",
|
||||||
|
"interpDuration": 20,
|
||||||
|
"interpTarget": 20,
|
||||||
|
"interpType": "evaluateBoth",
|
||||||
|
"priority": 1,
|
||||||
|
"resume": true,
|
||||||
|
"transitions": [
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"easingType": "easeInOutQuad",
|
||||||
|
"id": "seatedIdle04",
|
||||||
|
"interpDuration": 20,
|
||||||
|
"interpTarget": 20,
|
||||||
|
"interpType": "evaluateBoth",
|
||||||
|
"priority": 1,
|
||||||
|
"resume": true,
|
||||||
|
"transitions": [
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"easingType": "easeInOutQuad",
|
||||||
|
"id": "seatedIdle05",
|
||||||
|
"interpDuration": 20,
|
||||||
|
"interpTarget": 20,
|
||||||
|
"interpType": "evaluateBoth",
|
||||||
|
"priority": 1,
|
||||||
|
"resume": true,
|
||||||
|
"transitions": [
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
"timeScale": 1,
|
"timeScale": 1,
|
||||||
"url": "qrc:///avatar/animations/sitting_idle.fbx"
|
"triggerRandomSwitch": "seatedIdleSwitch"
|
||||||
},
|
},
|
||||||
"id": "seatedIdle01",
|
"id": "masterSeatedIdle",
|
||||||
"type": "clip"
|
"type": "randomSwitchStateMachine"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"children": [
|
"children": [
|
||||||
|
{
|
||||||
|
"children": [
|
||||||
|
],
|
||||||
|
"data": {
|
||||||
|
"endFrame": 744,
|
||||||
|
"loopFlag": false,
|
||||||
|
"startFrame": 1,
|
||||||
|
"timeScale": 1,
|
||||||
|
"url": "qrc:///avatar/animations/sitting_idle_once_shifting.fbx"
|
||||||
|
},
|
||||||
|
"id": "seatedFidgetShifting",
|
||||||
|
"type": "clip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"children": [
|
||||||
|
],
|
||||||
|
"data": {
|
||||||
|
"endFrame": 420,
|
||||||
|
"loopFlag": false,
|
||||||
|
"startFrame": 1,
|
||||||
|
"timeScale": 1,
|
||||||
|
"url": "qrc:///avatar/animations/sitting_idle_once_lookfidget.fbx"
|
||||||
|
},
|
||||||
|
"id": "seatedFidgetLookFidget",
|
||||||
|
"type": "clip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"children": [
|
||||||
|
],
|
||||||
|
"data": {
|
||||||
|
"endFrame": 282,
|
||||||
|
"loopFlag": false,
|
||||||
|
"startFrame": 1,
|
||||||
|
"timeScale": 1,
|
||||||
|
"url": "qrc:///avatar/animations/sitting_idle_once_shiftweight.fbx"
|
||||||
|
},
|
||||||
|
"id": "seatedFidgetShiftWeight",
|
||||||
|
"type": "clip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"children": [
|
||||||
|
],
|
||||||
|
"data": {
|
||||||
|
"endFrame": 428,
|
||||||
|
"loopFlag": false,
|
||||||
|
"startFrame": 1,
|
||||||
|
"timeScale": 1,
|
||||||
|
"url": "qrc:///avatar/animations/sitting_idle_once_fidget.fbx"
|
||||||
|
},
|
||||||
|
"id": "seatedFidgeting",
|
||||||
|
"type": "clip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"children": [
|
||||||
|
],
|
||||||
|
"data": {
|
||||||
|
"endFrame": 324,
|
||||||
|
"loopFlag": false,
|
||||||
|
"startFrame": 1,
|
||||||
|
"timeScale": 1,
|
||||||
|
"url": "qrc:///avatar/animations/sitting_idle_once_lookaround.fbx"
|
||||||
|
},
|
||||||
|
"id": "seatedFidgetLookAround",
|
||||||
|
"type": "clip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"children": [
|
||||||
|
],
|
||||||
|
"data": {
|
||||||
|
"endFrame": 120,
|
||||||
|
"loopFlag": false,
|
||||||
|
"startFrame": 1,
|
||||||
|
"timeScale": 1,
|
||||||
|
"url": "qrc:///avatar/animations/sitting_idle_once_lookleftright.fbx"
|
||||||
|
},
|
||||||
|
"id": "seatedFidgetLookLeftRight",
|
||||||
|
"type": "clip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"children": [
|
||||||
|
],
|
||||||
|
"data": {
|
||||||
|
"endFrame": 178,
|
||||||
|
"loopFlag": false,
|
||||||
|
"startFrame": 1,
|
||||||
|
"timeScale": 1,
|
||||||
|
"url": "qrc:///avatar/animations/sitting_idle_once_leanforward.fbx"
|
||||||
|
},
|
||||||
|
"id": "seatedFidgetLeanForward",
|
||||||
|
"type": "clip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"children": [
|
||||||
|
],
|
||||||
|
"data": {
|
||||||
|
"endFrame": 140,
|
||||||
|
"loopFlag": false,
|
||||||
|
"startFrame": 1,
|
||||||
|
"timeScale": 1,
|
||||||
|
"url": "qrc:///avatar/animations/sitting_idle_once_shakelegs.fbx"
|
||||||
|
},
|
||||||
|
"id": "seatedFidgetShakeLegs",
|
||||||
|
"type": "clip"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"data": {
|
"data": {
|
||||||
"endFrame": 800,
|
"currentState": "seatedFidgetShifting",
|
||||||
"loopFlag": true,
|
"states": [
|
||||||
"startFrame": 0,
|
{
|
||||||
"timeScale": 1,
|
"easingType": "easeInOutQuad",
|
||||||
"url": "qrc:///avatar/animations/sitting_idle02.fbx"
|
"id": "seatedFidgetShifting",
|
||||||
|
"interpDuration": 15,
|
||||||
|
"interpTarget": 15,
|
||||||
|
"interpType": "evaluateBoth",
|
||||||
|
"priority": 1,
|
||||||
|
"resume": false,
|
||||||
|
"transitions": [
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"easingType": "easeInOutQuad",
|
||||||
|
"id": "seatedFidgetLookFidget",
|
||||||
|
"interpDuration": 15,
|
||||||
|
"interpTarget": 15,
|
||||||
|
"interpType": "evaluateBoth",
|
||||||
|
"priority": 1,
|
||||||
|
"resume": false,
|
||||||
|
"transitions": [
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"easingType": "easeInOutQuad",
|
||||||
|
"id": "seatedFidgetShiftWeight",
|
||||||
|
"interpDuration": 15,
|
||||||
|
"interpTarget": 15,
|
||||||
|
"interpType": "evaluateBoth",
|
||||||
|
"priority": 1,
|
||||||
|
"resume": false,
|
||||||
|
"transitions": [
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"easingType": "easeInOutQuad",
|
||||||
|
"id": "seatedFidgeting",
|
||||||
|
"interpDuration": 15,
|
||||||
|
"interpTarget": 15,
|
||||||
|
"interpType": "evaluateBoth",
|
||||||
|
"priority": 1,
|
||||||
|
"resume": false,
|
||||||
|
"transitions": [
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"easingType": "easeInOutQuad",
|
||||||
|
"id": "seatedFidgetLookAround",
|
||||||
|
"interpDuration": 15,
|
||||||
|
"interpTarget": 15,
|
||||||
|
"interpType": "evaluateBoth",
|
||||||
|
"priority": 1,
|
||||||
|
"resume": false,
|
||||||
|
"transitions": [
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"easingType": "easeInOutQuad",
|
||||||
|
"id": "seatedFidgetLookLeftRight",
|
||||||
|
"interpDuration": 15,
|
||||||
|
"interpTarget": 15,
|
||||||
|
"interpType": "evaluateBoth",
|
||||||
|
"priority": 1,
|
||||||
|
"resume": false,
|
||||||
|
"transitions": [
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"easingType": "easeInOutQuad",
|
||||||
|
"id": "seatedFidgetLeanForward",
|
||||||
|
"interpDuration": 15,
|
||||||
|
"interpTarget": 15,
|
||||||
|
"interpType": "evaluateBoth",
|
||||||
|
"priority": 1,
|
||||||
|
"resume": false,
|
||||||
|
"transitions": [
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"easingType": "easeInOutQuad",
|
||||||
|
"id": "seatedFidgetShakeLegs",
|
||||||
|
"interpDuration": 15,
|
||||||
|
"interpTarget": 15,
|
||||||
|
"interpType": "evaluateBoth",
|
||||||
|
"priority": 1,
|
||||||
|
"resume": false,
|
||||||
|
"transitions": [
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"id": "seatedIdle02",
|
"id": "seatedFidget",
|
||||||
"type": "clip"
|
"type": "randomSwitchStateMachine"
|
||||||
},
|
|
||||||
{
|
|
||||||
"children": [
|
|
||||||
],
|
|
||||||
"data": {
|
|
||||||
"endFrame": 800,
|
|
||||||
"loopFlag": true,
|
|
||||||
"startFrame": 0,
|
|
||||||
"timeScale": 1,
|
|
||||||
"url": "qrc:///avatar/animations/sitting_idle03.fbx"
|
|
||||||
},
|
|
||||||
"id": "seatedIdle03",
|
|
||||||
"type": "clip"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"data": {
|
"data": {
|
||||||
"currentState": "seatedIdle01",
|
"currentState": "masterSeatedIdle",
|
||||||
"randomSwitchTimeMax": 20,
|
"randomSwitchTimeMax": 20,
|
||||||
"randomSwitchTimeMin": 10,
|
"randomSwitchTimeMin": 10,
|
||||||
"states": [
|
"states": [
|
||||||
{
|
{
|
||||||
"easingType": "easeInOutQuad",
|
"easingType": "easeInOutQuad",
|
||||||
"id": "seatedIdle01",
|
"id": "masterSeatedIdle",
|
||||||
"interpDuration": 15,
|
"interpDuration": 20,
|
||||||
"interpTarget": 15,
|
"interpTarget": 20,
|
||||||
"interpType": "evaluateBoth",
|
"interpType": "evaluateBoth",
|
||||||
"priority": 1,
|
"priority": 1,
|
||||||
"resume": true,
|
"resume": false,
|
||||||
"transitions": [
|
"transitions": [
|
||||||
|
{
|
||||||
|
"randomSwitchState": "seatedFidget",
|
||||||
|
"var": "timeToSeatedFidget"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"easingType": "easeInOutQuad",
|
"easingType": "easeInOutQuad",
|
||||||
"id": "seatedIdle02",
|
"id": "seatedFidget",
|
||||||
"interpDuration": 15,
|
"interpDuration": 30,
|
||||||
"interpTarget": 15,
|
"interpTarget": 30,
|
||||||
"interpType": "evaluateBoth",
|
"interpType": "evaluateBoth",
|
||||||
"priority": 1,
|
"priority": -1,
|
||||||
"resume": true,
|
"resume": false,
|
||||||
"transitions": [
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"easingType": "easeInOutQuad",
|
|
||||||
"id": "seatedIdle03",
|
|
||||||
"interpDuration": 15,
|
|
||||||
"interpTarget": 15,
|
|
||||||
"interpType": "evaluateBoth",
|
|
||||||
"priority": 1,
|
|
||||||
"resume": true,
|
|
||||||
"transitions": [
|
"transitions": [
|
||||||
|
{
|
||||||
|
"randomSwitchState": "masterSeatedIdle",
|
||||||
|
"var": "seatedFidgetShiftingOnDone"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"randomSwitchState": "masterSeatedIdle",
|
||||||
|
"var": "seatedFidgetLookFidgetOnDone"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"randomSwitchState": "masterSeatedIdle",
|
||||||
|
"var": "seatedFidgetShiftWeightOnDone"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"randomSwitchState": "masterSeatedIdle",
|
||||||
|
"var": "seatedFidgetingOnDone"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"randomSwitchState": "masterSeatedIdle",
|
||||||
|
"var": "seatedFidgetLookAroundOnDone"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"randomSwitchState": "masterSeatedIdle",
|
||||||
|
"var": "seatedFidgetLookLeftRightOnDone"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"randomSwitchState": "masterSeatedIdle",
|
||||||
|
"var": "seatedFidgetLeanForwardOnDone"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"randomSwitchState": "masterSeatedIdle",
|
||||||
|
"var": "seatedFidgetShakeLegsOnDone"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"triggerRandomSwitch": "seatedIdleSwitch"
|
"transitionVar": "timeToSeatedFidget",
|
||||||
|
"triggerRandomSwitch": "",
|
||||||
|
"triggerTimeMax": 20,
|
||||||
|
"triggerTimeMin": 2
|
||||||
},
|
},
|
||||||
"id": "seatedIdle",
|
"id": "seatedIdle",
|
||||||
"type": "randomSwitchStateMachine"
|
"type": "randomSwitchStateMachine"
|
||||||
|
|
Loading…
Reference in a new issue