Mod2

From HaloDemoMods

Jump to: navigation, search

Definition

mod2 = Gearbox Model, or Model (PC)

This tag type handles the 3d models used in the map file.

Structure and Data

This information is quoted from Sparky's Tag Structures Index.

flags
	blend shared normals
	parts have local nodes
	ignore skinning

node list checksum
super-high detail cutoff
high detail cutoff
medium detail cutoff
low detail cutoff
super-low cutoff
super-high detail node count
high detail node count
medium detail node count
low detail node count
super-low detail node count
base map u-scale
base map v-scale

<h1>markers</h1

	name
	magic identifier
	
	<h1>instances</h1>
	
		region index
		permutation index
		node index
		translation
		rotation

<h1>nodes</h1>

	name
	next sibling node index
	first child node index
	parent node index
	default translation
	default rotation
	node distance from parent

<h1>regions</h1>

	name
	
	<h1>permutations</h1>
	
		name
		flags
			cannot be chosen randomly
		
		super low
		low
		medium
		high
		super high
		
		<h1>markers</h1>
		
			name
			node index
			rotation
			translation

<h1>geometries</h1>

	<h1>parts</h1>
	
		flags
			stripped (INTERNAL)
			ZONER
		
		shader index
		prev filthy part index
		next filthy part index
		centroid primary node
		centroid secondary node
		centroid primary weight
		centroid secondary weight
		centroid
		
		<h1>uncompressed vertices</h1>
		
			position
			normal
			binormal
			tangent
			texture coords
			node0 index
			node1 index
			node0 weight
			node1 weight
		
		<h1>compressed vertices</h1>
		
			position
			normal [11.11.10-bit]
			binormal [11.11.10-bit]
			tangent[11.11.10-bit]
			texture coordinate u[16-bit]
			texture coordinate v[16-bit]
			node0 index(x3)
			node1 index(x3)
			node0 weight[16-bit]
		
		<h1>trangles</h1>
		
			vertex0 index
			vertex1 index
			vertex2 index

<h1>shaders</h1>

	shader
	permutation

Personal tools
click logo to return home