7DTD A19 Serverseitige Scripts - Server-side scripts ⇒ Höhenangabe am Kompass - Height indication on the compass
- sx_schaddi
- Site Admin
- Beiträge: 52
- Registriert: Dienstag 21. Mai 2019, 11:41
Höhenangabe am Kompass - Height indication on the compass
Fügt die Höhenangabe als Symbol und Zahl zum Kompass hinzu.
Adds the height indication as symbol and number on Compass.
Adds the height indication as symbol and number on Compass.
XUi/windows.xml
Suchen & Absatz ersetzen:
<window name="windowCompass" style="compass.window" controller="CompassWindow" >
Code: Alles auswählen
<window name="windowCompass" style="compass.window" controller="CompassWindow" >
<!--<sprite style="compass.window.background.border"/>-->
<sprite style="compass.window.background"/>
<sprite style="compass.window.compass.background" />
<texture style="compass.window.compass.texture" name="compassTexture" rect_size="0.25,1" rect_offset=".8,0" />-->
<sprite name="bar" depth="10" pos="239,-16" size="2,20" sprite="menu_empty2px" type="sliced" fillcenter="false"/>
<sprite sprite="" color="255,255,255,255" globalopacitymod="1.8">
<label depth="2" name="TextContent" pos="151,-66" font_size="28" color="[white]" justify="center" pivot="center" text="{daytitle}: [{daycolor|always}]{day|always}[-] {timetitle}: {time|always}" height="30" effect="outline" upper_case="true" />
</sprite>
<sprite depth="2" name="Icon" sprite="ui_game_symbol_temperature" size="22,22" pos="249,-57" color="[white]" />
<label depth="2" name="TextContent" pos="301,-66" font_size="28" color="[white]" justify="center" pivot="center" text="{maptemperature}[-]" height="30" controller="MapStats" effect="outline"/>
<sprite depth="2" name="Icon" sprite="ui_game_symbol_climb" size="22,22" pos="332,-56" color="[white]" />
<label depth="2" name="TextContent" pos="388,-66" font_size="28" color="[white]" globalopacitymod="1.8" justify="center" pivot="center" text="{mapelevation}[-] M" height="30" controller="MapStats" effect="outline" />
</window>