Difference between revisions of "ServerWeatherMessage"

From SWGANH Wiki
Jump to: navigation, search
 
Line 8: Line 8:
  
 
{| class="wikitable"
 
{| class="wikitable"
 +
|{{short}}||'''Operand_Count'''
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''Operand_Count'''
+
|{{int}}||'''Opcode'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Opcode'''
+
|{{int}}||'''Weather_ID'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Weather_ID'''
+
|{{float}}||'''CloudVector_X-Coordinate'''
 
|-
 
|-
|align="center" style="background:#3C5466; color:white;"|'''FLOAT'''||'''CloudVector_X-Coordinate'''
+
|{{float}}||'''CloudVector_Z-Coordinate'''
|-
+
|align="center" style="background:#3C5466; color:white;"|'''FLOAT'''||'''CloudVector_Z-Coordinate'''
+
|-
+
|align="center" style="background:#3C5466; color:white;"|'''FLOAT'''||'''CloudVector_Y-Coordinate'''
+
 
|-
 
|-
 +
|{{float}}||'''CloudVector_Y-Coordinate'''
 
|}
 
|}
  

Revision as of 11:12, 10 April 2007


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...