Commit graph

1849 commits

Author SHA1 Message Date
AzaezelX 958e0d5127 correct for mip weighting 2025-08-04 18:16:13 -05:00
AzaezelX 65e92fc50c Merge branch 'development' into mipwip 2025-08-04 11:04:49 -05:00
Brian Roberts c7d966c0de
Merge pull request #1528 from marauder2k9-torque/Recast-Update
Recast refactor
2025-08-04 08:50:11 -05:00
AzaezelX cacd8a6064 mipwork, laregly courtesy of @mmarauder2k9-torque 2025-08-03 20:25:31 -05:00
JeffR bfc1a7e03c Removed extra wipwork script that isn't needed now 2025-08-03 12:11:44 -05:00
JeffR f3cad0d77e Converts the ad-hoc design of the Material Editor to utilize the same inspector interface as most everything else does.
- Overhauls the material editor to simplify and streamline the logic behind it since the inspector does most of the work
- Tweak a few order positions of materialdefinition fields to work better
- Sets AO, Rough and Metal channel fields to use an enum type for human readability
- Updates the MaterialPreview gui control to work with assetIds
- MatEd now supports setting of parent material to inherit from
- Creating a new material now can prompt selecting an existing material to inherit from
- Can now edit the mapTo value of a material in the matEd
- New standalone Composite Texture Editor window for convering AO, Roughness and Metalness maps in a material to an ORMMap
- Can also star the creation of a composite texture via RMB context menu in AB on an image asset
- Moved logic of CubemapEditor from MatEd to it's own stuff
- Made ImageAsset fields now be more clear when they have nothing assigned, and also have a clear button to empty the field's value so it's consistent across the board
- Reorganized the layout of the gui and image files for the MatEd to be easier to navigate
- MaterialEditor now overlays the EditorGUI instead of being forcefully embedded in it, allowing easy editing of the MatEd Gui via the Gui editor
2025-08-03 12:03:02 -05:00
marauder2k7 c2b347af7c ai test classes
protoplayer protocar
2025-08-01 19:42:02 +01:00
marauder2k7 9d98d55b1e fix tree selection 2025-07-28 10:02:52 +01:00
marauder2k7 888e72ad28 Update navEditor.tscript
typo
2025-07-28 08:30:46 +01:00
marauder2k7 b5d6601b96 add cover tool
add cover tool
some more cleanup
navmeshselecttool needs to use collideBox
duDebugDrawTorque now has the transparent blending option
2025-07-28 08:24:20 +01:00
marauder2k7 24ec55e8bc cleanup
add select tool
cleanup more from guinaveditorctrl and scripts
2025-07-27 19:32:52 +01:00
marauder2k7 3946017556 add follow logic
select follow target and toggle follow for a specific object. Only way to unfollow is to move the following bot to an arbitrary location
2025-07-27 17:25:09 +01:00
marauder2k7 715a2484a0 Update navEditor.tscript
filter out vehicle
2025-07-27 12:47:26 +01:00
marauder2k7 f730d0bf1c added spawning
Tile test tool now spawns classes and data
Test avoidance added to aicontroller and ainavigation
2025-07-27 12:43:19 +01:00
marauder2k7 9039435d12 Update navEditor.tscript
woops
2025-07-26 10:41:03 +01:00
marauder2k7 6d36e17d91 added navmesh tester tool
Added ground work for tester tool
tester tool works but needs to fill out list of acceptable datablocks and spawnclasses
navpaths now share 1 navmeshquery
AIControllerData now has a vector of area costs for different polyareas
General cleanup
2025-07-26 10:34:19 +01:00
marauder2k7 e55d3b6f82 Update NavEditorGui.gui
fix textsliderctrl not losing focus, reason for the issue was incorrect profile
2025-07-25 10:11:08 +01:00
marauder2k7 496e427d76 add radius controls
update the scripts for the offmeshcontool
radius controlled by slider ctrl
2025-07-25 09:44:49 +01:00
marauder2k7 d1771756c2 updated drawmodes and rendering
DebugDraw for recast now caches the results
We now have a drawmode dropdown selector
drawmode changes come from the gui itself no longer from console values
all recast drawmodes are supported with the exception of drawmodes that add abilities like navqueries until the nav tester tool is imlpemented.
2025-07-24 14:25:02 +01:00
marauder2k7 80473e10b5 added first tool
Added the tileTool with the ability to select tiles
Abstraction layer for navmesh tools created.
2025-07-23 15:08:29 +01:00
marauder2k7 99db60e3f3 Update assetBrowser.tscript
fix folder navigation in asset browser

fix found by Abbey
2025-07-11 12:31:27 +01:00
JeffR e7db5bb4a1 Shifts the visibility modes dropdown menu in the editor to an easily expandable menu so modules can hook into it 2025-07-10 00:22:19 -05:00
JeffR b9d9c52786 Flips the datablock order exec to always guarantee particle data is loaded ahead of emitter data when making a new module 2025-07-07 16:18:01 -05:00
marauder2k7 c6ec2fd6a1 Merge branch 'PreviewAssets_UseAsset' into SoundAsset_Refactor 2025-06-19 13:36:49 +01:00
marauder2k7 26e18cdfe8 feedback from az
scripts changed to reflect a better standard of loading offscreencanvas on client and not on the server
2025-06-18 21:17:13 +01:00
marauder2k7 6f9c4158d8 gui offscreen material test
added interaction static guioffscreencanvas to capture mouse events
added test shape
2025-06-18 17:05:35 +01:00
marauder2k7 a276ad2505 Update cursors.tscript
missed UI cursors
2025-06-18 09:29:12 +01:00
marauder2k7 51b1e3b07e update cursors
GuiCursor needs to be changed to use bitmapAsset
guiTypes.GuiCursor safety around rendering getBitmap()
2025-06-18 09:27:47 +01:00
JeffR d35a305149 Fixes issue of not being able to create GameModes or blank MaterialAssets from the Asset Browser 2025-06-17 19:08:45 -05:00
JeffR a3620c6e51 Fixes missing parentheses that is causing the script to not compile 2025-06-16 18:23:12 -05:00
Brian Roberts 0aaddcddb4
Merge pull request #1500 from marauder2k9-torque/MissionArea-RemoveTerrainDependency
remove terrain dependency from mission area
2025-06-16 16:36:24 -05:00
marauder2k7 fc9f221ac0 Prepend symbol for image files
Prepend image filenames in imageassets with "@" symbol so expand and collapse works correctly for files relative to that asset.taml file.
2025-06-16 08:33:11 +01:00
marauder2k7 50f74368b3 various fixes around preview assets and imageassets text field
Imageasset text field now displays correctly in inspector
previews now use assets again
assetBrowser hides previewCache folder
2025-06-15 22:07:12 +01:00
JeffR 8b7629d679 We don't want to be generating autosaves of the default and template levels as that can just cause weirdness. 2025-06-15 10:50:32 -05:00
marauder2k7 0a1e3f74ed remove terrain dependency from mission area
Mission Area now captures the entire level bounds based on objects in the scene
Terrain is no longer required for mission area to be set
2025-06-15 12:41:47 +01:00
AzaezelX 14c8ea28c8 offload spawnControlObject on controllable death to gameplay modules 2025-06-09 17:13:57 -05:00
JeffR 970394c42d Corrects handling for creating new folders via asset/AB workflow
Also fixes issue where Make Selected a Mesh action wasn't working properly because it lacked a ShapeAsset createNew method
2025-06-03 15:13:33 -05:00
JeffR 0e6c33f78a Fixed gui editor drag and drop behavior for image, shape, and sound
Ensure BitmapFile is given a proper default
2025-05-30 20:21:13 -05:00
JeffR 8ed3bab44c Re-added prefix handling for named texture lookups for image asset fields
Changed render-out of shape preview images to use png
Added filter against previewCache folder
2025-05-28 17:47:23 -05:00
JeffR 0fa8b97f91 Reimplements ability to utilize direct file load alongside ImageAsset fields when utilizing the ImageAsset macros
Updates Asset Browser generated preview images to not utilize full assets, but just the preview image files themselves
2025-05-27 17:12:03 -05:00
Brian Roberts a43458677a
Merge pull request #1481 from Areloch/MiscFixes_20250525
Misc Fixes and improvements including updated autosave handling
2025-05-27 08:03:08 -05:00
marauder2k7 d21bd8dab4 Update materialEditor.ed.tscript 2025-05-27 09:04:33 +01:00
JeffR d227e2e056 renames Camera_image asset to comply to caps formatting to fix assert on case-sensitive platforms. 2025-05-25 15:30:13 -05:00
JeffR bb7ee38bf4 - Reimplements autosave logic to handle levels, subscenes and terrains in a more consistent, reliable way.
- Adds entry to RMB menu in Asset Browser to restore an asset to a backup copy taken from autosaves
- Adds reparent out-of-bounds objects button to SceneGroup inspector
- Adds ability to have SubScene have a different loading bounds from the actual subscene bounds, allowing load triggering to happen ahead of the bounds of the subscene itself
- Fixes asset importer handling of animFPS field to be the correct type
- Adds onInspect handling to GameBase allowing better handling for any game class type with editor integration
- Add getAssetLooseFileCount and getAssetLooseFile to AssetManager to be able to iterate over all loose files associated to an asset
- Add standard/default preload function def to forestItem
- Fixes handling of text placement on GuiIconButtonCtrl when text is set to the right
- Adds setGlobalCenter utility function
- Adds ability to set guiInputCtrl active state
- Matched util functions for tracking if left and right mouse buttons are down to EditTSCtrl alongside the existing middle mouse
- Add empty element sanity check to appMesh loader
- Add callback for GameBase when game is created
- Add default graphics options config for steamdeck
- Fix typo in assetImportConfig default
- Filters SceneGroup utility buttons in inspector to only show for relevent class types
2025-05-25 07:40:10 -05:00
Brian Roberts 95c496f872
Merge pull request #1468 from marauder2k9-torque/CompileAll
Restore compileAll functionality
2025-05-18 10:05:13 -05:00
marauder2k7 183d8e904f Update core.tscript
returns the ability to compile all scripts and gui files
2025-05-18 16:03:48 +01:00
Brian Roberts 2a9aa3a9d5
Merge pull request #1461 from Azaezel/alpha41/CreateCompositeCleanups
cleanup strays
2025-05-18 08:29:05 -05:00
AzaezelX 26d0e427de shift prototyping UI into tools proper
was prototyped in the prototyping module. now properly resides in tools
2025-05-17 16:25:07 -05:00
AzaezelX 37f28dfbd7 cleanup strays
handle clearing composite input textures
we no longer have a material value labeled emissive.
2025-05-16 10:54:00 -05:00
JeffR 311878829c Fixes the layout of the Torque SimView window so the layout is correct and also adds in the search functionality that had been removed accidentally 2025-05-15 20:22:11 -05:00