Soopakoopa Posted November 29, 2013 Share Posted November 29, 2013 (edited) Characters can have their minimum attack period modified, but is there any way at allto change the attack period multiplier of a specific melee weapon? Edited November 29, 2013 by Soopakoopa Link to comment https://forums.kleientertainment.com/forums/topic/30080-modifying-weapon-attack-speed/ Share on other sites More sharing options...
TeoSS69 Posted November 29, 2013 Share Posted November 29, 2013 Wouldn't it be easier to raise or lower the weapon's damage to get the preferred DPS? Link to comment https://forums.kleientertainment.com/forums/topic/30080-modifying-weapon-attack-speed/#findComment-380246 Share on other sites More sharing options...
Soopakoopa Posted November 29, 2013 Author Share Posted November 29, 2013 In a way that could work, although the idea is to make it "strong but balanced" in that it could flatten small enemies in a single blow, butbe slow enough that it might not be the best DPS option against larger foes and bosses. Unless there's a component for damage multipliers against very specific monsters (x 10 against spider/bats, 1-hit ko, x 1 Against hounds/merms/whatever, x 0.75 against deerclops and various bosses would be a good way to go about it) Link to comment https://forums.kleientertainment.com/forums/topic/30080-modifying-weapon-attack-speed/#findComment-380254 Share on other sites More sharing options...
debugman18 Posted November 29, 2013 Share Posted November 29, 2013 I'd suggest using the onqeuip and onunequip functions of the weapon to multiply the player's attack speed when equipped, and put it back to normal when its unequipped. Link to comment https://forums.kleientertainment.com/forums/topic/30080-modifying-weapon-attack-speed/#findComment-380261 Share on other sites More sharing options...
Heavenfall Posted November 29, 2013 Share Posted November 29, 2013 In a way that could work, although the idea is to make it "strong but balanced" in that it could flatten small enemies in a single blow, butbe slow enough that it might not be the best DPS option against larger foes and bosses. Unless there's a component for damage multipliers against very specific monsters (x 10 against spider/bats, 1-hit ko, x 1 Against hounds/merms/whatever, x 0.75 against deerclops and various bosses would be a good way to go about it) You could easily do this with a varied function for the weapon's damage. Link to comment https://forums.kleientertainment.com/forums/topic/30080-modifying-weapon-attack-speed/#findComment-380305 Share on other sites More sharing options...
WendyAbigail Posted December 1, 2013 Share Posted December 1, 2013 how download charater wortox Link to comment https://forums.kleientertainment.com/forums/topic/30080-modifying-weapon-attack-speed/#findComment-381233 Share on other sites More sharing options...
NikMik Posted December 1, 2013 Share Posted December 1, 2013 Characters can have their minimum attack period modified, but is there any way at allto change the attack period multiplier of a specific melee weapon? local function onequip(inst, owner)--------------- owner.components.combat.min_attack_period = (Whatever you want it to be. The higher the number, the slower the attack period.)endlocal function onunequip(inst,owner)------------------- owner.components.combat.min_attack_period = 0.4end 0.4 is the default attack speed, according to the combat component. Hope this helped. Link to comment https://forums.kleientertainment.com/forums/topic/30080-modifying-weapon-attack-speed/#findComment-381285 Share on other sites More sharing options...
BillBobJoy Posted February 11, 2014 Share Posted February 11, 2014 local function onequip(inst, owner)--------------- owner.components.combat.min_attack_period = (Whatever you want it to be. The higher the number, the slower the attack period.)endlocal function onunequip(inst,owner)------------------- owner.components.combat.min_attack_period = 0.4end Oddly enough, this only seems to work for slowing weapons down. Link to comment https://forums.kleientertainment.com/forums/topic/30080-modifying-weapon-attack-speed/#findComment-414409 Share on other sites More sharing options...
NikMik Posted February 11, 2014 Share Posted February 11, 2014 Oddly enough, this only seems to work for slowing weapons down.Yeah, I know. Link to comment https://forums.kleientertainment.com/forums/topic/30080-modifying-weapon-attack-speed/#findComment-414419 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now