
13-03-2003, 22:05
|
Buzzer
|
|
Registriert seit: Mar 2003
Beiträge: 32
|
|
mit nem HexEditor gehts
jemand soll mal ein tool dafür schreiben
Zitat:
Just got this from Harvard, he also posted it up on the Generals boards.
------------------------------------------------------------------------
Subject: RE: .wak file
Date: Wed, 12 Mar 2003 16:56:16 -0800
From: "Bonin, Harvard" <**********>
To: "Bill and Deb Brislin" <*********>,
"Bender, Jason" <*********>
Unfortunately it’ll take a hex edit to get it to work. Eventually it’ll go into the editor. Not sure when though
a)
*.wak file in same directory as map file.
Vector2 m_initStartPos; ///position where wave will start its animation
Vector2 m_initEndPos; ///position of point along wave travel direction, 1 unit away from m_initStartPos. Used only to compute direction vector.
waveType waveType //enum type from available wave presets hardcoded inside W3DWaterTracks.cpp
..
Repeat above 3 members for each wave
..
Int trackCount //number of waves saved in file.
b)
Type Definitions:
Int – 32-bit signed integer value.
Vector2 – set of 2, 32-bit floats containing x,y coordinate. The z-coordinate is derived from the water height as that point on the map.
waveType – unsigned 32-bit integer that controls the speed/size of the waves. Set to one of the following values:
0 = Pond
1 = Ocean
2 = Close Ocean
3 = Close Ocean Double
4 = Radial
|
snatters
|