Difference between revisions of "StringList (000000E0)"
From SWGANH Wiki
(→Struct) |
|||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{MissingPacket}} | |
− | + | {{PageHeader|Object Controller|StringList (000000E0)}} | |
{| border="0" width="90%" cellpadding=6 | {| border="0" width="90%" cellpadding=6 | ||
|- | |- | ||
Line 6: | Line 6: | ||
===Struct=== | ===Struct=== | ||
---- | ---- | ||
− | + | {| align="center" | |
+ | |- | ||
+ | || | ||
{| class="wikitable" | {| class="wikitable" | ||
|{{short}}||'''strings count''' | |{{short}}||'''strings count''' | ||
Line 12: | Line 14: | ||
{{beginlist|strings|strings count}} | {{beginlist|strings|strings count}} | ||
:{| class="wikitable" | :{| class="wikitable" | ||
+ | |- | ||
+ | |{{int}}||'''Unicode String Size''' | ||
+ | |- | ||
|{{u_string}}||'''Unicode String''' | |{{u_string}}||'''Unicode String''' | ||
|} | |} | ||
{{endlist|strings}} | {{endlist|strings}} | ||
− | + | |} | |
===Variable Descriptions=== | ===Variable Descriptions=== | ||
---- | ---- | ||
controllerID = '''000000E0''' | controllerID = '''000000E0''' | ||
---- | ---- | ||
− | + | *'''Note: | |
+ | :::This packet is used to define the options during NPC Dialog | ||
|valign=top| | |valign=top| | ||
+ | |||
===Tags=== | ===Tags=== | ||
---- | ---- | ||
Line 28: | Line 35: | ||
||{{ObjControllerMessageTag}} | ||{{ObjControllerMessageTag}} | ||
|- | |- | ||
− | ||{{ | + | ||{{100%}} |
|- | |- | ||
|} | |} | ||
|} | |} | ||
+ | |||
+ | ===Example Packets=== | ||
+ | |||
+ | ====STF File Example==== | ||
+ | 05 00 '''Opperand Count | ||
+ | 46 5E CE 80 '''Op-Code (ObjController) | ||
+ | 0B 00 00 00 '''Sub-Op | ||
+ | E0 00 00 00 '''command Op (Dialog Options) | ||
+ | CA 42 D0 57 05 00 00 00 '''Character ID | ||
+ | 00 00 00 00 '''Table of Strings Error ID # | ||
+ | 01 '''Number of options in list | ||
+ | 3C 00 00 00 '''String Buffer Size (in UniCode.. calculated with formula: | ||
+ | #=(STFLoc.size + StringName.size() + Size of remaining data | ||
+ | (0x56 or 0x57 depending on Mystery Byte Value | ||
+ | everything must be divided by 2 because its a unicode buffer) | ||
+ | 00 00 '''Unk Data 1 | ||
+ | 00 00 '''Mystery Bool (either 0 or 1) | ||
+ | 01 '''unk Data 2 (static) | ||
+ | FF FF FF FF '''unk Data 3 (static) | ||
+ | 18 00 '''String Size | ||
+ | conversation/chassis_npc '''Location of the *.stf file in String\en\ (needs to be in hex) | ||
+ | 00 00 00 00 '''Table of Strings Error ID # | ||
+ | 0A 00 '''String Size | ||
+ | s_94e3013f '''Points to a location in above stf (needs to be in hex) | ||
+ | 00 00 00 00 '''Table of String Error ID # | ||
+ | 00 00 00 00 00 00 00 00 '''Buffering | ||
+ | 00 00 00 00 00 00 00 00 | ||
+ | 00 00 00 00 00 00 00 00 | ||
+ | 00 00 00 00 00 00 00 00 | ||
+ | 00 00 00 00 00 00 00 00 | ||
+ | 00 00 00 00 00 00 00 00 | ||
+ | 00 00 00 00 00 00 00 00 | ||
+ | 00 00 00 00 00 00 00 00 '''End Buffering |
Latest revision as of 03:11, 13 January 2008
This article or section needs additional data. Please add a sample packet! |
Object Controller - StringList (000000E0)
SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.
Struct
Variable DescriptionscontrollerID = 000000E0
|
Tags
|
Example Packets
STF File Example
05 00 Opperand Count 46 5E CE 80 Op-Code (ObjController) 0B 00 00 00 Sub-Op E0 00 00 00 command Op (Dialog Options) CA 42 D0 57 05 00 00 00 Character ID 00 00 00 00 Table of Strings Error ID # 01 Number of options in list 3C 00 00 00 String Buffer Size (in UniCode.. calculated with formula: #=(STFLoc.size + StringName.size() + Size of remaining data (0x56 or 0x57 depending on Mystery Byte Value everything must be divided by 2 because its a unicode buffer) 00 00 Unk Data 1 00 00 Mystery Bool (either 0 or 1) 01 unk Data 2 (static) FF FF FF FF unk Data 3 (static) 18 00 String Size conversation/chassis_npc Location of the *.stf file in String\en\ (needs to be in hex) 00 00 00 00 Table of Strings Error ID # 0A 00 String Size s_94e3013f Points to a location in above stf (needs to be in hex) 00 00 00 00 Table of String Error ID # 00 00 00 00 00 00 00 00 Buffering 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000 00 00 00 00 00 00 00 End Buffering