268 lines
7.1 KiB
Text
268 lines
7.1 KiB
Text
{
|
|
"animatedParts" : {
|
|
"stateTypes" : {
|
|
"default" : {
|
|
"priority" : 0,
|
|
"default" : "idle",
|
|
|
|
"states" : {
|
|
"idle" : {
|
|
"frames" : 1,
|
|
"mode" : "loop"
|
|
},
|
|
"shoot" : {
|
|
"frames" : 4,
|
|
"cycle" : 1.5,
|
|
"mode" : "transition",
|
|
"transition" : "recoil"
|
|
},
|
|
"recoil" : {
|
|
"frames" : 4,
|
|
"cycle" : 1.5,
|
|
"mode" : "transition",
|
|
"transition" : "idle"
|
|
},
|
|
"die" : {
|
|
"frames" : 1,
|
|
"cycle" : 0.5,
|
|
"mode" : "transition",
|
|
"transition" : "invisible"
|
|
},
|
|
"invisible" : {
|
|
"frames" : 1
|
|
}
|
|
}
|
|
}
|
|
},
|
|
|
|
"parts" : {
|
|
"body" : {
|
|
"partStates" : {
|
|
"default" : {
|
|
"idle" : {
|
|
"properties" : {
|
|
"image" : "<partImage>:idle.<frame>"
|
|
}
|
|
},
|
|
"shoot" : {
|
|
"properties" : {
|
|
"image" : "<partImage>:shoot.<frame>"
|
|
}
|
|
},
|
|
"recoil" : {
|
|
"properties" : {
|
|
"image" : "<partImage>:recoil.<frame>"
|
|
}
|
|
},
|
|
"die" : {
|
|
"properties" : {
|
|
"image" : "<partImage>:die.<frame>"
|
|
}
|
|
},
|
|
"invisible" : {
|
|
"properties" : {
|
|
"image" : "<partImage>:invisible"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
|
|
"particleEmitters" : {
|
|
"deathPoof" : {
|
|
"particles" : [
|
|
{
|
|
"particle" : {
|
|
"type" : "animated",
|
|
"animation" : "/animations/puff2c/puff2c.animation",
|
|
"size" : 1,
|
|
"angularVelocity" : 35,
|
|
"fade" : 1,
|
|
"destructionTime" : 7,
|
|
"position" : [0, 0],
|
|
"initialVelocity" : [0, 0],
|
|
"finalVelocity" : [0, 0],
|
|
"approach" : [1, 1],
|
|
"timeToLive" : 0.4,
|
|
"layer" : "middle"
|
|
}
|
|
},
|
|
{
|
|
"particle" : {
|
|
"type" : "animated",
|
|
"animation" : "/animations/fizz1/fizz1.animation",
|
|
"size" : 1,
|
|
"angularVelocity" : 20,
|
|
"fade" : 1,
|
|
"destructionTime" : 7,
|
|
"position" : [0, 0],
|
|
"initialVelocity" : [-8, 8],
|
|
"finalVelocity" : [-3, -4],
|
|
"approach" : [15, 15],
|
|
"timeToLive" : 3.45,
|
|
"layer" : "middle",
|
|
"variance" : {
|
|
"initialVelocity" : [-4, 2],
|
|
"finalVelocity" : [-3, -4]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"particle" : {
|
|
"type" : "animated",
|
|
"animation" : "/animations/fizz1/fizz1.animation",
|
|
"size" : 1,
|
|
"angularVelocity" : 20,
|
|
"fade" : 1,
|
|
"destructionTime" : 7,
|
|
"position" : [0, 0],
|
|
"initialVelocity" : [8, 8],
|
|
"finalVelocity" : [3, -4],
|
|
"approach" : [15, 15],
|
|
"timeToLive" : 3.45,
|
|
"layer" : "middle",
|
|
"variance" : {
|
|
"initialVelocity" : [4, 2],
|
|
"finalVelocity" : [3, -4]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"particle" : {
|
|
"type" : "animated",
|
|
"animation" : "/animations/fizz2/fizz2.animation",
|
|
"size" : 1,
|
|
"angularVelocity" : 20,
|
|
"fade" : 1,
|
|
"destructionTime" : 7,
|
|
"position" : [0, 0],
|
|
"initialVelocity" : [-8, 8],
|
|
"finalVelocity" : [-3, -4],
|
|
"approach" : [15, 15],
|
|
"timeToLive" : 3.45,
|
|
"layer" : "middle",
|
|
"variance" : {
|
|
"initialVelocity" : [-4, 2],
|
|
"finalVelocity" : [-3, -4]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"particle" : {
|
|
"type" : "animated",
|
|
"animation" : "/animations/fizz2/fizz2.animation",
|
|
"size" : 1,
|
|
"angularVelocity" : 20,
|
|
"fade" : 1,
|
|
"destructionTime" : 7,
|
|
"position" : [0, 0],
|
|
"initialVelocity" : [8, 8],
|
|
"finalVelocity" : [3, -4],
|
|
"approach" : [15, 15],
|
|
"timeToLive" : 3.45,
|
|
"layer" : "middle",
|
|
"variance" : {
|
|
"initialVelocity" : [4, 2],
|
|
"finalVelocity" : [3, -4]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"particle" : {
|
|
"type" : "animated",
|
|
"animation" : "/animations/fizz3/fizz3.animation",
|
|
"size" : 1,
|
|
"angularVelocity" : 20,
|
|
"fade" : 1,
|
|
"destructionTime" : 7,
|
|
"position" : [0, 0],
|
|
"initialVelocity" : [-8, 8],
|
|
"finalVelocity" : [-3, -4],
|
|
"approach" : [15, 15],
|
|
"timeToLive" : 3.45,
|
|
"layer" : "middle",
|
|
"variance" : {
|
|
"initialVelocity" : [-4, 2],
|
|
"finalVelocity" : [-3, -4]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"particle" : {
|
|
"type" : "animated",
|
|
"animation" : "/animations/fizz3/fizz3.animation",
|
|
"size" : 1,
|
|
"angularVelocity" : 20,
|
|
"fade" : 1,
|
|
"destructionTime" : 7,
|
|
"position" : [0, 0],
|
|
"initialVelocity" : [8, 8],
|
|
"finalVelocity" : [3, -4],
|
|
"approach" : [15, 15],
|
|
"timeToLive" : 3.45,
|
|
"layer" : "middle",
|
|
"variance" : {
|
|
"initialVelocity" : [4, 2],
|
|
"finalVelocity" : [3, -4]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"particle" : {
|
|
"type" : "animated",
|
|
"animation" : "/animations/fizz4/fizz4.animation",
|
|
"size" : 1,
|
|
"angularVelocity" : 20,
|
|
"fade" : 1,
|
|
"destructionTime" : 7,
|
|
"position" : [0, 0],
|
|
"initialVelocity" : [-8, 8],
|
|
"finalVelocity" : [-3, -4],
|
|
"approach" : [15, 15],
|
|
"timeToLive" : 3.45,
|
|
"layer" : "middle",
|
|
"variance" : {
|
|
"initialVelocity" : [-4, 2],
|
|
"finalVelocity" : [-3, -4]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"particle" : {
|
|
"type" : "animated",
|
|
"animation" : "/animations/fizz4/fizz4.animation",
|
|
"size" : 1,
|
|
"angularVelocity" : 20,
|
|
"fade" : 1,
|
|
"destructionTime" : 7,
|
|
"position" : [0, 0],
|
|
"initialVelocity" : [8, 8],
|
|
"finalVelocity" : [3, -4],
|
|
"approach" : [15, 15],
|
|
"timeToLive" : 3.45,
|
|
"layer" : "middle",
|
|
"variance" : {
|
|
"initialVelocity" : [4, 2],
|
|
"finalVelocity" : [3, -4]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
|
|
"effects" : {
|
|
"blink" : {
|
|
"type" : "flash",
|
|
"time" : 0.25,
|
|
"directives" : "fade=ffffff;0.5"
|
|
}
|
|
},
|
|
|
|
"sounds" : {
|
|
"turnHostile" : [ ],
|
|
"deathPuff" : [ "/sfx/npc/enemydeathpuff.ogg" ]
|
|
}
|
|
}
|