Skip to content

Commit

Permalink
update additional.command.buttons.radial
Browse files Browse the repository at this point in the history
  • Loading branch information
zuckung committed Dec 28, 2024
1 parent 3607305 commit e8c97c9
Show file tree
Hide file tree
Showing 37 changed files with 230 additions and 4 deletions.
4 changes: 4 additions & 0 deletions myplugins/additional.command.buttons.radial/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ To change the colour of the buttons, copy the contents of your desired colour fo
<br>
Changelog:<br>
<br>
2024-12-28<br>
moved the ammo box to the left side if the lower buttons<br>
added ship hud (inspired by Upmost Bsc | https://github.com/tobersj/Central-HUD)<br>
<br>
2024-11-20<br>
added small main menu button to the top left corner (requested by tarminu)<br>
<br>
Expand Down
4 changes: 3 additions & 1 deletion myplugins/additional.command.buttons.radial/credits.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ additional.command.buttons.radial
author:
zuckung
https://github.com/zuckung/endless-sky-plugins
original button images and interface by theweirednut
original button images and interface by theweirednut

ship hud inspired by https://github.com/tobersj/Central-HUD
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ interface "main buttons" bottom right
# board scan secondary primary
# land cloak deploy jump map


# lower right button box
anchor bottom right
sprite "ui/buttonbox"
from 90 2 to -313 -158

# lower right zoom buttons
anchor bottom right
sprite "ui/zoom"
from 0 -126 to -90 -186
active if "!max zoom"
Expand Down Expand Up @@ -211,9 +211,9 @@ interface "main buttons" bottom right
# The engine will draw the secondary weapons list here.
visible if "has secondary"
box "ammo"
from -166 -153 to -76 -308
from -275 -40 to -365 -195

# UPPER SCREEN RIGHT (FLEET COMMANDS)
# UPPER SCREEN RaIGHT (FLEET COMMANDS)
# layout: attack | gather | stop | hold fire | formations | harvest | ammo switch

# top right buttonbox
Expand Down
220 changes: 220 additions & 0 deletions myplugins/additional.command.buttons.radial/data/hud.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
interface "hud"
# Player status.
anchor top right
sprite "ui/status"
from 3 0
align top right
string "location"
from -160 25
color "medium"
align right
width 140
truncate back
string "date"
from -20 45
color "medium"
align right
string "credits"
from -20 65
color "medium"
align right

anchor bottom right
visible if "!fast hud sprites"
outline "player sprite"
center -135 -280
dimensions 100 100
visible if "fast hud sprites"
image "player sprite"
center -135 -280
dimensions 100 100
visible
ring "shields"
center -135 -280
dimensions 150 150
color "shields"
size 2
"start angle" 100
"span angle" 200
ring "hull"
center -135 -280
dimensions 140 140
color "hull"
size 2
"start angle" 100
"span angle" 200
ring "disabled hull"
center -135 -280
dimensions 140 140
color "disabled hull"
size 2
"start angle" 100
"span angle" 200
sprite "ui/bar_border"
from -35 -184
align bottom right
bar "fuel"
from -39 -190
to -230 -190
dimensions 123 0
color "fuel"
size 2
reversed
sprite "ui/bar_border"
from -35 -199
align bottom right
bar "energy"
from -39 -205
to -230 -205
dimensions 123 0
color "energy"
size 2
reversed
sprite "ui/bar_border"
from -35 -214
align bottom right
bar "heat"
from -39 -220
to -230 -220
dimensions 123 0
color "heat"
size 2
reversed
bar "overheat"
from -39 -220
to -230 -220
dimensions 123 0
color "overheat"
size 2
reversed
bar "overheat blink"
from -39 -220
to -230 -220
dimensions 123 0
color "dim"
size 2
reversed

# Targets.
anchor top left
visible if "red alert"
sprite "ui/red alert"
from 10 10
align top left
visible
sprite "ui/radar"
from 0 0
align top left
point "radar"
center 128 128
value "radar radius" 110
value "radar pointer radius" 130

sprite "ui/navigation"
from 200 0
align top left
string "navigation mode"
from 215 20
align left
color "medium"
string "destination"
from 230 40
align left
color "medium"
width 135
truncate back

sprite "ui/target"
from 0 240
align top left
point "target"
center 75 315
dimensions 140 140
value "target radius" 70
visible if "!fast hud sprites"
outline "target sprite"
center 75 315
dimensions 70 70
colored
visible if "fast hud sprites"
image "target sprite"
center 75 315
dimensions 70 70
visible
ring "target shields"
center 75 315
dimensions 120 120
color "shields"
size 1.5
ring "target hull"
center 75 315
dimensions 110 110
color "hull"
size 1.5
ring "target disabled hull"
center 75 315
dimensions 110 110
color "disabled hull"
size 1.5

visible if "range display"
sprite "ui/range"
from 130 263
align top left
string "target range"
from 160 260
align top left
visible if "tactical display"
sprite "ui/tactical"
from 130 290
align top left
string "target crew"
from 162 298
align top left
string "target fuel"
from 162 318
align top left
string "target energy"
from 157 338
align top left
string "target heat"
from 147 358
align top left
visible

string "target name"
center 75 395
color "bright"
width 150
truncate middle
string "target type"
center 75 415
color "medium"
width 150
truncate middle
string "target government"
center 75 435
color "medium"
width 150
truncate middle
point "faction markers"
center 75 435
string "mission target"
center 75 455
color "medium"

# Other HUD elements:
box "escorts"
from 0 442 top left
to 160 0 bottom left
box "messages"
from 120 0 bottom left
to -370 -200 bottom right
box "ammo"
from -110 450 top right
to 0 0 bottom right
value "ammo icon height" 30
value "ammo icon width" 80
anchor top
point "mini-map"
center 0 100
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified myplugins/additional.command.buttons.radial/images/ui/icon_map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/additional.command.buttons.radial01.jpg

0 comments on commit e8c97c9

Please sign in to comment.