-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README.md, add deathbike2 (solves #1), add appveyor config for…
… automated builds, add custom vehicle color support.
- Loading branch information
Showing
13 changed files
with
836 additions
and
767 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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 |
---|---|---|
@@ -1,22 +1,42 @@ | ||
# Tron for FiveM | ||
|
||
A *basic* implementation of the GTA:O Deadline gamemode, except it's not the gamemode part, it's *just* the trail effect for the `shotaro` bike. | ||
|
||
## Config options | ||
|
||
There are no config options. | ||
If you want to change something go look in the code. | ||
I've marked 3 *somewhat* configurable constants in the main class. | ||
I've also added comments to pretty much everything, so good luck. | ||
|
||
## Features | ||
|
||
- The trail color is based on the vehicle color combination. Custom paint's won't work, you have to use vehicle color combinations. | ||
- Trail disappears when you get off your bike. | ||
- Music events are triggered whenever you get on the bike and they stop when you get off again. | ||
- Deadline screen effects. | ||
- You can only see your own trail. Effects are not synced with other players. | ||
|
||
## Demo | ||
|
||
https://youtu.be/zfYkC17rXeI | ||
# Tron for FiveM | ||
|
||
A *basic* implementation of the GTA:O Deadline gamemode, except it's not the gamemode part, it's *just* the trail effect for the `shotaro` and `deathbike2` bikes. | ||
|
||
## Config options | ||
|
||
There are no config options. | ||
If you want to change something go look in the code. | ||
I've marked 3 *somewhat* configurable constants in the main class. | ||
I've also added comments to pretty much everything, so good luck. | ||
|
||
## Features | ||
|
||
- The trail color is based on the vehicle color combination by default, giving the vehicle a new secondary color will make it use that color instead. | ||
- Trail disappears when you get off your bike. | ||
- Music events are triggered whenever you get on the bike and they stop when you get off again. | ||
- Deadline screen effects. | ||
- You can only see your own trail. Effects are not synced with other players. | ||
- Trails 'lean' properly to follow the lean angle of your bike. | ||
|
||
## Demo | ||
|
||
https://youtu.be/zfYkC17rXeI | ||
|
||
## Changelog | ||
|
||
### 1.0.1 | ||
|
||
- Added the `deathbike2` model. | ||
- Added support for more trail color options by detecting the secondary color of the vehicle if color combinations are not used. | ||
|
||
### 1.0.0 | ||
|
||
- Initial release. | ||
|
||
## Download | ||
|
||
https://github.com/TomGrobbe/Tron/releases | ||
|
||
## Forum topic | ||
|
||
https://forum.cfx.re/t/tron-deadline-bike-trails/2870376?u=vespura |
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,25 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 16.0.30621.155 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tron", "Tron\Tron.csproj", "{6B8BA878-D780-4D39-A1B4-AE33BCC6A27E}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{6B8BA878-D780-4D39-A1B4-AE33BCC6A27E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{6B8BA878-D780-4D39-A1B4-AE33BCC6A27E}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{6B8BA878-D780-4D39-A1B4-AE33BCC6A27E}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{6B8BA878-D780-4D39-A1B4-AE33BCC6A27E}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {DEBF1159-E774-41B7-9D4A-37DA97DF93D2} | ||
EndGlobalSection | ||
EndGlobal | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 16.0.30621.155 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tron", "Tron\Tron.csproj", "{6B8BA878-D780-4D39-A1B4-AE33BCC6A27E}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{6B8BA878-D780-4D39-A1B4-AE33BCC6A27E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{6B8BA878-D780-4D39-A1B4-AE33BCC6A27E}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{6B8BA878-D780-4D39-A1B4-AE33BCC6A27E}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{6B8BA878-D780-4D39-A1B4-AE33BCC6A27E}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {DEBF1159-E774-41B7-9D4A-37DA97DF93D2} | ||
EndGlobalSection | ||
EndGlobal |
Oops, something went wrong.