-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dashboard mods: made digital/analog/boat separate.
Removed cvars 'gfx_speedo_digital', 'ui_default_dashboard'. Added cvars 'ui_default_truck_dash', 'ui_default_boat_dash'. Updated the definition file: ; Recognized commands: ; * dashboard_name <string> ; * dashboard_description <string> ; * dashboard_author <string: credit> <int: forum ID> <string: name> <string: email> ; Optional filename tags: ; * '_rpmN' ~ N is the redline RPM ; * '_Xph' ~ X is units (k=Kilometers | m=Miles) ; removed all the dashbiard_supports_ directives: bool supports_7000rpm = false; bool supports_analog = false; bool supports_mph = false; bool supports_boat = false;
- Loading branch information
Showing
25 changed files
with
1,110 additions
and
1,158 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
; A dashboard mod MUST contain a '.dashboard' file, even if just empty. | ||
; Recognized commands: | ||
; * dashboard_name <string> | ||
; * dashboard_description <string> | ||
; * dashboard_author <string: credit> <int: forum ID> <string: name> <string: email> | ||
; All layout files must start the same as the .dashboard file. | ||
; For example: foo.dashboard -> foo_dashboard.layout | ||
; Optional filename tags: | ||
; * '_rpmN' ~ N is the redline RPM | ||
; * '_Xph' ~ X is units (k=Kilometers | m=Miles) | ||
; ------------------------------------------------------------ | ||
|
||
dashboard_name "Default - Boat" | ||
dashboard_description "Default dashboard for boats" |
140 changes: 70 additions & 70 deletions
140
.../dashboards/default_dashboard_boat.layout → resources/dashboards/default_boat.layout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,70 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<MyGUI type="Layout" version="3.2.0"> | ||
<Widget type="ImageBox" skin="ImageBox" position="0 114 1024 795" align="Strech" layer="Back" name="_Main"> | ||
<Widget type="ImageBox" skin="ImageBox" position="770 544 250 250" align="Right Bottom" layer="Back" name="SpeedoGauge"> | ||
<Property key="ImageTexture" value="speedo_boat.png"/> | ||
<UserString key="link" value="water_speed"/> | ||
<Widget type="TextBox" skin="TextBox" position="89 175 72 27" name="textdepth"> | ||
<Property key="TextColour" value="1 1 1"/> | ||
<Property key="TextAlign" value="Right VCenter"/> | ||
<Property key="FontHeight" value="18"/> | ||
<Property key="Caption" value="123"/> | ||
<Property key="FontName" value="Digital-7-18"/> | ||
<UserString key="link" value="water_depth"/> | ||
<UserString key="anim" value="textformat"/> | ||
<UserString key="format" value="%2.1f"/> | ||
</Widget> | ||
<Widget type="ImageBox" skin="ImageBox" position="156 107 35 35" name="ign"> | ||
<Property key="ImageTexture" value="ign_v2-off.png"/> | ||
<UserString key="anim" value="lamp"/> | ||
<UserString key="texture" value="ign_v2"/> | ||
<UserString key="link" value="engine_ignition"/> | ||
</Widget> | ||
<Widget type="ImageBox" skin="ImageBox" position="108 76 35 35" name="lightsBattery"> | ||
<Property key="ImageTexture" value="batt_v2-off.png"/> | ||
<UserString key="anim" value="lamp"/> | ||
<UserString key="texture" value="batt_v2"/> | ||
<UserString key="link" value="engine_battery"/> | ||
</Widget> | ||
<Widget type="ImageBox" skin="ImageBox" position="147 78 25 25" name="lightsLocked"> | ||
<Property key="ImageTexture" value="secured_v2-off.png"/> | ||
<UserString key="anim" value="lamp"/> | ||
<UserString key="texture" value="secured_v2"/> | ||
<UserString key="link" value="locked"/> | ||
</Widget> | ||
<Widget type="ImageBox" skin="ImageBox" position="74 77 28 28" name="lightsTies"> | ||
<Property key="ImageTexture" value="locked_v2-0.png"/> | ||
<UserString key="texture" value="locked_v2"/> | ||
<UserString key="link" value="ties_mode"/> | ||
<UserString key="anim" value="series"/> | ||
</Widget> | ||
<Widget type="ImageBox" skin="ImageBox" position="55 107 35 35" name="lightsFrontLights"> | ||
<Property key="ImageTexture" value="lights_v2-off.png"/> | ||
<UserString key="anim" value="lamp"/> | ||
<UserString key="link" value="lights"/> | ||
<UserString key="texture" value="lights_v2"/> | ||
</Widget> | ||
</Widget> | ||
<Widget type="ImageBox" skin="RotatingSkin" style="Overlapped" position="769 538 258 258" align="Right Bottom" layer="Middle" name="SpeedoNeedle"> | ||
<Property key="ImageTexture" value="redneedle_v2.png"/> | ||
<UserString key="anim" value="rotate"/> | ||
<UserString key="link" value="water_speed"/> | ||
<UserString key="vmax" value="60"/> | ||
<UserString key="vmin" value="-60"/> | ||
<UserString key="min" value="-135"/> | ||
<UserString key="max" value="135"/> | ||
<Widget type="ImageBox" skin="ImageBox" position="113 113 32 32"> | ||
<Property key="ImageTexture" value="needle_prt2.png"/> | ||
</Widget> | ||
</Widget> | ||
<Widget type="ImageBox" skin="RotatingSkin" position="461 644 150 150" align="HCenter Bottom" name="steerrudder"> | ||
<Property key="ImageTexture" value="shipsteer.dds"/> | ||
<UserString key="anim" value="rotate"/> | ||
<UserString key="max" value="360"/> | ||
<UserString key="min" value="-360"/> | ||
<UserString key="link" value="screw_steer_0"/> | ||
<UserString key="vmax" value="-1"/> | ||
<UserString key="vmin" value="1"/> | ||
</Widget> | ||
</Widget> | ||
</MyGUI> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<MyGUI type="Layout" version="3.2.0"> | ||
<Widget type="ImageBox" skin="ImageBox" position="0 114 1024 795" align="Strech" layer="Back" name="_Main"> | ||
<Widget type="ImageBox" skin="ImageBox" position="770 544 250 250" align="Right Bottom" layer="Back" name="SpeedoGauge"> | ||
<Property key="ImageTexture" value="speedo_boat.png"/> | ||
<UserString key="link" value="water_speed"/> | ||
<Widget type="TextBox" skin="TextBox" position="89 175 72 27" name="textdepth"> | ||
<Property key="TextColour" value="1 1 1"/> | ||
<Property key="TextAlign" value="Right VCenter"/> | ||
<Property key="FontHeight" value="18"/> | ||
<Property key="Caption" value="123"/> | ||
<Property key="FontName" value="Digital-7-18"/> | ||
<UserString key="link" value="water_depth"/> | ||
<UserString key="anim" value="textformat"/> | ||
<UserString key="format" value="%2.1f"/> | ||
</Widget> | ||
<Widget type="ImageBox" skin="ImageBox" position="156 107 35 35" name="ign"> | ||
<Property key="ImageTexture" value="ign_v2-off.png"/> | ||
<UserString key="anim" value="lamp"/> | ||
<UserString key="texture" value="ign_v2"/> | ||
<UserString key="link" value="engine_ignition"/> | ||
</Widget> | ||
<Widget type="ImageBox" skin="ImageBox" position="108 76 35 35" name="lightsBattery"> | ||
<Property key="ImageTexture" value="batt_v2-off.png"/> | ||
<UserString key="anim" value="lamp"/> | ||
<UserString key="texture" value="batt_v2"/> | ||
<UserString key="link" value="engine_battery"/> | ||
</Widget> | ||
<Widget type="ImageBox" skin="ImageBox" position="147 78 25 25" name="lightsLocked"> | ||
<Property key="ImageTexture" value="secured_v2-off.png"/> | ||
<UserString key="anim" value="lamp"/> | ||
<UserString key="texture" value="secured_v2"/> | ||
<UserString key="link" value="locked"/> | ||
</Widget> | ||
<Widget type="ImageBox" skin="ImageBox" position="74 77 28 28" name="lightsTies"> | ||
<Property key="ImageTexture" value="locked_v2-0.png"/> | ||
<UserString key="texture" value="locked_v2"/> | ||
<UserString key="link" value="ties_mode"/> | ||
<UserString key="anim" value="series"/> | ||
</Widget> | ||
<Widget type="ImageBox" skin="ImageBox" position="55 107 35 35" name="lightsFrontLights"> | ||
<Property key="ImageTexture" value="lights_v2-off.png"/> | ||
<UserString key="anim" value="lamp"/> | ||
<UserString key="link" value="lights"/> | ||
<UserString key="texture" value="lights_v2"/> | ||
</Widget> | ||
</Widget> | ||
<Widget type="ImageBox" skin="RotatingSkin" style="Overlapped" position="769 538 258 258" align="Right Bottom" layer="Middle" name="SpeedoNeedle"> | ||
<Property key="ImageTexture" value="redneedle_v2.png"/> | ||
<UserString key="anim" value="rotate"/> | ||
<UserString key="link" value="water_speed"/> | ||
<UserString key="vmax" value="60"/> | ||
<UserString key="vmin" value="-60"/> | ||
<UserString key="min" value="-135"/> | ||
<UserString key="max" value="135"/> | ||
<Widget type="ImageBox" skin="ImageBox" position="113 113 32 32"> | ||
<Property key="ImageTexture" value="needle_prt2.png"/> | ||
</Widget> | ||
</Widget> | ||
<Widget type="ImageBox" skin="RotatingSkin" position="461 644 150 150" align="HCenter Bottom" name="steerrudder"> | ||
<Property key="ImageTexture" value="shipsteer.dds"/> | ||
<UserString key="anim" value="rotate"/> | ||
<UserString key="max" value="360"/> | ||
<UserString key="min" value="-360"/> | ||
<UserString key="link" value="screw_steer_0"/> | ||
<UserString key="vmax" value="-1"/> | ||
<UserString key="vmin" value="1"/> | ||
</Widget> | ||
</Widget> | ||
</MyGUI> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
; A dashboard mod MUST contain a '.dashboard' file, even if just empty. | ||
; Recognized commands: | ||
; * dashboard_name <string> | ||
; * dashboard_description <string> | ||
; * dashboard_author <string: credit> <int: forum ID> <string: name> <string: email> | ||
; All layout files must start the same as the .dashboard file. | ||
; For example: foo.dashboard -> foo_dashboard.layout | ||
; Optional filename tags: | ||
; * '_rpmN' ~ N is the redline RPM | ||
; * '_Xph' ~ X is units (k=Kilometers | m=Miles) | ||
; ------------------------------------------------------------ | ||
|
||
dashboard_name "Default - Truck analog" | ||
dashboard_description "Default dashboard with analog speedometer" | ||
dashboard_author "7000 RPM tacho" -1 "Klink" |
Oops, something went wrong.