How will this enhancement improve the game?
With Racing Objectives available, they should be implemented on multiple maps. There must be a minimun of 10 checkpoints, and a maximun of 20 checkpoints per map. Duration should be around 5 minutes. (Experienced racers will reduce this number obviously...)
Describe the solution you'd like
As lead developer, I want to have the racing objectives implemented in the following maps
[ ] City - Classic (Example exists, but must be extended further as its duration is ~50s)
Clone branch 249-racing-objective-maps. Ask @AoTTG-2/development-team if you require assistance.
Please check City - Classic (Scene is named "City I") as reference.
Create an empty gameobject named "Racing" and as children as an "Objectives" and "Start Barriers" object. Whereas this is not perse mandatory on a functional level, please structure your objects like this to keep scenes organized.
For start barriers, you should make use of the "startCuboid" objects. For each startCuboid object, you must enable the "IsRacingOnly" checkbox under the Racing Start Barrier component. This will delete the startCuboid if the gamemode is not racing.
For racing objectives, you must make use of the "RacingObjective" prefab. Their colors are managed programmatically. Inside each RacingObjective you spawn, is a child object named "hitbox". Within the hitbox, there is a script named "RacingObjective" which has a setting named Order. As the name implies, assign a number there. The game will then place the racing objectives automatically in the correct order
You can test if the racing objectives are working as intended by hosting a game in either single or multiplayer. Select the map, and choose "Racing" as gamemode.
How will this enhancement improve the game? With Racing Objectives available, they should be implemented on multiple maps. There must be a minimun of 10 checkpoints, and a maximun of 20 checkpoints per map. Duration should be around 5 minutes. (Experienced racers will reduce this number obviously...)
Describe the solution you'd like As lead developer, I want to have the racing objectives implemented in the following maps