GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. https://fsf.org/
You can use this for whatever you wish. Have fun, enjoy, share, Make it better if you can.
- remote control [necessary] or any other control unit
- emergency control unit [optional] will help you with a cradle setup
- screen [necessary]
- databank [necessary]
- telemeter [optional] really helps with precise landing. Auto shutdown is not possible without
- emitter [optional] used for automatic docking
- radar [optional] use at your own risk bc of a well known radar bug
! all parts listed above should be linked before you aply autoconf
- copy .conf file from repository to your custom directory Dual Universe\Game\data\lua\autoconf\custom
- link all elements to your control unit (order does not matter)
- RMB on your control unit and use context menu advanced->Update custom autoconf list
- RMB on your control unit and use context menu advanced->Run custom autoconfigure -> Darthvator 1.0.0r version number can be changed later
- Now you can activate control unit and follow instructions from the screen. Elevator will work in an easy_setup mode.
- The first launch is important to be made properly. It should be done at the altitude you want it to be used from. It will store that altitude in databank. Script will also remember it's position and orientation. Elevation axis will be off of a gravity well so if you start it from a slope and don't have enough thrust to compensate deviation from gravity - it is your fault.
- it's a default mode in which scripts's precision is based on a user's ability to align elevator by maneuver tool. In other words I will not guarantee it's proper work in easy setup mode. That mode usually used for a quick demonstration and simple use cases. This mode can be disabled via editing lua parameters from the control unit context menu.
- it is not hard, trust me.
- to make a proper setup you will need a customer service script which you can find in repository files.
-
- put a programming board, screen and adjustor next to the place where you want your elevator to be installed
- adjustor should be placed rigt in the center of a cradle (elevator pad or whatever you wish to use) You can place it at any relative altitude (usually under your elevator). it will repesent the point on a future elevation axis, so that axis will be calculated from the adjustor position. Keep in mind that bc of NQ "magic" there is an offset of 0.5 to the forward and to the right of adjustor's original position. Anyway it's not crucial and you can adjust adjustor's :) position later.
- copy customer_service.json to clipboard
- paste code from clipboard into the programming board via context menu
- link adjustor to the programming board first, then link the screen
- once you activate the programming board it will paste three vectors into the screen, which you can copy and paste straight into the code or (which is better) paste them to the lua parameters via context menu.
- via context menu of your control unit, uncheck easy setup in lua parameters
- in both easy and not easy setup modes you have to launch it from it's base position, so it will remember correct base altitude
-
for the cradle you can use sliding doors of any size, but ensure yourself that at least one of them is able to cover your elevator's telemeter.
-
cradle example:
-
doors should be connected to the relay of a cradle logic
-
example of a cradle logic
-
there are two receivers which provide signal for a SR latch. Their channels should be set for a unique value. For that purpose we use channel "salt". Channel "salt" should be set in your elevator control's lua parameters and also used to name channels on your cradle's receivers with a pattern dg_close_SALT/dg_open_SALT where SALT is your channel salt you set on elevator.