Commit graph

1454 commits

Author SHA1 Message Date
Areloch 0e0cc0b83a Ensures that if no client camera is defined when attempting to swap into an editor camera mode, it makes one so that the normal editor camera modes can work as expected
Adds sanity check to default onNewDatablock function on the GameDatablock namespace in case the onAdd or onRemove functions aren't defined, we don't spam the console
2023-02-18 00:40:55 -06:00
Brian Roberts 36771d9f0b
Merge pull request #959 from Azaezel/alpha41/guiiconBorderfix
fix GuiIconButtonCtrl not taking borderThickness entires
2023-02-15 14:37:43 -06:00
AzaezelX 57037080b2 add an ignoreLighting entry to materials
by request:, flag to utterly ignore lighting in favor of the base texture
2023-02-14 20:57:44 -06:00
AzaezelX 76a7b024e8 fix GuiIconButtonCtrl not taking borderThickness entires 2023-02-14 17:32:31 -06:00
Areloch 5c52d565bc Fixes the command build for the Navmesh's Follow test tool so it doesn't create a parse error 2023-02-02 00:30:02 -06:00
AzaezelX e83028d9ae preserve glowmap operating as faux lights for probes via oversaturation
(cherry picked from commit 5a2e04838e)
2023-01-20 23:51:36 -06:00
marauder2k7 556937ec09 Initial Commit
(cherry picked from commit 05a2f8c4cf)
2023-01-20 23:51:03 -06:00
Brian Roberts 95b8028e5a
Merge pull request #943 from Azaezel/alpha403/emissiveToReciveShadows
emissive  to recivesShadows
2023-01-09 15:28:30 -06:00
AzaezelX 543eac4720 clean up lefotvers 2022-12-29 13:54:26 -06:00
AzaezelX 645f88d4af emissive to recivesShadows
now we've got a glow mask and multiplier, ditch the emissive flag in favor of a proper recivesShadows
2022-12-29 13:38:30 -06:00
AzaezelX 8821f62b0c misc fixes
utilize specialty case soundarray macros.
 slim duplicate entries in vehicle already hand;ed by rigidshape.
create a gamebasedata::onnewdatablock which calls onremove and onadd for the db for those classes like wheeledvehicle that expect mounting logic to occur
2022-12-27 21:10:15 -06:00
Areloch 00c27095f7 Establishes a common namespace for Module ScopeSet objects to make it easier to work with function calls out of module namespaces 2022-12-22 00:02:34 -06:00
Brian Roberts ad78f8686c
Merge pull request #932 from Azaezel/alpha402/LevelLoadInjection
adds a mechanism to inject additional steps into mission loading
2022-12-18 11:05:09 -06:00
Brian Roberts 7d02eea6e4
Merge pull request #938 from Areloch/OptionsAndRemappingFixes
Misc fixes for options and key remapping
2022-12-16 01:26:12 -06:00
Areloch f2585fea4d Fixes handling of click/activation events on keybind options ctrls so clicking on it at all activates it, instead of needing to click on the button image specifically
Adjust the scaling of the options rows to be a consistent 50/50 divide between the options name and the actual options values to make the layout and scaling consistent
Fixes key remapping behavior to work properly
Added SubHeader text gui profile that is centered
Made the remapping gui control be stylistically consistent to messageboxes
2022-12-16 00:35:16 -06:00
Brian Roberts d8b2ffbce0
Merge pull request #933 from Azaezel/alpha402/bloomBashing
bloom operates off of color>1.0. adjust defaults to suit
2022-12-15 02:33:12 -06:00
Brian Roberts 7c90f6e680
Merge pull request #937 from Azaezel/alpha402/rtTrouble
fix bad rtParams refrence
2022-12-15 02:32:41 -06:00
AzaezelX 4deae92c48 fix bad rtParams refrence 2022-12-14 23:07:35 -06:00
AzaezelX 29e06fc327 refactor, with the following wrappers to keep in mind:
Core_ClientServer.clearLoadStatus();
Core_ClientServer.inishMapLoad();
Core_ClientServer.FailMapLoad( %moduleName, %isFine);
Of special note: the postevent method must only take one entry, so we store off  Core_ClientServer.failedModuleName = %moduleName; priorto triggering the event so that the failing module can be reported.
2022-12-12 14:07:52 -06:00
AzaezelX 78cb2e1d80 adds a fail state method+event to the load chain
at time of writing:
    Core_ClientServer.GetEventManager().postEvent( "mapLoadFail", false );
kicks players and closes the server
    Core_ClientServer.GetEventManager().postEvent( "mapLoadFail", false );
proceeds to continue loading reguardless
2022-12-12 13:02:11 -06:00
Areloch 6f8df41c6d Remove debug messaging that isn't needed with the drag-n-drop field behavior 2022-12-08 20:18:51 -06:00
Areloch 6162c5da05 Updates the behavior and layout of the ImageAsset, MaterialAsset and ShapeAsset inspector field types to be clearer, with previews and obvious edit buttons
Also fixes drag-n-drop behavior from the AB into the image and shape fields to ensure they update as expected.
2022-12-08 20:00:55 -06:00
AzaezelX 1eb59e77e8 bloom operates off of color>1.0. adjust defaults to suit 2022-12-08 18:36:58 -06:00
AzaezelX 2e47e7d823 adds a mechanism to inject additional steps into mission loading
leverages the EventManager and ScriptMsgListener() classes to set up a third mission load stage triggered by the following flow:
function <module>::onLoadMap(%this) starts an execution chain that leads to <module>::finishMapLoad()
each  <module>::finishMapLoad() MUST contain the line
     Core_ClientServer.GetEventManager().postEvent( "mapLoadComplete" );
once all have called back that they have finished thier tasks, players finish loading into a hosted mission
2022-12-08 14:34:50 -06:00
Areloch 44c894d335 Adds utility function to clean up and standardize the remapping handling for keybinds
Adds sanity check so if no remappable binds are found for an actionMap, it isn't listed in the controls menu
Updates ExampleModule's keybinds to use new utility function
2022-12-06 00:16:13 -06:00
Brian Roberts a304198abb
Merge pull request #930 from Azaezel/alpha402/fixORMChanMap
fix orm vs single channel mapping
2022-12-03 08:55:43 -06:00
AzaezelX 4c50270e25 fix orm vs single channel mapping 2022-12-03 08:54:30 -06:00
Areloch 48680558c7 Fixes the movemap toggle in the options menu 2022-12-03 00:57:03 -06:00
Brian Roberts 120691abee
Merge pull request #923 from Azaezel/alpha402/puppies
adds wetness
2022-11-29 12:33:21 -06:00
AzaezelX af1a93f2e1 bloom fix fallback
-in case a better solution doesn't come along by tuesday
2022-11-27 23:01:36 -06:00
AzaezelX d23ee397e6 adds wetness
cliffsnotes:
   $Core::WetnessTexture = "core/rendering/images/wetMap.png"; //for the influence degree map
probes/skylight have a new canDamp boolean, set to off for probes, on for skylight by default.
:levelinfo has a dampness multiplier (0-1)
kicked up numTextures from 8 to 16 for shaderdata and postfx since that hit the 8 texture-in prior limit, and we've already adopted apis that can handle the higher count
2022-11-21 21:12:23 -06:00
Brian Roberts d40351414f
Merge pull request #920 from Azaezel/alpha402/ramblinRoad
add MeshRoadEditorGui::onRoadCreation callback
2022-11-17 13:48:00 -06:00
Brian Roberts aa7fc26c39
Merge pull request #921 from Azaezel/alpha402/asAboveSoBelow
assign default skybox and groundplane values on creation
2022-11-17 13:47:50 -06:00
AzaezelX d92bc693d3 assign default skybox and groundplane values on creation 2022-11-14 22:06:19 -06:00
AzaezelX 15d5aafadb add MeshRoadEditorGui::onRoadCreation callback
use it, and the RoadEditorGui::onRoadCreation one to assign default road matrials on initial creation
2022-11-14 21:30:13 -06:00
AzaezelX 22f9d54c0b from @GoldenThumbs: HDR editor bloom fix 2022-11-08 10:29:48 -06:00
Brian Roberts 84f1e673fc
Merge pull request #915 from Azaezel/alpha402/sortSorting
correct the moduleDependencySort callback
2022-10-31 19:10:58 -05:00
AzaezelX 9f5824ca3e use default (rue) case for findModules in callonmodules 2022-10-30 14:07:33 -05:00
AzaezelX b48d462fbe debug option for checking module order 2022-10-29 12:11:54 -05:00
AzaezelX 208e375336 parseArgs() followup
links functionality up for the -guieditor and -worldeditor cli/shortcut options
2022-10-25 00:02:51 -05:00
Brian Roberts ea7ca63301
Merge pull request #908 from Azaezel/alpha401/dediserverfixes
dedicated server cleanups
2022-10-01 14:19:42 -05:00
AzaezelX 02aee76fc9 Merge branch 'alpha401/dediserverfixes' of https://github.com/Azaezel/Torque3D-1 into alpha401/dediserverfixes 2022-10-01 01:41:41 -05:00
AzaezelX 4f00c48ff0 sfx bypass doe dediservers. 2022-10-01 01:41:24 -05:00
Brian Roberts 4e9e478742
Update main.tscript.in 2022-09-29 11:58:36 -05:00
Brian Roberts 85169b95f8
Merge pull request #907 from vvv-yeaf/development
console font size slip
2022-09-29 11:56:27 -05:00
vvv-yeaf db08474827 Merge branch 'development' of https://github.com/vvv-yeaf/Torque3D into development 2022-09-29 09:31:41 -03:00
vvv-yeaf 6c51440fe1 console font size oversight 2022-09-29 09:31:16 -03:00
OTHGMars 582751ae42 Resolution change detection.
Makes sure that automatic resolution changes resulting from canvas mode switches are applied.
2022-09-29 03:39:03 -04:00
AzaezelX 8a71a6141f correct the %dedicated var in function parseArgs()
-it's supposed to be a global like the rest.
also by request, added a help.txt file dump to the -help cli arg
2022-09-29 00:51:44 -05:00
AzaezelX f419227d30 conform gl to dx 2022-09-22 13:04:42 -05:00