add dynamicaly changing gps markers

Luppen shared this feedback 13 days ago
Not Enough Votes

hello!

i have created a tool to determine a jump root around planets. i would like this feature to be used by everybody without external tools, and mods.

every such gps marker should be able to be based on a lightweight mathematical expression

inside expression players can refer to scalar floating point precision numbers, other dynamic gps coordinates, static gps coordinates, trigonometric functions, summation, division, multiplication operators, and ability to create, or manipulate an existing gps coordinate's components individually - even add those up into a single scalar value, or squeare each individual component in order to create a new gps marker, or adding, and subtracting markers from one another like vectors, and multiplying them to elongate them, or getting their magnitude

by lettting players write these lightweight expressions they will be able to create their own gps markers that are updating based on positions of things that are able to move - such as the player character's own position, their own ship's position, planets' position (further down the line possibly blocks' position individually compared to center of mass of a ship, or positions of things the player can detect with antennas, lasers, and sensors, and ore detectors)

even further down the line possibly actions manually set up by the players, or ai actions that are based on these dynamic gps markers

even further down the line possibly gyroscope, and thruster behaviour settings, ability to refer to ship masses inside these expressions

one possible solutions to this maybe is to let players program their expressions inside c# environment that is referring to a very limited dll

another solution is possibly to use "ANTLR" to define a programming language, and then use antlr itself (possibly with regular expressions) to interpret these player made scripts

Replies (2)

photo
1

also for dynamic gps markers:

a player can decide how to copy such gps marker to the clipboard

for example "copy to clipboard as static gps" will copy the dynamic gps marker in the current gps format as text to the clipboard, and with "copy to clipboard as dynamic gps" will copy the dynamic gps to the clipboard in the following format:

DGPS:< name >:<expression text>:< color >:

photo
1

note for dynamic gps markers:

if the game is programmed in lua, well lua possesses its own regular expression kit, and is more felxible compared to other regular expression flavors to the extent that it is possible to only use that when you let players to script such thing, and then interpret it with lua's regular expression kit

Leave a Comment
 
Attach a file
You can't vote. Please authorize!