TeraWings

If you liked this item, please rate it up on Steam Workshop page.

Authors: harryyyy, ⅠngˆⅥ, South Night

Last revision: 12 Feb, 2020 at 16:11 UTC (1)

File size: 526.34 KB

On Steam Workshop

Description:

A mod that attempts to recreate wings from the game "terraria" in the world of starbound with sprites directly extracted from terraria and identical flying mechanics.

Currently the mod includes: Nebula, Sunflare (or solar? cant remember the name exactly lol), Stardust, Vortex, Steampunk, Dragon, Loki, Red, and Crowno with more wings to be add in the future.

The mod is MP-compatiable which means that you can use this mod while playing with others who don’t have the mod installed.

How to use:
Due to the limitation of the game’s lua API, I have to rely on tech scripts to access the key states of the player, in order to achieve that, I have included replacers for all leg slot vanilla tech scripts in this mod with added line that allow the rest of the mod to detect the player key states (while the functionalities of the techs themselves remain exactly the same as the vanilla). Therefore, please make sure at least one of these tech is equipped on the player while using this mod.

However, you can also easily add the code in any tech scripts that you are using by simply pasting
"movmentArray = {false,false,false}
message.setHandler("checkJumping", function(_, sameClient)
if sameClient then
return movmentArray
end
end)"
in its init() function and
"movmentArray = {args.moves["jump"],args.moves["left"],args.moves["right"]}"
in its update(args) function.

To craft the wings, simply open the crafting manu by hand while in admin mode then craft and place the wings desired in the player’s back COSMETIC slot. And after that, you are ready to go! Simply press jump key to fly and left/right for horizental movements.

The mod is currently in its beta stage with many more improvements and wings to add so please feel free to leave your suggestions in the comments.

Updates:

11/2/2020
Fixed the bug that causes the player to stay in air when gravity is low
Player does not suffer from fall damage while wearing the wings – a feature copied from terraria

11/2/2020
More Bug Fixes
Added a few more wings
Removed replacer techs for all head and body slots due to conflicts with other popular mods such as Remitech and RP tech, therefore please make sure one of the vanilla leg techs is equipped while using this mod unless you have added the required lines of code to one of the other techs that you are currently using.

9/2/2020
Added Leinforse Wings
Bugs fixes

Credits:
Ing’V and South Night for image extraction and processing
Chucklefish
Re-Logic

Please let me know if you want this mod removed due to copyright issue!

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.