v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
10
attic/npcs/smallshroom/arms/1/shroomarms.monsterpart
Normal file
10
attic/npcs/smallshroom/arms/1/shroomarms.monsterpart
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"name" : "shroomarms",
|
||||
"category" : "smallshroom",
|
||||
"type" : "arms",
|
||||
|
||||
"frames" : {
|
||||
"frontArm" : "shroomfarm.png",
|
||||
"backArm" : "shroombarm.png"
|
||||
}
|
||||
}
|
BIN
attic/npcs/smallshroom/arms/1/shroombarm.png
Normal file
BIN
attic/npcs/smallshroom/arms/1/shroombarm.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
attic/npcs/smallshroom/arms/1/shroomfarm.png
Normal file
BIN
attic/npcs/smallshroom/arms/1/shroomfarm.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
15
attic/npcs/smallshroom/body/fourleg/shroomchest.monsterpart
Normal file
15
attic/npcs/smallshroom/body/fourleg/shroomchest.monsterpart
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"name" : "shroomchest",
|
||||
"category" : "smallshroom",
|
||||
"type" : "chest",
|
||||
|
||||
"frames" : {
|
||||
"chest" : "shroomchest.png"
|
||||
},
|
||||
|
||||
"parameters" : {
|
||||
"walkMultiplier" : 0.6,
|
||||
"runMultiplier" : 1.5,
|
||||
"jumpMultiplier" : 1.0
|
||||
}
|
||||
}
|
BIN
attic/npcs/smallshroom/body/fourleg/shroomchest.png
Normal file
BIN
attic/npcs/smallshroom/body/fourleg/shroomchest.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
12
attic/npcs/smallshroom/default.frames
Normal file
12
attic/npcs/smallshroom/default.frames
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"frameGrid" : {
|
||||
"size" : [42, 42],
|
||||
"dimensions" : [9, 3],
|
||||
|
||||
"names" : [
|
||||
[ null, "idle" ],
|
||||
[ null, "walk.1", "walk.2", "walk.3", "walk.4", "walk.5", "walk.6", "walk.7", "walk.8" ],
|
||||
[ null, "jump", null, "melee.1", "melee.2", "melee.3", "melee.4", null, "rotation" ]
|
||||
]
|
||||
}
|
||||
}
|
13
attic/npcs/smallshroom/head/flower/flowerhead.monsterpart
Normal file
13
attic/npcs/smallshroom/head/flower/flowerhead.monsterpart
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"name" : "shroomhead",
|
||||
"category" : "smallshroom",
|
||||
"type" : "head",
|
||||
|
||||
"frames" : {
|
||||
"head" : "shroomhead.png"
|
||||
},
|
||||
|
||||
"parameters" :
|
||||
{
|
||||
}
|
||||
}
|
BIN
attic/npcs/smallshroom/head/flower/shroomhead.png
Normal file
BIN
attic/npcs/smallshroom/head/flower/shroomhead.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
685
attic/npcs/smallshroom/smallshroom.animation
Normal file
685
attic/npcs/smallshroom/smallshroom.animation
Normal file
|
@ -0,0 +1,685 @@
|
|||
{
|
||||
"animatedParts" : {
|
||||
"stateTypes" : {
|
||||
"movement" : {
|
||||
"priority" : 0,
|
||||
"default" : "idle",
|
||||
"states" : {
|
||||
"idle" : {
|
||||
"frames" : 1
|
||||
},
|
||||
"jump" : {
|
||||
"frames" : 1
|
||||
},
|
||||
"walk" : {
|
||||
"frames" : 8,
|
||||
"cycle" : 1.0,
|
||||
"mode" : "loop"
|
||||
},
|
||||
"run" : {
|
||||
"frames" : 8,
|
||||
"cycle" : 0.75,
|
||||
"mode" : "loop"
|
||||
},
|
||||
"chargeWindup" : {
|
||||
"frames" : 8,
|
||||
"cycle" : 0.5,
|
||||
"mode" : "loop"
|
||||
},
|
||||
"charge" : {
|
||||
"frames" : 8,
|
||||
"cycle" : 0.5,
|
||||
"mode" : "loop"
|
||||
},
|
||||
"knockback" : {
|
||||
"frames" : 1
|
||||
},
|
||||
"knockout" : {
|
||||
"frames" : 1
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"attack" : {
|
||||
"priority" : 1,
|
||||
"default" : "idle",
|
||||
"states" : {
|
||||
"idle" : {
|
||||
"frames" : 1
|
||||
},
|
||||
"melee" : {
|
||||
"frames" : 4,
|
||||
"cycle" : 0.4,
|
||||
"mode" : "transition",
|
||||
"transition" : "idle"
|
||||
},
|
||||
"charge" : {
|
||||
"frames" : 1
|
||||
},
|
||||
"chargeAttack" : {
|
||||
"frames" : 4,
|
||||
"cycle" : 0.6,
|
||||
"mode" : "end"
|
||||
},
|
||||
"shooting" : {
|
||||
"frames" : 1
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"parts" : {
|
||||
"backArm" : {
|
||||
"properties" : {
|
||||
"rotationGroup" : "projectileAim",
|
||||
"rotationCenter" : [0.5, -1],
|
||||
"zLevel" : 0
|
||||
},
|
||||
|
||||
"partStates" : {
|
||||
"movement" : {
|
||||
"idle" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:idle"
|
||||
}
|
||||
},
|
||||
"walk" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"run" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"charge" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"jump" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:jump"
|
||||
}
|
||||
},
|
||||
"chargeWindup" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:idle"
|
||||
}
|
||||
},
|
||||
"knockback" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:idle"
|
||||
}
|
||||
},
|
||||
"knockout" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:idle"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"attack" : {
|
||||
"melee" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"charge" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"chargeAttack" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"shooting" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:idle"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"frontArm" : {
|
||||
"properties" : {
|
||||
"rotationGroup" : "projectileAim",
|
||||
"rotationCenter" : [0.25, -1],
|
||||
"zLevel" : 4
|
||||
},
|
||||
|
||||
"partStates" : {
|
||||
"movement" : {
|
||||
"idle" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:idle"
|
||||
}
|
||||
},
|
||||
"walk" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"run" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"charge" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"jump" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:jump"
|
||||
}
|
||||
},
|
||||
"chargeWindup" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:idle"
|
||||
}
|
||||
},
|
||||
"knockback" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:idle"
|
||||
}
|
||||
},
|
||||
"knockout" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:idle"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"attack" : {
|
||||
"melee" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:melee.<frame>"
|
||||
}
|
||||
},
|
||||
"charge" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:melee.1"
|
||||
}
|
||||
},
|
||||
"chargeAttack" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:melee.<frame>"
|
||||
}
|
||||
},
|
||||
"shooting" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:rotation"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"chest" : {
|
||||
"properties" : {
|
||||
"zLevel" : 2
|
||||
},
|
||||
|
||||
"partStates" : {
|
||||
"movement" : {
|
||||
"idle" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:idle"
|
||||
}
|
||||
},
|
||||
"walk" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"run" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"charge" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"jump" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:jump"
|
||||
}
|
||||
},
|
||||
"chargeWindup" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"knockback" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:jump"
|
||||
}
|
||||
},
|
||||
"knockout" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:jump"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"tail" : {
|
||||
"properties" : {
|
||||
"zLevel" : 1
|
||||
},
|
||||
|
||||
"partStates" : {
|
||||
"movement" : {
|
||||
"idle" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:idle"
|
||||
}
|
||||
},
|
||||
"walk" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"run" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"charge" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"jump" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:jump"
|
||||
}
|
||||
},
|
||||
"chargeWindup" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"knockback" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:jump"
|
||||
}
|
||||
},
|
||||
"knockout" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:jump"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"head" : {
|
||||
"properties" : {
|
||||
"zLevel" : 3
|
||||
},
|
||||
|
||||
"partStates" : {
|
||||
"movement" : {
|
||||
"idle" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:idle"
|
||||
}
|
||||
},
|
||||
"walk" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"run" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"charge" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"jump" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:jump"
|
||||
}
|
||||
},
|
||||
"chargeWindup" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"knockback" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:jump"
|
||||
}
|
||||
},
|
||||
"knockout" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:jump"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"attack" : {
|
||||
"melee" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:melee.<frame>"
|
||||
}
|
||||
},
|
||||
"charge" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:melee.1"
|
||||
}
|
||||
},
|
||||
"chargeAttack" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:melee.<frame>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"rotationGroups" : {
|
||||
"projectileAim" : {
|
||||
"angularVelocity" : 1.5
|
||||
}
|
||||
},
|
||||
|
||||
"particleEmitters" : {
|
||||
"damage" : {
|
||||
"emissionRate" : 0.7,
|
||||
"particles" : [
|
||||
]
|
||||
},
|
||||
|
||||
"stun" : {
|
||||
"emissionRate" : 5,
|
||||
"particles" : [
|
||||
{
|
||||
"particle" : {
|
||||
"type" : "animated",
|
||||
"animation" : "/animations/sparkles/sparkle4.animation",
|
||||
"size" : 1,
|
||||
"position" : [0, 0.5],
|
||||
"destructionTime" : 7,
|
||||
"initialVelocity" : [0, 0],
|
||||
"finalVelocity" : [0, 0],
|
||||
"timeToLive" : 0.7,
|
||||
"layer" : "front",
|
||||
"variance" : {
|
||||
"position" : [1, 0.7]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"gust" : {
|
||||
"emissionRate" : 20,
|
||||
"particles" : [
|
||||
{
|
||||
"particle" : {
|
||||
"type" : "ember",
|
||||
"size" : 1.5,
|
||||
"color" : [255, 255, 255, 255],
|
||||
"fade" : 0.25,
|
||||
"position" : [-1.5, 0],
|
||||
"destructionAction" : "shrink",
|
||||
"destructionTime" : 7,
|
||||
"initialVelocity" : [-20, 0.0],
|
||||
"finalVelocity" : [-2, 0.0],
|
||||
"timeToLive" : 0.7,
|
||||
"light" : [14, 47, 72],
|
||||
"layer" : "front",
|
||||
"variance" : {
|
||||
"initialVelocity" : [4, 2],
|
||||
"finalVelocity" : [2, 2],
|
||||
"position" : [0, 1]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"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]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"captureParticles" : {
|
||||
"particles" : [
|
||||
{
|
||||
"particle" : {
|
||||
"type" : "animated",
|
||||
"animation" : "/animations/energy/energy.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"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"levelUp" : {
|
||||
"particles" : [
|
||||
{ "particle" : "monsterlevelup" }
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"sounds" : {
|
||||
"turnHostile" : [ "/sfx/npc/monsters/monster_surprise.ogg" ],
|
||||
"deathPuff" : [ "/sfx/npc/enemydeathpuff.ogg" ]
|
||||
},
|
||||
"effects" : {
|
||||
"blink" : {
|
||||
"type" : "flash",
|
||||
"time" : 0.25,
|
||||
"directives" : "fade=ffffff;0.5"
|
||||
},
|
||||
|
||||
"recover" : {
|
||||
"type" : "flash",
|
||||
"time" : 0.25,
|
||||
"directives" : "fade=33FF33;0.25"
|
||||
}
|
||||
}
|
||||
}
|
165
attic/npcs/smallshroom/smallshroom.monstertype
Normal file
165
attic/npcs/smallshroom/smallshroom.monstertype
Normal file
|
@ -0,0 +1,165 @@
|
|||
{
|
||||
"type" : "smallshroom",
|
||||
|
||||
"categories" : [ "smallshroom" ],
|
||||
"parts" : [ "arms", "chest", "tail", "head" ],
|
||||
"partParameters" : "smallshroom.partparams",
|
||||
|
||||
"animation" : "smallshroom.animation",
|
||||
"reversed" : true,
|
||||
|
||||
"dropPools" : [
|
||||
{
|
||||
"default" : "basicMonsterTreasure",
|
||||
"bow" : "hunting",
|
||||
"brain" : "brain"
|
||||
}
|
||||
],
|
||||
|
||||
"baseParameters" : {
|
||||
"scripts" : [
|
||||
"/monsters/capturepod.lua",
|
||||
"/monsters/generated/ground/groundMonster.lua",
|
||||
"/scripts/pathing.lua",
|
||||
"/scripts/stateMachine.lua",
|
||||
"/scripts/util.lua",
|
||||
"/scripts/vec2.lua",
|
||||
|
||||
"/monsters/generated/ground/aggroHopState.lua",
|
||||
"/monsters/generated/ground/approachState.lua",
|
||||
"/monsters/generated/ground/fleeState.lua",
|
||||
"/monsters/generated/ground/stunState.lua",
|
||||
"/monsters/generated/ground/captiveState.lua",
|
||||
"/monsters/generated/ground/socializeState.lua",
|
||||
"/monsters/generated/ground/wanderState.lua",
|
||||
|
||||
"/monsters/generated/ground/skills/createGroundRangedAttack.lua"
|
||||
],
|
||||
|
||||
"territoryDistance" : 40.0,
|
||||
"territorialTargetRadius" : 20.0,
|
||||
"minimalTargetRadius" : 6.0,
|
||||
"targetSearchTime" : 0.5,
|
||||
"targetHoldTime" : 5.0,
|
||||
|
||||
"closeDistance" : 1.5,
|
||||
|
||||
"wanderTime" : [4.0, 6.0],
|
||||
"wanderMovementTime" : [2.0, 3.0],
|
||||
"wanderJumpProbability" : 0.1,
|
||||
|
||||
"jumpTargetDistance" : 4,
|
||||
"jumpTime" : [0.8, 1.4],
|
||||
|
||||
"pathing" : {
|
||||
"canOpenDoors" : false
|
||||
},
|
||||
|
||||
"knockoutTime" : 0.5,
|
||||
"knockoutEffect" : "blink",
|
||||
"knockoutAnimationStates" : {
|
||||
"movement" : "knockout",
|
||||
"attack" : "idle"
|
||||
},
|
||||
"deathParticles" : "deathPoof",
|
||||
"captureParticles" : "captureParticles",
|
||||
"levelUpParticles" : "levelUp",
|
||||
|
||||
"exhaustionTimer" : 3.0,
|
||||
"exhaustionTimeout" : 3.0,
|
||||
"exhaustionDistanceLimit" : 1.0,
|
||||
|
||||
"captureHealthFraction" : 0.5,
|
||||
"killsPerLevel" : 20
|
||||
},
|
||||
|
||||
"familyParameters" : [
|
||||
[
|
||||
{
|
||||
"baseSkills" : [ ],
|
||||
"specialSkills" : [ "chargeAttack" ]
|
||||
},
|
||||
{
|
||||
"baseSkills" : [ ],
|
||||
"specialSkills" : [ "pounceAttack" ]
|
||||
}
|
||||
]
|
||||
],
|
||||
|
||||
"variantParameters" : [
|
||||
[
|
||||
[1.0, {
|
||||
"scale" : 1.0,
|
||||
|
||||
"movementSettings" : {
|
||||
"collisionPoly" : [ [-1, -2.6], [1, -2.6], [1, 0], [-1, 0] ],
|
||||
"mass" : 0.6,
|
||||
"walkSpeed" : 5,
|
||||
"runSpeed" : 6,
|
||||
|
||||
"airJumpProfile" : {
|
||||
"jumpSpeed" : 40.0
|
||||
}
|
||||
},
|
||||
|
||||
"metaBoundBox" : [-2.5, -2.5, 2.5, 2.5],
|
||||
|
||||
"blockedSensors" : [ [1.5, -1.5], [1.5, -1.0], [1.5, -0.2], [1.5, 0.6] ],
|
||||
"fallSensors" : [ [0.5, -2.5], [0.5, -3.5], [0.5, -4.5], [2.0, -2.5], [2.0, -3.5], [2.0, -4.5] ],
|
||||
|
||||
"touchDamage" : {
|
||||
"poly" : [ [-1, -2.6], [1, -2.6], [1, 0], [-1, 0] ],
|
||||
"damage" : 12,
|
||||
|
||||
"teamType" : "enemy",
|
||||
"damageSourceKind" : "default",
|
||||
"statusEffects" : [ ]
|
||||
},
|
||||
|
||||
"statusSettings" : {
|
||||
"statusProperties" : {
|
||||
"targetMaterialKind" : "organic"
|
||||
},
|
||||
|
||||
"appliesEnvironmentStatusEffects" : false,
|
||||
"minimumLiquidStatusEffectPercentage" : 0.1,
|
||||
|
||||
"primaryScriptSources" : [
|
||||
"/stats/monster_primary.lua"
|
||||
],
|
||||
"primaryScriptDelta" : 5,
|
||||
|
||||
"stats" : {
|
||||
"knockbackStunTime" : {
|
||||
"baseValue" : 0.25
|
||||
},
|
||||
"maxHealth" : {
|
||||
"baseValue" : 48
|
||||
},
|
||||
"protection" : {
|
||||
"baseValue" : 0.0
|
||||
},
|
||||
"healthRegen" : {
|
||||
"baseValue" : 0.0
|
||||
}
|
||||
},
|
||||
|
||||
"resources" : {
|
||||
"stunned" : {
|
||||
"deltaValue" : -1.0,
|
||||
"initialValue" : 0.0
|
||||
},
|
||||
"health" : {
|
||||
"maxStat" : "maxHealth",
|
||||
"deltaStat" : "healthRegen",
|
||||
"defaultPercentage" : 100
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"mouthOffset" : [0, 0],
|
||||
"feetOffset" : [0, -21]
|
||||
} ]
|
||||
]
|
||||
]
|
||||
}
|
18
attic/npcs/smallshroom/smallshroom.partparams
Normal file
18
attic/npcs/smallshroom/smallshroom.partparams
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"partParameterDescription" : {
|
||||
"weightMultiplier" : [ "multiply", 1.0],
|
||||
"walkMultiplier" : [ "multiply", 1.0],
|
||||
"runMultiplier" : [ "multiply", 1.0],
|
||||
"jumpMultiplier" : [ "multiply", 1.0],
|
||||
|
||||
"baseSkills" : [ "merge", [ ] ],
|
||||
"specialSkills" : [ "merge", [ ] ],
|
||||
|
||||
"projectileSourcePosition" : [ "override", [0.0, -1.0] ],
|
||||
"meleeProjectile" : [ "override", "chomp4" ]
|
||||
},
|
||||
|
||||
"partParameters" : {
|
||||
|
||||
}
|
||||
}
|
9
attic/npcs/smallshroom/tail/bunny/shroomtail.monsterpart
Normal file
9
attic/npcs/smallshroom/tail/bunny/shroomtail.monsterpart
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"name" : "shroomtail",
|
||||
"category" : "smallshroom",
|
||||
"type" : "tail",
|
||||
|
||||
"frames" : {
|
||||
"tail" : "shroomtail.png"
|
||||
}
|
||||
}
|
BIN
attic/npcs/smallshroom/tail/bunny/shroomtail.png
Normal file
BIN
attic/npcs/smallshroom/tail/bunny/shroomtail.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 781 B |
Loading…
Add table
Add a link
Reference in a new issue