From 373022e70df202c2c345fe17af87a3b116749e91 Mon Sep 17 00:00:00 2001 From: bob128730 <76489670+bob128730@users.noreply.github.com> Date: Tue, 30 Jun 2026 10:26:48 +0100 Subject: [PATCH 1/3] Add spaceship ids --- include/RE/IDs.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/include/RE/IDs.h b/include/RE/IDs.h index 5c9cbfa..4617ef3 100644 --- a/include/RE/IDs.h +++ b/include/RE/IDs.h @@ -1917,12 +1917,12 @@ namespace RE::ID namespace Spaceship::TakeOffEvent { - inline constexpr REL::ID GetEventSource{ 0 }; // 37523 + inline constexpr REL::ID GetEventSource{ 120552 }; } namespace Spaceship::GravJumpEvent { - inline constexpr REL::ID GetEventSource{ 0 }; // 141814 + inline constexpr REL::ID GetEventSource{ 93876 }; } namespace Spaceship::LandedSetEvent @@ -1932,52 +1932,52 @@ namespace RE::ID namespace Spaceship::BoughtEvent { - inline constexpr REL::ID GetEventSource{ 0 }; // 174575 + inline constexpr REL::ID GetEventSource{ 120542 }; } namespace Spaceship::ContrabandScanWarningEvent { - inline constexpr REL::ID GetEventSource{ 0 }; // 174576 + inline constexpr REL::ID GetEventSource{ 120555 }; } namespace Spaceship::DockEvent { - inline constexpr REL::ID GetEventSource{ 0 }; // 174577 + inline constexpr REL::ID GetEventSource{ 120544 }; } namespace Spaceship::DynamicNavmeshCompleted { - inline constexpr REL::ID GetEventSource{ 0 }; // 174578 + inline constexpr REL::ID GetEventSource{ 120550 }; } namespace Spaceship::FarTravelEvent { - inline constexpr REL::ID GetEventSource{ 0 }; // 174579 + inline constexpr REL::ID GetEventSource{ 120553 }; } namespace Spaceship::LandingEvent { - inline constexpr REL::ID GetEventSource{ 0 }; // 174580 + inline constexpr REL::ID GetEventSource{ 120551 }; } namespace Spaceship::PlanetScanEvent { - inline constexpr REL::ID GetEventSource{ 0 }; // 174581 + inline constexpr REL::ID GetEventSource{ 120554 }; } namespace Spaceship::RampDownEvent { - inline constexpr REL::ID GetEventSource{ 0 }; // 174582 + inline constexpr REL::ID GetEventSource{ 120538 }; } namespace Spaceship::RefueledEvent { - inline constexpr REL::ID GetEventSource{ 0 }; // 174583 + inline constexpr REL::ID GetEventSource{ 120543 }; } namespace Spaceship::RegisteredEvent { - inline constexpr REL::ID GetEventSource{ 0 }; // 174584 + inline constexpr REL::ID GetEventSource{ 120540 }; } namespace Spaceship::ShieldEvent @@ -1987,7 +1987,7 @@ namespace RE::ID namespace Spaceship::ShipAddedEvent { - inline constexpr REL::ID GetEventSource{ 0 }; // 174586 + inline constexpr REL::ID GetEventSource{ 120539 }; } namespace Spaceship::ShipCollisionEvent @@ -2002,12 +2002,12 @@ namespace RE::ID namespace Spaceship::SoldEvent { - inline constexpr REL::ID GetEventSource{ 0 }; // 174589 + inline constexpr REL::ID GetEventSource{ 120541 }; } namespace Spaceship::SystemDamagedEvent { - inline constexpr REL::ID GetEventSource{ 0 }; // 174590 + inline constexpr REL::ID GetEventSource{ 120547 }; } namespace Spaceship::SystemPowerAllocationEvent @@ -2017,7 +2017,7 @@ namespace RE::ID namespace Spaceship::SystemPowerChangeEvent { - inline constexpr REL::ID GetEventSource{ 0 }; // 174592 + inline constexpr REL::ID GetEventSource{ 120549 }; } namespace Spaceship::SystemRepairedBIEvent @@ -2027,7 +2027,7 @@ namespace RE::ID namespace Spaceship::SystemRepairedEvent { - inline constexpr REL::ID GetEventSource{ 0 }; // 174594 + inline constexpr REL::ID GetEventSource{ 120546 }; } namespace Spaceship::TakeDamagEvent From 8cebc09eb7f97493ef1b3cf153e537cbccff7139 Mon Sep 17 00:00:00 2001 From: bob128730 <76489670+bob128730@users.noreply.github.com> Date: Tue, 30 Jun 2026 10:34:17 +0100 Subject: [PATCH 2/3] GravJumpEvent & TakeOffEvent --- include/RE/E/Events.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/RE/E/Events.h b/include/RE/E/Events.h index a538389..ed13cf5 100644 --- a/include/RE/E/Events.h +++ b/include/RE/E/Events.h @@ -3082,6 +3082,9 @@ namespace RE static REL::Relocation func{ ID::Spaceship::TakeOffEvent::GetEventSource }; return func(); } + + NiPointer ship; + std::uint32_t state; }; struct GravJumpEvent @@ -3092,6 +3095,10 @@ namespace RE static REL::Relocation func{ ID::Spaceship::GravJumpEvent::GetEventSource }; return func(); } + + NiPointer ship; + std::uint32_t state; + NiPointer destination; }; struct LandedSetEvent From cfe476c54a5a998c82e9fa68423ed8c14427937f Mon Sep 17 00:00:00 2001 From: bob128730 <76489670+bob128730@users.noreply.github.com> Date: Tue, 30 Jun 2026 10:37:43 +0100 Subject: [PATCH 3/3] GetSpaceshipPilot ID --- include/RE/IDs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/RE/IDs.h b/include/RE/IDs.h index 4617ef3..f9801b3 100644 --- a/include/RE/IDs.h +++ b/include/RE/IDs.h @@ -2373,7 +2373,7 @@ namespace RE::ID inline constexpr REL::ID GetScale{ 0 }; // 106658 inline constexpr REL::ID GetSpaceship{ 119881 }; inline constexpr REL::ID GetSpaceshipParentDock{ 0 }; // 174134 - inline constexpr REL::ID GetSpaceshipPilot{ 0 }; // 173834 + inline constexpr REL::ID GetSpaceshipPilot{ 119876 }; inline constexpr REL::ID GetValue{ 0 }; // 107605 inline constexpr REL::ID HasKeyword{ 42794 }; inline constexpr REL::ID IsCrimeToActivate{ 0 }; // 106755