Alternative Slash (NTT)
A downloadable mod
This mod changes the way the melee weapons work - instead of clicking and waiting for the good old Lightning Hammer to reload, you can swing your weapons with the cursor! Plus, you deal more damage if you swing even harder!
add_slash(wep, damage) - add your weapon to the alternative slash list with custom damage
add_slash_ext(wep, damage, arcbonus, color, critcolor, cost, rads, scr_create, scr_hit, scr_destroy) - similar to add_slash, but with more parameters:
- arcbonus - additional degrees to the slash arc
- color - normal swing color
- critcolor - color of a 2x damage swing (if the arc degree is 75 or more)
- cost - amount of ammo randomly taken on swing
- rads - amount of rads randomly taken on swing
- scr_create - script reference, activated after creating the swing
- scr_hit - script reference, activated after hitting something (argument0 = target)
- scr_destroy - script reference, activated before being destroyed
ignore(wep) - disable alternative slashes on this weapon (used for screwdrivers)
get_slash(wep) - if an alternative slash for this weapon was added, returns the alternative slash LWO, else returns the default alternative slash LWO. If this weapon is in the ignore list, returns undefined
- Download and install the latest version of Nuclear Throne Together found in the #co-op_buddies channel of the Nuclear Throne Discord server (https://discord.gg/nt).
- Move downloaded "altslash.mod.gml" file in the "mods" folder.
- Open NTT and type "/loadmod altslash".
Leave a comment
Log in with itch.io to leave a comment.