ServerWeatherMessage

From SWGANH Wiki
Jump to: navigation, search





Server Packet - ServerWeatherMessage (486356EA)

SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.


Struct


SHORT Operand_Count
INT Opcode
INT Weather_ID
FLOAT CloudVector_X-Coordinate
FLOAT CloudVector_Z-Coordinate
FLOAT CloudVector_Y-Coordinate

Variable Descriptions


Opperand_Count = 3

Opcode = 486356EA


  • Weather_ID:
The ID number for the weather effect to use.

Normal range is:

0 - no rain
1 - cloudy
2 - light rain
3 - medium rain
4 - heavy rain
  • Cloud_Vector:

This is a vector of the direction of cloud movement. Only X and Y need to be applied (clouds dont move up and down). Vector seems to be normalized first, Cloud speed seems to be constant. It may possibly be adjusted by the "wind" speed in the client.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.

Sample Packet

03 00 
EA 56 63 48 
01 00 00 00 
17 5E FC 3F 
00 00 00 00 
3B 12 9D 3F 
32 
===================================================
03 00
EA 56 63 48 
01 00 00 00 
B0 CB EA 3F
00 00 00 00
D6 8D 92 3F 
1C