Commit graph

7273 commits

Author SHA1 Message Date
Brian Roberts a0d1eda965
Merge pull request #1358 from Azaezel/alpha41/saveAsSignature
fix level saveas
2025-01-18 22:04:36 -06:00
AzaezelX aea3879698 fix level saveas
.getCount()  != .count()
2025-01-18 22:02:56 -06:00
Brian Roberts 221614383b
Merge pull request #1356 from Azaezel/development
handle pathshapes comming in from above players more gracefully
2025-01-15 20:36:35 -06:00
AzaezelX 7b393b668b handle pathshapes comming in from above players more gracefully
if you're within a pathshape as it moves, put you on top
2025-01-15 20:35:02 -06:00
Brian Roberts 6b1a811689
Merge pull request #1355 from Azaezel/alpha41/roughTime
roughness was ramping up mip levels too slowly
2025-01-09 10:50:01 -06:00
AzaezelX 439438cd1f roughness was ramping up mip levels too slowly 2025-01-09 10:24:52 -06:00
Brian Roberts 4a8f8302a5
Merge pull request #1353 from Azaezel/alpha41/probeAttention
shift attenuation to probes in general.
2025-01-09 08:10:56 -06:00
Brian Roberts a1144dad65
Merge pull request #1354 from Azaezel/alpha41/SkinTheCat
for consistency, add a setSkinName method to tsstatic
2025-01-09 08:10:40 -06:00
AzaezelX 9aa45b24ba for consistency, add a setSkinName method to tsstatic
wrapper for obj.skin assignment just like shapebase
2025-01-09 08:09:59 -06:00
AzaezelX 87024fe53a fix overdark default sun ambient setting 2025-01-08 18:18:07 -06:00
AzaezelX 59d6ec1a0f adjust spherical probe attenuation curve to steepen with to assist with blending 2025-01-08 11:13:04 -06:00
AzaezelX a4266a1336 fix distance falloff misassignmen. fix uninitialized attenuation in root probes 2025-01-07 23:48:34 -06:00
Areloch e503bccb2e
Merge pull request #1348 from Azaezel/alpha41/libSupport
suport augs for modules that include full libraries
2025-01-07 17:15:28 -06:00
AzaezelX 5a2ec2731f shift attenuation to probes in general. 2025-01-07 16:58:50 -06:00
Brian Roberts 67ae3d136b
Merge pull request #1352 from marauder2k9-torque/Probe-baking-matrix-issues
BUG: Probe baking look at matrix was wrong
2025-01-07 09:46:52 -06:00
marauder2k7 9af22dc302 BUG: Probe baking look at matrix was wrong
Multiple fixes in files sent by Az but matrix look at function was creating a view matrix that messed up the capture.
Look at function for matrix now returns the correct matrix and bakes looking better
2025-01-07 15:44:19 +00:00
Brian Roberts 3d305284cf
Merge pull request #1351 from Areloch/SpawnOverhaulFixes
A few fixes for reported issues with the spawn overhaul behavior
2025-01-07 09:09:42 -06:00
JeffR 8d63e3008e Adjusts final call invoke of when we spawn to after we have both the spawnObject type as well as a spawn position
Also adds a check so if we have spawned as just a camera, it scopes down to the client correctly
Correctly has the shortcut calls activate for the spawn override callbacks if no modules or gamemodes are able to respond to them
2025-01-07 07:14:48 -06:00
Brian Roberts cbc7b034bc
Merge pull request #1350 from Azaezel/alpha41/callonChildrenCorruption
fix callonchildren varargs
2025-01-06 16:10:50 -06:00
AzaezelX 385974ab55 fix callonchildren varargs
std::move eats the sent variable, so store off a temp when applying it multiple times
2025-01-06 15:55:53 -06:00
Brian Roberts 229afa8f5d
Merge pull request #1349 from marauder2k9-torque/PSSMShadow-Map-bugfix
Fix for bug reported by Rod
2025-01-06 10:22:51 -06:00
marauder2k7 59c52fc94c Fix for bug reported by Rod
Reverted to the original calc clip space aabb to fix flickering bug reported by Rod in discord. Unfortunately this reintroduces the original issue of faint shadows showing at all times on the first split. But shadows render correctly where they are expected. A full review of pssm is required for later updates to be made.
2025-01-06 14:24:39 +00:00
Brian Roberts 8274bbbca4
Merge pull request #1342 from Areloch/SpawnObjectOverrideOverhaul
SpawnObject Override Overhaul
2025-01-03 09:44:37 -06:00
JeffR 46f6f6a9da Added field to ModuleDefinition for priority, which can be used to process/sort them in priority order
Added logic to ModuleManager's findModules method to allow priority sorting as well as pre-filtering by a given module group
Adjusts the %isFine argument for the onMapLoadFailed callback events to %canContinueOnFail for a bit more clarity on what the arg conveys
Shifts the setSpawnObjectType, setSpawnPoint and onPostSpawn call stack to utilize an event manager to allow the setup process for spawners and gamemode prepwork to run in it's own time, if needbe. Such as if a gamemode has to generate a map and there's no guarantees on when it'll b e done for one client vs another
Added getModulesAndGameModesList, callOnObjectList and getNumCanCallOnObjectList utility functions
2025-01-03 00:37:25 -06:00
AzaezelX b3ddd712ce suport augs for modules that include full libraries
copies over .in and .cmake files for those cases when libraries themselves need to self-configure
searches for a source/libs/libs.cmake file for any torque-specific confiugurations we need to make for a given library
autoinclude any source/wrappers directory for unique to orque files, which will most commonly be data holder classes and script exposure, as well as adding those dirs to the #include listener list
also ditches forcing warn levels to lowest for libraries since if folks are going to experiment, best tey know about anmy underlying things to avoid
2025-01-02 10:27:09 -06:00
Brian Roberts 0f4b04253e
Merge pull request #1347 from marauder2k9-torque/cmake-libgit
Fix for cmake depends
2024-12-31 19:19:53 -06:00
marauder2k7 9f88688680 Create findPCRE.cmake 2024-12-31 14:22:18 +00:00
marauder2k7 f3a1388ff9 add find scripts
add cmake find modules.
2024-12-31 10:27:31 +00:00
Brian Roberts 7caf4464f9
Merge pull request #1345 from Azaezel/alpha41/PalletPoking
fix several missing palletbars
2024-12-29 16:46:02 -06:00
AzaezelX 6113373efc fix several missing palletbars 2024-12-29 15:59:08 -06:00
Brian Roberts 69fa4b389f
Merge pull request #1340 from marauder2k9-torque/ImageAsset-NamedTexTarget
NamedTexTargets as ImageAssets
2024-12-23 03:12:22 -06:00
Brian Roberts 783f2a03b4
Merge pull request #1341 from Azaezel/alpha41/probeOffsetFix
fix probe capturepoint nudge utility
2024-12-23 03:12:07 -06:00
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
Areloch a88aa7a007
Merge pull request #1311 from Areloch/SubScenes_Gamemode_PR
Implementation of Subscenes, SceneGroups and Gamemodes
2024-12-16 22:02:49 -06:00
AzaezelX 9eb87b9555 fix probe capturepoint nudge utility 2024-12-16 12:01:53 -06:00
JeffR bf9692a451 Updates DecalRoad, MeshRoad and River to be able to write out via persistManager using specialityField functions, similar to ConvexShape
Fixes behavior with gamemode selection in ChooseLevelMenu so if there is only one gamemode, it is auto-selected and advances to the level selection
Update ExampleLevel in ExampleModule to have updated gamemodes field name
2024-12-15 23:48:16 -06:00
JeffR 81ac23fd35 Merge branch 'SubScenes_Gamemode_PR' of https://github.com/Areloch/Torque3D into development 2024-12-15 18:39:03 -06:00
marauder2k7 0458228e1c Update processedMaterial.cpp
revert console spam
2024-12-14 18:58:31 +00:00
marauder2k7 7b73ce7a2f Update ImageAsset.cpp 2024-12-14 16:26:02 +00:00
marauder2k7 f5f50723ed final cleanup 2024-12-14 14:47:46 +00:00
marauder2k7 1edfbcf447 fixes for reload and flush 2024-12-14 13:37:23 +00:00
marauder2k7 f6dc694bd4 fully working 2024-12-14 01:18:46 +00:00
marauder2k7 85463c85ac named targets for image assets
image assets can now be bound to a named texture target
if used in a material the target needs to exist before the material is initialized
2024-12-13 00:26:39 +00:00
Areloch ad9da79e91
Merge pull request #1339 from marauder2k9-torque/assimp-cleanup
final cleanup
2024-12-12 09:51:37 -06:00
marauder2k7 87de724d31 final cleanup 2024-12-12 15:08:01 +00:00
Brian Roberts 70f546aafe
Merge pull request #1338 from marauder2k9-torque/AssimpImporter-update
Assimp importer update
2024-12-12 08:45:20 -06:00
marauder2k7 4a1d664b6a final commit get this merged 2024-12-12 14:32:20 +00:00
marauder2k7 13a6df35cc mac/linux fix 2024-12-12 01:02:36 +00:00
marauder2k7 dcedcdd6f8 test cases
apply transform to root before importing scene
2024-12-12 00:21:37 +00:00
marauder2k7 742b341bcd Update assimpAppNode.h 2024-12-11 21:12:55 +00:00