-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from codibez/development
[#10]: A long overdue update... HERE IT IS!! * Use of the original font/style entitled `Chalet Comprimé` * **FIXED:** variable `vehicleCheck` in the configuration file not being rendered correctly. * Restricted to a single color customization option for the *current street* * **ADDED:** A "dynamic" view option that places the HUD on a single line * **ADDED:** A simpler way to manage the size of the overall HUD with the `scale` variable found in the new `configuration.lua` file. **I highly recommend** removing your old `streetLabel` folder and perform a fresh installation of this script, as many files have been renamed and entirely removed. If you attempt to merge this update to an existing installation, you very well may run into issues.
- Loading branch information
Showing
10 changed files
with
172 additions
and
152 deletions.
There are no files selected for viewing
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
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 @@ | ||
config = { | ||
-- Customization options | ||
color = '#f0c850'; | ||
|
||
position = { | ||
-- 0:100 | ||
offsetX = 17; | ||
offsetY = 2.5; | ||
}; | ||
|
||
scale = 1.0; | ||
|
||
vehicleCheck = false; -- Rather or not to display HUD when player(s) are inside a vehicle | ||
dynamic = false; | ||
} |
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
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,36 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap'); | ||
* { box-sizing: border-box; } | ||
body { | ||
background: transparent; | ||
color: rgb(255,255,255); | ||
font-family: 'Roboto', sans-serif; | ||
font-size: 24px; | ||
height: 100vh; width: 100vw; | ||
overflow: hidden; | ||
position: relative; | ||
text-shadow: 1px 1px 2px rgba(0,0,0,.8); | ||
} | ||
|
||
div#container { | ||
position: absolute; | ||
|
||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
section#compass { | ||
margin: auto 5px; | ||
|
||
display: flex; | ||
align-items: center; | ||
} | ||
span.border { | ||
transform: scaleY(1.5); | ||
} | ||
span.border:first-child, span#street{ margin-right: 3px; } | ||
span.border:last-child { margin-left: 3px; } | ||
|
||
span#direction { | ||
font-size: 28px; | ||
font-weight: 500; /* Roboto - medium */ | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.