Difference between revisions of "ServerWeatherMessage"

From SWGANH Wiki
Jump to: navigation, search
Line 1: Line 1:
__NOTOC__
+
{{MissingPacket}}
 +
{{PageHeader|Server Packet|ServerWeatherMessage (486356EA)}}
  
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
Line 6: Line 7:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|{{short}}||'''Operand_Count'''
 
|{{short}}||'''Operand_Count'''
Line 20: Line 23:
 
|{{float}}||'''CloudVector_Y-Coordinate'''
 
|{{float}}||'''CloudVector_Y-Coordinate'''
 
|}
 
|}
 
+
|}
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----

Revision as of 22:44, 8 January 2008





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 Code


Insert Code Snippet Here...

Sample Packet

Insert Sample Packet Here...