341 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			341 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "creatures" : [
 | |
|         {
 | |
|             "creatureId" : "elf",
 | |
|             "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",
 | |
|                 "OUTLINE",
 | |
|                 "PLAYABLE"
 | |
|             ],
 | |
|             "visualAttributes" : [
 | |
|                 {
 | |
|                     "attributeId" : "TorsoHeight",
 | |
|                     "type" : "bone",
 | |
|                     "subtype" : "offy",
 | |
|                     "primaryBone" : "UpperTorso",
 | |
|                     "minValue" : -0.2,
 | |
|                     "maxValue" : 0.2
 | |
|                 },
 | |
|                 {
 | |
|                     "attributeId" : "TorsoWidth",
 | |
|                     "type" : "bone",
 | |
|                     "subtype" : "scalex",
 | |
|                     "primaryBone" : "UpperTorso",
 | |
|                     "minValue" : 0.8,
 | |
|                     "maxValue" : 1.2
 | |
|                 },
 | |
|                 {
 | |
|                     "attributeId" : "ShoulderSize",
 | |
|                     "type" : "bone",
 | |
|                     "subtype" : "scale",
 | |
|                     "primaryBone" : "Shoulder.R",
 | |
|                     "mirrorBone" : "Shoulder.L",
 | |
|                     "minValue" : 0.8,
 | |
|                     "maxValue" : 1.2
 | |
|                 },
 | |
|                 {
 | |
|                     "attributeId" : "JawWidth",
 | |
|                     "type" : "bone",
 | |
|                     "subtype" : "scalex",
 | |
|                     "primaryBone" : "Jaw",
 | |
|                     "minValue" : 0.8,
 | |
|                     "maxValue" : 1.2
 | |
|                 },
 | |
|                 {
 | |
|                     "attributeId" : "JawExtrude",
 | |
|                     "type" : "bone",
 | |
|                     "subtype" : "posz",
 | |
|                     "primaryBone" : "Jaw",
 | |
|                     "minValue" : -0.1,
 | |
|                     "maxValue" : 0.1
 | |
|                 },
 | |
|                 {
 | |
|                     "attributeId" : "HeadWidth",
 | |
|                     "type" : "bone",
 | |
|                     "subtype" : "scalex",
 | |
|                     "primaryBone" : "Head",
 | |
|                     "minValue" : 0.8,
 | |
|                     "maxValue" : 1.2
 | |
|                 },
 | |
|                 {
 | |
|                     "attributeId" : "hair",
 | |
|                     "type" : "remesh",
 | |
|                     "variants" : [
 | |
|                         {
 | |
|                             "id" : "hairshort1",
 | |
|                             "model" : "Models/hairshort1meshed.fbx",
 | |
|                             "meshes" : [
 | |
|                                 "Hair"
 | |
|                             ]
 | |
|                         }
 | |
|                     ]
 | |
|                 }
 | |
|             ],
 | |
|             "movementSystems" : [
 | |
|                 {
 | |
|                     "type" : "GROUND",
 | |
|                     "acceleration" : 10.0,
 | |
|                     "maxVelocity" : 0.025,
 | |
|                     "animationStartup" : {
 | |
|                         "name" : "Jog",
 | |
|                         "length" : 1,
 | |
|                         "loops" : false
 | |
|                     },
 | |
|                     "animationLoop" : {
 | |
|                         "name" : "Jog",
 | |
|                         "length" : 1,
 | |
|                         "loops" : false
 | |
|                     },
 | |
|                     "animationWindDown" : {
 | |
|                         "name" : "Jog",
 | |
|                         "length" : 1,
 | |
|                         "loops" : false
 | |
|                     },
 | |
|                     "sprintSystem" : {
 | |
|                         "maxVelocity" : 5.8,
 | |
|                         "staminaMax" : 500,
 | |
|                         "animationStartUp" : {
 | |
|                             "name" : "Sprint",
 | |
|                             "length" : 1,
 | |
|                             "loops" : false
 | |
|                         },
 | |
|                         "animationMain" : {
 | |
|                             "name" : "Sprint",
 | |
|                             "length" : 1,
 | |
|                             "loops" : false
 | |
|                         }
 | |
|                     }
 | |
|                 },
 | |
|                 {
 | |
|                     "type" : "JUMP",
 | |
|                     "jumpFrames" : 30,
 | |
|                     "jumpForce" : 0.05,
 | |
|                     "animationJump" : {
 | |
|                         "name" : "Jump",
 | |
|                         "length" : 1,
 | |
|                         "loops" : false
 | |
|                     }
 | |
|                 },
 | |
|                 {
 | |
|                     "type" : "FALL",
 | |
|                     "animationFall" : {
 | |
|                         "name" : "Fall",
 | |
|                         "length" : 1,
 | |
|                         "loops" : true
 | |
|                     },
 | |
|                     "animationLand" : {
 | |
|                         "name" : "Land",
 | |
|                         "length" : 1,
 | |
|                         "loops" : true
 | |
|                     }
 | |
|                 }
 | |
|             ],
 | |
|             "rotatorSystem" : {
 | |
|                 "rotatorItems" : [
 | |
|                     {
 | |
|                         "boneName" : "Bone",
 | |
|                         "constraints" : [
 | |
|                             {
 | |
|                                 "followsView" : true,
 | |
|                                 "followsBone" : false,
 | |
|                                 "parentBone" : "",
 | |
|                                 "allowedMarginPitch" : 0.2
 | |
|                             }
 | |
|                         ]
 | |
|                     },
 | |
|                     {
 | |
|                         "boneName" : "Leg.L",
 | |
|                         "constraints" : [
 | |
|                             {
 | |
|                                 "followsView" : false,
 | |
|                                 "followsBone" : true,
 | |
|                                 "parentBone" : "myTorsoBone",
 | |
|                                 "allowedMarginYaw" : 0.2
 | |
|                             }
 | |
|                         ]
 | |
|                     },
 | |
|                     {
 | |
|                         "boneName" : "Leg.R",
 | |
|                         "constraints" : [
 | |
|                             {
 | |
|                                 "followsView" : false,
 | |
|                                 "followsBone" : true,
 | |
|                                 "parentBone" : "myTorsoBone",
 | |
|                                 "allowedMarginYaw" : 0.2
 | |
|                             }
 | |
|                         ]
 | |
|                     }
 | |
|                 ]
 | |
|             },
 | |
|             "equipPoints" : [
 | |
|                 {
 | |
|                     "equipPointId" : "handLeft",
 | |
|                     "bone" : "MiddleLower.L",
 | |
|                     "offsetVector" : [],
 | |
|                     "offsetRotation" : [],
 | |
|                     "equipClassWhitelist" : [
 | |
|                         "tool",
 | |
|                         "shield",
 | |
|                         "item"
 | |
|                     ]
 | |
|                 },
 | |
|                 {
 | |
|                     "equipPointId" : "handRight",
 | |
|                     "bone" : "MiddleLower.R",
 | |
|                     "offsetVector" : [],
 | |
|                     "offsetRotation" : [0.3057,0.2926,0.09933,0.9006],
 | |
|                     "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,
 | |
|                 "rotX": 0,
 | |
|                 "rotY": 0,
 | |
|                 "rotZ": 0,
 | |
|                 "rotW": 1,
 | |
|                 "offsetX" : 0,
 | |
|                 "offsetY" : 0.45,
 | |
|                 "offsetZ" : 0
 | |
|             },
 | |
|             "attackMoves" : [
 | |
|                 {
 | |
|                     "attackMoveId" : "Sword1HSlash1",
 | |
|                     "type" : "MELEE_WEAPON_SWING_ONE_HAND",
 | |
|                     "attackAnimationName" : "Sword1HSlash1",
 | |
|                     "windupFrames" : 5,
 | |
|                     "attackFrames" : 5,
 | |
|                     "cooldownFrames" : 25,
 | |
|                     "firesProjectile" : false,
 | |
|                     "nextMoveId" : "Sword1HSlash2",
 | |
|                     "nextAttackMoveWindowStart" : 0,
 | |
|                     "nextAttackMoveWindowEnd" : 1,
 | |
|                     "moveChainWindowStart" : 12,
 | |
|                     "moveChainWindowEnd" : 18,
 | |
|                     "driftGoal" : 0.02,
 | |
|                     "driftFrameStart" : 7,
 | |
|                     "driftFrameEnd" : 15,
 | |
|                     "initialMove" : true
 | |
|                 },
 | |
|                 {
 | |
|                     "attackMoveId" : "Sword1HSlash2",
 | |
|                     "type" : "MELEE_WEAPON_SWING_ONE_HAND",
 | |
|                     "attackAnimationName" : "Sword1HSlash2",
 | |
|                     "windupFrames" : 2,
 | |
|                     "attackFrames" : 5,
 | |
|                     "cooldownFrames" : 28,
 | |
|                     "firesProjectile" : false,
 | |
|                     "nextMoveId" : "Sword1HSlash1",
 | |
|                     "nextAttackMoveWindowStart" : 10,
 | |
|                     "nextAttackMoveWindowEnd" : 18,
 | |
|                     "driftGoal" : 0.03,
 | |
|                     "driftFrameStart" : 1,
 | |
|                     "driftFrameEnd" : 10,
 | |
|                     "initialMove" : false
 | |
|                 },
 | |
|                 {
 | |
|                     "attackMoveId" : "Bow2HFire",
 | |
|                     "type" : "RANGED_WEAPON_BOW_TWO_HAND",
 | |
|                     "windupAnimationName" : "HoldBowString",
 | |
|                     "holdAnimationName" : "HoldBow",
 | |
|                     "attackAnimationName" : "HoldBowString",
 | |
|                     "damageStartFrame" : 30,
 | |
|                     "damageEndFrame" : 60,
 | |
|                     "firesProjectile" : true,
 | |
|                     "nextMoveId" : "",
 | |
|                     "nextAttackMoveWindowStart" : 0,
 | |
|                     "nextAttackMoveWindowEnd" : 1,
 | |
|                     "movementStart" : 0,
 | |
|                     "movementEnd" : 0,
 | |
|                     "movementGoal" : 0,
 | |
|                     "initialMove" : true
 | |
|                 }
 | |
|             ],
 | |
|             "healthSystem" : {
 | |
|                 "maxHealth" : 100,
 | |
|                 "onDamageIFrames" : 30
 | |
|             },
 | |
|             "modelPath" : "Models/elf1.fbx"
 | |
|         }
 | |
|     ],
 | |
|     "files" : []
 | |
| } |