Difference between revisions of "EC44BDDC"

From SimsWiki
Jump to: navigation, search
 
(12 intermediate revisions by one user not shown)
Line 1: Line 1:
{{OldWikiEntry}}
 
 
 
{{Resource tgi
 
{{Resource tgi
 
|short = NHVW
 
|short = NHVW
Line 6: Line 4:
 
}}
 
}}
  
I have some ideas about this resource. I believe it stores the viewing angle etc. when the Hood is exited. If you turn and exit a Hood this data changes:
+
==Description==
 +
This resource stores the viewing angle etc., when a Hood is exited.
  
Empty Hood:
+
==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
 +
 
 +
==Overview of format==
 
<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 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
+
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 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 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  
+
XX XX XX XX
01      00 00 E1 43    06 00 00 00   
+
YY YY YY YY
01      D5 78 69 3F    FE FF 1F 3F
+
00 40 9C 43  
BC D2 D0 40
+
E0 A2 22 41
+
0F 00 00 00 00 00 00 00 00 00 00 00 00 00  
00 40 9C 43
+
00 00 00 00 00 00 00 00 00 00 00 00 00 00
+
 
</pre>
 
</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:
+
==Notes==
<pre>
+
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.
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 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   
+
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.
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>
+
  
The XY are FLOAT coordinates for X or Y. 
 
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.
 
  
[[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