Commit graph

271 commits

Author SHA1 Message Date
AzaezelX
c4cca3ed1f put damagemodel script files in the same pool as resources
initServer callback is run the once
onCreateGameServer callback is run every mission load
for queueexec("filename",true); to work, that has to be from the same callback pool being executed.

given resources use the initServer, pool, shifted the damagemodel baseline there as well.
may want to revisit this one as time allows for quicker prototyping turnaround
2026-05-16 00:02:24 -05:00
AzaezelX
0e33b2c1d0 cleanps for generalized PlayerData::damage with quick docs line for clarity in the future 2026-05-15 21:51:57 -05:00
Sir-Skurpsalot
8c541f4c48
Merge branch 'development' into alpha41/damageModel-fix_followup 2026-05-13 10:56:55 -06:00
AzaezelX
a54695cfcc filter directional damage display by %obj.healthFromMount
also shift other contents from DamageModel::onCreateGameServer to DamageModel::initServer for consistency
2026-05-13 11:48:36 -05:00
Sir-Skurpsalot
093299bd83
Update player.tscript 2026-05-12 23:36:33 -06:00
Sir-Skurpsalot
a4760e33a1
Update DamageModel.tscript 2026-05-12 23:33:55 -06:00
Sir-Skurpsalot
dd438557d5
Update player.tscript 2026-05-12 23:22:30 -06:00
Sir-Skurpsalot
11fd008515
Update DamageModel.tscript 2026-05-12 23:20:43 -06:00
JeffR
b54865aa74 Fixes the re-import behavior in the Asset Browser to properly prompt the reimport window with the indicated asset in the AB
Also fixes how the shapeConstructor is searched/parsed when doing reimports vs new import creations
Fixes incorrect assetId usage in some of the prototyping shape constructors so they match now
2026-05-02 11:35:20 -05:00
AzaezelX
235be5eccd remove damagemodel from the game subgroup 2025-12-29 17:36:08 -06:00
AzaezelX
53ad8ccc6d offload weapon/ammo counter update commands to the generic damagemodel 2025-12-28 14:19:17 -06:00
AzaezelX
7bca1dba53 options menu: rem keybind debug spam
damagemodel module: ensure it's got a dependency of the UI module so it's called after
switch all profiles for damageoverlay over to GuiModelessDialogProfile from default
2025-12-25 16:04:53 -06:00
Sir-Skurpsalot
6007423836
Update UI.tscript 2025-12-20 18:13:01 -07:00
Sir-Skurpsalot
d8db0859d4
Merge branch 'TorqueGameEngines:development' into Skurpz/UI-Module-Fixes 2025-12-18 00:05:17 -07:00
Sir-Skurpsalot
19a5a0718d
Update ChooseLevelMenu.gui 2025-12-17 23:58:06 -07:00
Sir-Skurpsalot
c86ceafe46
Update ChooseLevelMenu.tscript 2025-12-17 23:55:53 -07:00
AzaezelX
d8618be499 hdr format caching sidesteps reinitialization
we never actually turn hdr off. so drop a few assumptions about it starting in the disabled state
fix HDRPostFX::minLuminace
2025-12-17 18:22:26 -06:00
Sir-Skurpsalot
2c10b61847
Update remapDlg.tscript
moved addKeyRemap() back to utility.tscript
2025-12-15 22:40:46 -07:00
Sir-Skurpsalot
0853de7c51
Update utility.tscript
moved addKeyRemap() back to this file so defaultkeybinds can find it in time
2025-12-15 22:39:46 -07:00
AzaezelX
1b27b1372f clean up manggled hdr vals
reset standard samples to standard hdr key and adaptation rate values
2025-12-15 22:39:52 -06:00
Sir-Skurpsalot
2e2b33fcea
Update utility.tscript
correction to last commit
2025-12-12 21:39:58 -07:00
Sir-Skurpsalot
b65f06aa25
Update optionsMenu.tscript
removed -skurps from last commit
2025-12-12 21:12:29 -07:00
Sir-Skurpsalot
750190b70a
Update UI.tscript
isFile check to prevent console whinging about no languageMap
2025-12-12 20:41:53 -07:00
Sir-Skurpsalot
6470b91d0a
Update utility.tscript
fix for languageMap paths and extension
2025-12-12 20:34:08 -07:00
Sir-Skurpsalot
d80e0aeef4
Update ExampleModule.tscript
removed execution of keybinds, only done in core/clientServer/scripts/client/client.tscript now.
2025-12-12 20:11:18 -07:00
Sir-Skurpsalot
b3b98cd58e
Update remapDlg.tscript
Fixes with handling of mouse to keyboard and vice versa remapping.  Removed some unused function arguments, some organization / cleanup.
2025-12-12 20:03:39 -07:00
Sir-Skurpsalot
04af5aafcc
Update optionsMenu.tscript
Fixed problems mapping mouse to keyboard and vice versa, added saving of custom keybinds, added mouse sensitivity slider, changed organization of file, added some commenting
2025-12-12 19:57:27 -07:00
Sir-Skurpsalot
a032b9e2a9
Delete Templates/BaseGame/game/data/UI/guis/remapConfirmDlg.gui
Not used
2025-12-12 19:45:37 -07:00
Sir-Skurpsalot
fc1a3712a9
Delete Templates/BaseGame/game/data/UI/scripts/controlsMenu.tscript
Deleted due to unused functions, functions in-use moved to relevant scripts
2025-12-12 19:42:18 -07:00
Brian Roberts
d2e4ae383d
Merge pull request #1607 from Azaezel/alpha41/fixKeyvalue
Some checks are pending
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Waiting to run
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Waiting to run
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Waiting to run
set default hdr postfx keyvalue to baseline
2025-12-10 16:34:21 -06:00
AzaezelX
f57bc015a9 set default hdr postfx keyvalue to baseline 2025-12-10 16:29:09 -06:00
Sir-Skurpsalot
083fe1e70f
Update utility.tscript
ctrl key bitmap shows in keybinds menu now
2025-12-09 18:58:58 -07:00
Sir-Skurpsalot
6526e87724
Update optionsMenu.tscript
Fixed re-mappable binds with "mouse" as the device not showing up in the menu.
2025-12-09 18:35:43 -07:00
Sir-Skurpsalot
2e291d8ab2
Update controlsMenu.tscript
Fixed broken refreshing of the mapping list in the menu when you remap an action to a key / button that is already being used.  Got rid of unused  / broken / redundant functions in this script.
2025-12-09 18:31:01 -07:00
Sir-Skurpsalot
b55be19d7a
Update utility.tscript
Fixed so remappable actions bound to the control key show the proper bitmap in the menu.
2025-12-09 18:25:18 -07:00
AzaezelX
2b95634a6b extra testcase
add a placeable, scrollable, glowing, decal arrow
2025-12-09 12:31:08 -06:00
AzaezelX
d822ebb178 clean up polluted placeholder slots 2025-12-04 20:51:37 -06:00
AzaezelX
abe1bc6e1e use modal = false profiles for overlay guis not intended to capture clicks
minor layout adjustments
2025-12-04 10:35:00 -06:00
AzaezelX
dc41f1f4d7 add missing profiles 2025-12-04 10:33:27 -06:00
AzaezelX
886a782e40 fix $pref::SFX::channelVolume0 default
should be 1
2025-10-16 15:28:13 -05:00
JeffR
9c654d7932 - Fixes the display of the preview in the MaterialAsset fields
- Hides the special-case direct filepath field for ShapeAsset persist fields macro
- Shifts the handling of TSStatics so the shape instance will load materials on the server as well as the client. This opens gameplay options as well as allowing rebaking of meshes functionality more easily
- Expands AssetBase's isValidAsset utility function to actually check validity instead of just returning true
- Adds isValid utility function to AssetPtr
- Added new field flag that makes the field not write out to file
- Removed legacy iconBitmap field from GuiIconButtonCtrl because it was causing errors
- Fixed group filtering check of guiInspector to ignore case
- Removed unneeded isFile checks for common datablock script files in Prototyping module script
- Removed test datablocks from Prototyping module
- Removed unnecessary container control from AssetBrowser
- Adjusted preview regen logic of AssetBrowser so it doesn't trip if you're simply resizing the window
- Fixed issue where row-vs-column layout logic for AssetBrowser when resizing window was fiddly
- Added handling for when Dragging and Dropping datablock from AssetBrowser to spawn, it'll prompt if it spawns the actual object, or a spawnsphere that spawns said object. In the event of an PlayerData will also prompt if it should spawn an AIPlayer
- Added ability to take a TSStatic that uses a baked down mesh and are able to restore it to the cache prefab, or trigger and in-place rebake to refresh it if something has changed in the original contents via RMB menu on the scene tree
- Added ability to explode prefab to RMB menu on scene tree
- Added ability to convert selection to prefab or bake to mesh in RMB menu on scene tree
- Tweaked sizing of the DatablockEditorCreatePrompt window to not have cut off elements and easier to see/work with
- Added sanity check to datablock editor creation
- Fixed preview display of material in Decal Editor
- Made compositeTextureEditor use the cached preview of images
- Fixed sizing/spacing of gui selection dropdown as well as resolution dropdown of GuiEditor
- Fixes MaterialEditor to properly save the group collapse state when editing
- Adds ability to in-flow edit and create datablocks in the NavMesh Editor for the testing panel, and makes the datablock dropdown searchable
- Fixed issue where opening the ShapeEditor via the edit button on a ShapeAsset field would cause the action buttons on the top bar to not show
- Fixed error in shape editor where when exiting it was erroneously checking for a clear value of -1 rather than 0
- Removed unneeded top tabbook and tab page for main editor panel
- Fixed issue where reset button of TerrainBrush Softness Curve editor didn't actually reset
- Resized Object Builder window to not cut off elements and have enough width to show more data
- Added a TypeCommand field type to Object Builder and changed spawnscript field of SpawnSphere to use it rather than a simple text edit field
- Allow SpawnSphere in ObjectBuilder to be passed in spawn class and spawn datablock default info
- Injects button to controllable objects when Inspecting them to make it easy to toggle if you're in control of it or not
-
2025-08-25 23:35:28 -05:00
JeffR
970aba9766 Fixes design oversight where the general game menu keybind was being overridden due to order of operations issues with an offscreen canvas demoing the options menu
Fixed via several solutions to prevent issue from cropping up again.
Firstly, Adjusted behavior script-side so game menu keybind is pushed with the PlayGUI since almost every single game will use the game menu
Secondly, added logic so that the guiInputCtrl, when going to push an ActionMap(if it has one) will check if it's root canvas is active.
Thirdly, to allow guiInputCtrls to respond to a canvas becoming active, such as a GUi-on-Material surface displaying a menu and it's activated, an offscreen canvas becoming active now trips a signal that guiInputCtrl listens for.
2025-08-11 00:06:42 -05:00
marauder2k7
c2b347af7c ai test classes
protoplayer protocar
2025-08-01 19:42:02 +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
AzaezelX
14c8ea28c8 offload spawnControlObject on controllable death to gameplay modules 2025-06-09 17:13:57 -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
marauder2k7
e1c01cd49a Merge remote-tracking branch 'upstream/development' into imageAsset_refactor_rev3 2025-05-12 14:45:41 +01:00
AzaezelX
860ac41181 handle enabled->disabled->destroyed filters properly 2025-04-10 13:08:43 -05:00