v1.4.4
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"name" : "hugedragonbarm",
|
||||
"category" : "hugebiped",
|
||||
"type" : "barm",
|
||||
|
||||
"frames" : {
|
||||
"backArm" : "hugedragonbarm.png"
|
||||
}
|
||||
}
|
BIN
attic/npcs/hugebiped/barm/dragon/hugedragonbarm.png
Normal file
After Width: | Height: | Size: 27 KiB |
47
attic/npcs/hugebiped/behavior.lua
Normal file
|
@ -0,0 +1,47 @@
|
|||
function init()
|
||||
self.state = stateMachine.create({
|
||||
"moveState"
|
||||
})
|
||||
self.state.leavingState = function(stateName)
|
||||
entity.setAnimationState("movement", "idle")
|
||||
end
|
||||
|
||||
entity.setAggressive(false)
|
||||
entity.setDeathParticleBurst("deathPoof")
|
||||
entity.setAnimationState("movement", "idle")
|
||||
end
|
||||
|
||||
function update(dt)
|
||||
self.state.update(dt)
|
||||
end
|
||||
|
||||
function damage(args)
|
||||
self.state.pickState(args.sourceId)
|
||||
end
|
||||
|
||||
function move(direction)
|
||||
entity.setAnimationState("movement", "walk")
|
||||
|
||||
mcontroller.controlMove(direction, false)
|
||||
end
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
moveState = {}
|
||||
|
||||
function moveState.enter()
|
||||
return {
|
||||
timer = 4,
|
||||
direction = util.randomDirection()
|
||||
}
|
||||
end
|
||||
|
||||
function moveState.update(dt, stateData)
|
||||
move(stateData.direction)
|
||||
|
||||
stateData.timer = stateData.timer - dt
|
||||
if stateData.timer <= 0 then
|
||||
return true
|
||||
end
|
||||
|
||||
return false
|
||||
end
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"name" : "hugedragonbody",
|
||||
"category" : "hugebiped",
|
||||
"type" : "body",
|
||||
|
||||
"frames" : {
|
||||
"body" : "hugedragonbody.png"
|
||||
}
|
||||
}
|
BIN
attic/npcs/hugebiped/body/dragon/hugedragonbody.png
Normal file
After Width: | Height: | Size: 40 KiB |
15
attic/npcs/hugebiped/default.frames
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"frameGrid" : {
|
||||
"size" : [200, 150],
|
||||
"dimensions" : [9, 6],
|
||||
|
||||
"names" : [
|
||||
[ null, "idle.1", null, null, null, null, null, null, null],
|
||||
[ null, "walk.1", "walk.2", "walk.3", "walk.4", "walk.5", "walk.6", "walk.7", "walk.8"],
|
||||
[ null, "jump.1", "jump.2", "jump.3", "jump.4", "jump.5", "jump.6", "jump.7", "jump.8"],
|
||||
[ null, "melee.1", "melee.2", "melee.3", "melee.4", "melee.5", "melee.6", "melee.7", "melee.8"],
|
||||
[ null, "ranged.1", "ranged.2", "ranged.3", "ranged.4", "ranged.5", "ranged.6", "ranged.7", "ranged.8"],
|
||||
[ null, "die.1", "die.2", "die.3", "die.4", "die.5", "die.6", "die.7", "die.8"]
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"name" : "hugedragonfarm",
|
||||
"category" : "hugebiped",
|
||||
"type" : "farm",
|
||||
|
||||
"frames" : {
|
||||
"frontArm" : "hugedragonfarm.png"
|
||||
}
|
||||
}
|
BIN
attic/npcs/hugebiped/farm/dragon/hugedragonfarm.png
Normal file
After Width: | Height: | Size: 26 KiB |
9
attic/npcs/hugebiped/head/beak/hugebeakhead.monsterpart
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"name" : "hugebeakhead",
|
||||
"category" : "hugebiped",
|
||||
"type" : "head",
|
||||
|
||||
"frames" : {
|
||||
"head" : "hugebeakhead.png"
|
||||
}
|
||||
}
|
BIN
attic/npcs/hugebiped/head/beak/hugebeakhead.png
Normal file
After Width: | Height: | Size: 39 KiB |
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"name" : "hugedragonhead",
|
||||
"category" : "hugebiped",
|
||||
"type" : "head",
|
||||
|
||||
"frames" : {
|
||||
"head" : "hugedragonhead.png"
|
||||
}
|
||||
}
|
BIN
attic/npcs/hugebiped/head/dragon/hugedragonhead.png
Normal file
After Width: | Height: | Size: 42 KiB |
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"name" : "hugefeatherhead",
|
||||
"category" : "hugebiped",
|
||||
"type" : "head",
|
||||
|
||||
"frames" : {
|
||||
"head" : "hugefeatherhead.png"
|
||||
}
|
||||
}
|
BIN
attic/npcs/hugebiped/head/feather/hugefeatherhead.png
Normal file
After Width: | Height: | Size: 45 KiB |
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"name" : "hugerhinohead",
|
||||
"category" : "hugebiped",
|
||||
"type" : "head",
|
||||
|
||||
"frames" : {
|
||||
"head" : "hugerhinohead.png"
|
||||
}
|
||||
}
|
BIN
attic/npcs/hugebiped/head/rhino/hugerhinohead.png
Normal file
After Width: | Height: | Size: 31 KiB |
810
attic/npcs/hugebiped/hugebiped.animation
Normal file
|
@ -0,0 +1,810 @@
|
|||
{
|
||||
"animatedParts" : {
|
||||
"stateTypes" : {
|
||||
"movement" : {
|
||||
"priority" : 0,
|
||||
"default" : "idle",
|
||||
"states" : {
|
||||
"idle" : {
|
||||
"frames" : 1
|
||||
},
|
||||
"jump" : {
|
||||
"frames" : 8,
|
||||
"cycle" : 1.0,
|
||||
"mode" : "transition",
|
||||
"transition" : "idle"
|
||||
},
|
||||
"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" : 8,
|
||||
"cycle" : 0.5
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"attack" : {
|
||||
"priority" : 1,
|
||||
"default" : "idle",
|
||||
"states" : {
|
||||
"idle" : {
|
||||
"frames" : 1
|
||||
},
|
||||
"melee" : {
|
||||
"frames" : 8,
|
||||
"cycle" : 0.4,
|
||||
"mode" : "transition",
|
||||
"transition" : "idle"
|
||||
},
|
||||
"charge" : {
|
||||
"frames" : 1,
|
||||
"properties" : {
|
||||
"immediateSound" : "/sfx/npc/monsters/skill_chargeup.ogg"
|
||||
}
|
||||
},
|
||||
"chargeAttack" : {
|
||||
"frames" : 4,
|
||||
"cycle" : 0.6,
|
||||
"mode" : "end"
|
||||
},
|
||||
"shooting" : {
|
||||
"frames" : 8,
|
||||
"cycle" : 0.5,
|
||||
"mode" : "transition",
|
||||
"transition" : "idle"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"parts" : {
|
||||
"backArm" : {
|
||||
"properties" : {
|
||||
"zLevel" : 0
|
||||
},
|
||||
|
||||
"partStates" : {
|
||||
"movement" : {
|
||||
"idle" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:idle.<frame>"
|
||||
}
|
||||
},
|
||||
"walk" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"run" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"charge" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"jump" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:jump.<frame>"
|
||||
}
|
||||
},
|
||||
"chargeWindup" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"knockback" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:idle.<frame>"
|
||||
}
|
||||
},
|
||||
"knockout" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:die.<frame>"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"attack" : {
|
||||
"melee" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"charge" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"chargeAttack" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"shooting" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:idle.<frame>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"frontArm" : {
|
||||
"properties" : {
|
||||
"zLevel" : 4
|
||||
},
|
||||
|
||||
"partStates" : {
|
||||
"movement" : {
|
||||
"idle" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:idle.<frame>"
|
||||
}
|
||||
},
|
||||
"walk" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"run" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"charge" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"jump" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:jump.<frame>"
|
||||
}
|
||||
},
|
||||
"chargeWindup" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"knockback" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:idle.<frame>"
|
||||
}
|
||||
},
|
||||
"knockout" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:die.<frame>"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"attack" : {
|
||||
"melee" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:melee.<frame>"
|
||||
}
|
||||
},
|
||||
"charge" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:melee.3"
|
||||
}
|
||||
},
|
||||
"chargeAttack" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:melee.<frame>"
|
||||
}
|
||||
},
|
||||
"shooting" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:ranged.<frame>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"body" : {
|
||||
"properties" : {
|
||||
"zLevel" : 2
|
||||
},
|
||||
|
||||
"partStates" : {
|
||||
"movement" : {
|
||||
"idle" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:idle.<frame>"
|
||||
}
|
||||
},
|
||||
"walk" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"run" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"charge" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"jump" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:jump.<frame>"
|
||||
}
|
||||
},
|
||||
"chargeWindup" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"knockback" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:jump.<frame>"
|
||||
}
|
||||
},
|
||||
"knockout" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:die.<frame>"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"attack" : {
|
||||
"melee" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:melee.<frame>"
|
||||
}
|
||||
},
|
||||
"charge" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:melee.3"
|
||||
}
|
||||
},
|
||||
"chargeAttack" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:melee.<frame>"
|
||||
}
|
||||
},
|
||||
"shooting" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:ranged.<frame>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"tail" : {
|
||||
"properties" : {
|
||||
"zLevel" : 1
|
||||
},
|
||||
|
||||
"partStates" : {
|
||||
"movement" : {
|
||||
"idle" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:idle.<frame>"
|
||||
}
|
||||
},
|
||||
"walk" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"run" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"charge" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"jump" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:jump.<frame>"
|
||||
}
|
||||
},
|
||||
"chargeWindup" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"knockback" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:jump.<frame>"
|
||||
}
|
||||
},
|
||||
"knockout" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:die.<frame>"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"attack" : {
|
||||
"melee" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:melee.<frame>"
|
||||
}
|
||||
},
|
||||
"charge" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:melee.3"
|
||||
}
|
||||
},
|
||||
"chargeAttack" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:melee.<frame>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"head" : {
|
||||
"properties" : {
|
||||
"zLevel" : 3,
|
||||
"rotationGroup" : "projectileAim",
|
||||
"rotationCenter" : [-1.5, 0]
|
||||
},
|
||||
|
||||
"partStates" : {
|
||||
"movement" : {
|
||||
"idle" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:idle.<frame>"
|
||||
}
|
||||
},
|
||||
"walk" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"run" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"charge" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"jump" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:jump.<frame>"
|
||||
}
|
||||
},
|
||||
"chargeWindup" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:walk.<frame>"
|
||||
}
|
||||
},
|
||||
"knockback" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:jump.<frame>"
|
||||
}
|
||||
},
|
||||
"knockout" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:die.<frame>"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"attack" : {
|
||||
"melee" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:melee.<frame>"
|
||||
}
|
||||
},
|
||||
"charge" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:melee.3"
|
||||
}
|
||||
},
|
||||
"chargeAttack" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:melee.<frame>"
|
||||
}
|
||||
},
|
||||
"shooting" : {
|
||||
"properties" : {
|
||||
"image" : "<partImage>:ranged.<frame>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"rotationGroups" : {
|
||||
"projectileAim" : {
|
||||
"angularVelocity" : 1.5
|
||||
}
|
||||
},
|
||||
|
||||
"particleEmitters" : {
|
||||
"damage" : {
|
||||
"emissionRate" : 0.7,
|
||||
"particles" : [
|
||||
]
|
||||
},
|
||||
|
||||
"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]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"stun" : {
|
||||
"emissionRate" : 5,
|
||||
"particles" : [
|
||||
{
|
||||
"particle" : {
|
||||
"type" : "animated",
|
||||
"animation" : "/animations/sparkles/sparkle4.animation",
|
||||
"size" : 1,
|
||||
"position" : [0, 0],
|
||||
"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]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"gravitySlamAttackUp" : {
|
||||
"emissionRate" : 20,
|
||||
"particles" : [
|
||||
{
|
||||
"particle" : {
|
||||
"type" : "animated",
|
||||
"animation" : "/animations/sparkles/sparkle1.animation",
|
||||
"position" : [0, 1.5],
|
||||
"initialVelocity" : [0, 4.0],
|
||||
"finalVelocity" : [0, 4.0],
|
||||
"approach" : [0, 50],
|
||||
"fade" : 0.5,
|
||||
"destructionAction" : "shrink",
|
||||
"destructionTime" : 1,
|
||||
"size" : 1.0,
|
||||
"timeToLive" : 0.5,
|
||||
"variance" : {
|
||||
"initialVelocity" : [0, 1.0],
|
||||
"position" : [1, 0]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"gravitySlamAttackDown" : {
|
||||
"emissionRate" : 20,
|
||||
"particles" : [
|
||||
{
|
||||
"particle" : {
|
||||
"type" : "animated",
|
||||
"animation" : "/animations/sparkles/sparkle1.animation",
|
||||
"position" : [0, 3.5],
|
||||
"initialVelocity" : [0, -10.0],
|
||||
"finalVelocity" : [0, -10.0],
|
||||
"approach" : [0, 50],
|
||||
"fade" : 0.5,
|
||||
"destructionAction" : "shrink",
|
||||
"destructionTime" : 1,
|
||||
"size" : 1.0,
|
||||
"timeToLive" : 0.25,
|
||||
"variance" : {
|
||||
"initialVelocity" : [0, 1.0],
|
||||
"position" : [1, 0]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"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" }
|
||||
]
|
||||
},
|
||||
|
||||
"blinkout" : {
|
||||
"particles" : [
|
||||
{
|
||||
"particle" : {
|
||||
"type" : "animated",
|
||||
"animation" : "/animations/blinkout/blinkout.animation",
|
||||
"size" : 1,
|
||||
"angularVelocity" : 35,
|
||||
"fade" : 1,
|
||||
"destructionTime" : 5,
|
||||
"position" : [0, 0],
|
||||
"initialVelocity" : [0, 0],
|
||||
"finalVelocity" : [0, 0],
|
||||
"approach" : [1, 1],
|
||||
"timeToLive" : 0.75,
|
||||
"layer" : "front"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
149
attic/npcs/hugebiped/hugebiped.monstertype
Normal file
|
@ -0,0 +1,149 @@
|
|||
{
|
||||
"type" : "hugebiped",
|
||||
|
||||
"categories" : [ "hugebiped" ],
|
||||
"parts" : [ "barm", "farm", "body", "tail", "head" ],
|
||||
"partParameters" : "hugebiped.partparams",
|
||||
|
||||
"animation" : "hugebiped.animation",
|
||||
"reversed" : true,
|
||||
|
||||
"dropPools" : [
|
||||
{
|
||||
"default" : "minibosstreasure"
|
||||
}
|
||||
],
|
||||
|
||||
"baseParameters" : {
|
||||
"scripts" : [
|
||||
"/monsters/generated/ground/groundMonster.lua",
|
||||
"/scripts/pathing.lua",
|
||||
"/scripts/stateMachine.lua",
|
||||
"/scripts/util.lua",
|
||||
"/scripts/vec2.lua",
|
||||
|
||||
"/monsters/generated/ground/approachState.lua",
|
||||
"/monsters/generated/ground/fleeState.lua",
|
||||
"/monsters/generated/ground/captiveState.lua",
|
||||
"/monsters/generated/ground/stunState.lua",
|
||||
"/monsters/generated/ground/socializeState.lua",
|
||||
"/monsters/generated/ground/wanderState.lua",
|
||||
|
||||
"/monsters/generated/ground/skills/createGroundRangedAttack.lua"
|
||||
],
|
||||
|
||||
"skills" : [],
|
||||
|
||||
"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.1,
|
||||
"knockoutEffect" : "blink",
|
||||
"knockoutAnimationStates" : {
|
||||
"movement" : "knockout"
|
||||
},
|
||||
"deathParticles" : "deathPoof",
|
||||
|
||||
"exhaustionTimer" : 3.0,
|
||||
"exhaustionTimeout" : 3.0,
|
||||
"exhaustionDistanceLimit" : 1.0
|
||||
},
|
||||
|
||||
"familyParameters" : [
|
||||
[
|
||||
{
|
||||
"baseSkills" : [ ],
|
||||
"specialSkills" : [ ]
|
||||
}
|
||||
]
|
||||
],
|
||||
|
||||
"variantParameters" : [
|
||||
[
|
||||
[1.0, {
|
||||
"scale" : 1,
|
||||
|
||||
"movementSettings" : {
|
||||
"collisionPoly" : [ [-3, -9.375], [3, -9.375], [3, 2], [-3, 2] ],
|
||||
"mass" : 2.0,
|
||||
"walkSpeed" : 7,
|
||||
"runSpeed" : 12
|
||||
},
|
||||
|
||||
"metaBoundBox" : [-10, -10, 10, 10],
|
||||
|
||||
"blockedSensors" : [ [2, -2.5], [2, -2.3], [2, -1.8], [2, -1.3], [2, -0.8], [2, -0.3], [2, 0.2], [2, 0.7] ],
|
||||
"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" : [ [-3, -9.375], [3, -9.375], [3, 2], [-3, 2] ],
|
||||
"damage" : 25,
|
||||
|
||||
"teamType" : "enemy",
|
||||
"damageSourceKind" : "slash",
|
||||
"statusEffects" : [ ]
|
||||
},
|
||||
|
||||
"statusSettings" : {
|
||||
"statusProperties" : {
|
||||
"targetMaterialKind" : "organic"
|
||||
},
|
||||
|
||||
"appliesEnvironmentStatusEffects" : false,
|
||||
"minimumLiquidStatusEffectPercentage" : 0.1,
|
||||
|
||||
"primaryScriptSources" : [
|
||||
"/stats/monster_primary.lua"
|
||||
],
|
||||
"primaryScriptDelta" : 5,
|
||||
|
||||
"stats" : {
|
||||
"knockbackStunTime" : {
|
||||
"baseValue" : 0.25
|
||||
},
|
||||
"maxHealth" : {
|
||||
"baseValue" : 240
|
||||
},
|
||||
"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]
|
||||
} ]
|
||||
]
|
||||
]
|
||||
}
|
28
attic/npcs/hugebiped/hugebiped.partparams
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"partParameterDescription" : {
|
||||
"weightMultiplier" : [ "multiply", 1.0],
|
||||
"walkMultiplier" : [ "multiply", 1.0],
|
||||
"runMultiplier" : [ "multiply", 1.0],
|
||||
"jumpMultiplier" : [ "multiply", 1.0],
|
||||
|
||||
"baseSkills" : [ "merge", [ ] ],
|
||||
"specialSkills" : [ "merge", [ ] ],
|
||||
|
||||
"projectileSourcePosition" : [ "override", [1.5, 0] ],
|
||||
"projectileSourceOffset" : [ "override", [2.5, 0] ],
|
||||
"meleeProjectileOffset" : [ "override", [1.5, -3] ],
|
||||
"meleeProjectile" : [ "override", "hugemeleeslash" ]
|
||||
},
|
||||
|
||||
"partParameters" : {
|
||||
"hugedragonhead" : {
|
||||
"specialSkills" : [ "flameBurstAttack" ]
|
||||
},
|
||||
"hugebeakhead" : {
|
||||
"specialSkills" : [ "sonicScreamAttack" ]
|
||||
},
|
||||
"hugefeatherhead" : {
|
||||
"specialSkills" : [ "fishBreathAttack" ]
|
||||
}
|
||||
}
|
||||
}
|
9
attic/npcs/hugebiped/melty/hugemeltybody.monsterpart
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"name" : "hugemeltybody",
|
||||
"category" : "hugebiped",
|
||||
"type" : "body",
|
||||
|
||||
"frames" : {
|
||||
"body" : "hugemeltybody.png"
|
||||
}
|
||||
}
|
BIN
attic/npcs/hugebiped/melty/hugemeltybody.png
Normal file
After Width: | Height: | Size: 45 KiB |
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"name" : "hugedragontail",
|
||||
"category" : "hugebiped",
|
||||
"type" : "tail",
|
||||
|
||||
"frames" : {
|
||||
"tail" : "hugedragontail.png"
|
||||
}
|
||||
}
|
BIN
attic/npcs/hugebiped/tail/dragon/hugedragontail.png
Normal file
After Width: | Height: | Size: 36 KiB |