245 lines
		
	
	
		
			8.5 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			245 lines
		
	
	
		
			8.5 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "creatures" : [
 | |
|         {
 | |
|             "creatureId" : "human",
 | |
|             "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",
 | |
|                 "INVENTORY"
 | |
|             ],
 | |
|             "visualAttributes" : [],
 | |
|             "movementSystems" : [
 | |
|                 {
 | |
|                     "type" : "GROUND",
 | |
|                     "acceleration" : 1000.0,
 | |
|                     "maxVelocity" : 2.0,
 | |
|                     "animationStartup" : {
 | |
|                         "name" : "Armature|Jog",
 | |
|                         "length" : 1,
 | |
|                         "loops" : false
 | |
|                     },
 | |
|                     "animationLoop" : {
 | |
|                         "name" : "Armature|Jog",
 | |
|                         "length" : 1,
 | |
|                         "loops" : false
 | |
|                     },
 | |
|                     "animationWindDown" : {
 | |
|                         "name" : "Armature|Jog",
 | |
|                         "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
 | |
|                             }
 | |
|                         ]
 | |
|                     }
 | |
|                 ]
 | |
|             },
 | |
|             "equipPoints" : [
 | |
|                 {
 | |
|                     "equipPointId" : "handLeft",
 | |
|                     "bone" : "MiddleLower.L",
 | |
|                     "offsetVector" : [],
 | |
|                     "offsetRotation" : [],
 | |
|                     "equipClassWhitelist" : [
 | |
|                         "tool",
 | |
|                         "shield",
 | |
|                         "item"
 | |
|                     ]
 | |
|                 },
 | |
|                 {
 | |
|                     "equipPointId" : "handRight",
 | |
|                     "bone" : "MiddleLower.R",
 | |
|                     "offsetVector" : [],
 | |
|                     "offsetRotation" : [],
 | |
|                     "equipClassWhitelist" : [
 | |
|                         "tool",
 | |
|                         "weapon",
 | |
|                         "item"
 | |
|                     ]
 | |
|                 },
 | |
|                 {
 | |
|                     "equipPointId" : "Torso",
 | |
|                     "bone" : "Bone",
 | |
|                     "offsetVector" : [],
 | |
|                     "offsetRotation" : [],
 | |
|                     "equipClassWhitelist" : [
 | |
|                         "armor",
 | |
|                         "clothing"
 | |
|                     ]
 | |
|                 },
 | |
|                 {
 | |
|                     "equipPointId" : "Legs",
 | |
|                     "bone" : "Bone",
 | |
|                     "offsetVector" : [],
 | |
|                     "offsetRotation" : [],
 | |
|                     "equipClassWhitelist" : [
 | |
|                         "armor",
 | |
|                         "clothing"
 | |
|                     ]
 | |
|                 }
 | |
|             ],
 | |
|             "collidable" : {
 | |
|                 "type" : "CYLINDER",
 | |
|                 "dimension1" : 0.1,
 | |
|                 "dimension2" : 0.45,
 | |
|                 "dimension3" : 0.1,
 | |
|                 "offsetX" : 0,
 | |
|                 "offsetY" : 0.45,
 | |
|                 "offsetZ" : 0
 | |
|             },
 | |
|             "attackMoves" : [
 | |
|                 {
 | |
|                     "attackMoveId" : "Sword1HSlash1",
 | |
|                     "type" : "MELEE_WEAPON_SWING_ONE_HAND",
 | |
|                     "attackAnimationName" : "Armature|Sword1HSlash1",
 | |
|                     "damageStartFrame" : 30,
 | |
|                     "damageEndFrame" : 60,
 | |
|                     "firesProjectile" : false,
 | |
|                     "nextMoveId" : "Sword1HSlash2",
 | |
|                     "nextAttackMoveWindowStart" : 0,
 | |
|                     "nextAttackMoveWindowEnd" : 1,
 | |
|                     "movementStart" : 2,
 | |
|                     "movementEnd" : 10,
 | |
|                     "movementGoal" : 0.1,
 | |
|                     "initialMove" : true
 | |
|                 },
 | |
|                 {
 | |
|                     "attackMoveId" : "Sword1HSlash2",
 | |
|                     "type" : "MELEE_WEAPON_SWING_ONE_HAND",
 | |
|                     "attackAnimationName" : "Armature|Sword1HSlash2",
 | |
|                     "damageStartFrame" : 30,
 | |
|                     "damageEndFrame" : 60,
 | |
|                     "firesProjectile" : false,
 | |
|                     "nextMoveId" : "Sword1HSlash1",
 | |
|                     "nextAttackMoveWindowStart" : 0,
 | |
|                     "nextAttackMoveWindowEnd" : 1,
 | |
|                     "movementStart" : 2,
 | |
|                     "movementEnd" : 10,
 | |
|                     "movementGoal" : 0.1,
 | |
|                     "initialMove" : false
 | |
|                 },
 | |
|                 {
 | |
|                     "attackMoveId" : "Bow2HFire",
 | |
|                     "type" : "RANGED_WEAPON_BOW_TWO_HAND",
 | |
|                     "windupAnimationName" : "Armature|HoldBowString",
 | |
|                     "holdAnimationName" : "Armature|HoldBow",
 | |
|                     "attackAnimationName" : "Armature|HoldBowString",
 | |
|                     "damageStartFrame" : 30,
 | |
|                     "damageEndFrame" : 60,
 | |
|                     "firesProjectile" : true,
 | |
|                     "nextMoveId" : "",
 | |
|                     "nextAttackMoveWindowStart" : 0,
 | |
|                     "nextAttackMoveWindowEnd" : 1,
 | |
|                     "movementStart" : 0,
 | |
|                     "movementEnd" : 0,
 | |
|                     "movementGoal" : 0,
 | |
|                     "initialMove" : false
 | |
|                 }
 | |
|             ],
 | |
|             "healthSystem" : {
 | |
|                 "maxHealth" : 100,
 | |
|                 "onDamageIFrames" : 30
 | |
|             },
 | |
|             "modelPath" : "Models/baseman.fbx"
 | |
|         }
 | |
|     ],
 | |
|     "files" : []
 | |
| } |