7DTD A19 Serverseitige Scripts - Server-side scriptsHöhenangabe am Kompass - Height indication on the compass

Our server side scripts that do not need to be downloaded. Every player gets all settings directly from the server.
Benutzeravatar
sx_schaddi
Site Admin
Beiträge: 52
Registriert: Dienstag 21. Mai 2019, 11:41

Höhenangabe am Kompass - Height indication on the compass

#1

Ungelesener Beitrag von sx_schaddi » Freitag 25. September 2020, 17:50

Fügt die Höhenangabe als Symbol und Zahl zum Kompass hinzu.
Adds the height indication as symbol and number on Compass.

Screenshot 2020-09-25 174833.jpg
Screenshot 2020-09-25 174833.jpg (19.5 KiB) 5666 mal betrachtet
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>