Space Engineers

Space Engineers

Planetary Map [OBSOLETE]
Showing 1-10 of 16 entries
< 1  2 >
Update: 8 Dec, 2018 @ 3:01pm

-- Added `SetMajorAxes` method. This method is called at the end of the `CalculatePlanet` method. It sets 3 new surface points for the planet, based on its radius and center calculations. Each new surface point is the coordinate center plus the radius in either x, y, or z directions.

-- Added "UPDATE_PLANET" command: same functionality as "LOG_NEXT" but for already charted planets.

-- Added an "Else" statement to main, so that PrintMap is no longer called after Argument Commands. This will hopefully avoid "Code is too complex" errors.

Update: 3 Dec, 2018 @ 3:31pm

BASIC FUNCTIONALITY!!!
-------------------------------------------------------
* Overhauled code (again) to use already established Planet and WayPoint classes for adding and editing Me.CustomData

* Updated and formatted Planet and WayPoint classes. Wrote improved constructors.

* Implemented LogNext and CalculatePlanet methods.

Update: 1 Dec, 2018 @ 4:26pm

NEW METHODS:
-----------------------------------------------------------------------------------------------

chartNew()
-- Creates new Uncharted Planet entry in custom data.
-- Requires String input for planet name.
-- Sets planet color to default.
-- Sets first log point for planet as current position.

chartGPS()
-- Creates new GPS point from current position.
-- If function is called without a name, it fills Name field in with "------"

buildEntries()
-- Builds String from String array, without inserting unnecessary spaces.
-- For use in other methods.

Update: 25 Nov, 2018 @ 2:52pm

Enlarged Ship Pointer
- Now has 9 Pixel Width, including a dark outline.

Added "Off Map" indicator
- Indicates vertical or horizontal displacement of ship that has flown off edge of map in "World" mode.
- Similar Design to Minecraft Maps.

Update: 24 Nov, 2018 @ 11:00am

NEW METHODS:
***********************************
-- Center Map: Centers Map on current position.
-- Ship Mode: Switches LCD Map to Ship Mode, in which the map is centered on the ship, and moves relative to the world. Prints a crosshair to indicate chase mode.
-- World Mode: Map remains static, and ship moves relative to the map.
-- Toggle Mode: Switches between Ship and World modes.

OTHER UPDATES:
************************************
-- Added "Mode" entry to LCD Public Title. (Entry 4 in array). Determines whether LCD is in Ship or World mode.
-- Updated switch statement in Main to eliminate redundency and allow for 'global' command to all LCDs.

Update: 21 Nov, 2018 @ 12:51pm

Added "Color" attribute to Planet Class.
The color schemes of planets can now be changed, by editing the Custom Data of the programmable block.

Update: 19 Nov, 2018 @ 1:25pm

Created "Build Map" method. Script now builds a "blank" map, which it stores as a string in the Custom Data field of the appropriate LCD. Planets and Waypoints are only calculated and plotted when the map view changes (i.e. center, zoom, or rotation).

This should lead to better efficieny.

Update: 7 Jun, 2018 @ 3:24pm

- Added switch to main for user commands
- Added methods for commands:
-----FLIP_LEFT
-----FLIP_RIGHT
-----FLIP_UP
-----FLIP_DOWN
-----ZOOM_IN
-----ZOOM_OUT
-----MOVE_LEFT
-----MOVE_RIGHT

- Still need to add methods for MOVE_UP and MOVE_DOWN

Update: 2 Jun, 2018 @ 1:00pm

Update: 1 Jun, 2018 @ 1:58pm