235 lines
		
	
	
		
			6.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			235 lines
		
	
	
		
			6.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "items" : [
 | |
| 
 | |
| 
 | |
| 
 | |
|         {
 | |
|             "itemId" : "Katana",
 | |
|             "modelPath" : "Models/items/weapons/katana1alt.fbx",
 | |
|             "weaponData" : {
 | |
|                 "weaponClass" : "sword1h",
 | |
|                 "damage" : 10,
 | |
|                 "hitboxes" : [
 | |
|                     {
 | |
|                         "type": "hit",
 | |
|                         "bone": "Blade1",
 | |
|                         "radius": 0.04
 | |
|                     },
 | |
|                     {
 | |
|                         "type": "hit",
 | |
|                         "bone": "Blade2",
 | |
|                         "radius": 0.04
 | |
|                     },
 | |
|                     {
 | |
|                         "type": "hit",
 | |
|                         "bone": "Blade3",
 | |
|                         "radius": 0.04
 | |
|                     }
 | |
|                 ]
 | |
|             },
 | |
|             "tokens" : [
 | |
|                 "GRAVITY",
 | |
|                 "BLENDER_TRANSFORM",
 | |
|                 "MELEE",
 | |
|                 "TARGETABLE",
 | |
|                 "OUTLINE"
 | |
|             ],
 | |
|             "equipClass" : "weapon",
 | |
|             "idleAnim" : "Sword|Idle",
 | |
|             "collidable": {
 | |
|                 "type" : "CUBE",
 | |
|                 "dimension1" : 0.03,
 | |
|                 "dimension2" : 0.03,
 | |
|                 "dimension3" : 0.2,
 | |
|                 "rotX": 0,
 | |
|                 "rotY": 0,
 | |
|                 "rotZ": 0,
 | |
|                 "rotW": 1,
 | |
|                 "offsetX" : 0.0,
 | |
|                 "offsetY" : 0.05,
 | |
|                 "offsetZ" : 0.0
 | |
|             },
 | |
|             "iconPath" : "Textures/icons/itemIconWeapon.png"
 | |
|         },
 | |
|         {
 | |
|             "itemId" : "bow1",
 | |
|             "modelPath": "Models/bow1.fbx",
 | |
|             "weaponData" : {
 | |
|                 "weaponClass" : "bow2h",
 | |
|                 "damage" : 10,
 | |
|                 "projectileModel" : "Models/arrow1.fbx"
 | |
|             },
 | |
|             "tokens" : [
 | |
|                 "GRAVITY",
 | |
|                 "RANGED",
 | |
|                 "TARGETABLE",
 | |
|                 "OUTLINE"
 | |
|             ],
 | |
|             "equipClass" : "weapon",
 | |
|             "collidable": {
 | |
|                 "type" : "CUBE",
 | |
|                 "dimension1" : 0.1,
 | |
|                 "dimension2" : 0.1,
 | |
|                 "dimension3" : 0.35,
 | |
|                 "rotX": 0,
 | |
|                 "rotY": 0,
 | |
|                 "rotZ": 0,
 | |
|                 "rotW": 1,
 | |
|                 "offsetX" : 0,
 | |
|                 "offsetY" : 0.05,
 | |
|                 "offsetZ" : 0
 | |
|             },
 | |
|             "iconPath" : "Textures/icons/itemIconWeapon.png"
 | |
|         },
 | |
| 
 | |
|         {
 | |
|             "itemId" : "shorts1",
 | |
|             "modelPath": "Models/items/itemEntityShorts.fbx",
 | |
|             "tokens" : [
 | |
|                 "GRAVITY",
 | |
|                 "TARGETABLE"
 | |
|             ],
 | |
|             "equipClass" : "clothing",
 | |
|             "collidable": {
 | |
|                 "type" : "CUBE",
 | |
|                 "dimension1" : 0.1,
 | |
|                 "dimension2" : 0.1,
 | |
|                 "dimension3" : 0.35,
 | |
|                 "rotX": 0,
 | |
|                 "rotY": 0,
 | |
|                 "rotZ": 0,
 | |
|                 "rotW": 1,
 | |
|                 "offsetX" : 0,
 | |
|                 "offsetY" : 0.05,
 | |
|                 "offsetZ" : 0
 | |
|             },
 | |
|             "iconPath" : "Textures/icons/itemIconItemGeneric.png",
 | |
|             "equipWhitelist" : [
 | |
|                 {
 | |
|                     "creatureId" : "human",
 | |
|                     "model" : "Models/creatures/person2/clothing/shorts1.fbx",
 | |
|                     "meshList" : [
 | |
|                         "ClothingItem"
 | |
|                     ],
 | |
|                     "meshMaskList" : [
 | |
|                         "Shorts"
 | |
|                     ]
 | |
|                 }
 | |
|             ]
 | |
|         },
 | |
| 
 | |
|         {
 | |
|             "itemId" : "hairshort1",
 | |
|             "modelPath": "Models/itemEntityShorts.fbx",
 | |
|             "tokens" : [
 | |
|                 "GRAVITY",
 | |
|                 "ARMOR",
 | |
|                 "TARGETABLE"
 | |
|             ],
 | |
|             "equipClass" : "trait",
 | |
|             "collidable": {
 | |
|                 "type" : "CUBE",
 | |
|                 "dimension1" : 0.1,
 | |
|                 "dimension2" : 0.1,
 | |
|                 "dimension3" : 0.35,
 | |
|                 "rotX": 0,
 | |
|                 "rotY": 0,
 | |
|                 "rotZ": 0,
 | |
|                 "rotW": 1,
 | |
|                 "offsetX" : 0,
 | |
|                 "offsetY" : 0.05,
 | |
|                 "offsetZ" : 0
 | |
|             },
 | |
|             "iconPath" : "Textures/icons/itemIconItemGeneric.png",
 | |
|             "equipWhitelist" : [
 | |
|                 {
 | |
|                     "creatureId" : "human",
 | |
|                     "model" : "Models/hairshort1.fbx",
 | |
|                     "meshList" : [
 | |
|                         "Hair"
 | |
|                     ],
 | |
|                     "meshMaskList" : []
 | |
|                 }
 | |
|             ]
 | |
|         },
 | |
| 
 | |
|         {
 | |
|             "itemId" : "boots1",
 | |
|             "modelPath": "Models/boots1.glb",
 | |
|             "tokens" : [
 | |
|                 "GRAVITY",
 | |
|                 "ARMOR",
 | |
|                 "TARGETABLE"
 | |
|             ],
 | |
|             "equipClass" : "clothing",
 | |
|             "collidable": {
 | |
|                 "type" : "CUBE",
 | |
|                 "dimension1" : 0.1,
 | |
|                 "dimension2" : 0.1,
 | |
|                 "dimension3" : 0.35,
 | |
|                 "rotX": 0,
 | |
|                 "rotY": 0,
 | |
|                 "rotZ": 0,
 | |
|                 "rotW": 1,
 | |
|                 "offsetX" : 0,
 | |
|                 "offsetY" : 0.05,
 | |
|                 "offsetZ" : 0
 | |
|             },
 | |
|             "iconPath" : "Textures/icons/itemIconItemGeneric.png",
 | |
|             "equipWhitelist" : [
 | |
|                 {
 | |
|                     "creatureId" : "human",
 | |
|                     "model" : "Models/boots1.glb",
 | |
|                     "meshList" : [
 | |
|                         "BootLeft",
 | |
|                         "BootRight"
 | |
|                     ],
 | |
|                     "meshMaskList" : [
 | |
|                     ]
 | |
|                 }
 | |
|             ]
 | |
|         },
 | |
| 
 | |
|         {
 | |
|             "itemId" : "shirt1",
 | |
|             "modelPath": "Models/itemEntityShorts.fbx",
 | |
|             "tokens" : [
 | |
|                 "GRAVITY",
 | |
|                 "ARMOR",
 | |
|                 "TARGETABLE"
 | |
|             ],
 | |
|             "equipClass" : "clothing",
 | |
|             "collidable": {
 | |
|                 "type" : "CUBE",
 | |
|                 "dimension1" : 0.1,
 | |
|                 "dimension2" : 0.1,
 | |
|                 "dimension3" : 0.35,
 | |
|                 "rotX": 0,
 | |
|                 "rotY": 0,
 | |
|                 "rotZ": 0,
 | |
|                 "rotW": 1,
 | |
|                 "offsetX" : 0,
 | |
|                 "offsetY" : 0.05,
 | |
|                 "offsetZ" : 0
 | |
|             },
 | |
|             "iconPath" : "Textures/icons/itemIconItemGeneric.png",
 | |
|             "equipWhitelist" : [
 | |
|                 {
 | |
|                     "creatureId" : "human",
 | |
|                     "model" : "Models/shirt1.fbx",
 | |
|                     "meshList" : [
 | |
|                         "ClothingItem"
 | |
|                     ],
 | |
|                     "meshMaskList" : [
 | |
|                         "ShoulderLeft",
 | |
|                         "ShoulderRight"
 | |
|                     ]
 | |
|                 }
 | |
|             ]
 | |
|         }
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|     ]
 | |
| } |