10 Commits

Author SHA1 Message Date
JezuzLizard
f23df3ca3f Add codecallback_actorspawned, and codecallback_hudelemspawned.
Reimplement the generatePath() builtin to use a custom implementation to handle drop down nodes.
2023-04-28 20:22:44 -07:00
JezuzLizard
e0114bb4de Progress on path generating code.
Add readfile and writefile builtins. Attempt to  print GSC callstack.
2023-04-14 20:12:11 -07:00
JezuzLizard
f0ffd59c58 Fix Path_NearestNodeNotCrossPlanes.
Also fix pathlocal_t struct.
2023-03-31 11:15:28 -07:00
JezuzLizard
6461aa85d3 Move pathfinding related code to ai.cpp.
Add a gsc.hpp header to allow creating methods and functions for GSC outside of the gsc component. Add experimental path generating code to ai.cpp.
2023-03-29 20:15:05 -07:00
JezuzLizard
4135e7653a Add script errors for added builtins.
Fix generatepath() to return nodenums instead of pathnodes to workaround an obscure VM bug which is caused by sending a random origin as an argument and returning pathnodes.
2023-03-27 16:34:28 -07:00
JezuzLizard
bb8233cf86 Add more path structs.
Add getlinkednodes method for a node. getnodenumber method. getnodebynumber function. generatepath function.
2023-03-25 19:06:45 -07:00
JezuzLizard
ffdf2c48ba Fix bugs related to variable getting and settingfunctions.
Add unit test functions fpr GSC builtins.
2023-03-25 00:29:50 -07:00
JezuzLizard
b861f5cc56 Add more structs, and more script functions. 2023-03-24 20:21:50 -07:00
JezuzLizard
74f6a66374 Add scheduler, add support for GSC method adding, command adding.
Some cleanup. Add exception handler.
2023-03-24 15:04:25 -07:00
JezuzLizard
011bb0c554 Use t6-gsc-utils as a base. 2023-03-23 19:58:53 -07:00