Racing System: WIP

After some busy weeks, some little update for you regarding our future Racing/Mission System. Torque3d lacked the ability to load/unload/edit things in groups dynamically. They have an object type called “prefab” which enables you to group objects together and reuse this group in several places. However, this system always loads the objects upon level loading. So here we want to present you a little feature that we added to this prefab class so we can now have prefabs that can contain race items (triggers, blocking objects, etc) in a separate file that can be loaded dynamically and is easy to be edited by the users.

Prefabs now have 3 more options in their context menu: “Unpack” - this opens the prefab to be edited. “Load/Unload” - this adds or deletes the objects from this prefab from the scene dynamically. (Also notice that the prefab icon changes depending in which state it is)

For Example, this is the race1 prefab loaded which contains the barrier on the left:

And the same prefab unpacked: the user can now edit the contained objects. Afterwards the user can select “pack prefab” on the context menu again to close it.

This system will allow us and you to create races and missions that change the objects on the terrain πŸ™‚

Usage Example: the player drives through this trigger (they will get fancier, don’t worry) which loads the prefab (which contain the barriers you can see in the background) and starts the race in Lua:

BeamNG Major Updates v0.25 - Spark Your Passion v0.25 release highlights
Festive Update v0.24.1 Released v0.24.1 release highlights
The 2021 Winter Release – v0.24 v0.24 release highlights
The 2021 Summer Release – v0.23 v0.23 release highlights
The 2021 Spring Release – v0.22 v0.22 release notes
The 2020 Winter Release – BeamNG v0.21 v0.21 release notes
The 2020 Summer Release – BeamNG v0.20 v0.20 release notes
β€œLa Vie Γ  Toute Vitesse” – v0.19 v0.19 release notes
The 2019 Winter Release – v0.18 v0.18 release notes
Buckle up, heavy traffic ahead: Update 0.17 released v0.17 release notes
Electrifying 0.16 v0.16 release notes
A Small Car on a Big Map – Version 0.15 released v0.15 release notes
Light Runner – Version 0.14 Released v0.14 release notes
The Automation Collaboration – Version 0.13 Released v0.13 release notes
Get Busy – version 0.12 released v0.12 release notes
Alpha version 0.11 – The Coast is Clear v0.11 release notes
Sounds like version 0.10 is out! v0.10 release notes
Hopping into 0.9 v0.9 release notes
Version 0.8 rolling in … v0.8 release notes
Alpha version 0.7 released :) v0.7 release notes