458 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			458 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "creatures" : [
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         {
 | |
|             "creatureId" : "human",
 | |
|             "bodyParts" : [
 | |
|                 {
 | |
|                     "name" : "Head",
 | |
|                     "type" : "Head"
 | |
|                 },
 | |
|                 {
 | |
|                     "name" : "Torso",
 | |
|                     "type" : "Torso"
 | |
|                 },
 | |
|                 {
 | |
|                     "name" : "ArmLeft",
 | |
|                     "type" : "Arm"
 | |
|                 },
 | |
|                 {
 | |
|                     "name" : "ArmRight",
 | |
|                     "type" : "Arm"
 | |
|                 },
 | |
|                 {
 | |
|                     "name" : "LegLeft",
 | |
|                     "type" : "Leg"
 | |
|                 },
 | |
|                 {
 | |
|                     "name" : "LegRight",
 | |
|                     "type" : "Leg"
 | |
|                 }
 | |
|             ],
 | |
|             "hitboxes" : [
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bone.031",
 | |
|                     "radius": 0.04
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bone.012",
 | |
|                     "radius": 0.04
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bone.003",
 | |
|                     "radius": 0.04
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bone.010",
 | |
|                     "radius": 0.06
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bone.001",
 | |
|                     "radius": 0.06
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bone.014",
 | |
|                     "radius": 0.06
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bone",
 | |
|                     "radius": 0.08
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bone.014",
 | |
|                     "radius": 0.06
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bone.019",
 | |
|                     "radius": 0.04
 | |
|                 }
 | |
|             ],
 | |
|             "tokens" : [
 | |
|                 "BLENDER_TRANSFORM",
 | |
|                 "SENTIENT",
 | |
|                 "ATTACKER",
 | |
|                 "GRAVITY",
 | |
|                 "TARGETABLE",
 | |
|                 "CAN_EQUIP"
 | |
|             ],
 | |
|             "movementSystems" : [
 | |
|                 {
 | |
|                     "type" : "GROUND",
 | |
|                     "acceleration" : 16.0,
 | |
|                     "maxVelocity" : 3.0,
 | |
|                     "animationStartup" : {
 | |
|                         "name" : "Armature|WalkStart",
 | |
|                         "length" : 1,
 | |
|                         "loops" : false
 | |
|                     },
 | |
|                     "animationLoop" : {
 | |
|                         "name" : "Armature|Walk",
 | |
|                         "length" : 1,
 | |
|                         "loops" : false
 | |
|                     },
 | |
|                     "animationWindDown" : {
 | |
|                         "name" : "Armature|WalkStart",
 | |
|                         "length" : 1,
 | |
|                         "loops" : false
 | |
|                     },
 | |
|                     "sprintSystem" : {
 | |
|                         "maxVelocity" : 5.8,
 | |
|                         "staminaMax" : 500,
 | |
|                         "animationStartUp" : {
 | |
|                             "name" : "SprintStart",
 | |
|                             "length" : 1,
 | |
|                             "loops" : false
 | |
|                         },
 | |
|                         "animationMain" : {
 | |
|                             "name" : "Sprint",
 | |
|                             "length" : 1,
 | |
|                             "loops" : false
 | |
|                         }
 | |
|                     }
 | |
|                 }
 | |
|             ],
 | |
|             "rotatorSystem" : {
 | |
|                 "rotatorItems" : [
 | |
|                     {
 | |
|                         "boneName" : "myTorsoBone",
 | |
|                         "constraints" : [
 | |
|                             {
 | |
|                                 "followsView" : true,
 | |
|                                 "followsBone" : false,
 | |
|                                 "parentBone" : "",
 | |
|                                 "allowedMargin" : 0.2
 | |
|                             }
 | |
|                         ]
 | |
|                     },
 | |
|                     {
 | |
|                         "boneName" : "myLeftLegBone",
 | |
|                         "constraints" : [
 | |
|                             {
 | |
|                                 "followsView" : false,
 | |
|                                 "followsBone" : true,
 | |
|                                 "parentBone" : "myTorsoBone",
 | |
|                                 "allowedMargin" : 0.2
 | |
|                             }
 | |
|                         ]
 | |
|                     },
 | |
|                     {
 | |
|                         "boneName" : "myRightLegBone",
 | |
|                         "constraints" : [
 | |
|                             {
 | |
|                                 "followsView" : false,
 | |
|                                 "followsBone" : true,
 | |
|                                 "parentBone" : "myTorsoBone",
 | |
|                                 "allowedMargin" : 0.2
 | |
|                             }
 | |
|                         ]
 | |
|                     }
 | |
|                 ]
 | |
|             },
 | |
|             "collidable" : {
 | |
|                 "type" : "CYLINDER",
 | |
|                 "dimension1" : 0.1,
 | |
|                 "dimension2" : 0.45,
 | |
|                 "dimension3" : 0.1,
 | |
|                 "offsetX" : 0,
 | |
|                 "offsetY" : 0.45,
 | |
|                 "offsetZ" : 0
 | |
|             },
 | |
|             "attackMoves" : [
 | |
|                 {
 | |
|                     "type" : "MELEE_WEAPON_SWING_ONE_HAND",
 | |
|                     "animationName" : "Armature|SwingWeapon",
 | |
|                     "damageStartFrame" : 30,
 | |
|                     "damageEndFrame" : 60
 | |
|                 }
 | |
|             ],
 | |
|             "healthSystem" : {
 | |
|                 "maxHealth" : 100,
 | |
|                 "onDamageIFrames" : 30
 | |
|             },
 | |
|             "modelPath" : "Models/baseman.fbx"
 | |
|         },
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         {
 | |
|             "creatureId" : "goblin",
 | |
|             "bodyParts" : [
 | |
|                 {
 | |
|                     "name" : "Head",
 | |
|                     "type" : "Head"
 | |
|                 },
 | |
|                 {
 | |
|                     "name" : "Torso",
 | |
|                     "type" : "Torso"
 | |
|                 },
 | |
|                 {
 | |
|                     "name" : "ArmLeft",
 | |
|                     "type" : "Arm"
 | |
|                 },
 | |
|                 {
 | |
|                     "name" : "ArmRight",
 | |
|                     "type" : "Arm"
 | |
|                 },
 | |
|                 {
 | |
|                     "name" : "LegLeft",
 | |
|                     "type" : "Leg"
 | |
|                 },
 | |
|                 {
 | |
|                     "name" : "LegRight",
 | |
|                     "type" : "Leg"
 | |
|                 }
 | |
|             ],
 | |
|             "hitboxes" : [
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bone.031",
 | |
|                     "radius": 0.04
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bone.012",
 | |
|                     "radius": 0.04
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bone.003",
 | |
|                     "radius": 0.04
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bone.010",
 | |
|                     "radius": 0.06
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bone.001",
 | |
|                     "radius": 0.06
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bone.014",
 | |
|                     "radius": 0.06
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bone",
 | |
|                     "radius": 0.08
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bone.014",
 | |
|                     "radius": 0.06
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bone.019",
 | |
|                     "radius": 0.04
 | |
|                 }
 | |
|             ],
 | |
|             "tokens" : [
 | |
|                 "BLENDER_TRANSFORM",
 | |
|                 "SENTIENT",
 | |
|                 "ATTACKER",
 | |
|                 "GRAVITY",
 | |
|                 "TARGETABLE",
 | |
|                 "CAN_EQUIP"
 | |
|             ],
 | |
|             "movementSystems" : [
 | |
|                 {
 | |
|                     "type" : "GROUND",
 | |
|                     "acceleration" : 13.0,
 | |
|                     "maxVelocity" : 1.8,
 | |
|                     "animationStartup" : {
 | |
|                         "name" : "Walk",
 | |
|                         "length" : 1,
 | |
|                         "loops" : false
 | |
|                     },
 | |
|                     "animationLoop" : {
 | |
|                         "name" : "Walk",
 | |
|                         "length" : 1,
 | |
|                         "loops" : false
 | |
|                     },
 | |
|                     "animationWindDown" : {
 | |
|                         "name" : "Armature|WalkForwardStart",
 | |
|                         "length" : 1,
 | |
|                         "loops" : false
 | |
|                     },
 | |
|                     "sprintSystem" : {
 | |
|                         "maxVelocity" : 3.8,
 | |
|                         "staminaMax" : 500,
 | |
|                         "animationStartUp" : {
 | |
|                             "name" : "Run",
 | |
|                             "length" : 1,
 | |
|                             "loops" : false
 | |
|                         },
 | |
|                         "animationMain" : {
 | |
|                             "name" : "Run",
 | |
|                             "length" : 1,
 | |
|                             "loops" : false
 | |
|                         }
 | |
|                     }
 | |
|                 }
 | |
|             ],
 | |
|             "collidable" : {
 | |
|                 "type" : "CYLINDER",
 | |
|                 "dimension1" : 0.1,
 | |
|                 "dimension2" : 0.2,
 | |
|                 "dimension3" : 0.1,
 | |
|                 "offsetX" : 0,
 | |
|                 "offsetY" : 0.2,
 | |
|                 "offsetZ" : 0
 | |
|             },
 | |
|             "attackMoves" : [
 | |
|                 {
 | |
|                     "type" : "MELEE_WEAPON_SWING_ONE_HAND",
 | |
|                     "animationName" : "Armature|SwingWeapon",
 | |
|                     "damageStartFrame" : 10,
 | |
|                     "damageEndFrame" : 30
 | |
|                 }
 | |
|             ],
 | |
|             "healthSystem" : {
 | |
|                 "maxHealth" : 100,
 | |
|                 "onDamageIFrames" : 30
 | |
|             },
 | |
|             "modelPath" : "Models/goblin1.fbx"
 | |
|         },
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         
 | |
| 
 | |
| 
 | |
|         
 | |
|         {
 | |
|             "creatureId" : "CUBE_MAN",
 | |
|             "bodyParts" : [
 | |
|                 {
 | |
|                     "name" : "CUBE",
 | |
|                     "type" : "CUBE_MAN"
 | |
|                 }
 | |
|             ],
 | |
|             "hitboxes" : [],
 | |
|             "tokens" : [
 | |
|                 "BLENDER_TRANSFORM",
 | |
|                 "SENTIENT",
 | |
|                 "GRAVITY"
 | |
|             ],
 | |
|             "movementSystems" : [
 | |
|                 {
 | |
|                     "type" : "GROUND",
 | |
|                     "acceleration" : 0.15,
 | |
|                     "maxVelocity" : 1
 | |
|                 }
 | |
|             ],
 | |
|             "collidable" : {
 | |
|                 "type" : "CYLINDER",
 | |
|                 "dimension1" : 0.1,
 | |
|                 "dimension2" : 0.45,
 | |
|                 "dimension3" : 0.1,
 | |
|                 "offsetX" : 0,
 | |
|                 "offsetY" : 0.45,
 | |
|                 "offsetZ" : 0
 | |
|             },
 | |
|             "healthSystem" : {
 | |
|                 "maxHealth" : 100,
 | |
|                 "onDamageIFrames" : 30
 | |
|             },
 | |
|             "modelPath" : "Models/unitcube.fbx"
 | |
|         },
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         {
 | |
|             "creatureId" : "Deer",
 | |
|             "bodyParts" : [
 | |
|                 {
 | |
|                     "name" : "Head",
 | |
|                     "type" : "Head"
 | |
|                 },
 | |
|                 {
 | |
|                     "name" : "Torso",
 | |
|                     "type" : "Torso"
 | |
|                 }
 | |
|             ],
 | |
|             "hitboxes" : [
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bone",
 | |
|                     "radius": 0.04
 | |
|                 }
 | |
|             ],
 | |
|             "tokens" : [
 | |
|                 "BLENDER_TRANSFORM",
 | |
|                 "GRAVITY"
 | |
|             ],
 | |
|             "movementSystems" : [
 | |
|                 {
 | |
|                     "type" : "GROUND",
 | |
|                     "acceleration" : 0.001,
 | |
|                     "maxVelocity" : 0.025
 | |
|                 }
 | |
|             ],
 | |
|             "collidable" : {
 | |
|                 "type" : "CYLINDER",
 | |
|                 "dimension1" : 0.1,
 | |
|                 "dimension2" : 0.2,
 | |
|                 "dimension3" : 0.1,
 | |
|                 "offsetX" : 0,
 | |
|                 "offsetY" : 0.2,
 | |
|                 "offsetZ" : 0
 | |
|             },
 | |
|             "healthSystem" : {
 | |
|                 "maxHealth" : 100,
 | |
|                 "onDamageIFrames" : 30
 | |
|             },
 | |
|             "modelPath" : "Models/deer1.fbx"
 | |
|         }
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|     ]
 | |
| }
 |