DB/CreatureModelData

From wowdev
Revision as of 20:12, 18 August 2009 by Schlumpf (talk | contribs) (Structure: Another little work on this. I hate, that they don't access the DBC directely but get a pointer to the row into CUnit ._.)
Jump to navigation Jump to search

Header Info

Records...................696 (in patch3.0[zhCN], this value is 1128)
Fields.....................23 (in patch3.0[zhCN], this value is 26)
Record Size................92 (in patch3.0[zhCN], this value is 104)
String Block Size.......23469 (in patch3.0[zhCN], this value is 39871)

Structure

Column	Field 		Type 		Notes 
1 	ID 		Integer 	
2 	Flags 		Integer 	Known to be checked: 8, 0x40, 0x80.  Known: 4: Has death corpse.
3 	ModelPath 	String 		*.MDX!
4	AlternateModel	String 		This is always 0. It would be used, if something was in here. Its pushed into M2Scene::AddNewModel(GetM2Cache(), Modelpath, AlternateModel, 0).
5 	Unknown 	Integer* 	0 - 4 | 4 got mostly big models (ragnaros, nef.) but again, not all big models got 4 ...
6 	Scale		Float 		CMD.Scale * CDI.Scale is used in CUnit.
7 	BloodLevel 	iRefID	
8 	Footprint 	iRefID 		Defines the footpritns you leave in snow.
9 	Unknown 	Float 		big dragons got 30.0, some mounts 24.0 etc | most time 18.0
10 	Unknown 	Float 	        mostly 12, others are 0.0 - 20.0
11 	Unknown 	Float 	        mostly 1.0, others are 0.0 - 5.0  
12 	Unknown 	Integer* 	always 0.
13 	GroundShake 	iRefID		ground shake? (Kunga)
14 	Unknown 	Integer* 	0, 10 - 12, 38 | 0 most of the time.
15 	SoundData 	iRefID		
16 	CollisionWidth 	Float 		Size of collision for the model. Has to be bigger than 0.41670012920929, else "collision width is too small.".
17 	CollisionHeight	Float 		ZEROSCALEUNIT when 0-CollisionHeight < 0
18 	Unknown 	Float 		other collision data?
19 	MinVert 	Vec3F 		These values are the actually maximum and minimum coordinates of the vertices.
22 	MaxVert 	Vec3F 		
25 	Unknown 	Float 		mostly 1.0, others are 0.03 - 0.9
26 	Unknown 	Float 		mostly 1.0, others are 0.5 - 2.9

Retrieved from "http://www.sourcepeek.com/wiki/CreatureModelData.dbc"

--schlumpf_ 00:53, 10 July 2009 (CEST)