Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: New stock user interfaces #1392

Merged
merged 48 commits into from
Dec 5, 2023
Merged

WIP: New stock user interfaces #1392

merged 48 commits into from
Dec 5, 2023

Conversation

cam72cam
Copy link
Member

Working with Nathan to replace the rest of the developer assets with better assets.

Example:
```
element:
  image = "immersiverailroading:somebutton.png"
  translucent = true
  toggle = true
  texture_variant = "dark_blue" # Same as the model's texture variant folder

```
example:
```
import:
  source = immersiverailroading:gui/default/steam/gauge_common_face.caml
  replace =
    TITLE = TEMPERATURE
    MIN = 0
    CURRENT = stat.speed stat.units_speed
    MAX = stat.max_speed
```
You can scale that however needed in your caml. Example:
for 120 needle rotation degrees from 0 to 100 km/h you would set the
rotation degrees to 240.

Equation: degrees * 200 / desired_speed_kmh
…ffsets

Change detection of when trucks/bogies need custom pathing
@cam72cam cam72cam merged commit bea12a3 into master Dec 5, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant