Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added a new info text window. - With mouse click on the message, the vehicle will be entered. - While the message is hovered, the vehicle name is displayed. - Info text are finished/empty/full. - When the driver is released with a message, then the message is displayed until the vehicle is entered by a player.
- Loading branch information
1 parent
7be0f28
commit 41a166f
Showing
38 changed files
with
942 additions
and
69 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 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 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,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
All info texts need to be placed here. | ||
name: The name for the info text to call it in the lua scripts. | ||
text: The button text shown. | ||
The priority is from top to bottom, which makes the first the highest priority in the hud. | ||
--> | ||
|
||
<InfoTexts prefix="CP_infoTexts_"> | ||
<InfoText name="IS_STUCK" text="isStuck"/> | ||
<InfoText name="TRAFFIC" text="isInTraffic"/> | ||
<InfoText name="SLOWING_DOWN_FOR_TRAFFIC" text="slowingDownForTraffic"/> | ||
|
||
<InfoText name="NEEDS_FILLING" text="needsFilling"/> | ||
<InfoText name="NEEDS_UNLOADING" text="needsUnloading"/> | ||
<InfoText name="WORK_FINISHED" text="workFinished"/> | ||
</InfoTexts> |
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 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
Oops, something went wrong.