Wing Tool v1.1
Purpose: This STool allows you to make props simulate lift and drag like a wing.
Thanks: Too many to name… With the lack of useful docs I’ve had to learn by example for the most part. If you recognise some of your code then you have my thanks.
The math behind it is all based ROBO_DONUT’s wing script for GMod9, so if you were a fan of wings_makewing, you should find the numbers and settings for this tool behave the same way you remember. (I hope)
Left clicking on a prop will cause it to be added to the wings system, with the same default lift, drag, and area settings that ‘wings_makewing’ used to give.
Left clicking on a prop that is already in the system will cause it to be updated with the settings you specify in the tool panel.
Right clicking on a wing will display its current settings, along with the default values in case you wish to reset it.
At the moment I haven’t included a way to delete a wing from the system. Just remove the prop for the time being.
The zip provided contains wing.lua
You can extract the zip into your garrysmod folder, and the file should end up in the correct location.
VERSION 1.1 UPDATE
– GUI works with new GMod (thanks Exception)
– By default the tool no longer modifies the area setting on wings. This should elminiate the strange over/underpower issues people were having. If you don’t know what this means then you can safely ignore it and just go about your business.
Upcoming features include:
– adding in those speech-bubble things to tell you the wings settings instead of using rightclick
– adding in a way to delete a wing without removing the prop