Some checks failed
		
		
	
	studiorailgun/Renderer/pipeline/head There was a failure building this commit
				
			
		
			
				
	
	
		
			447 lines
		
	
	
		
			16 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			447 lines
		
	
	
		
			16 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "creatures" : [
 | |
|         {
 | |
|             "creatureId" : "human",
 | |
|             "hitboxes" : [
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bicep.L",
 | |
|                     "radius": 0.04
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bicep.R",
 | |
|                     "radius": 0.04
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Leg.L",
 | |
|                     "radius": 0.04
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Leg.R",
 | |
|                     "radius": 0.04
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Shoulder.L",
 | |
|                     "radius": 0.06
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Shoulder.R",
 | |
|                     "radius": 0.06
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Neck",
 | |
|                     "radius": 0.06
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Bone",
 | |
|                     "radius": 0.08
 | |
|                 },
 | |
|                 {
 | |
|                     "type": "hurt",
 | |
|                     "bone": "Head",
 | |
|                     "radius": 0.06
 | |
|                 }
 | |
|             ],
 | |
|             "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/creatures/person2/hair/hairshort1meshed.fbx",
 | |
|                             "meshes" : [
 | |
|                                 "Hair"
 | |
|                             ]
 | |
|                         }
 | |
|                     ]
 | |
|                 }
 | |
|             ],
 | |
|             "movementSystems" : [
 | |
|                 {
 | |
|                     "type" : "GROUND",
 | |
|                     "acceleration" : 5000.0,
 | |
|                     "maxVelocity" : 500.5,
 | |
|                     "animationStartup" : {
 | |
|                         "name" : "Jog",
 | |
|                         "length" : 1,
 | |
|                         "loops" : false
 | |
|                     },
 | |
|                     "animationFirstPersonStartup" : {
 | |
|                         "name" : "Jog"
 | |
|                     },
 | |
|                     "animationLoop" : {
 | |
|                         "name" : "Jog",
 | |
|                         "length" : 1,
 | |
|                         "loops" : false
 | |
|                     },
 | |
|                     "animationFirstPersonLoop" : {
 | |
|                         "name" : "Jog"
 | |
|                     },
 | |
|                     "animationWindDown" : {
 | |
|                         "name" : "Jog",
 | |
|                         "length" : 1,
 | |
|                         "loops" : false
 | |
|                     },
 | |
|                     "animationFirstPersonWindDown" : {
 | |
|                         "name" : "Jog"
 | |
|                     },
 | |
|                     "sprintSystem" : {
 | |
|                         "maxVelocity" : 0.058,
 | |
|                         "staminaMax" : 500,
 | |
|                         "animationStartUp" : {
 | |
|                             "name" : "Sprint",
 | |
|                             "length" : 1,
 | |
|                             "loops" : false
 | |
|                         },
 | |
|                         "animationMain" : {
 | |
|                             "name" : "Sprint",
 | |
|                             "length" : 1,
 | |
|                             "loops" : false
 | |
|                         }
 | |
|                     }
 | |
|                 },
 | |
|                 {
 | |
|                     "type" : "JUMP",
 | |
|                     "jumpFrames" : 3,
 | |
|                     "jumpForce" : 500,
 | |
|                     "animationJump" : {
 | |
|                         "name" : "Jump",
 | |
|                         "length" : 1,
 | |
|                         "loops" : false
 | |
|                     },
 | |
|                     "animationFirstPersonJump" : {
 | |
|                         "name" : "Jump"
 | |
|                     }
 | |
|                 },
 | |
|                 {
 | |
|                     "type" : "FALL",
 | |
|                     "animationFall" : {
 | |
|                         "name" : "Fall",
 | |
|                         "length" : 1,
 | |
|                         "loops" : true
 | |
|                     },
 | |
|                     "animationFirstPersonFall" : {
 | |
|                         "name" : "Fall"
 | |
|                     },
 | |
|                     "animationLand" : {
 | |
|                         "name" : "Land",
 | |
|                         "length" : 1,
 | |
|                         "loops" : true
 | |
|                     },
 | |
|                     "animationFirstPersonLand" : {
 | |
|                         "name" : "Land"
 | |
|                     }
 | |
|                 }
 | |
|             ],
 | |
|             "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" : "Hand.L",
 | |
|                     "firstPersonBone" : "hand.L",
 | |
|                     "offsetVector" : [0,0,0],
 | |
|                     "offsetRotation" : [0,0,0,1],
 | |
|                     "equipClassWhitelist" : [
 | |
|                         "tool",
 | |
|                         "shield",
 | |
|                         "item"
 | |
|                     ]
 | |
|                 },
 | |
|                 {
 | |
|                     "equipPointId" : "handRight",
 | |
|                     "bone" : "Hand.R",
 | |
|                     "firstPersonBone" : "hand.R",
 | |
|                     "offsetVector" : [0,0,0],
 | |
|                     "offsetRotation" : [-0.334,0.145,-0.28,0.89],
 | |
|                     "canBlock" : true,
 | |
|                     "equipClassWhitelist" : [
 | |
|                         "tool",
 | |
|                         "weapon",
 | |
|                         "item"
 | |
|                     ]
 | |
|                 },
 | |
|                 {
 | |
|                     "equipPointId" : "Torso",
 | |
|                     "bone" : "Bone",
 | |
|                     "offsetVector" : [],
 | |
|                     "offsetRotation" : [],
 | |
|                     "equipClassWhitelist" : [
 | |
|                         "armor",
 | |
|                         "clothing"
 | |
|                     ]
 | |
|                 },
 | |
|                 {
 | |
|                     "equipPointId" : "Legs",
 | |
|                     "bone" : "Bone",
 | |
|                     "offsetVector" : [],
 | |
|                     "offsetRotation" : [],
 | |
|                     "equipClassWhitelist" : [
 | |
|                         "armor",
 | |
|                         "clothing"
 | |
|                     ]
 | |
|                 }
 | |
|             ],
 | |
|             "blockSystem" : {
 | |
|                 "variants": [
 | |
|                     {
 | |
|                         "variantId": "blockWeaponRight",
 | |
|                         "windUpAnimation" : "Jump",
 | |
|                         "mainAnimation" : "Fall",
 | |
|                         "cooldownAnimation" : "Land",
 | |
|                         "defaults" : [
 | |
|                             {
 | |
|                                 "equipPoint" : "handRight",
 | |
|                                 "itemClassEquipped" : "weapon"
 | |
|                             }
 | |
|                         ]
 | |
|                     }
 | |
|                 ]
 | |
|             },
 | |
|             "collidable" : {
 | |
|                 "type" : "CYLINDER",
 | |
|                 "dimension1" : 0.1,
 | |
|                 "dimension2" : 0.8,
 | |
|                 "dimension3" : 0.1,
 | |
|                 "rotX": 0,
 | |
|                 "rotY": 0,
 | |
|                 "rotZ": 0,
 | |
|                 "rotW": 1,
 | |
|                 "offsetX" : 0,
 | |
|                 "offsetY" : 0.4,
 | |
|                 "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,
 | |
|                     "animationFirstPersonWindup" : {
 | |
|                         "name" : "Jump"
 | |
|                     },
 | |
|                     "animationFirstPersonHold" : {
 | |
|                         "name" : "Jump"
 | |
|                     },
 | |
|                     "animationFirstPersonAttack" : {
 | |
|                         "name" : "Jump"
 | |
|                     }
 | |
|                 },
 | |
|                 {
 | |
|                     "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,
 | |
|                     "animationFirstPersonWindup" : {
 | |
|                         "name" : "Jump"
 | |
|                     },
 | |
|                     "animationFirstPersonHold" : {
 | |
|                         "name" : "Jump"
 | |
|                     },
 | |
|                     "animationFirstPersonAttack" : {
 | |
|                         "name" : "Jump"
 | |
|                     }
 | |
|                 },
 | |
|                 {
 | |
|                     "attackMoveId" : "Sword2HSlash1",
 | |
|                     "type" : "MELEE_WEAPON_SWING_TWO_HAND",
 | |
|                     "attackAnimationName" : "SwordR2HSlash",
 | |
|                     "windupFrames" : 2,
 | |
|                     "attackFrames" : 5,
 | |
|                     "cooldownFrames" : 28,
 | |
|                     "firesProjectile" : false,
 | |
|                     "nextAttackMoveWindowStart" : 10,
 | |
|                     "nextAttackMoveWindowEnd" : 18,
 | |
|                     "driftGoal" : 0.03,
 | |
|                     "driftFrameStart" : 1,
 | |
|                     "driftFrameEnd" : 10,
 | |
|                     "initialMove" : true,
 | |
|                     "animationFirstPersonWindup" : {
 | |
|                         "name" : "HoldItemR2H"
 | |
|                     },
 | |
|                     "animationFirstPersonHold" : {
 | |
|                         "name" : "HoldItemR2H"
 | |
|                     },
 | |
|                     "animationFirstPersonAttack" : {
 | |
|                         "name" : "SwordR2HSlash"
 | |
|                     }
 | |
|                 },
 | |
|                 {
 | |
|                     "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,
 | |
|                     "animationFirstPersonWindup" : {
 | |
|                         "name" : "Jump"
 | |
|                     },
 | |
|                     "animationFirstPersonHold" : {
 | |
|                         "name" : "Jump"
 | |
|                     },
 | |
|                     "animationFirstPersonAttack" : {
 | |
|                         "name" : "Jump"
 | |
|                     }
 | |
|                 }
 | |
|             ],
 | |
|             "healthSystem" : {
 | |
|                 "maxHealth" : 100,
 | |
|                 "onDamageIFrames" : 30
 | |
|             },
 | |
|             "idleData": {
 | |
|                 "idleAnimation" : "Idle1",
 | |
|                 "firstPersonIdleAnimation" : "Idle"
 | |
|             },
 | |
|             "modelPath" : "Models/creatures/person2/person2_1.glb",
 | |
|             "viewModelData" : {
 | |
|                 "heightFromOrigin" : 0.8,
 | |
|                 "cameraViewDirOffsetY" : -0.3,
 | |
|                 "cameraViewDirOffsetZ" : 0.0,
 | |
|                 "firstPersonModelPath" : "Models/creatures/viewmodel.glb"
 | |
|             },
 | |
|             "aiTrees" : [
 | |
|                 {
 | |
|                     "name" : "Attacker",
 | |
|                     "aggroRange" : 10,
 | |
|                     "attackRange" : 2,
 | |
|                     "stateChangeTimeout" : "240"
 | |
|                 }
 | |
|             ]
 | |
|         }
 | |
|     ],
 | |
|     "files" : []
 | |
| } |