Space Engineers

Space Engineers

156 avaliações
Gravity Drive Manager
   
Premiar
Adic. a Favoritos
Nos Favoritos
Desfavoritar
Tamanho:
Publicado em:
Atualizado em:
4.505 KB
14 set. 2017 às 7:31
10 set. 2018 às 15:08
7 notas de alterações ( ver )

Subscreve para transferir
Gravity Drive Manager

Descrição
-- == DEMO SHIP AVAILABLE HERE == --




This code control your Gravity Drive automatically for you. You will use normal keyboard input WASD. It will also act as an Inertial Dampeners. Just add a bunch of Gravity Generators & Artificial Masses for achieving incredible acceleration. Your poor drifting capability has cost you your last two ship? Throw a couple of Gravity Generator sideway, et Volia! Specially useful for large and heavy warship. They will feel like those small aggressive fighter. Get the extreme maneuverability and high redundancy advantage you need in every fight!


*It's important to note that Gravity Drive is a space thing. Don't count on it if you play too close to planetary body or you could be surprise. ;-)



1) Create a group with the name "GDrive" which contain:
- At least one Seat, Cockpit or Remote.
- At least one Gravity Generator (3 in different axis for full motion).
- At least one Artificial Mass (In the range of the Gravity Generator).

2) Place a program block with this code

3) Buckle up!


*It's important to note that even if Gravity Drive could work as unique source of thrust, it's recommended to place a minimum of thrusters to ensure complete stop and precision maneuvering.
-- == DEMO SHIP AVAILABLE HERE == --

This ship is a random ship from the workshop that have been retrofitted with a GDrive in a couple of minutes.




Special thanks to Whiplash141 and it's VTOL script for laying down the
basement (also most of the walls) of this script.
Originalmente postado por Whiplash141:
https://steamoss.com/sharedfiles/filedetails/?id=757123653&searchtext=vtol

Make sure to setup the Artificial Masses evently arround the center of mass
of the ship or you will get torque.

You dont need any thrusters to make your ship move but you will need them to
make a smooth stop. In emergency situation, kill the 'dampenerAntiJerk' in order
to achive a jerky kind of stop. It can be usefull after a hard fight!

Spreading of Masses and Gravity Generator through all the ship will give
you a amazing redundancy in combat.

Multiply Masses and Gravity Generator for increase thrust.

In order to reduce power consumption, reduce the range of the Gravity Generators
to the minimum amount needed to have your Artificial Masses inside the gravity feild.

If the drive is too powerfull for the ship, you will experence oscillations at low
speed. Increase the dampenerAntiJerk to a value higher than the speed of your
oscillations will correct the issue.

Fly safe!




Version 2 :
Manage Arguments.
Add Auhtor Notes.
Add GDrive status in console.
Add arguments to toggle anti-jerk.

Version 3 :
Using Group name
Support other Gravity Generator in the grid.

Version 4 :
Using Group name less sensitive.
Support other Gravity Generator Sphere in the grid.

Version 5 :
No timer needed.
Discussões Populares Ver todos (2)
7
5 mar. 2020 às 20:10
AFIXADO: User Creations
Mohawk
7
28 nov. 2020 às 19:05
AFIXADO: Bug Reports
Mohawk
118 comentários
superkai64 13 jul. 2023 às 12:39 
Where is the code located? I open up programmable block and cannot find a way to load "the code"
IneptOrange 2 out. 2022 às 17:02 
FOR ANYONE STRUGGLING TO SET UP AN "OFF" BUTTON FOLLOW THIS:
Firstly, this took way too long for me to figure out, but as it turns out, short version;
Run the programmable block with the arguments:
"hard_shutdown" to switch off the drive instantly like a kill switch.
"soft_shutdown" to switch off the drive slowly, allowing it to ramp down before stopping.
"startup" to switch it back on again.
ceilyurie 19 mai. 2022 às 18:26 
will this woirk with an upper limit of TEN grav generators TOTAL OWNERSHIP? My station is already gonan need 3, and will need at least one for gravity on board my ships...maybe more.
m1dn1ck 31 mar. 2022 às 2:20 
{LINK REMOVIDO}
i Think it is enough *gg*
m1dn1ck 30 mar. 2022 às 23:32 
If you play on a server just thinking about that and you will know that you dont have the permission to do it or the script is blacklistet on the server, this script runs like a charme on MP Server with 80 Mods best regards from hannover germany
Kadali 11 fev. 2022 às 5:10 
i can not load this script into a program block. i tested with other scrips and they load in and run fine but this one will not, after choosing it the program block still shows the default public program info. i know the script works in my world because i have a older build with it already set up that i can spawn in and everything works fine but i am unable to add it to a new program block
GrumpyPlok616 29 jan. 2022 às 14:10 
should add argument to turn off
mhwyoshi 25 set. 2021 às 14:16 
Also quick question where is the The instructions for the arguments? The argument size and the ones that you use to make a program able block do something
mhwyoshi 25 set. 2021 às 11:20 
@Mohawk, So I made a counter system for the ordinary artificial gravity of the ship that uses One gravity generator to make the artificial gravity for the rest of the ship while another counteracts that in the area where the grubby drive is so the ship can use the gravity drive to fly. The problem is that your script keeps on turning this off when I fly and it doesn’t allow people to walk around in it when it uses the script to do so. If you can make it so the gravity generators that are not a part of the script can be made to actually work while the ship is flying that would be great. Perhaps try making a argument for this in the program
GrumpyPlok616 14 set. 2021 às 19:26 
the programing block must be on the main grid it can not be on a sub grid