This commit is contained in:
Aria 2025-03-21 22:23:30 +11:00
commit 9c94d113d3
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B
10260 changed files with 1237388 additions and 0 deletions

View file

@ -0,0 +1,9 @@
{
"name" : "dragonbossbody",
"category" : "dragonboss",
"type" : "body",
"frames" : {
"body" : "dragonbossbody.png"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View file

@ -0,0 +1,13 @@
{
"frameGrid" : {
"size" : [350, 300],
"dimensions" : [5, 4],
"names" : [
[ null, "idle", null, "idle_blink" ],
[ null, "flying.1", "flying.2", "flying.3", "flying.4" ],
[ null, "idle_attack.1", "idle_attack.2", "idle_attack.3", "idle_attack.4" ],
[ null, "flying_attack.1", "flying_attack.2", "flying_attack.3", "flying_attack.4" ]
]
}
}

View file

@ -0,0 +1,421 @@
{
"animatedParts" : {
"stateTypes" : {
"movement" : {
"priority" : 0,
"default" : "standing",
"states" : {
"standing" : {
"frames" : 1
},
"flying" : {
"frames" : 4,
"cycle" : 0.25,
"mode" : "loop"
},
"knockback" : {
"frames" : 1
},
"knockout" : {
"frames" : 1
},
"gliding" : {
"frames" : 1
},
"flyingAttack" : {
"frames" : 4,
"cycle" : 0.25,
"mode" : "loop"
}
}
}
},
"parts" : {
"backWings" : {
"properties" : {
"zLevel" : 0,
"centered" : true
},
"partStates" : {
"movement" : {
"standing" : {
"properties" : {
"image" : "<partImage>:idle"
}
},
"flying" : {
"properties" : {
"image" : "<partImage>:flying.<frame>"
}
},
"knockback" : {
"properties" : {
"image" : "<partImage>:idle"
}
},
"knockout" : {
"properties" : {
"image" : "<partImage>:idle"
}
},
"gliding" : {
"properties" : {
"image" : "<partImage>:flying.1"
}
},
"flyingAttack" : {
"properties" : {
"image" : "<partImage>:flying.<frame>"
}
}
}
}
},
"body" : {
"properties" : {
"zLevel" : 1,
"centered" : true
},
"partStates" : {
"movement" : {
"standing" : {
"properties" : {
"image" : "<partImage>:idle"
}
},
"flying" : {
"properties" : {
"image" : "<partImage>:flying.<frame>"
}
},
"knockback" : {
"properties" : {
"image" : "<partImage>:idle"
}
},
"knockout" : {
"properties" : {
"image" : "<partImage>:idle"
}
},
"gliding" : {
"properties" : {
"image" : "<partImage>:flying.1"
}
},
"flyingAttack" : {
"properties" : {
"image" : "<partImage>:flying.<frame>"
}
}
}
}
},
"head" : {
"properties" : {
"zLevel" : 2,
"centered" : true
},
"partStates" : {
"movement" : {
"standing" : {
"properties" : {
"image" : "<partImage>:idle"
}
},
"flying" : {
"properties" : {
"image" : "<partImage>:flying.<frame>"
}
},
"knockback" : {
"properties" : {
"image" : "<partImage>:idle"
}
},
"knockout" : {
"properties" : {
"image" : "<partImage>:idle"
}
},
"gliding" : {
"properties" : {
"image" : "<partImage>:flying.1"
}
},
"flyingAttack" : {
"properties" : {
"image" : "<partImage>:flying_attack.2"
}
}
}
}
},
"frontWings" : {
"properties" : {
"zLevel" : 3,
"centered" : true
},
"partStates" : {
"movement" : {
"standing" : {
"properties" : {
"image" : "<partImage>:idle"
}
},
"flying" : {
"properties" : {
"image" : "<partImage>:flying.<frame>"
}
},
"knockback" : {
"properties" : {
"image" : "<partImage>:idle"
}
},
"knockout" : {
"properties" : {
"image" : "<partImage>:idle"
}
},
"gliding" : {
"properties" : {
"image" : "<partImage>:flying.1"
}
},
"flyingAttack" : {
"properties" : {
"image" : "<partImage>:flying.<frame>"
}
}
}
}
}
}
},
"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]
}
}
}
]
}
},
"sounds" : {
"turnHostile" : [ ],
"deathPuff" : [ "/sfx/npc/enemydeathpuff.ogg" ]
},
"effects" : {
"blink" : {
"type" : "flash",
"time" : 0.25,
"directives" : "fade=ffffff;0.5"
}
}
}

View file

@ -0,0 +1,165 @@
{
"type" : "dragonboss",
"categories" : [ "dragonboss" ],
"parts" : [ "body", "head", "wings" ],
"animation" : "dragonboss.animation",
"reversed" : true,
"dropPools" : [
{
"default" : "boss3Treasure"
}
],
"baseParameters" : {
"scripts" : [
"/monsters/generated/flying/flyingMonster.lua",
"/scripts/util.lua",
"/scripts/sensors.lua",
"/scripts/stateMachine.lua",
"/scripts/vec2.lua"
],
"metaBoundBox" : [-12.5, -12.5, 12.5, 12.5],
"scale" : 1.0,
"movementSettings" : {
"collisionPoly" : [ [-5, -9.0], [5, -9.0], [9, 5], [-9, 5] ],
"mass" : 0.2,
"walkSpeed" : 2,
"runSpeed" : 2,
"jumpSpeed" : 5,
"flySpeed" : 16,
"airFriction" : 0.5,
"airForce" : 30.0
},
"targetRadius" : 100.0,
"targetSearchTime" : 0.5,
"targetHoldTime" : 10000.0,
"blockedSensors" : [ [-8.0, -12.0], [8.0, -12.0], [8.0, 7.0], [-8.0, 7.0] ],
"upSensors" : [ [-0.75, -15], [0.75, -15], [1.5, -15] ],
"downSensors" : [ [-0.75, -10], [0.75, -10], [1.5, -10] ],
"groundSensors" : [ [0.0, -12.0], [0.0, -15.0], [0.0, -25.0], [0,0, -30.0] ],
"ceilingSensors" : [ [0.0, 2.0], [0.0, 6.0], [0.0, 10.0] ],
"environmentSensors" : [ [0.0, 0.0], [0.0, 2.0], [0.0, -2.0], [2.0, 0.0], [-2.0, 0.0], [2.0, 2.0], [2.0, -2.0], [-2.0, 2.0], [-2.0, -2.0] ],
"bodyMaterialKind" : "organic",
"knockoutTime" : 0.1,
"knockoutEffect" : "blink",
"deathParticles" : "deathPoof",
"touchDamage" : {
"poly" : [ [-8.0, -12.0], [8.0, -12.0], [8.0, 7.0], [-8.0, 7.0] ],
"damage" : 22,
"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
},
"knockbackThreshold" : {
"baseValue" : 10
},
"maxHealth" : {
"baseValue" : 400
},
"protection" : {
"baseValue" : 1.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, -8],
"alwaysAggressive" : true,
"alwaysDamageOnTouch" : true
},
"familyParameters" : [
[
{
"attackStartDistance" : 100.0,
"attackMaxDistance" : 100.0,
"attackCooldownTime" : 1.5,
"scripts" : [
"/monsters/generated/flying/skills/createFlyingRangedAttack.lua",
"/monsters/generated/flying/circleState.lua",
"/monsters/generated/flying/wanderState.lua",
"/monsters/generated/flying/glideState.lua",
"/monsters/generated/flying/landState.lua"
],
"wanderRiseSpeed" : 0.9,
"wanderRiseTimeRange" : [0.5, 2.0],
"wanderGlideSpeed" : 0.6,
"wanderGlideTimeRange" : [1.0, 4.0],
"wanderFormationOffset" : 2.0,
"wanderSpeedMultiplier" : 0.4,
"wanderEndChance" : 0.2,
"circleWidthRange" : [8.0, 25.0],
"circleHeight" : 10,
"circleOffsetYRange" : [8.0, 25.0],
"circleTiltRadius" : 1.5,
"circleTime" : 5.0,
"landRestTimeRange" : [5.0, 5.0],
"landDisturbDistance" : 10.0,
"landCooldownTimeRange" : [10.0, 30.0],
"glideTime" : 1.0,
"glideCooldownTime" : 10.0,
"glideSinkingSpeed" : 0.8,
"glideSpiralDispersion" : 0.2
}
]
],
"partParameterDescription" : {
"projectileOffset" : [ "override", [5.0, 4] ],
"skills" : [
"merge",
[
"dragonbreath",
"dragonbreath"
]
]
}
}

View file

@ -0,0 +1,9 @@
{
"name" : "dragonbosshead",
"category" : "dragonboss",
"type" : "head",
"frames" : {
"head" : "dragonbosshead.png"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View file

@ -0,0 +1,10 @@
{
"name" : "dragonbosswings",
"category" : "dragonboss",
"type" : "wings",
"frames" : {
"backWings" : "dragonbossbwing.png",
"frontWings" : "dragonbossfwing.png"
}
}