Scrap Mechanic

Scrap Mechanic

Not enough ratings
Airfoil and Other Parts
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
13.454 MB
11 Feb, 2024 @ 4:49am
6 Jun @ 5:55am
20 Change Notes ( view )

Subscribe to download
Airfoil and Other Parts

Description
Build wings out of blocks! And other stuff for building flying vehicles. Simulates aerodynamics.
Does not require placing any special parts for the airfoil to work.
Can change air density and drag with commands: /airdensity, /dragmult

Example creations:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3160401631
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3158543182
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3169460072




Do NOT reupload the mod or use any of it's contents without permission.
7 Comments
boni.mqn. 25 May @ 5:59am 
my favorite mod ever!
boni.mqn. 9 Nov, 2024 @ 4:27am 
thank you for the fix!
Random robot  [author] 9 Nov, 2024 @ 12:19am 
Patched. Should nolonger be an issue.
boni.mqn. 8 Nov, 2024 @ 3:33pm 
love this mod!
made a plane with it!
one problem i have with this mod is that all aerodynamic just, disappear when damage is done to airfoils(or other blocks?)
Random robot  [author] 11 Feb, 2024 @ 8:50am 
Noted.
Will fix soon.
Vajdani 11 Feb, 2024 @ 8:41am 
Also, setting a variable in a client side function and using it later in a server side function will only work for the host, no one else. Try using self.network:sendToServer() to call a server side function where you can execute your code.
Vajdani 11 Feb, 2024 @ 8:37am 
I looked into your code and saw that you are checking for the part's title to determine some things. Thats not a reliable way to check it(if your mod supports multiple languages, it can cause problems), consider checking the part's UUID instead. You should either do tostring(uuid) == "some_uuid" or uuid == sm.uuid.new("some_uuid")