Commit graph

22 commits

Author SHA1 Message Date
AzaezelX
2d0bcbcf8d behavioural change: feeding an AInfo an object with a 0 radius causes the class to fill in radius from that objects bounds box
also, vehicle direct hooks
2025-04-18 11:36:27 -05:00
AzaezelX
78a26b0108 expose a getThrottle for vehicles. save some calcs in AIWheeledVehicleControllerData
deletion cleanups
2025-04-18 11:00:13 -05:00
AzaezelX
2d5e8c1560 make steerstate for AIWheeledVehicleControllerData's self contained
variable raylength for the rpath filter. same 0.001 for players to stop recalculating a path when jumping, but bump anything they're mounted to to a 2 unit check

bit of work towards parallel parking. or at least not ending up arcing back and forth infinitely in an arc
2025-04-17 23:31:30 -05:00
AzaezelX
1fad2c7372 AIWheeledVehicleControllerData wipwork 2025-04-17 20:01:36 -05:00
AzaezelX
32f9917ed2 aicontroller:
in order to call derivatives of AIControllerData datablocks *without* requiring an accompanying AIController subclass as well, leverage the fastdelegate system for our resolver callbacks
additionally, don't try and repath in mid air
aigoal: initialize inange/infirinrange to false. use those to filter callbacks
2025-04-17 17:55:38 -05:00
AzaezelX
f84bf058c9 navigation: setPathdestination now takes a replace bool to preserve the goal
also killed a few now extraneous  clearfollow calls
2025-04-17 17:51:31 -05:00
AzaezelX
c72c3068f8 aiinfo subclass inheritance cleanups, and default constructor removals for safeties 2025-04-17 14:38:27 -05:00
AzaezelX
4f87ad4cf7 moar gaol tracking cleanups 2025-04-17 12:27:05 -05:00
AzaezelX
2956223a60 simplify setpathdestination loop 2025-04-17 11:39:06 -05:00
AzaezelX
83822f1148 fix eroneous defaults 2025-04-17 11:38:21 -05:00
AzaezelX
25b3a7c070 break wether we *should* be trying to move out of the resolver 2025-04-17 10:50:58 -05:00
AzaezelX
eaa6a62b0c misc cleanups 2025-04-17 10:38:36 -05:00
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