Commit graph

7494 commits

Author SHA1 Message Date
AzaezelX
a10169accf fix node following stopping early 2025-04-17 09:44:04 -05:00
AzaezelX
4fb92f02a3 completed list of roughly ported over scripthooks.
todo: need to figure out why followobject is only hitting the first path node. likely  amixup with goal handling
2025-04-17 01:27:08 -05:00
AzaezelX
e37ae27bc0 fix aim safeties to actually be safe, add an explicit clearAim script command 2025-04-16 17:58:30 -05:00
AzaezelX
14a03dfc6c if you've stopped moving on purpose, you're not stuck 2025-04-16 17:40:53 -05:00
AzaezelX
f3ef698e89 getmovedestination, set/get speed, targetting script commands
todo: need to see why getAIController().setAimLocation("10 10 0"); seems to get into an onreachdestination+stuck callback loop
2025-04-16 17:27:26 -05:00
AzaezelX
f00b8e1ae0 toEuler. n ot getforwardvector 2025-04-15 18:23:12 -05:00
AzaezelX
2fe36a571b setaicontroller: use Ids
get rid of duplicated mMoveDestination
2025-04-15 18:01:18 -05:00
AzaezelX
201b7bf695 aiController.setMoveDestination test 2025-04-15 17:00:36 -05:00
AzaezelX
19e73c0be2 expose the AIPlayerControllerData subtype to console 2025-04-15 15:34:58 -05:00
AzaezelX
8c663a19a5 generalized ai subsystem wipwork 2025-04-15 15:12:27 -05:00
Brian Roberts
75e23e85ea
Merge pull request #1440 from marauder2k9-torque/IntegerParsing
Parse Property Templated function
2025-04-14 10:03:35 -05:00
marauder2k7
0ff636e9ca Update mathTypes.cpp 2025-04-10 08:56:40 +01:00
marauder2k7
77a7847eed Update mathTypes.cpp 2025-04-10 08:56:20 +01:00
marauder2k7
fae5ebb9e8 null termination was wiping buffer 2025-04-10 08:55:42 +01:00
marauder2k7
2e64d36382 Update mathTypes.cpp
fix matrix types, should of been using columns not the rows
2025-04-10 08:13:10 +01:00
Brian Roberts
cdaa6533b2
Merge pull request #1441 from Azaezel/alpha41/controlConfusion
handle relfecting the health of the controlled object
2025-04-09 12:08:49 -05:00
marauder2k7
ee4acc98fe Update propertyParsing.h
bahhh humbug
2025-04-09 16:29:03 +01:00
marauder2k7
cd7666bf2a rename overloaded function so linux and mac stop bitching 2025-04-09 16:05:22 +01:00
marauder2k7
7c3fbfc9d8 add getter for console get types
templated function for getting data from a field
2025-04-09 15:14:46 +01:00
AzaezelX
d0d2e1f343 handle relfecting the health of the controlled object
players and vehicles can both be the controlobject, or you can control a vehicle *through* a player.
set the health bar/text controls to reflect that state
2025-04-08 18:30:06 -05:00
marauder2k7
47f68d9371
Merge pull request #6 from Azaezel/IntegerParsing
on balance we'll want to round instead of truncate
2025-04-08 22:15:19 +01:00
AzaezelX
b886cbb527 on balance we'll want to round instead of truncate 2025-04-08 16:09:54 -05:00
marauder2k7
f30ff6734e Update mathTypes.cpp
mathtypes.cpp ConsoleSetTypes now converted
2025-04-08 10:13:48 +01:00
marauder2k7
1cb2109d6e Update mathTypes.cpp
update matrix/ang types to use the new function
change all print's to warn's
2025-04-08 09:51:38 +01:00
marauder2k7
802f90bf69 init commit
initial commit of templated ParseProperty function
TypePoint and TypeRect consoleSetTypes now use the new templated function
2025-04-08 08:16:09 +01:00
Brian Roberts
a996c09b04
Merge pull request #1437 from Azaezel/alpha41/bakePosPoke
fix make a mesh sometimes shifting position in level
2025-04-05 21:10:04 -05:00
AzaezelX
8ef5760b5d fix make a mesh sometimes shifting position in level
leverage the fact that when we create the backup prefab, that compresses down to one selected object
from there we can get it's position and use that for the bake location
2025-04-05 16:38:27 -05:00
Brian Roberts
86627f2fca
Merge pull request #1436 from Azaezel/alpha41/rangeFinding
add difFloatPi range validator
2025-04-03 16:53:18 -05:00
AzaezelX
2d974cebf5 add difFloatPi range validator
player:
apply to player min/max angle
allow fallingspeedthreshold to go negative
splashdata:
velocity, hieght, acceleration and startradius can all be negative
wrap material animation range from -1 to 1
2025-04-03 16:52:49 -05:00
Brian Roberts
68f44c1596
Merge pull request #1435 from Azaezel/alpha41/rotationRot
fix (?) rotation
2025-04-03 12:05:56 -05:00
AzaezelX
0e78312e95 fix (?) rotation
set the behaviour back to prior calcs, plus allow the desired scroll combo to work
2025-04-02 23:07:09 -05:00
Brian Roberts
67a1805061
Merge pull request #1434 from Azaezel/alpha41/badDB
typofix for bad %client.spawnDataBlock filtering
2025-04-02 17:40:53 -05:00
AzaezelX
3b2651c0ab typofix for bad %client.spawnDataBlock filtering 2025-04-02 17:40:37 -05:00
Brian Roberts
f41cdaaa7e
Merge pull request #1430 from Azaezel/alpha41/GFXRedundancyCleanups
clean up (some) shader variation redundancies
2025-04-02 16:21:57 -05:00
Brian Roberts
46a4cd71e2
Merge pull request #1433 from Azaezel/alpha41/dontBeATool
encapsulate tool-only code for levelassets
2025-04-02 16:21:47 -05:00
Brian Roberts
2e33228009
Merge pull request #1432 from Azaezel/alpha41/percent
add 0-100 percent ranges
2025-04-02 16:21:36 -05:00
Brian Roberts
79ceb9a798
Merge pull request #1431 from Azaezel/alpha41/fixFailspawn
fix spawn failure reports
2025-04-02 16:21:23 -05:00
AzaezelX
664e9db571 fix S32Percent type-o 2025-04-02 15:44:49 -05:00
AzaezelX
b299b54467 encapsulate tool-only code for levelassets 2025-04-02 15:38:43 -05:00
AzaezelX
3d2a923a30 add 0-100 percent ranges
F32 and S32
apply to guibitmapbarctrl
2025-04-02 15:33:39 -05:00
AzaezelX
8ac9da0e9f fix spawn failure reports
also force the fallbacks on failures
2025-04-01 20:48:50 -05:00
AzaezelX
d82e8dbec4 clean up (some) shader variation redundencies
don't need to use macros for the shader textfile hashkeys
several no longer used GFXVertexFormats removed
2025-04-01 18:23:29 -05:00
Brian Roberts
0546eae408
Merge pull request #1428 from Azaezel/sgCleanups
clean up shadergen ambient handling
2025-03-29 14:58:01 -05:00
AzaezelX
b92b5b34fd clean up shadergen ambient handling
fallback needs to a) set the same value as elswhere. b) treat uniforms the same. c) exist on both ends to ensure order of ops doesn't mangle things
2025-03-29 14:43:03 -05:00
Brian Roberts
85c7a68f46
Merge pull request #1427 from Azaezel/alpha41/riverRun
flowMagnitude and ripplespeed can go negative
2025-03-26 22:16:23 -05:00
AzaezelX
289d42cc10 flowMagnitude and ripplespeed can go negative 2025-03-26 22:12:19 -05:00
Brian Roberts
a4dcfb0cc2
Merge pull request #1426 from Azaezel/alpha41/wetwipes
fix wetness
2025-03-26 06:22:19 -05:00
AzaezelX
9f11f132d3 fix wetness 2025-03-26 06:22:01 -05:00
Brian Roberts
5436429e05
Merge pull request #1425 from Azaezel/alpha41/forwardFix
fix forward cubemip
2025-03-25 14:28:01 -05:00
Brian Roberts
6ffe7500cd
Merge pull request #1423 from Olathuss/gametsctrl-mouserefactor
Gametsctrl mouserefactor
2025-03-25 14:25:49 -05:00