Difference between revisions of "EC44BDDC"

From SimsWiki
Jump to: navigation, search
 
(8 intermediate revisions by one user not shown)
Line 9: Line 9:
 
==Format==
 
==Format==
 
To be finalised...
 
To be finalised...
 +
;64 BYTE
 +
:Unknown
 +
;7 BYTE
 +
:Unknown (Varies with Zoom)
 +
;BYTE
 +
:Zoom Flag. 00=No zoom, 01=zoomed
 +
;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:
 
 
<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:
+
ZF 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 [X,Y] 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.
  
The HH value is a FLOAT(?) representing the height of the camera, they are the only thing that changes if all you do is zoom. The closer the zoom the lower the number.
+
0 tilt is when the camera is almost on the terrain, looking across it. Maximum tilt is when the camera is directly over head looking straight down.
  
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:Sims 2 Modding]]
 
[[Category:InternalFormats]]
 
[[Category:InternalFormats]]
 
[[Category:FormatsByTGI]]
 
[[Category:FormatsByTGI]]

Latest revision as of 20:21, 17 September 2012

EC44BDDC
Short name: NHVW
Long name: Neighborhood view

Contents

[edit] Description

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

[edit] Format

To be finalised...

64 BYTE
Unknown
7 BYTE
Unknown (Varies with Zoom)
BYTE
Zoom Flag. 00=No zoom, 01=zoomed
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

[edit] Overview of format

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 

ZF 	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 

[edit] Notes

Directions [X,Y] 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 across it. Maximum tilt is when the camera is directly over head looking straight down.

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox