63 lines
1.2 KiB
Text
63 lines
1.2 KiB
Text
{
|
|
"animatedParts" : {
|
|
"stateTypes" : {
|
|
"firing" : {
|
|
"default" : "off",
|
|
"states" : {
|
|
"off" : {},
|
|
"fire" : {
|
|
"frames" : 2,
|
|
"cycle" : 0.07,
|
|
"mode" : "transition",
|
|
"transition" : "off"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
|
|
"parts" : {
|
|
"gun" : {
|
|
"properties" : {
|
|
"centered" : true,
|
|
"image" : "<partImage>",
|
|
"offset" : [0.5, 0.125]
|
|
}
|
|
},
|
|
"muzzleFlash" : {
|
|
"properties" : {
|
|
"zLevel" : -1,
|
|
"centered" : true,
|
|
"offset" : [3.625, 0.375],
|
|
"fullbright" : true
|
|
},
|
|
|
|
"partStates" : {
|
|
"firing" : {
|
|
"off" : {
|
|
"properties" : {
|
|
"image" : ""
|
|
}
|
|
},
|
|
"fire" : {
|
|
"properties" : {
|
|
"image" : "<partImage>:<variant>.<frame>"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
|
|
"lights" : {
|
|
"muzzleFlash" : {
|
|
"active" : false,
|
|
"position" : [3.25, 0.25],
|
|
"color" : [60, 60, 0]
|
|
}
|
|
},
|
|
|
|
"sounds" : {
|
|
"fire" : [ ]
|
|
}
|
|
}
|