Skip to content

Commit

Permalink
Update README.md, add deathbike2 (solves #1), add appveyor config for…
Browse files Browse the repository at this point in the history
… automated builds, add custom vehicle color support.
  • Loading branch information
TomGrobbe committed May 16, 2021
1 parent 36ded76 commit 78a5461
Show file tree
Hide file tree
Showing 13 changed files with 836 additions and 767 deletions.
532 changes: 266 additions & 266 deletions .gitignore

Large diffs are not rendered by default.

64 changes: 42 additions & 22 deletions README.md
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
50 changes: 25 additions & 25 deletions Tron/Tron.sln
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

0 comments on commit 78a5461

Please sign in to comment.