; Blaze

; Constants -------------------------

[Constants]
global persist $collar = 1
global persist $dress = 2
global persist $dresslength = 1
global $active

[KeySwapcollar]
key = g
condition = $active == 1
type = cycle
$collar = 0,1

[KeySwapdress]
key = h
condition = $active == 1
type = cycle
$dress = 0,1,2,3

[KeySwapdresslength]
key = y
condition = $active == 1
type = cycle
$dresslength = 0,1,2

[Present]
post $active = 0

; Overrides -------------------------

[TextureOverrideBlazebodyBlend]
hash = bf57585a
handling = skip
vb2 = ResourceBlazebodyBlend
if DRAW_TYPE == 1
	vb0 = ResourceBlazebodyPosition
	draw = 25632, 0
endif
$active = 1

[TextureOverrideBlazebodyTexcoord]
hash = 2e4018bc
vb1 = ResourceBlazebodyTexcoord

[TextureOverrideBlazebodyVertexLimitRaise]
hash = 39aa6fb1
override_vertex_count = 25632
override_byte_stride = 40

[TextureOverrideBlazedressBlend]
hash = 006d149d
handling = skip
vb2 = ResourceBlazedressBlend
if DRAW_TYPE == 1
	vb0 = ResourceBlazedressPosition
	draw = 11628, 0
endif

[TextureOverrideBlazedressTexcoord]
hash = d75a05f3
vb1 = ResourceBlazedressTexcoord

[TextureOverrideBlazedressVertexLimitRaise]
hash = 2e4b6c6a
override_vertex_count = 11628
override_byte_stride = 40

[TextureOverrideBlazebodyIB]
hash = a5102f2a
handling = skip

[TextureOverrideBlazebodyA]
hash = a5102f2a
match_first_index = 0
ib = ResourceBlazebodyAIB
Resource\ZZMI\Diffuse = ref ResourceBlazebodyADiffuse
Resource\ZZMI\NormalMap = ref ResourceBlazebodyANormalMap
Resource\ZZMI\LightMap = ref ResourceBlazebodyALightMap
Resource\ZZMI\MaterialMap = ref ResourceBlazebodyAMaterialMap
run = CommandList\ZZMI\SetTextures
drawindexed = 129105, 0, 0

[TextureOverrideBlazedressIB]
hash = 5195af70
handling = skip

[TextureOverrideBlazedressA]
hash = 5195af70
match_first_index = 0
ib = ResourceBlazedressAIB
drawindexed = 10752, 0, 0
if $collar == 1
	drawindexed = 4824, 12894, 0
endif
if $dress != 0 && $collar == 1
	drawindexed = 1488, 17718, 0
endif
if $dress != 0
	if $dresslength == 0
		drawindexed = 4170, 19206, 0
	elif $dresslength == 1
		drawindexed = 4170, 19206, 0
		drawindexed = 2532, 23376, 0
	elif $dresslength == 2
		drawindexed = 6702, 25908, 0
	endif
endif
if $dress == 2 || $dress == 3
	drawindexed = 9042, 32610, 0
endif
if $dress == 3
	drawindexed = 2142, 10752, 0
endif

[TextureOverrideBlaze-lowbodyBlend]
hash = f71ca11a
handling = skip
vb2 = ResourceBlaze-lowbodyBlend
if DRAW_TYPE == 1
	vb0 = ResourceBlaze-lowbodyPosition
	draw = 25632, 0
endif

[TextureOverrideBlaze-lowbodyTexcoord]
hash = 800f6cd4
vb1 = ResourceBlaze-lowbodyTexcoord

[TextureOverrideBlaze-lowbodyVertexLimitRaise]
hash = f40f6c50
override_vertex_count = 25632
override_byte_stride = 40

[TextureOverrideBlaze-lowdressBlend]
hash = 3095fd1a
handling = skip
vb2 = ResourceBlaze-lowdressBlend
if DRAW_TYPE == 1
	vb0 = ResourceBlaze-lowdressPosition
	draw = 11628, 0
endif

[TextureOverrideBlaze-lowdressTexcoord]
hash = 86cad039
vb1 = ResourceBlaze-lowdressTexcoord

[TextureOverrideBlaze-lowdressVertexLimitRaise]
hash = a3622fff
override_vertex_count = 11628
override_byte_stride = 40

[TextureOverrideBlaze-lowbodyIB]
hash = acc44279
handling = skip

[TextureOverrideBlaze-lowbodyA]
hash = acc44279
match_first_index = 0
ib = ResourceBlaze-lowbodyAIB
Resource\ZZMI\Diffuse = ref ResourceBlazebodyADiffuse
Resource\ZZMI\NormalMap = ref ResourceBlazebodyANormalMap
Resource\ZZMI\LightMap = ref ResourceBlazebodyALightMap
Resource\ZZMI\MaterialMap = ref ResourceBlazebodyAMaterialMap
run = CommandList\ZZMI\SetTextures
drawindexed = 129105, 0, 0

[TextureOverrideBlaze-lowdressIB]
hash = e1b0d341
handling = skip

[TextureOverrideBlaze-lowdressA]
hash = e1b0d341
match_first_index = 0
ib = ResourceBlaze-lowdressAIB
drawindexed = 10752, 0, 0
if $collar == 1
	drawindexed = 4824, 12894, 0
endif
if $dress != 0 && $collar == 1
	drawindexed = 1488, 17718, 0
endif
if $dress != 0
	if $dresslength == 0
		drawindexed = 4170, 19206, 0
	elif $dresslength == 1
		drawindexed = 4170, 19206, 0
		drawindexed = 2532, 23376, 0
	elif $dresslength == 2
		drawindexed = 6702, 25908, 0
	endif
endif
if $dress == 2 || $dress == 3
	drawindexed = 9042, 32610, 0
endif
if $dress == 3
	drawindexed = 2142, 10752, 0
endif

[TextureOverrideBlaze-low2bodyBlend]
hash = c617c8e2
handling = skip
vb2 = ResourceBlaze-low2bodyBlend
if DRAW_TYPE == 1
	vb0 = ResourceBlaze-low2bodyPosition
	draw = 25632, 0
endif

[TextureOverrideBlaze-low2bodyTexcoord]
hash = 59195175
vb1 = ResourceBlaze-low2bodyTexcoord

[TextureOverrideBlaze-low2bodyVertexLimitRaise]
hash = 673dffa0
override_vertex_count = 25632
override_byte_stride = 40

[TextureOverrideBlaze-low2dressBlend]
hash = eb3871ed
handling = skip
vb2 = ResourceBlaze-low2dressBlend
if DRAW_TYPE == 1
	vb0 = ResourceBlaze-low2dressPosition
	draw = 11628, 0
endif

[TextureOverrideBlaze-low2dressTexcoord]
hash = 1ff0f26c
vb1 = ResourceBlaze-low2dressTexcoord

[TextureOverrideBlaze-low2dressVertexLimitRaise]
hash = 690d2326
override_vertex_count = 11628
override_byte_stride = 40

[TextureOverrideBlaze-low2bodyIB]
hash = 12ce104d
handling = skip

[TextureOverrideBlaze-low2bodyA]
hash = 12ce104d
match_first_index = 0
ib = ResourceBlaze-low2bodyAIB
Resource\ZZMI\Diffuse = ref ResourceBlazebodyADiffuse
Resource\ZZMI\NormalMap = ref ResourceBlazebodyANormalMap
Resource\ZZMI\LightMap = ref ResourceBlazebodyALightMap
Resource\ZZMI\MaterialMap = ref ResourceBlazebodyAMaterialMap
run = CommandList\ZZMI\SetTextures
drawindexed = 129105, 0, 0

[TextureOverrideBlaze-low2dressIB]
hash = aa5e16d1
handling = skip

[TextureOverrideBlaze-low2dressA]
hash = aa5e16d1
match_first_index = 0
ib = ResourceBlaze-low2dressAIB
drawindexed = 10752, 0, 0
if $collar == 1
	drawindexed = 4824, 12894, 0
endif
if $dress != 0 && $collar == 1
	drawindexed = 1488, 17718, 0
endif
if $dress != 0
	if $dresslength == 0
		drawindexed = 4170, 19206, 0
	elif $dresslength == 1
		drawindexed = 4170, 19206, 0
		drawindexed = 2532, 23376, 0
	elif $dresslength == 2
		drawindexed = 6702, 25908, 0
	endif
endif
if $dress == 2 || $dress == 3
	drawindexed = 9042, 32610, 0
endif
if $dress == 3
	drawindexed = 2142, 10752, 0
endif

; CommandList -----------------------


; Resources -------------------------

[ResourceBlazebodyPosition]
type = Buffer
stride = 40
filename = BlazebodyPosition.buf

[ResourceBlazebodyBlend]
type = Buffer
stride = 32
filename = BlazebodyBlend.buf

[ResourceBlazebodyTexcoord]
type = Buffer
stride = 16
filename = BlazebodyTexcoord.buf

[ResourceBlazebodyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = BlazebodyA.ib

[ResourceBlazedressPosition]
type = Buffer
stride = 40
filename = BlazedressPosition.buf

[ResourceBlazedressBlend]
type = Buffer
stride = 32
filename = BlazedressBlend.buf

[ResourceBlazedressTexcoord]
type = Buffer
stride = 24
filename = BlazedressTexcoord.buf

[ResourceBlazedressAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = BlazedressA.ib

[ResourceBlaze-lowbodyPosition]
type = Buffer
stride = 40
filename = Blaze-lowbodyPosition.buf

[ResourceBlaze-lowbodyBlend]
type = Buffer
stride = 32
filename = Blaze-lowbodyBlend.buf

[ResourceBlaze-lowbodyTexcoord]
type = Buffer
stride = 16
filename = Blaze-lowbodyTexcoord.buf

[ResourceBlaze-lowbodyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = Blaze-lowbodyA.ib

[ResourceBlaze-lowdressPosition]
type = Buffer
stride = 40
filename = Blaze-lowdressPosition.buf

[ResourceBlaze-lowdressBlend]
type = Buffer
stride = 32
filename = Blaze-lowdressBlend.buf

[ResourceBlaze-lowdressTexcoord]
type = Buffer
stride = 16
filename = Blaze-lowdressTexcoord.buf

[ResourceBlaze-lowdressAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = Blaze-lowdressA.ib

[ResourceBlaze-low2bodyPosition]
type = Buffer
stride = 40
filename = Blaze-low2bodyPosition.buf

[ResourceBlaze-low2bodyBlend]
type = Buffer
stride = 32
filename = Blaze-low2bodyBlend.buf

[ResourceBlaze-low2bodyTexcoord]
type = Buffer
stride = 16
filename = Blaze-low2bodyTexcoord.buf

[ResourceBlaze-low2bodyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = Blaze-low2bodyA.ib

[ResourceBlaze-low2dressPosition]
type = Buffer
stride = 40
filename = Blaze-low2dressPosition.buf

[ResourceBlaze-low2dressBlend]
type = Buffer
stride = 32
filename = Blaze-low2dressBlend.buf

[ResourceBlaze-low2dressTexcoord]
type = Buffer
stride = 16
filename = Blaze-low2dressTexcoord.buf

[ResourceBlaze-low2dressAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = Blaze-low2dressA.ib

[ResourceBlazebodyADiffuse]
filename = BlazebodyADiffuse.dds

[ResourceBlazebodyANormalMap]
filename = BlazebodyANormalMap.dds

[ResourceBlazebodyALightMap]
filename = BlazebodyALightMap.dds

[ResourceBlazebodyAMaterialMap]
filename = BlazebodyAMaterialMap.dds


; .ini generated by XXMI (XX-Model-Importer) v1.6.3
; If you have any issues or find any bugs, please open a ticket at https://github.com/leotorrez/XXMI-Tools/issues
