Renderer/assets/Data/entity/items/weapons.json
austin dda20e55cc
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
implement loot drops from entities
2024-11-13 23:04:35 -05:00

188 lines
5.5 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"
}
},
"boneGroups" : [
{
"id" : "torso",
"boneNamesThirdPerson" : []
}
],
"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"
}
],
"files" : [
]
}