Scrap Mechanic

Scrap Mechanic

26 vurderinger
Low Cost Thruster
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Filstørrelse:
Offentliggjort:
645.549 KB
5. sep. 2021 kl. 12:08
1 ændringsbemærkning ( vis )

Abonner for at downloade
Low Cost Thruster

Beskrivelse
Lowers thruster fuel consumption by 20 times and cuts upgrade cost in half by default

Vanilla thrusters are fully hardcoded into the game's binary code.
This is a reimplementation of the Scrap Mechanic survival thrusters in lua,
to allow further modding capabilities, that weren't possible before.

This software serves the purpose of helping scrap mechanic modders to further customize
the game, as well as making quick changes to survival thrusters, to allow further ways of
playing Scrap Mechanic. You are free to use this software for any purpose.

Instructions:
To use this mod in survival, you will need to add the crafting recipe to the craftbot.
All Instructions, including how to add recipes and how to customize the thrusters are found in the mod directory.
To find it, follow these steps:
1. go to Steam settings (top left Steam -> Settings)
2. go to Downloads
3. click on STEAM LIBRARY FOLDERS
4. click on settings icon -> "Browse Folder"
5. open workshop -> content
6. now you should see at least one folder. Go into "387990"
7. here are all your workshop items. Go into "2594525375"
(if you have too many items in here, simply sort by day of change)
8. open readme.txt

How to install mods to survival:
You cannot add mods to survival maps directly. That's why you have to create a normal survival map first and move it too creative. To do that, follow these instructions:
1. open you file explorer and go to your local appdata directory, by clicking on the path bar and type %appdata% and hit enter.
2. go to "Axolot Games" -> "Scrap Mechanic" -> "User"
3. open what ever file you find in here
4. go to Save -> Survival
5. find your map you just created in here
6. move it one directory back, to folder "Save" (cut & paste or drag'n'drop)

These thrusters are made as equally as possible to vanilla thrusters. But they can have differences:
On lower speeds the vanilla thrusters show some strange behavior, I wasn't able to reproduce perfectly, on the other hand, when you have higher speeds, they are pretty much the same.
Thrusters have a visual ground effect, which, due to software limitations with the lua API, I couldn’t reproduce perfectly.

But there are also some bugs with vanilla thrusters, which I fixed in my implementation:
When you save a creation, where some thrusters are hooked up to some logic and a fuel container, one of these connections won't be saved.
When you hook up a Fuel Container to a thruster, the little symbol that indicates, that a fuel container is hooked up, isn't shown.
12 kommentarer
Ciph17 26. mar. kl. 3:01 
Is this mod still being updated?
not_a_gamerr 27. feb. kl. 5:38 
Hi, is it possible for you to make this compatible with crashlander custom game? All it takes is to add a folder with a recipe, there's a tutorial for it too, but a version of the mod with the recipe has to be on the workshop for it to work and I don't want to make a copy of someone else's mod just to add one thing unless I really have to.
Oberon 7. apr. 2022 kl. 4:56 
is there a way to implament it directly in the game so its allways there? and you dont have to add it for every world extra.
Dampfwatze  [ophavsmand] 18. sep. 2021 kl. 4:38 
Yes, but you have to install fant mod first and add the crafting recipies by hand. Instructions on how to do that are in readme.txt in this mod.
Draco21201 16. sep. 2021 kl. 9:23 
does it work with current fant mod?
Piano Man 13. sep. 2021 kl. 12:42 
or battery
Piano Man 13. sep. 2021 kl. 12:41 
LONG STORY SHORT....,,... go into electric engine.lua and lower the consumption of the gas
Dampfwatze  [ophavsmand] 12. sep. 2021 kl. 5:54 
It kinda sounds like a good idea, but actually, it is way simpler to just modify it in the games code (this doesn't work for thrusters, because they are not implemented in lua, but in the games binarys), than adding a new Part for it. Because, if you write a mod for it, you always have to add the crafting recipe anyways.
So simply open the game files and open Survival\Scripts\game\interactables\GasEngine.lua (or ElectricEngine.lua) and it will be mostly the same, as the thruster in my mod. There are two tables: [Gears] and [EngineLevels]. Edit those, to change the Engines properties.

But if enough People want this in this mod, I will implement it!
Abyssa11 11. sep. 2021 kl. 9:07 
put it in this mod so we can use it all the time(and make it all 2x less)
Abyssa11 11. sep. 2021 kl. 9:07 
i agree