Skip to content

Use Vehicles for another game

Michele edited this page May 9, 2023 · 2 revisions

Using Vehicle assets

If you want to use the Vehicles for another game, you need to choose if you want to edit this project by removing stuff or moving them to a new project.

Taking assets

As explained in other parts of the documentation, the vehicles inherit from AReplayVehiclePawn which is just a AWheeledVehiclePawn. The easiest way is to just take the Assets/Vehicles folder and re-import it inside a new project, to re-create all the BP from scratch, either from your own class or directly from AWheeledVehiclePawn.

Editing the project

If you want to just edit the project to do some stuff, for example a race, you can do a few things, you can change the Parent class of every VehicleBP from AReplayVehiclePawn to either ABaseVehiclePawn or directly AWheeledVehiclePawn. At that point you can just create a new GameMode and have fun as you wish.

This game is based on replays, as every round you see your own replays. If you want to do something unrelated you can just start deleting all stuff regarding replay, such as AReplayVehiclePawn, UVehicleBaseReplayComponent, UVehicleArrowNavigatorComponent and ATrafficGameplayGameMode.

Clone this wiki locally