244 lines
		
	
	
		
			6.4 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			244 lines
		
	
	
		
			6.4 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "creatures" : [
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         {
 | |
|             "name" : "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"
 | |
|             ],
 | |
|             "movementSystems" : [
 | |
|                 {
 | |
|                     "type" : "GROUND",
 | |
|                     "acceleration" : 0.05,
 | |
|                     "maxVelocity" : 0.25
 | |
|                 }
 | |
|             ],
 | |
|             "physicsObject" : {
 | |
|                 "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" : 120
 | |
|                 }
 | |
|             ],
 | |
|             "healthSystem" : {
 | |
|                 "maxHealth" : 100,
 | |
|                 "onDamageIFrames" : 30
 | |
|             },
 | |
|             "modelPath" : "Models/person1animpass2.fbx"
 | |
|         },
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|         {
 | |
|             "name" : "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"
 | |
|             ],
 | |
|             "movementSystems" : [
 | |
|                 {
 | |
|                     "type" : "GROUND",
 | |
|                     "acceleration" : 0.001,
 | |
|                     "maxVelocity" : 0.025
 | |
|                 }
 | |
|             ],
 | |
|             "physicsObject" : {
 | |
|                 "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"
 | |
|         }
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|     ]
 | |
| }
 |