feat(ground-ai): return bot movement control on failure
Grant custom physics control per LocalMP bot and let the native layer release it when the script stops renewing control. Verified both TypeScript checks, the MSVC build, native resolution and check-patches on .37 and .58, and isolated .58 script loading.
This commit is contained in:
1 parent
bb680c6abd
commit
885e3bbb5d
15 files changed
+325
-63
No files matched your search
@@ -41,6 +41,7 @@ typedef struct LmpValueSpec {
|
||||
#define SUPPORT "local_mp_support"
|
||||
#define DAMAGE_NOTICES "local_mp_damage_notifications"
|
||||
#define AIR_EVENTS "local_mp_air_events"
|
||||
#define GROUND_AI "local_mp_ground_ai"
|
||||
|
||||
static const LmpValueSpec SPECS[] = {
|
||||
A(CORE, "do_respawn_player", do_respawn_player), O(CORE, "do_respawn_player.app_score_rules", app_score_rules),
|
||||
@@ -186,6 +187,11 @@ static const LmpValueSpec SPECS[] = {
|
||||
A(AIR_EVENTS, "air_event_orientation.call", air_event_orientation),
|
||||
A(AIR_EVENTS, "send_unit_respawn", send_unit_respawn),
|
||||
A(AIR_EVENTS, "send_unit_respawn_broadcast.mpi_sendto", mpi_sendto),
|
||||
|
||||
A(GROUND_AI, "ground_ai_mission_binding.action", ground_ai_mission_action),
|
||||
A(GROUND_AI, "ground_ai_as_ground_model", ground_ai_as_ground_model),
|
||||
O(GROUND_AI, "ground_ai_move_properties.move_system", ground_ai_move_system),
|
||||
O(GROUND_AI, "ground_ai_move_annotation.inactive", ground_ai_move_inactive),
|
||||
};
|
||||
|
||||
static void store(const LmpValueSpec *spec, int64_t value, uint8_t *base)
|
||||
|
||||
Reference in new issue
Block a user