-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4236295
commit 9cd5132
Showing
51 changed files
with
1,895 additions
and
11 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
objects/wired/fu_turrets/fu_flameturret/emptyenergy.frames
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"frameGrid" : { | ||
"size" : [1, 1], | ||
"dimensions" : [5, 1], | ||
|
||
"names" : [ | ||
[ "full", "high", "medium", "low", "none" ] | ||
] | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"frameGrid" : { | ||
"size" : [1, 1], | ||
"dimensions" : [5, 1], | ||
|
||
"names" : [ | ||
[ "full", "high", "medium", "low", "none" ] | ||
] | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
196 changes: 196 additions & 0 deletions
196
objects/wired/fu_turrets/fu_flameturret/fu_flameturret.object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,196 @@ | ||
{ | ||
"objectName" : "fu_flameturret", | ||
"colonyTags" : ["wired","combat"], | ||
"printable" : false, | ||
"rarity" : "Common", | ||
"objectType" : "container", | ||
"price" : 150, | ||
|
||
"slotCount" : 0, | ||
"uiConfig" : "/interface/turret/standingturret.config", | ||
"frameCooldown" : 5, | ||
"autoCloseCooldown" : 3600, | ||
"health" : 5, | ||
"description" : "Turret for your protection! Can only be placed once.", | ||
"shortdescription" : "Flame Turret", | ||
"subtitle" : "Automatic Base Defense", | ||
"race" : "generic", | ||
"category" : "wire", | ||
|
||
"breakDropOptions" : [ | ||
[ [ "siliconboard", 1, { } ], [ "wire", 1, { } ], [ "isn_flamethrower", 1, { } ] ] | ||
], | ||
|
||
"apexDescription" : "Always watchful.", | ||
"avianDescription" : "The monsters don't stand a chance, unless they can fly.", | ||
"floranDescription" : "Effective againssst living thingsss.", | ||
"glitchDescription" : "Cautious. Must not disrupt my brother in his vigilance.", | ||
"humanDescription" : "An automated security system.", | ||
"hylotlDescription" : "Looks like a turret of some sort.", | ||
"novakidDescription" : "Looks like this thing sure could do some damage!", | ||
|
||
"inventoryIcon" : "icon.png", | ||
"orientations" : [ | ||
{ | ||
"dualImage" : "turretstand.png:bottom", | ||
|
||
"imagePosition" : [-16, 0], | ||
"imageLayers" : [ { "image" : "turretstand.png:bottom" }, { "image" : "turretgun.png:dead", "position": [4, 12] } ], | ||
"spaces" : [ | ||
[-2, 0], [-1, 0], [0, 0], [1, 0], | ||
[-2, 1], [-1, 1], [0, 1], [1, 1] | ||
], | ||
"anchors" : [ "bottom" ], | ||
|
||
"animationParts" : { | ||
"gun" : "turretgun.png", | ||
"gunfullbright" : "turretgunfullbright.png", | ||
"stand" : "turretstand.png:bottom", | ||
"energy" : "energy.png" | ||
}, | ||
"animationPosition" : [0, 16], | ||
"animationCenterLine" : 0, | ||
|
||
"baseOffset" : [0, 2], | ||
"energyBarOffset" : [0.375, -1.5], | ||
"verticalScaling" : false | ||
}, | ||
{ | ||
"dualImage" : "turretstand.png:top", | ||
|
||
"imagePosition" : [-16, -24], | ||
"imageLayers" : [ { "image" : "turretstand.png:top" }, { "image" : "turretgun.png:dead", "position": [4, 12] } ], | ||
"spaces" : [ | ||
[-2, -1], [-1, -1], [0, -1], [1, -1], | ||
[-2, 0], [-1, 0], [0, 0], [1, 0] | ||
], | ||
"anchors" : [ "top" ], | ||
|
||
"animationParts" : { | ||
"gun" : "turretgun.png", | ||
"gunfullbright" : "turretgunfullbright.png", | ||
"stand" : "turretstand.png:top", | ||
"energy" : "energy.png" | ||
}, | ||
"animationPosition" : [0, -8], | ||
"animationCenterLine" : 0, | ||
|
||
"baseOffset" : [0, -1], | ||
"energyBarOffset" : [0.375, 1.375], | ||
"verticalScaling" : false | ||
}, | ||
{ | ||
"image" : "turretstand.png:left", | ||
|
||
"imagePosition" : [0, 0], | ||
"imageLayers" : [ { "image" : "turretstand.png:left" }, { "image" : "turretgun.png:dead", "position": [4, 12] } ], | ||
"spaces" : [ | ||
[0, 0], [1, 0], | ||
[0, 1], [1, 1], | ||
[0, 2], [1, 2] | ||
], | ||
"anchors" : [ "left" ], | ||
"direction" : "right", | ||
|
||
"animationParts" : { | ||
"gun" : "turretgun.png", | ||
"gunfullbright" : "turretgunfullbright.png", | ||
"stand" : "turretstand.png:left", | ||
"energy" : "energy.png" | ||
}, | ||
"animationPosition" : [16, 16], | ||
|
||
"baseOffset" : [2, 2], | ||
"energyBarOffset" : [-1.5, -0.625], | ||
"verticalScaling" : true | ||
}, | ||
{ | ||
"image" : "turretstand.png:left", | ||
|
||
"imagePosition" : [-24, 0], | ||
"spaces" : [ | ||
[-1, 0], [0, 0], | ||
[-1, 1], [0, 1], | ||
[-1, 2], [0, 2] | ||
], | ||
"anchors" : [ "right" ], | ||
"direction" : "left", | ||
|
||
"imageLayers" : [ { "image" : "turretstand.png:left" }, { "image" : "turretgun.png:dead", "position": [4, 12] } ], | ||
"flipImages" : true, | ||
|
||
"animationParts" : { | ||
"gun" : "turretgun.png", | ||
"gunfullbright" : "turretgunfullbright.png", | ||
"stand" : "turretstand.png:left", | ||
"energy" : "energy.png" | ||
}, | ||
"animationPosition" : [-10, 16], | ||
|
||
"baseOffset" : [-1, 2], | ||
"energyBarOffset" : [-1.5, -0.625], | ||
"verticalScaling" : true | ||
} | ||
], | ||
|
||
"objectWidth" : 4, | ||
|
||
"animation" : "standingturret.animation", | ||
|
||
"scripts" : [ | ||
"/objects/wired/fu_turrets/fu_flameturret/standingturret.lua", | ||
"/scripts/npcToyObject.lua", | ||
"/scripts/stateMachine.lua", | ||
"/scripts/util.lua", | ||
"/scripts/vec2.lua" | ||
], | ||
|
||
"damageTeam" : { | ||
"type" : "assistant" | ||
}, | ||
|
||
"scriptDelta" : 5, | ||
|
||
"outputNodes" : [ [0, 0] ], | ||
"inputNodes" : [ [0, 1] ], | ||
|
||
"rotationSpeed" : 25, | ||
|
||
"tipOffset" : [2.5, 0], | ||
"offAngle" : -30, | ||
|
||
"scanInterval" : 6, | ||
"scanAngle" : 30, | ||
"scanRange" : 35, | ||
|
||
"targetQueryRange" : 35, | ||
"targetMinRange" : 2.5, | ||
"targetMaxRange" : 50, | ||
"targetAngleRange" : 75, | ||
|
||
"maxFireAngle" : 5, | ||
|
||
"energyUsage" : 4, | ||
"power" : 1, | ||
"fireTime" : 0.1, | ||
|
||
"maxEnergy" : 100, | ||
"energyRegen" : 25, | ||
"energyRegenBlock" : 1.0, | ||
|
||
"npcToy" : { | ||
"influence" : [ | ||
"turret" | ||
], | ||
"defaultReactions" : { | ||
"turret" : [ | ||
[1.0, "pressbutton"], | ||
[1.0, "oh"], | ||
[1.0, "laugh"] | ||
] | ||
}, | ||
"preciseStandPositionLeft" : [-1.0, 0.0], | ||
"preciseStandPositionRight" : [1.0, 0.0], | ||
"maxNpcs" : 1 | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
166 changes: 166 additions & 0 deletions
166
objects/wired/fu_turrets/fu_flameturret/standingturret.animation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,166 @@ | ||
{ | ||
"animatedParts" : { | ||
"stateTypes" : { | ||
"attack" : { | ||
"priority" : 0, | ||
"default" : "dead", | ||
|
||
"states" : { | ||
"idle" : { | ||
"frames" : 1 | ||
}, | ||
"dead" : { | ||
"frames" : 1 | ||
}, | ||
"attack" : { | ||
"frames" : 4, | ||
"cycle" : 0.25, | ||
"mode" : "loop" | ||
} | ||
} | ||
}, | ||
"energy" : { | ||
"default" : "full", | ||
|
||
"states" : { | ||
"full" : { "frames" : 1 }, | ||
"high" : { "frames" : 1 }, | ||
"medium" : { "frames" : 1 }, | ||
"low" : { "frames" : 1 }, | ||
"none" : { "frames" : 1 } | ||
} | ||
}, | ||
"opened" : { | ||
"default" : "true", | ||
|
||
"states" : { | ||
"true" : { "frames" : 1 }, | ||
"false" : { "frames" : 1 } | ||
} | ||
} | ||
}, | ||
|
||
"parts" : { | ||
"gun" : { | ||
"properties" : { | ||
"offset" : [0.5, 0.0], | ||
"projectileSource" : [2.0, 0.0], | ||
"rotationGroup" : "gun", | ||
"centered" : true, | ||
"fullbright" : true, | ||
"zLevel" : 3 | ||
}, | ||
|
||
"partStates" : { | ||
"attack" : { | ||
"idle" : { | ||
"properties" : { | ||
"image" : "<partImage>:idle" | ||
} | ||
}, | ||
"dead" : { | ||
"properties" : { | ||
"image" : "<partImage>:dead" | ||
} | ||
}, | ||
"attack" : { | ||
"properties" : { | ||
"image" : "<partImage>:attack.<frame>" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
|
||
"gunfullbright" : { | ||
"properties" : { | ||
"offset" : [0.5, 0.0], | ||
"projectileSource" : [2.0, 0.0], | ||
"rotationGroup" : "gun", | ||
"centered" : true, | ||
"zLevel" : 4 | ||
}, | ||
|
||
"partStates" : { | ||
"attack" : { | ||
"idle" : { | ||
"properties" : { | ||
"image" : "<partImage>:idle" | ||
} | ||
}, | ||
"dead" : { | ||
"properties" : { | ||
"image" : "<partImage>:dead" | ||
} | ||
}, | ||
"attack" : { | ||
"properties" : { | ||
"image" : "<partImage>:attack.<frame>" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
|
||
"stand" : { | ||
"properties" : { | ||
"offset" : [0, 0], | ||
"image" : "<partImage>", | ||
"centered" : true, | ||
"zLevel" : 1 | ||
} | ||
}, | ||
|
||
"energy" : { | ||
"properties" : { | ||
"centered" : false, | ||
"zLevel" : 2, | ||
"transformationGroups" : [ "energy" ] | ||
}, | ||
|
||
"partStates" : { | ||
"energy" : { | ||
"full" : { | ||
"properties" : { "image" : "<partImage>:full" } | ||
}, | ||
"high" : { | ||
"properties" : { "image" : "<partImage>:high" } | ||
}, | ||
"medium" : { | ||
"properties" : { "image" : "<partImage>:medium" } | ||
}, | ||
"low" : { | ||
"properties" : { "image" : "<partImage>:low" } | ||
}, | ||
"none" : { | ||
"properties" : { "image" : "<partImage>:none" } | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
|
||
"rotationGroups" : { | ||
"gun" : { | ||
"rotationCenter" : [0, 0], | ||
"angularVelocity" : 1 | ||
}, | ||
"gunfullbright" : { | ||
"rotationCenter" : [0, 0], | ||
"angularVelocity" : 1 | ||
} | ||
}, | ||
|
||
"transformationGroups" : { | ||
"energy" : { "interpolated" : false } | ||
}, | ||
|
||
"sounds" : { | ||
"powerUp" : ["/sfx/tech/mech_jump3.ogg"], | ||
"powerDown" : ["/sfx/tech/mech_powerdown2.ogg"], | ||
"foundTarget" : ["/sfx/interface/nav_computer_on.ogg"], | ||
"scan" : ["/sfx/interface/scan.ogg"], | ||
"fire" : [ "/items/active/weapons/ranged/unique/science/flamepistol/isn_flamethrower.wav" ] | ||
} | ||
} |
Oops, something went wrong.