v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
|
@ -0,0 +1,89 @@
|
|||
{
|
||||
"itemName" : "arcsword",
|
||||
"price" : 1200,
|
||||
"level" : 4,
|
||||
"maxStack" : 1,
|
||||
"rarity" : "Rare",
|
||||
"description" : "A ridiculous sword that won't likely make it into the game.",
|
||||
"shortdescription" : "Arcsword",
|
||||
"tooltipKind" : "sword",
|
||||
"category" : "broadsword",
|
||||
"twoHanded" : true,
|
||||
"itemTags" : ["weapon","melee","broadsword"],
|
||||
|
||||
"inventoryIcon" : "arcsword.png",
|
||||
|
||||
"animation" : "/items/active/weapons/melee/broadsword/combobroadsword.animation",
|
||||
"animationParts" : {
|
||||
"handle" : "",
|
||||
"blade" : "arcsword.png"
|
||||
},
|
||||
"animationCustom" : {
|
||||
"animatedParts" : { "parts" : { "blade" : { "properties" : {
|
||||
"arc1start" : [-0.0625, -0.75],
|
||||
"arc1end" : [-0.0625, 2.75],
|
||||
"arc2start" : [-1.0, -1.25],
|
||||
"arc2end" : [-0.5, 2.75],
|
||||
"arc3start" : [0.875, -1.25],
|
||||
"arc3end" : [0.5, 2.75]
|
||||
}}}},
|
||||
"sounds" : {
|
||||
"fire" : [ "/sfx/melee/swing_broadsword_electric1.ogg", "/sfx/melee/swing_broadsword_electric2.ogg", "/sfx/melee/swing_broadsword_electric3.ogg" ],
|
||||
"fire2" : [ "/sfx/melee/swing_shortsword_electric1.ogg", "/sfx/melee/swing_shortsword_electric2.ogg", "/sfx/melee/swing_shortsword_electric3.ogg" ],
|
||||
"fire3" : [ "/sfx/melee/swing_spear_electric1.ogg", "/sfx/melee/swing_spear_electric2.ogg", "/sfx/melee/swing_spear_electric3.ogg" ]
|
||||
}
|
||||
},
|
||||
"animationScripts" : ["/items/active/effects/lightning.lua"],
|
||||
"scriptedAnimationParameters" : {
|
||||
"lightning" : [
|
||||
// {
|
||||
// "partStartPosition" : ["blade", "arc1start"],
|
||||
// "partEndPosition" : ["blade", "arc1end"],
|
||||
// "color" : [230, 220, 255, 230],
|
||||
// "displacement" : 0.25,
|
||||
// "minDisplacement" : 0.0625,
|
||||
// "forks" : 0,
|
||||
// // "forkAngleRange" : 0.45,
|
||||
// "width" : 1
|
||||
// },
|
||||
{
|
||||
"partStartPosition" : ["blade", "arc2start"],
|
||||
"partEndPosition" : ["blade", "arc2end"],
|
||||
"color" : [230, 220, 255, 230],
|
||||
"displacement" : 0.25,
|
||||
"minDisplacement" : 0.0625,
|
||||
"forks" : 0,
|
||||
// "forkAngleRange" : 0.45,
|
||||
"width" : 1
|
||||
},
|
||||
{
|
||||
"partStartPosition" : ["blade", "arc3start"],
|
||||
"partEndPosition" : ["blade", "arc3end"],
|
||||
"color" : [230, 220, 255, 230],
|
||||
"displacement" : 0.25,
|
||||
"minDisplacement" : 0.0625,
|
||||
"forks" : 0,
|
||||
// "forkAngleRange" : 0.45,
|
||||
"width" : 1
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"scripts" : ["/items/active/weapons/melee/meleeweapon.lua"],
|
||||
|
||||
"elementalType" : "electric",
|
||||
|
||||
"primaryAbilityType" : "broadswordcombo",
|
||||
"primaryAbility" : {
|
||||
"damageConfig" : {
|
||||
"damageSourceKind" : "electricbroadsword",
|
||||
"statusEffects" : ["electrified"]
|
||||
},
|
||||
"fireTime" : 1.0,
|
||||
"baseDps" : 11.5
|
||||
},
|
||||
|
||||
"altAbilityType" : "travelingslash",
|
||||
|
||||
"builder" : "/items/buildscripts/buildunrandweapon.lua"
|
||||
}
|
BIN
assets/devel/items/active/weapons/melee/broadsword/arcsword.png
Normal file
BIN
assets/devel/items/active/weapons/melee/broadsword/arcsword.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 587 B |
Binary file not shown.
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"itemName" : "smashhammer",
|
||||
"level" : 1,
|
||||
"maxStack" : 1,
|
||||
"rarity" : "legendary",
|
||||
"description" : "For developer use only",
|
||||
"shortdescription" : "Smash Hammer",
|
||||
"tooltipKind" : "sword",
|
||||
"weaponType" : "Hammer",
|
||||
"twoHanded" : true,
|
||||
"itemTags" : ["weapon"],
|
||||
|
||||
"inventoryIcon" : "smashhammericon.png",
|
||||
"animation" : "smashhammer.animation",
|
||||
"scripts" : ["smashhammer.lua"]
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"animatedParts" : {
|
||||
"stateTypes" : {
|
||||
"hammer" : {
|
||||
"default" : "smashing",
|
||||
"states" : {
|
||||
"smashing" : {
|
||||
"properties" : {
|
||||
"persistentSound" : "hammertune.ogg"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parts" : {
|
||||
"hammer" : {
|
||||
"properties" : {
|
||||
"centered" : true,
|
||||
"image" : "smashhammer.png",
|
||||
"offset" : [2, 0],
|
||||
"damageArea" : [[0.25, -1.0], [1.625, -1.0], [1.625, 1.0], [0.25, 1.0]]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
function init()
|
||||
self.rotation = 0
|
||||
self.rotationRate = 20.0
|
||||
self.rotationRange = {-0.4, math.pi + 0.2}
|
||||
end
|
||||
|
||||
function update(dt, fireMode, shiftHeld)
|
||||
self.rotation = self.rotation + self.rotationRate * dt
|
||||
if self.rotation < self.rotationRange[1] or self.rotation > self.rotationRange[2] then
|
||||
self.rotationRate = -self.rotationRate
|
||||
self.rotation = self.rotation + self.rotationRate * dt * 2
|
||||
end
|
||||
local damageArea = animator.partPoly("hammer", "damageArea")
|
||||
if damageArea then
|
||||
activeItem.setDamageSources({{
|
||||
poly = damageArea,
|
||||
damage = 50,
|
||||
sourceEntity = activeItem.ownerEntityId(),
|
||||
team = activeItem.ownerTeam(),
|
||||
knockback = 50,
|
||||
rayCheck = true
|
||||
}})
|
||||
end
|
||||
activeItem.setArmAngle(self.rotation)
|
||||
activeItem.setFacingDirection(table.pack(activeItem.aimAngleAndDirection(-1, activeItem.ownerAimPosition()))[2])
|
||||
end
|
Binary file not shown.
After Width: | Height: | Size: 284 B |
Binary file not shown.
After Width: | Height: | Size: 333 B |
Loading…
Add table
Add a link
Reference in a new issue