Renderer/assets/Data/creatures/test.json

163 lines
4.9 KiB
JSON

{
"creatures" : [
{
"creatureId" : "tank",
"hitboxes" : [
{
"type": "hurt",
"bone": "Bone",
"radius": 0.04
}
],
"tokens" : [
"ATTACKER",
"GRAVITY",
"TARGETABLE",
"OUTLINE",
"PLAYABLE"
],
"visualAttributes" : [
],
"movementSystems" : [
{
"type" : "GROUND",
"acceleration" : 10.0,
"maxVelocity" : 0.035,
"animationStartup" : {
"name" : "Idle1",
"length" : 1,
"loops" : false
},
"animationLoop" : {
"name" : "Idle1",
"length" : 1,
"loops" : false
},
"animationWindDown" : {
"name" : "Idle1",
"length" : 1,
"loops" : false
}
},
{
"type" : "FALL",
"animationFall" : {
"name" : "Idle1",
"length" : 1,
"loops" : true
},
"animationLand" : {
"name" : "Idle1",
"length" : 1,
"loops" : true
}
}
],
"rotatorSystem" : {
"rotatorItems" : [
{
"boneName" : "Bone",
"constraints" : [
{
"followsView" : true,
"followsBone" : false,
"parentBone" : "",
"allowedMarginPitch" : 0.2
}
]
}
]
},
"equipPoints" : [
],
"collidable" : {
"type" : "CYLINDER",
"dimension1" : 0.1,
"dimension2" : 0.45,
"dimension3" : 0.1,
"rotX": 0,
"rotY": 0,
"rotZ": 0,
"rotW": 1,
"offsetX" : 0,
"offsetY" : 0.45,
"offsetZ" : 0
},
"attackMoves" : [
],
"healthSystem" : {
"maxHealth" : 100,
"onDamageIFrames" : 30
},
"modelPath" : "Models/tank1.fbx"
},
{
"creatureId" : "fighter",
"hitboxes" : [
{
"type": "hurt",
"bone": "Bone",
"radius": 0.6
}
],
"tokens" : [
"SHOOTER",
"GRAVITY",
"TARGETABLE",
"OUTLINE",
"PLAYABLE"
],
"visualAttributes" : [
],
"movementSystems" : [
{
"type" : "AIRPLANE",
"acceleration" : 10.0,
"maxVelocity" : 0.035,
"minVelocity": 0.001,
"maxRotationSpeed" : 0.01
}
],
"rotatorSystem" : {
"rotatorItems" : [
]
},
"equipPoints" : [
],
"collidable" : {
"type" : "CYLINDER",
"dimension1" : 0.1,
"dimension2" : 0.45,
"dimension3" : 0.1,
"offsetX" : 0,
"offsetY" : 0.45,
"offsetZ" : 0
},
"attackMoves" : [
{
"attackMoveId" : "ProjectileFire",
"type" : "PROJECTILE",
"windupAnimationName" : "Idle1",
"holdAnimationName" : "Idle1",
"attackAnimationName" : "Idle1",
"damageStartFrame" : 1,
"damageEndFrame" : 2,
"firesProjectile" : true,
"nextMoveId" : "",
"nextAttackMoveWindowStart" : 0,
"nextAttackMoveWindowEnd" : 1,
"movementStart" : 0,
"movementEnd" : 0,
"movementGoal" : 0,
"initialMove" : true
}
],
"healthSystem" : {
"maxHealth" : 100,
"onDamageIFrames" : 30
},
"modelPath" : "Models/f15.fbx"
}
],
"files" : []
}