Barotrauma

Barotrauma

75 ratings
Vertical Engine Lua
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
5.209 KB
18 Nov, 2023 @ 12:23pm
3 Aug, 2024 @ 1:32am
7 Change Notes ( view )

Subscribe to download
Vertical Engine Lua

Description
Make any engine vertical by adding "vertical_engine" tag to it in the editor.
Also functional tags for vertical engine:
"only_upwards" - engine can push sub only up,
"only_downwards" - engine can push sub only down.


Example test-sub: Green Scavenger

C# version by Nupaska


If you have trouble setting up vertical engine check if engine gives horizontal thrust, if it does you probably don't have lua or this mod installed. Otherwise add more maximum force on engine.

Lua For Barotrauma is requied for server side as well as client side

HOW TO INSTALL LUA FOR BAROTRAUMA[evilfactory.github.io]


This mod was approved by Elon Musk
Popular Discussions View All (1)
5
8 Jan @ 9:32am
I have a problem
Echidna
58 Comments
DrBruhman  [author] 5 Jul @ 7:20am 
confirmed that directional engines would be added to the game with dlc
DrBruhman  [author] 5 Jul @ 7:19am 
@Timangust, use lua toolgun mod and barocraftables
Timangust 3 Jul @ 10:19pm 
Can you make it craftable? To craft it in mid-game?
DrBruhman  [author] 28 May @ 6:31pm 
there is good chance(github commit in dev repository) that rotateable engines would be added into vanilla, + combining turret with engine you will be able to rotate it in game with logic or periscope
koishi komeiji 2 May @ 12:53pm 
this is cursed
neonatal 20 Apr @ 4:21am 
I don't think I've checked it, with immersive repairs turned off, the engine works as it should (vertically), with it turned on, it works like a regular engine
Nupaska 19 Apr @ 3:36pm 
It doesn't override the engine, why do you think it's not compatible?
neonatal 19 Apr @ 3:34pm 
is it possible to make it compatible with immersive repairs?
Nupaska 16 Apr @ 8:57am 
@VoidRunner Regalis released the first hotfix, game is now 1.8.7.0
Lua isn't updated yet
You don't have lua -> Vertical Engine -->>[LUA]<<-- doesn't work
VoidRunner 16 Apr @ 8:54am 
its moving the sub sideways...

i was debating adding that to the question, mention ive trouble shooted and its NOT that lol

i also tested on the green scavenger, so its not user error

ive tried multiple different load orders