Commit graph

567 commits

Author SHA1 Message Date
JeffR
10d1aeca1f Shift tracking of dynamicObjects from strict child objects for Scenes, to tracking the objects but keeping them in the Cleanup Group to fix prefab loading behavior
Shifted to utilizing SimGroupInterator and persistenceManager to fix saving issues with SubScenes
Shifted to utilizing SimGroupIterator for Scene saving to standardize and minimize object misses
Changed prefab load file logic to add loaded child simgroup to rootscene for consistent tracking and avoiding conflicts with subScene's hijacking the ImmediateGroup var
Reduced duplication of build<type>field callback for inspectors
Added more standard field type lookups to inspector group when creating a field to avoid misses for types like 'F32' or similar.
Folded the added-on MinSize/MaxSize/SimgroupSelect fields for SimGroup editing into a single compound field and fixed bugs with it's behavior so it works as expected now
2024-10-27 20:04:13 -05:00
JeffR
e4d07c7e8d Adds utility function and method to be able to enact a load of subscenes at a specific world position
Adds loadIf conditional logic to evaluate if a subscene is 'allowed' to load when tested
Adds isAlwaysActive to GameMode to be able to flag a gamemode as being defaulted to on and used automatically
Updated GetGameModesList function to return an arrayObject of the gamemodes found
Overhauled CallGameModeFunction to utilize the gamemodes list with active/alwaysActive modes being called against, rather than level-scanning
Updated ChooseLevelMenu to be able to toggle on/off multiple gamemodes with an image indicator if it's active or not
2024-10-04 00:10:26 -05:00
JeffR
20a01d9f02 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into SubScenes_Gamemode_PR 2024-09-28 22:11:39 -05:00
Brian Roberts
00e5482733
Merge pull request #1323 from Eikelenboom/development
Add extra increased font size to Windowed Console
2024-09-24 18:32:42 -05:00
Nils Eikelenboom
8f2dbd5e2f Add extra increased font size to Windowed Console
Added extra large font to the windowed console.  Use the [-A]  [A+] buttons to change the size.

Preferably would introduce "lineSpacing"  to the GuiConsole object for improved readability; as well to store this into the prefs.
2024-09-24 21:43:01 +02:00
Brian Roberts
b6efb96191
Merge pull request #1322 from Eikelenboom/development
Windowed Console button close / open / resize
2024-09-24 14:13:56 -05:00
Nils Eikelenboom
02b86eafee Windowed Console button close / open / resize
- Close the windowed console when it's opened and the button is hit.
- Resize/reposition the window after reopening.
- Add a button to the GUI editor.
2024-09-24 20:52:41 +02:00
AzaezelX
8461b9dbfd asset browser spam kill
don't report populating preview images if the count is 0
also, remmber to cancel a pending scheduled method if you're rescheduling it
2024-09-23 08:59:36 -05:00
Brian Roberts
fe3e47309d
Merge pull request #1319 from Eikelenboom/development
Remove tabs from asset broser & windowed console
2024-09-23 08:34:45 -05:00
Brian Roberts
a132d73595
Merge pull request #1320 from Azaezel/alpha41/snapsync
snap syncing
2024-09-23 08:34:34 -05:00
AzaezelX
7664b63071 snap syncing
for world and convex shape editors
2024-09-22 14:34:07 -05:00
Nils Eikelenboom
0291b000e0 Remove tabs from asset broser and win. console
Remove the tabs from the asset browser and windowed console. There were some issues and asset browser will be changed soon. Downside is that the windowed console and asset browser will now open on top of each other.
2024-09-22 19:36:48 +02:00
AzaezelX
3fe21e8808 typofix 2024-09-22 05:55:38 -05:00
Brian Roberts
e9638d285f
Merge pull request #1317 from Azaezel/alpha41/ohSnap
preserve gridsnap state between runs
2024-09-17 10:24:14 -05:00
AzaezelX
0612d8508d preserve gridsnap state between runs 2024-09-16 13:52:11 -05:00
AzaezelX
ead06b845e colorpicker cleanups
largely focuses on removing extraneous code and mangled math
2024-09-16 13:24:41 -05:00
Nils Eikelenboom
491f2e8bac Sanitize the window resizing scripts
Instead of magic numbers using a variable with comment so it's clear what is does.
2024-09-13 20:14:43 +02:00
Nils Eikelenboom
ce8a10ba0a Correct Color Picker GUI text & text edit controls
Some text was black on dark which is hard to read. Due to use of non-existing or incorrect profiles. Title is also updated to be visually in line with the rest of the world editor.
2024-09-12 21:27:23 +02:00
Nils Eikelenboom
7031424214 Undo changes to the default level
Sorry that got snuck in there
2024-09-12 20:22:59 +02:00
Nils Eikelenboom
dffb557930 Adjusting window titles to fit properly
Because of the large width & height of the Arial font at 18 did the window titles not fit properly. Font has been decreased and made bold for the sake of distinction. Additional has the terrainpainter window's position been corrected (terrainEditor.ed.tscript)
2024-09-12 18:16:25 +02:00
Nils Eikelenboom
f38352501d Correct undefined background Main Tab
Correct the background of the world editor main tab with a (new) solid fill. Sometimes it appeared as black, magenta or the just the scene itself. Color is fixed for now as it is a unique situation regarding the use of tabs here.
2024-09-10 22:07:02 +02:00
Nils Eikelenboom
8b049e3b01 Correct positioning sidepanels
Sidepanels of the world editors got shifted due to the introduction of the editor tab. Several corrected overall. Some minor tweaks to be expected in a later commit.
2024-09-10 20:39:54 +02:00
Nils Eikelenboom
b0a11d79d5 Remove space below/above toolbars
Remove the (thin) space between the world editor toolbars.
2024-09-10 13:20:11 +02:00
Areloch
6ff92f61bb Fixed SceneGroup onInspect call to call up through parent
Adds utility methods and SimGroup onInspect injection to add a select button in inspector to select objects under simgroup
2024-09-03 18:25:28 -05:00
Areloch
4bb26bf96c Reorganized the exec's for datablocks in module template file to be within the start/stop blocks
Tweaked example module script file to comply
Moved ExampleGameMode script file to scripts/shared since client and server need access to the gamemode for logic to work
2024-09-01 23:26:10 -05:00
Areloch
ae8eca48e1 Implementation of Subscenes, SceneGroups and Gamemodes
Standardizes Gamemodes to be an actual class with data and utility functions that can be parsed
Adds inspector field handling for selecting gamemodes
Updated Scene class to work with Gamemodes for the gamemode field
Updates editor suite elements to be able to create SubScenes, SceneGroups and Gamemodes
Adds ability to convert SimGroup to SubScene
Updates BaseUI's chooselevel menu to have gamemode selection and filters shown levels based on selected gamemode
2024-09-01 16:39:00 -05:00
AzaezelX
9da7823074 clean up surface property visualizer
stateblock cleanups, and kill off stray glowbuffer leftovers
2024-08-29 19:17:24 -05:00
AzaezelX
265ce8429b fix guiwindowCTRL callback
also set asset browser to use rows or columns depending on which dimension is longer
2024-07-28 05:51:03 -05:00
Areloch
c9a1955b47 Removes old remaining refs to PauseMenu
Updates and moves the escape keybind to be an actionMap that is activated/deactivated in the UI module when a client connection is processed to keep it within the module's functionality
2024-06-28 20:47:42 -05:00
marauder2k7
2132379b05 backwards compat
Changed: addCollisionDetail now has its fill mode at the end for easier backwards compat
2024-05-16 21:21:34 +01:00
marauder2k7
92b10df7eb cleanup nodes
ADDED: functionality to clean nodes out of the script that are related to a specific target
ADDED: functionality to clean multiple addCollisionDetails from the script
ADDED: ColConvex get added as nodes now and dont just get skipped (for future reference ColMeshes are checked for colConvex are not but this will be needed in future)

Removed: erroneous deletion of nodes and meshes from shapeEditorActions tscript file.
2024-05-16 07:04:54 +01:00
marauder2k7
25b0c5e2b1 finish fill mode setting
now fill mode actually takes effect and changes the fill mode type used to generate the convex hull
2024-05-16 04:32:14 +01:00
marauder2k7
f963a78446 TEST progress
Adding multiple collision hulls and shapes through the shape editor now works as intended though with multiple convex hulls it does produce a few lag spikes on first load of the objects.
2024-05-15 07:32:26 +01:00
marauder2k7
78f6206cde repurposed sliders
repurposed and renamed the 2 sliders in the gui to be for settings in vhacd
added the drop down for fillMode types but it is not hooked up to source yet
2024-05-14 17:20:17 +01:00
AzaezelX
6c3a412275 add search bar to datablock inspector 2024-05-13 21:33:45 -05:00
AzaezelX
2a941e733e asset browser was passing along screen position, not scene position based on drop at options 2024-04-13 15:23:30 -05:00
marauder2k7
fc8a281113 Update WorldEditorInspectorWindow.ed.gui
Scroll bar was extending beyond its parents extent making it render incorrectly.
2024-03-20 19:01:08 +00:00
marauder2k7
66d8f0f55c Update profiles.ed.tscript 2024-03-05 13:15:54 +00:00
marauder2k7
b2095db575 can key focus 2024-03-04 17:15:13 +00:00
marauder2k7
daa0cfef3a shader node editor test
node editor functioning correctly, connections needed next
shader nodes to be added in the next commit also
2024-03-03 21:13:58 +00:00
marauder2k7
457cdd00bb shader editor ground work
Adds the ground work for shader editor
Adds the base gui for the shader editor
2024-03-02 20:09:45 +00:00
Brian Roberts
429585f060
Merge pull request #1217 from Azaezel/alpha41/crashFyxMatED
temp workaround for material editor crash
2024-02-20 14:12:16 -06:00
AzaezelX
60758dd5a2 temp workaround for material editor crash
selection swapping is causing an apcrash
notDirtyMaterial.delete(); *should* work, but we know what they say about assumptions.
supressing deletion of workspace material kill off and recreation pending proper review
2024-02-20 14:11:58 -06:00
Areloch
7563130545 Fixes the guiEditor inspector search bar extents and clear button position 2024-02-14 00:34:52 -06:00
Areloch
3734ef8e5b Added search behavior to guiEditor's inspector as well 2024-02-14 00:23:27 -06:00
Areloch
d890c530f9 Adds logic to be able to set a search string on an inspector that will be used to filter displayed fields.
Adds a textEdit filter box to the main world inspector that hooks into the primary inspector for said search functionality
2024-02-13 20:33:14 -06:00
Brian Roberts
59fc6d3d65
Merge pull request #1214 from Azaezel/alpha41/fixAnimScrubberPos
fix animation scrubber position
2024-02-10 15:15:40 -06:00
AzaezelX
7c7a213f94 fix animation scrubber position 2024-02-10 15:15:09 -06:00
AzaezelX
acef688a45 correct main entry to 128 2024-02-10 14:49:54 -06:00
AzaezelX
ddddf112a4 revert "defaulting" to shapeEditorplugin 2024-02-10 14:43:35 -06:00