DB/CreatureModelData: Difference between revisions

From wowdev
Jump to navigation Jump to search
(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 ._.)
Line 8: Line 8:
  '''Column Field Type Notes'''  
  '''Column Field Type Notes'''  
  1 ID Integer
  1 ID Integer
  2 Flags Integer Known to be checked: 0x80. Known: 4: Has death corpse.
  2 Flags Integer Known to be checked: 8, 0x40, 0x80. Known: 4: Has death corpse.
  3 ModelPath String *.[[MDX]]!
  3 ModelPath String *.[[MDX]]!
  4     AltermateModel String This is always 0. It would be used, if something was in here. Its pushed into M2Scene::AddNewModel(GetM2Cache(), Modelpath, AlternateModel, 0).
  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 ...
  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.
  6 Scale Float CMD.Scale * CDI.Scale is used in CUnit.
  7 [[UnitBloodLevels.dbc|BloodLevel]] iRefID
  7 [[UnitBloodLevels.dbc|BloodLevel]] iRefID
  8 Unknown Integer* -1, 0, 1, 3 - 7 | 0 for "Creature\CrystalSpider\CrystalSpider.mdx" only
  8 [[FootprintTextures.dbc|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
  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
  10 Unknown Float         mostly 12, others are 0.0 - 20.0
  11 Unknown Float         mostly 1.0, others are 0.0 - 5.0   
  11 Unknown Float         mostly 1.0, others are 0.0 - 5.0   
  12 Unknown Integer* always 0.
  12 Unknown Integer* always 0.
  13 Unknown Integer* ground shake? (Kunga) | 0 - 2, ''10, 79, 82'' | again bigger models got bigger number most time
  13 [[CameraShakes.dbc|GroundShake]] iRefID ground shake? (Kunga)
  14 Unknown Integer* 0, 10 - 12, 38 | 0 most of the time.
  14 Unknown Integer* 0, 10 - 12, 38 | 0 most of the time.
  15 [[CreatureSoundData.dbc|SoundData]] iRefID
  15 [[CreatureSoundData.dbc|SoundData]] iRefID
  16 CollisionWidth Float Size of collision for the model. Has to be bigger than 0.41670012920929, else "collision width is too small.".
  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
  17 CollisionHeight Float ZEROSCALEUNIT when 0-CollisionHeight < 0
  18 Unknown Float <.. other collision data?
  18 Unknown Float ''other collision data?''
  19 Unknown Float ..
  19 MinVert Vec3F These values are the actually maximum and minimum coordinates of the vertices.
20 Unknown Float ..
  22 MaxVert Vec3F
21 Unknown Float .. selection circle size ?
  25 Unknown Float mostly 1.0, others are 0.03 - 0.9
  22 Unknown Float ..
  26 Unknown Float mostly 1.0, others are 0.5 - 2.9
23 Unknown Float ..
24 Unknown Float other collision data? ..>
  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"
Retrieved from "http://www.sourcepeek.com/wiki/CreatureModelData.dbc"

Revision as of 20:12, 18 August 2009

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)