From e176a620aba78ddbef7d89abb263745fdd8c1f0c Mon Sep 17 00:00:00 2001 From: lcdr Date: Mon, 2 Apr 2018 22:33:30 +0200 Subject: [PATCH] Updates to shooting gallery component. --- captureviewer.pyw | 2 +- .../replica/components/Cannon.structs | 39 ------------------- .../components/Shooting Gallery.structs | 38 ++++++++++++++++++ 3 files changed, 39 insertions(+), 40 deletions(-) delete mode 100644 packetdefinitions/replica/components/Cannon.structs create mode 100644 packetdefinitions/replica/components/Shooting Gallery.structs diff --git a/captureviewer.pyw b/captureviewer.pyw index bf80c3c..853385c 100644 --- a/captureviewer.pyw +++ b/captureviewer.pyw @@ -35,7 +35,7 @@ component_name[4] = "Character", component_name[17] = "Inventory", component_name[5] = "Script", component_name[9] = "Skill", -component_name[19] = "Cannon", +component_name[19] = "Shooting Gallery", component_name[11] = "Item", component_name[60] = "BaseCombatAI", component_name[48] = "Stats", "Rebuild" diff --git a/packetdefinitions/replica/components/Cannon.structs b/packetdefinitions/replica/components/Cannon.structs deleted file mode 100644 index 3a75e15..0000000 --- a/packetdefinitions/replica/components/Cannon.structs +++ /dev/null @@ -1,39 +0,0 @@ -Component 19 - Cannon (tested using LOT 1864): -start of ScriptedActivity -[bit] - flag - [u32] - count - [s64] - player object id - constant size 10 loop - [float] - ??? - [float] - ??? - [float] - ??? - [float] - ??? - [float] - ??? - [float] - ??? - [float] - ??? - [float] - ??? - [float] - ??? - [float] - ??? -end of ScriptedActivity -if creation: - [float] - ??? - [float] - ??? - [float] - ??? - [float] - ??? - [float] - ??? - [float] - ??? -[bit] - flag - [double] - ??? - [double] - ??? - [double] - ??? - [float] - ??? - [float] - ??? - [float] - ??? - [float] - ??? - [float] - ??? - [float] - ??? - [float] - ??? - [u64] - ??? - [float] - ??? - [float] - ??? - diff --git a/packetdefinitions/replica/components/Shooting Gallery.structs b/packetdefinitions/replica/components/Shooting Gallery.structs new file mode 100644 index 0000000..3a56035 --- /dev/null +++ b/packetdefinitions/replica/components/Shooting Gallery.structs @@ -0,0 +1,38 @@ +Component 19 - Shooting Gallery (tested using LOT 1864): +start of ScriptedActivity +[bit] - flag + [u32] - count + [s64] - player object id + constant size 10 loop + [float] - ??? + [float] - ??? + [float] - ??? + [float] - ??? + [float] - ??? + [float] - ??? + [float] - ??? + [float] - ??? + [float] - ??? + [float] - ??? +end of ScriptedActivity +if creation: + [float] - Activity Camera position X + [float] - Activity Camera position Y + [float] - Activity Camera position Z + [float] - Activity Camera Lookat position X + [float] - Activity Camera Lookat position Y + [float] - Activity Camera Lookat position Z +[bit] - flag + [double] - Cannon Velocity + [double] - Cannon Refire Rate + [double] - Cannon Min Distance + [float] - Cannon Barrel Offset X + [float] - Cannon Barrel Offset Y + [float] - Cannon Barrel Offset Z + [float] - Cannon Angle + [float] - Facing X + [float] - Facing Y + [float] - Facing Z + [u64] - ??? + [float] - ???, expect == -1 + [float] - Cannon FOV