Difference between revisions of "EC44BDDC"

From SimsWiki
Jump to: navigation, search
m
Line 9: Line 9:
 
==Format==
 
==Format==
 
To be finalised...
 
To be finalised...
;64 BYTE
+
64 BYTE
:Unknown (Always zeros)
+
Unknown
...
+
7 BYTE
...
+
Unknown (Varies with Zoom)
;14 BYTE
+
BYTE
:Unknown (Always zeros)
+
Unknown
 +
DWORD
 +
Zoom Level (Above World Center)
 +
DWORD
 +
Unknown
 +
BYTE
 +
Rotation flag. 00=No Rotation/Tilt, 01=Rotated/Tilted
 +
DWORD
 +
Rotation ammount.
 +
DWORD
 +
Tilt ammount.
 +
DWORD
 +
Direction X
 +
DWORD
 +
Direction Y
 +
DWORD
 +
Unknown. Always 00 40 9C 43. This is a fraction above the water table (look at point/Focus?)
 +
14 BYTE
 +
Unknown
  
 
==Overview of format==
 
==Overview of format==
 
Empty Hood:
 
Empty Hood:
 
<pre>
 
<pre>
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 07 01 00 00 00 00
+
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
01     00 80 6D 44    00 00 00 00   
+
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00      00 00 00 00    00 00 00 3F
+
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 20 44
+
04 07 01 01 00 00 00  
00 00 20 44
+
00 40 9C 43
+
00 00 00 00 00 00 00 00 00 00 00 00 00 00
+
</pre>
+
  
Empty Hood, rotated and zoomed:
+
01 ZZ ZZ ZZ ZZ 08 00 00 00
<pre>
+
RF RR RR RR RR TT TT TT TT
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+
XX XX XX XX
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 07 01 01 00 00 00  
+
YY YY YY YY
01      00 00 E1 43    06 00 00 00   
+
00 40 9C 43  
01      D5 78 69 3F    FE FF 1F 3F
+
BC D2 D0 40
+
0F 00 00 00 00 00 00 00 00 00 00 00 00 00  
E0 A2 22 41
+
00 40 9C 43
+
00 00 00 00 00 00 00 00 00 00 00 00 00 00
+
</pre>
+
 
+
As you can see there are similarities to the NHTR resource in terms of co-ordinates so I think we are looking at something like this:
+
<pre>
+
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 07 01 01 00 00 00
+
01      HH HH HH HH    06 00 00 00   
+
01      RR RR RR RR    FE FF 1F 3F
+
XY XY XY XY
+
XY XY XY XY
+
XY XY XY XY
+
00 00 00 00 00 00 00 00 00 00 00 00 00 00
+
 
</pre>
 
</pre>
  
 
==Notes==
 
==Notes==
The XY are FLOAT coordinates for X or Y. 
+
Directions are assuming that the Hood has not been rotated since it was created, at creation 0,0 is at the top left of the screen0 tilt is when the camera is almost on the terrain, looking accross it. Maximum tilt is when the camera is directly over head looking straight down.
 
+
The HH value is a FLOAT(?) representing the height of the camera, they are the only thing that changes if all you do is zoomThe closer the zoom the lower the number.
+
  
The camera is positioned over a point[ x,y], raised up or down vertically [z] and then rotated in 2 direction [v,h].  Which must be represented by a TOTAL of 5 DWORDS or FLOATS.
 
  
 
[[Category:Modding]]
 
[[Category:Modding]]
 
[[Category:InternalFormats]]
 
[[Category:InternalFormats]]
 
[[Category:FormatsByTGI]]
 
[[Category:FormatsByTGI]]

Revision as of 16:46, 17 May 2007

EC44BDDC
Short name: NHVW
Long name: Neighborhood view

Contents

Description

This resource stores the viewing angle etc., when a Hood is exited.

Format

To be finalised... 64 BYTE Unknown 7 BYTE Unknown (Varies with Zoom) BYTE Unknown DWORD Zoom Level (Above World Center) DWORD Unknown BYTE Rotation flag. 00=No Rotation/Tilt, 01=Rotated/Tilted DWORD Rotation ammount. DWORD Tilt ammount. DWORD Direction X DWORD Direction Y DWORD Unknown. Always 00 40 9C 43. This is a fraction above the water table (look at point/Focus?) 14 BYTE Unknown

Overview of format

Empty Hood:

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
04 07 01 01 00 00 00 

01 	ZZ ZZ ZZ ZZ 	08 00 00 00
RF 	RR RR RR RR 	TT TT TT TT
	XX XX XX XX 
	YY YY YY YY 	
	00 40 9C 43 
	
0F 00 00 00 00 00 00 00 00 00 00 00 00 00 

Notes

Directions are assuming that the Hood has not been rotated since it was created, at creation 0,0 is at the top left of the screen. 0 tilt is when the camera is almost on the terrain, looking accross it. Maximum tilt is when the camera is directly over head looking straight down.

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox