Torque3D/Templates/BaseGame/game/data
JeffR c5ae9af0ae Core now spawns a ControlObject directly, with callbacks allowing overriding of values to control what spawns (and what occurs afterwards) to tie several tracking variables to a given client connection.
By default this list of variables would be:
%this.spawnClass = "Camera";
%this.spawnDBType = "CameraData";
%this.spawnDataBlock = "Observer";
%this.playerSpawnGroups = "PlayerSpawnPoints PlayerDropPoints";
%this.spawnPoint = "";
%this.spawnLocation = "0 0 0";

Also adds several callbacks so that these values can be overridden by modules and gamemodes, kicked off from the %client.spawnControlObject(); command :
callOnModules("setSpawnObjectType", "Game", %this);
callGamemodeFunction("setSpawnObjectType", %this);

callOnModules("setSpawnPoint", "Game", %this);
callGamemodeFunction("setSpawnPoint", %this);

callOnModules("onPostSpawn", "Game", %this);
callGamemodeFunction("onPostSpawn", %this);

This is to ensure that a game mode can supersede modules, but even modules can dictate spawn behaviors for minimalist implementations and drop-in interop support
2024-12-21 02:11:35 -06:00
..
cache/shaderCache comparison flaw in spotlight animation check. also, proper location of shadercache dir 2020-07-07 16:54:25 -05:00
ExampleModule Core now spawns a ControlObject directly, with callbacks allowing overriding of values to control what spawns (and what occurs afterwards) to tie several tracking variables to a given client connection. 2024-12-21 02:11:35 -06:00
gameUI extended callonModules hooks for baseline playgui 2022-03-19 13:03:33 -05:00
Prototyping fix arrowPrimative badfilereference 2024-04-13 16:28:56 -05:00
UI Updates DecalRoad, MeshRoad and River to be able to write out via persistManager using specialityField functions, similar to ConvexShape 2024-12-15 23:48:16 -06:00
defaults.tscript * Ensures the HDRBloom pref is properly set as part of the default settings 2024-02-03 23:15:35 -06:00
splash.png Splash Screen Replecement 2022-08-30 17:51:20 -03:00
torque.png Initial pass to rework and cleanup the main UI interface 2020-05-20 17:19:52 -05:00