Page 1 of 1

I figured out Weather Raw

Posted: Wed Jan 07, 2009 7:09 pm
by grimdoomer
Well I have been working on Weather Raw today, and it's surprisingly very easy. It's based on two blocks, Placement, and Rotation. When the map loads, it places particles in all of the placement spots. They then fall a ramdom distance, pick a random rotation chunk, rotate, and repeat.

I wrote some ghetto code to simulate this, although I used verts and did not implement the rotation proccess due to my limited knowledge of Xna. Here is a video. Sorry for the horrible frame rate.

Here is the weather raw layout.

Code: Select all

Header
  HeaderBlock - chars[4]
  DataSize - Int32
  PlacementCount - Int32
  Null - Int32
  RotationCount - Int32

Placement Block
  X - Float
  Y - Float
  Z - Float
  Unknown - Int32
  Null - Int32

Rotation Block
  Null - Byte[12]
  l - Float
  j - Float
  k - Float
  w - Float
  Null - Byte[4]

Posted: Wed Jan 07, 2009 7:22 pm
by Eaton
Probably one of the best discoveries of 2009 so far. :)

Posted: Wed Jan 07, 2009 8:37 pm
by latinomodder
Wow nice job with this

Posted: Wed Jan 07, 2009 9:07 pm
by kibito87
Wow dude, that's a fantastic implimanentation into a modding program if that's what you plan. Fantastic! You are proving to be quite the researcher! I must applaud you.

Also, thank you for the time and effort you have putting into H2 xbox.

Posted: Thu Jan 08, 2009 2:57 am
by grimdoomer
Thank you :D

Posted: Thu Jan 08, 2009 2:42 pm
by -DeToX-
Cool I guess. Simple though eh.

Posted: Thu Jan 08, 2009 6:44 pm
by xXFeRcHoXx
I'm glad starting the 2009 with a new discovery!

Thanks a lot, Grim! :D
Eaton wrote:Probably one of the best discoveries of 2009 so far. :)
The best... and the first :)