Commit graph

6696 commits

Author SHA1 Message Date
Areloch b0b0cbfaef Adds a callGamemodeFunction invoke for when the client is done loading the mission so the gamemode can do stuff once the player is done loading, but before fully connecting/spawning in 2024-02-03 17:09:11 -06:00
Brian Roberts c92a88a852
Merge pull request #1193 from Areloch/EditorObjectSavingCallback
Adds a callback invoke for objects in the scene to inform them if the level is being saved
2024-02-03 16:27:35 -06:00
Areloch 9c643a69cf Adds a callback invoke for objects in the scene to inform them if the level is being saved. Allows for certain special actions, like having objects reset to an original position before the save occurs. 2024-02-03 16:24:12 -06:00
Brian Roberts efffabae06
Merge pull request #1191 from Azaezel/development
dial back overly aggressive setRest
2024-02-01 17:47:55 -06:00
AzaezelX 7552554ded dial back overly agressive setRest 2024-02-01 17:47:30 -06:00
Brian Roberts fb867a4a6c
Merge pull request #1190 from JeffProgrammer/ts-bug-1-30-2024
TScript Bugfix
2024-01-30 17:53:13 -06:00
Jeff Hutchinson 0d743c8bb9 TScript Bugfix
If the statement is a terminating statement on slot assignment (such as %var[%i]++;), the stack has to be popped everytime slot arrays are used regardless of the expression type.
2024-01-30 18:24:48 -05:00
Brian Roberts 3d4b7b469c
Merge pull request #1189 from Azaezel/alpha41/copyPastePunt
when pasting, ensure you add a unique name
2024-01-29 17:49:52 -06:00
AzaezelX 7c5490e841 when pasting, ensure you add a unique name
object names are namespaces, so they cannot match or it confuses the lookup tables
2024-01-29 13:06:02 -06:00
Brian Roberts f158fc78e8
Merge pull request #1188 from Azaezel/alpha41/StopShapeSpam
don't trigger shape load during shape loading
2024-01-26 18:27:07 -06:00
AzaezelX 4ae2cf7413 don't trigger shape load during shape loading 2024-01-26 18:26:40 -06:00
Brian Roberts ed47f174bc
Merge pull request #1184 from marauder2k9-torque/STBImageLoading-PR
STB Image Loading PR take 2
2024-01-24 01:33:03 -06:00
marauder2k7 e6554e9abc Merge remote-tracking branch 'upstream/development' into STBImageLoading-PR 2024-01-23 08:48:12 +00:00
marauder2k7 d87199f5da Final Cleanup
-Removed LPNG
-Removed LJPEG
-Re-Added DefferredPNGWriter from rextimmy stb work

Commented out lines about file saving and reading in gfont, these are good for debugging font saves.
2024-01-23 08:47:26 +00:00
Brian Roberts b66445e85f
Merge pull request #1187 from Azaezel/alpah41/callOnChildrenAUG
extended onCreateGame functionality
2024-01-22 18:59:34 -06:00
Brian Roberts 77f6a4909f
Merge pull request #1186 from Azaezel/alpha41/noSoundSpam
remove arbitrary impact sound spam
2024-01-22 18:59:24 -06:00
AzaezelX cf56265789 extended onCreateGame functionality
now also trips on object instances and datablock namespaces
ensures there's a generic hook for post-load processing for objects created by a scene to reference other objects created during that process
2024-01-21 22:16:15 -06:00
marauder2k7 68a7dadd2b Merge remote-tracking branch 'upstream/development' into STBImageLoading-PR 2024-01-21 20:14:53 +00:00
marauder2k7 8632468a9c Set format in read stream
Forgot to pass the decided format in read from stream
2024-01-21 20:10:29 +00:00
AzaezelX e5a7c73bbe remove arbitrary impact sound spam
1) don't call them when onimpact threshold isn't crossed.
2) *definitely* don't call them with an arbirtary /3 threshold
2024-01-21 13:05:37 -06:00
Brian Roberts f77663e2c9
Merge pull request #1185 from Azaezel/alpha41/fixCompositeCreate
fix orm compositing save script
2024-01-20 18:05:24 -06:00
AzaezelX 2dc67d5b43 fix orm compositing save script
also fix emissive checkbox savestate retrieval
2024-01-20 17:50:12 -06:00
marauder2k7 43c2c918c7 Expanded Features
Added ability to set format dynamically on read from stream.
Added other formats to write to a stream.
2024-01-20 22:47:58 +00:00
marauder2k7 106346630d STB Memory functions for fonts
Add the ability to read and write to a stream.
2024-01-20 22:15:17 +00:00
marauder2k7 7216ba8530 Revert "revert #1148 as prematurely incorporated"
This reverts commit f946088214.
2024-01-20 18:01:57 +00:00
Brian Roberts bd2121b674
Merge pull request #1183 from marauder2k9-torque/ConvexShapeValuesChange
Update convexShape.cpp
2024-01-19 22:35:07 -06:00
marauder2k7 1f99d8f14d Update convexShape.cpp
Convex shape values were changing on save, few quick tests point to this being the fix, need more extensive testing.
2024-01-20 04:15:04 +00:00
Brian Roberts a919d53eee
Merge pull request #1182 from Azaezel/alpha41/revertSTB
revert #1148 as prematurely incorporated
2024-01-19 13:21:02 -06:00
Brian Roberts 199ef84fcb
Merge pull request #1180 from Azaezel/alpha41/awryArrays
don't allow setting a key or value on -1 index
2024-01-17 19:42:23 -06:00
Brian Roberts af7ca8f0bb
Merge pull request #1181 from Azaezel/alpha41/fixVehicleSpawn
fix vheicle add dropwdown spawntypes
2024-01-17 13:12:03 -06:00
AzaezelX 86408058a3 fix vheicle add dropwdown spawntypes 2024-01-17 13:11:43 -06:00
AzaezelX 36c1e928ca don't allow setting a key or value on -1 index 2024-01-15 17:04:25 -06:00
Brian Roberts 810c070512
Merge pull request #1178 from Azaezel/alpha41/arrayObjectAugs
arrayobject helper commands
2024-01-15 11:38:53 -06:00
Brian Roberts 6013726db9
Merge pull request #1179 from GasimoCodes/patch-1
Fix docs link in readme
2024-01-15 11:31:29 -06:00
Gasimo b8c48a2ccc
Fix docs link 2024-01-15 16:39:11 +01:00
AzaezelX f946088214 revert #1148 as prematurely incorporated
it's getting there, but there have been a few spots noted where it eroneously corrupts text, so we'll have to pull this back out for a bit barring a proper resolution
2024-01-11 13:33:03 -06:00
AzaezelX 30e67694e8 arrayobject helper commands
getValueFromKey and getKeyFromValue.
both look to the left or right hand entry for the other one
example:
%array.add("startPos","0 0 0 ");
echo(">".%array.getValueFromKey("startPos"));
> 0 0 0
2024-01-10 16:20:08 -06:00
Brian Roberts 33b7cc7803
Merge pull request #1176 from Azaezel/alpha41/spawnStuffs
ObjectBuilderGui augs
2024-01-09 16:38:25 -06:00
Brian Roberts d3babcdbda
Merge pull request #1177 from Areloch/SearchFilterPopupCtrl
Search filter popup ctrl
2024-01-09 11:28:08 -06:00
Areloch 192862ba6d Cleans up removal/deletion logic 2024-01-09 04:00:51 -06:00
AzaezelX fb6ec7bb6e ObjectBuilderGui augs
1) adds a buildAIPlayer entry so we can tag it as a bot while still using the normal playerdata datablock
2) adds a "contol?" tickbox for player, and the 3 vehicle types when spawning one that will put the editor directly into control on creation
2024-01-08 19:28:38 -06:00
Brian Roberts 1d3dc339c9
Merge pull request #1169 from Azaezel/hovernotes
flyingvehicle hovercode tweaks
2024-01-08 17:10:11 -06:00
Brian Roberts 6b1507f791
Merge pull request #1173 from Azaezel/alpha41/hudwerk
allow misc health readouts to detect vehicles
2024-01-08 17:09:59 -06:00
Brian Roberts 78b56688d3
Merge pull request #1174 from Areloch/UpfrontLoadFixesPR
Upfront Loading Changes
2024-01-07 23:13:03 -06:00
Areloch 829cc2b24a Adjusts some of the loading logic, for guiBitmapCtrl mostly, to not try and load ALL image content upfront during client init, improving load times 2024-01-07 23:09:41 -06:00
AzaezelX 22df872f2d allow misc health readouts to detect vehicles 2024-01-07 19:05:12 -06:00
Brian Roberts d22b7c7121
Merge pull request #1171 from Azaezel/alpha41/scriptStability
script stabilization tweaks
2024-01-06 10:33:04 -06:00
Brian Roberts cf7e9f7a00
Merge pull request #1172 from Areloch/BaseUIUpdate_Wipwork
BaseUI Update
2024-01-05 14:30:00 -06:00
Areloch 90bd1365f8 Merge branch 'BaseUIUpdate_Wipwork' of https://github.com/Areloch/Torque3D into BaseUIUpdate_Wipwork 2024-01-04 20:30:37 -06:00
Areloch 833d17ccfc - Cleaned up elements in ChooseLevelMenu and ensured onscreen button had correct command
- Ensured there's always a level selected by default on the chooseLevelMenu
- Added a small delay to try and ensure the level/server config tab key hints align properly
- Added logic so you can't swap to server config page on chooseLevelMenu if in single player mode
- Added server description to server details line on JoinServerMenu
- Ensured programmatically added elements aren't saved out if GUIs are edited
- Fixed back-out prompt in OptionsMenu properly backs out so it doesn't break menu nav
2024-01-04 20:30:11 -06:00