399 lines
12 KiB
JSON
399 lines
12 KiB
JSON
{
|
|
"items" : [
|
|
|
|
|
|
|
|
{
|
|
"id" : "Katana",
|
|
"modelPath" : "Models/items/weapons/katana1alt.fbx",
|
|
"weaponData" : {
|
|
"weaponClass" : "sword1h",
|
|
"damage" : 10,
|
|
"hitboxes" : [
|
|
{
|
|
"type": "hit_connected",
|
|
"bone": "Blade1",
|
|
"radius": 0.04
|
|
},
|
|
{
|
|
"type": "hit_connected",
|
|
"bone": "Blade2",
|
|
"radius": 0.04
|
|
},
|
|
{
|
|
"type": "hit_connected",
|
|
"bone": "Blade3",
|
|
"radius": 0.04
|
|
}
|
|
]
|
|
},
|
|
"equipData": {
|
|
"equipClass" : "weapon"
|
|
},
|
|
"tokens" : [
|
|
"GRAVITY",
|
|
"MELEE",
|
|
"TARGETABLE",
|
|
"OUTLINE"
|
|
],
|
|
"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"
|
|
},
|
|
{
|
|
"id" : "Katana2H",
|
|
"weaponData" : {
|
|
"weaponClass" : "sword2h",
|
|
"damage" : 10,
|
|
"weaponActionMovePenalty" : 0.4,
|
|
"hitboxes" : [
|
|
{
|
|
"type": "hit_connected",
|
|
"bone": "Blade1",
|
|
"radius": 0.06,
|
|
"offset": [0, 0, -0.03]
|
|
},
|
|
{
|
|
"type": "hit_connected",
|
|
"bone": "Blade2",
|
|
"radius": 0.06,
|
|
"offset": [0, 0, -0.1]
|
|
},
|
|
{
|
|
"type": "hit_connected",
|
|
"bone": "Blade2",
|
|
"radius": 0.06,
|
|
"offset": [0, 0, 0.02]
|
|
},
|
|
{
|
|
"type": "hit_connected",
|
|
"bone": "Blade3",
|
|
"radius": 0.06,
|
|
"offset": [0, 0, -0.07]
|
|
},
|
|
{
|
|
"type": "hit_connected",
|
|
"bone": "Blade3",
|
|
"radius": 0.06,
|
|
"offset": [0, 0, 0.05]
|
|
},
|
|
{
|
|
"type": "hit_connected",
|
|
"bone": "Blade3",
|
|
"radius": 0.06,
|
|
"offset": [0, 0, 0.15]
|
|
}
|
|
]
|
|
},
|
|
"itemBlockData": {
|
|
|
|
},
|
|
"equipData": {
|
|
"equipClass" : "weapon2H"
|
|
},
|
|
"itemAudio": {
|
|
"uiGrabAudio" : "Audio/ui/items/specific/Pick Up Metal A.wav",
|
|
"uiReleaseAudio" : "Audio/ui/items/specific/Drop Metal A.wav"
|
|
},
|
|
"tokens" : [
|
|
"GRAVITY",
|
|
"MELEE",
|
|
"TARGETABLE",
|
|
"OUTLINE"
|
|
],
|
|
"graphicsTemplate": {
|
|
"model": {
|
|
"idleData": {
|
|
"animation": {
|
|
"nameFirstPerson" : "Idle",
|
|
"nameThirdPerson" : "Idle",
|
|
"priorityCategory" : "IDLE"
|
|
}
|
|
},
|
|
"path" : "Models/items/weapons/katana1alt.glb"
|
|
}
|
|
},
|
|
"collidable": {
|
|
"type" : "CUBE",
|
|
"dimension1" : 0.04,
|
|
"dimension2" : 0.04,
|
|
"dimension3" : 0.8,
|
|
"rotX": 0,
|
|
"rotY": 0,
|
|
"rotZ": 0,
|
|
"rotW": 1,
|
|
"offsetX" : 0.0,
|
|
"offsetY" : 0.0,
|
|
"offsetZ" : 0.0
|
|
},
|
|
"iconPath" : "Textures/icons/greatsword.png"
|
|
},
|
|
{
|
|
"id" : "bow1",
|
|
"modelPath": "Models/bow1.fbx",
|
|
"weaponData" : {
|
|
"weaponClass" : "bow2h",
|
|
"damage" : 10,
|
|
"projectileModel" : "Models/arrow1.fbx"
|
|
},
|
|
"equipData": {
|
|
"equipClass" : "weapon"
|
|
},
|
|
"tokens" : [
|
|
"GRAVITY",
|
|
"RANGED",
|
|
"TARGETABLE",
|
|
"OUTLINE"
|
|
],
|
|
"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"
|
|
},
|
|
|
|
{
|
|
"id" : "shorts1",
|
|
"modelPath": "Models/items/itemEntityShorts.fbx",
|
|
"equipData": {
|
|
"equipClass" : "clothing",
|
|
"equipWhitelist" : [
|
|
{
|
|
"creatureId" : "human",
|
|
"model" : "Models/creatures/person2/clothing/shorts1.fbx",
|
|
"meshList" : [
|
|
"ClothingItem"
|
|
],
|
|
"meshMaskList" : [
|
|
"Shorts"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tokens" : [
|
|
"GRAVITY",
|
|
"TARGETABLE"
|
|
],
|
|
"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"
|
|
},
|
|
|
|
{
|
|
"id" : "hairshort1",
|
|
"modelPath": "Models/itemEntityShorts.fbx",
|
|
"equipData": {
|
|
"equipClass" : "trait",
|
|
"equipWhitelist" : [
|
|
{
|
|
"creatureId" : "human",
|
|
"model" : "Models/hairshort1.fbx",
|
|
"meshList" : [
|
|
"Hair"
|
|
],
|
|
"meshMaskList" : []
|
|
}
|
|
]
|
|
},
|
|
"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"
|
|
},
|
|
|
|
{
|
|
"id" : "boots1",
|
|
"modelPath": "Models/boots1.glb",
|
|
"tokens" : [
|
|
"GRAVITY",
|
|
"ARMOR",
|
|
"TARGETABLE"
|
|
],
|
|
"equipData": {
|
|
"equipClass" : "clothing",
|
|
"equipWhitelist" : [
|
|
{
|
|
"creatureId" : "human",
|
|
"model" : "Models/boots1.glb",
|
|
"meshList" : [
|
|
"BootLeft",
|
|
"BootRight"
|
|
],
|
|
"meshMaskList" : [
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"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"
|
|
},
|
|
|
|
{
|
|
"id" : "shirt1",
|
|
"modelPath": "Models/itemEntityShorts.fbx",
|
|
"tokens" : [
|
|
"GRAVITY",
|
|
"ARMOR",
|
|
"TARGETABLE"
|
|
],
|
|
"equipData": {
|
|
"equipClass" : "clothing",
|
|
"equipWhitelist" : [
|
|
{
|
|
"creatureId" : "human",
|
|
"model" : "Models/shirt1.fbx",
|
|
"meshList" : [
|
|
"ClothingItem"
|
|
],
|
|
"meshMaskList" : [
|
|
"ShoulderLeft",
|
|
"ShoulderRight"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"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"
|
|
},
|
|
|
|
{
|
|
"id" : "terrainTool",
|
|
"tokens" : [
|
|
"GRAVITY",
|
|
"TARGETABLE"
|
|
],
|
|
"equipData": {
|
|
"equipClass" : "tool"
|
|
},
|
|
"graphicsTemplate": {
|
|
"model": {
|
|
"path" : "Models/items/weapons/shovel1.glb"
|
|
}
|
|
},
|
|
"clientSidePrimary": "ADD_VOXEL",
|
|
"clientSideSecondary": "OPEN_VOXEL",
|
|
"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"
|
|
},
|
|
|
|
{
|
|
"id" : "spawningPalette",
|
|
"tokens" : [
|
|
"GRAVITY",
|
|
"TARGETABLE"
|
|
],
|
|
"equipData": {
|
|
"equipClass" : "tool"
|
|
},
|
|
"graphicsTemplate": {
|
|
"model": {
|
|
"path" : "Models/basic/geometry/unitvector.glb"
|
|
}
|
|
},
|
|
"clientSidePrimary": "LEVEL_EDIT_SPAWN",
|
|
"clientSideSecondary": "OPEN_SPAWN_SELECT",
|
|
"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"
|
|
}
|
|
|
|
|
|
|
|
|
|
]
|
|
} |