; Nicole

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

[Constants]
global $active = 0
global persist $main = 0
global persist $low = 0
global $creditinfo = 0

[KeySwap]
condition = $active == 1
key = ctrl no_shift no_alt VK_RIGHT
back = ctrl no_shift no_alt VK_LEFT
type = cycle
$main = 0,1,2,3,4,5

[KeySwap2]
condition = $active == 1
Key = ctrl no_shift no_alt VK_DOWN
back = ctrl no_shift no_alt VK_UP
type = cycle
$low = 0,1,2,3,4,5,6,7

[Present]
post $active = 0
run = CommandListCreditInfo

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

[TextureOverrideNicoleHairPosition]
hash = 199853eb
handling = skip
vb0 = ResourceNicoleHairPosition
vb2 = ResourceNicoleHairBlend
draw = 11766,0
$active = 1

[TextureOverrideNicoleHairTexcoord]
hash = 06e4fd79
vb1 = ResourceNicoleHairTexcoord

[TextureOverrideNicoleHairVertexLimitRaise]
hash = f6344432
; override_vertex_count = 11766
; override_byte_stride = 92

[TextureOverrideNicoleBodyPosition]
hash = 89df5a07
handling = skip
vb0 = ResourceNicoleBodyPosition
vb2 = ResourceNicoleBodyBlend
draw = 64296,0
$active = 1

[TextureOverrideNicoleBodyTexcoord]
hash = 91c1b779
vb1 = ResourceNicoleBodyTexcoord

[TextureOverrideNicoleBodyVertexLimitRaise]
hash = 8cc1262b
; override_vertex_count = 288
; override_byte_stride = 92

[TextureOverrideNicoleBangBooPosition]
hash = 176bf3d7
handling = skip
vb0 = ResourceNicoleBangBooPosition
vb2 = ResourceNicoleBangBooBlend
draw = 632,0
$active = 1

[TextureOverrideNicoleBangBooTexcoord]
hash = 077c3500
vb1 = ResourceNicoleBangBooTexcoord

[TextureOverrideNicoleBangBooVertexLimitRaise]
hash = bb7fffe9
; override_vertex_count = 632
; override_byte_stride = 92

[TextureOverrideNicoleBooBangPosition]
hash = ebfec137
handling = skip
vb0 = ResourceNicoleBooBangPosition
vb2 = ResourceNicoleBooBangBlend
draw = 917,0
$active = 1

[TextureOverrideNicoleBooBangTexcoord]
hash = 0100d0a6
vb1 = ResourceNicoleBooBangTexcoord

[TextureOverrideNicoleBooBangVertexLimitRaise]
hash = f615e813
; override_vertex_count = 917
; override_byte_stride = 92

[TextureOverrideNicoleHairIB]
hash = 6847bbbd
handling = skip

[TextureOverrideNicoleHair]
hash = 6847bbbd
match_first_index = 0
run = CommandListSkinTexture
ib = ResourceNicoleHairIB
; NicoleHair
	; NicoleHair (4658)
	drawindexed = 21543, 21543, 0

	; ShortsH (2450)
	if $low == 0
		drawindexed = 9948, 43086, 0
	else if $low == 1
		drawindexed = 9948, 43086, 0
	else if $low == 2
	else if $low == 3
	else if $low == 4
	else if $low == 5
	else if $low == 6
	else if $low == 7
	endif


[TextureOverrideNicoleHairDiffuse]
hash = 6d3868f9
this = ResourceNicoleHairDiffuse

[TextureOverrideNicole.HairA.Diffuse.1024]
hash = 7a45adcd
this = ResourceNicoleHairDiffuse

[TextureOverrideNicoleHairLightMap]
hash = 1dfd9e16
this = ResourceNicoleHairLightMap

[TextureOverrideNicole.HairA.LightMap.1024]
hash = 9adc04ed
this = ResourceNicoleHairLightMap

[TextureOverrideNicoleBodyIB]
hash = 5a4c1ef3
handling = skip

[TextureOverrideNicoleBodyA]
hash = 5a4c1ef3
match_first_index = 0
run = CommandListSkinTexture
ib = ResourceNicoleBodyAIB
; NicoleBodyA
	; Arms (716)
	if $main == 0
	else if $main == 1
	else if $main == 2
	else if $main == 3
	else if $main == 4
		drawindexed = 3840, 65202, 0
	else if $main == 5
		drawindexed = 3840, 65202, 0
	endif

	; BodyLower (4363)
	if $low == 0
	else if $low == 1
		drawindexed = 23790, 69042, 0
	else if $low == 2
	else if $low == 3
		drawindexed = 23790, 69042, 0
	else if $low == 4
	else if $low == 5
		drawindexed = 23790, 69042, 0
	else if $low == 6
	else if $low == 7
		drawindexed = 23790, 69042, 0
	endif


	; BodyLowerTH (4363)
	if $low == 0
		drawindexed = 23790, 92832, 0
	else if $low == 1
	else if $low == 2
		drawindexed = 23790, 92832, 0
	else if $low == 3
	else if $low == 4
		drawindexed = 23790, 92832, 0
	else if $low == 5
	else if $low == 6
		drawindexed = 23790, 92832, 0
	else if $low == 7
	endif

	; BodyUpper (4920)
	if $main == 0
	else if $main == 1
		drawindexed = 27072, 116622, 0
	else if $main == 2
	else if $main == 3
		drawindexed = 27072, 116622, 0
	else if $main == 4
	else if $main == 5
		drawindexed = 27072, 116622, 0
	endif

	; BodyUpperB (4920)
	if $main == 0
		drawindexed = 27072, 143694, 0
	else if $main == 1
	else if $main == 2
		drawindexed = 27072, 143694, 0
	else if $main == 3
	else if $main == 4
		drawindexed = 27072, 143694, 0
	else if $main == 5
	endif

	; Choker? (646)
	if $main == 0
		drawindexed = 2988, 170766, 0
	else if $main == 1
		drawindexed = 2988, 170766, 0
	else if $main == 2
		drawindexed = 2988, 170766, 0
	else if $main == 3
		drawindexed = 2988, 170766, 0
	else if $main == 4
	else if $main == 5
	endif

	; Gloves (2486)
	if $main == 0
		drawindexed = 13176, 173754, 0
	else if $main == 1
		drawindexed = 13176, 173754, 0
	else if $main == 2
		drawindexed = 13176, 173754, 0
	else if $main == 3
		drawindexed = 13176, 173754, 0
	else if $main == 4
	else if $main == 5
	endif

	; Jacket (1493)
	if $main == 0
		drawindexed = 6426, 186930, 0
	else if $main == 1
		drawindexed = 6426, 186930, 0
	else if $main == 2
	else if $main == 3
	else if $main == 4
	else if $main == 5
	endif

	; Leg (858)
	if $low == 0
	else if $low == 1
		drawindexed = 4536, 193356, 0
	else if $low == 2
	else if $low == 3
		drawindexed = 4536, 193356, 0
	else if $low == 4
	else if $low == 5
		drawindexed = 4536, 193356, 0
	else if $low == 6
	else if $low == 7
		drawindexed = 4536, 193356, 0
	endif


	; NicoleBodyA (14258)
	drawindexed = 65202, 197892, 0
	; Plane (34)
	drawindexed = 96, 263094, 0

	; Shorts (3755)
	if $low == 0
		drawindexed = 16140, 263190, 0
	else if $low == 1
		drawindexed = 16140, 263190, 0
	else if $low == 2
	else if $low == 3
	else if $low == 4
	else if $low == 5
	else if $low == 6
	else if $low == 7
	endif


	; Socks (1957)
	if $low == 0
		drawindexed = 10758, 279330, 0
	else if $low == 1
	else if $low == 2
		drawindexed = 10758, 279330, 0
	else if $low == 3
	else if $low == 4
		drawindexed = 10758, 279330, 0
	else if $low == 5
	else if $low == 6
		drawindexed = 10758, 279330, 0
	else if $low == 7
	endif


	; Straps (2729)
	if $low == 0
		drawindexed = 6228, 290088, 0
	else if $low == 1
		drawindexed = 6228, 290088, 0
	else if $low == 2
		drawindexed = 6228, 290088, 0
	else if $low == 3
		drawindexed = 6228, 290088, 0
	else if $low == 4
	else if $low == 5
	else if $low == 6
	else if $low == 7
	endif


	; Thong (650)
	if $low == 0
		drawindexed = 2592, 296316, 0
	else if $low == 1
		drawindexed = 2592, 296316, 0
	else if $low == 2
		drawindexed = 2592, 296316, 0
	else if $low == 3
		drawindexed = 2592, 296316, 0
	else if $low == 4
		drawindexed = 2592, 296316, 0
	else if $low == 5
		drawindexed = 2592, 296316, 0
	else if $low == 6
	else if $low == 7
	endif

	; Top (1602)
	if $main == 0
		drawindexed = 8592, 298908, 0
	else if $main == 1
	else if $main == 2
		drawindexed = 8592, 298908, 0
	else if $main == 3
	else if $main == 4
		drawindexed = 8592, 298908, 0
	else if $main == 5
	endif


[TextureOverrideNicoleBodyADiffuse]
hash = f86ffe2c
this = ResourceNicoleBodyADiffuse

[TextureOverrideNicole.BodyA.Diffuse.1024]
hash = 9ee9b402
this = ResourceNicoleBodyADiffuse

[TextureOverrideNicoleBodyALightMap]
hash = 80855e0f
this = ResourceNicoleBodyALightMap

[TextureOverrideNicole.BodyA.LightMap.1024]
hash = 2b5aa784
this = ResourceNicoleBodyALightMap

[TextureOverrideNicoleBodyAMaterialMap]
hash = 95cabef3
this = ResourceNicoleBodyAMaterialMap

[TextureOverrideNicole.BodyA.MaterialMap.1024]
hash = bb33129d
this = ResourceNicoleBodyAMaterialMap

[TextureOverrideNicoleBodyB]
hash = 5a4c1ef3
match_first_index = 46683
run = CommandListSkinTexture
ib = ResourceNicoleBodyBIB
; NicoleBodyB (288)
if $main == 0
	drawindexed = 318, 0, 0
else if $main == 1
	drawindexed = 318, 0, 0
else if $main == 2
	drawindexed = 318, 0, 0
else if $main == 3
	drawindexed = 318, 0, 0
else if $main == 4
else if $main == 5
endif


[TextureOverrideNicoleFaceHeadIB]
hash = 7435fc0e
run = CommandListSkinTexture

[TextureOverrideNicoleFaceHeadDiffuse]
hash = d1e84a34
this = ResourceNicoleFaceHeadDiffuse

[TextureOverrideNicole.HeadA.Diffuse.1024]
hash = 6abd3dd3
this = ResourceNicoleFaceHeadDiffuse


[TextureOverrideNicoleBangBooIB]
hash = 40e64ae2
handling = skip
if $low == 0
	drawindexed = auto
else if $low == 1
	drawindexed = auto
else if $low == 2
	drawindexed = auto
else if $low == 3
	drawindexed = auto
else if $low == 4
else if $low == 5
else if $low == 6
else if $low == 7
endif


[TextureOverrideNicoleBangBoo]
hash = 40e64ae2
match_first_index = 0
run = CommandListSkinTexture
ib = ResourceNicoleBangBooIB

[TextureOverrideNicoleBooBangIB]
hash = 69d6cab3
handling = skip
if $low == 0
	drawindexed = auto
else if $low == 1
	drawindexed = auto
else if $low == 2
	drawindexed = auto
else if $low == 3
	drawindexed = auto
else if $low == 4
else if $low == 5
else if $low == 6
else if $low == 7
endif

[TextureOverrideNicoleBooBang]
hash = 69d6cab3
match_first_index = 0
run = CommandListSkinTexture
ib = ResourceNicoleBooBangIB

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

[CommandListCreditInfo]
if $creditinfo == 0 && $active == 1
    pre Resource\ShaderFixes\help.ini\Notification = ResourceCreditInfo
    pre run = CustomShader\ShaderFixes\help.ini\FormatText
    pre $\ShaderFixes\help.ini\notification_timeout = time + 5.0
    $creditinfo = 1
endif

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

[ResourceNicoleHairPosition]
type = Buffer
stride = 40
filename = NicoleHairPosition.buf

[ResourceNicoleHairBlend]
type = Buffer
stride = 32
filename = NicoleHairBlend.buf

[ResourceNicoleHairTexcoord]
type = Buffer
stride = 20
filename = NicoleHairTexcoord.buf

[ResourceNicoleBodyPosition]
type = Buffer
stride = 40
filename = NicoleBodyPosition.buf

[ResourceNicoleBodyBlend]
type = Buffer
stride = 32
filename = NicoleBodyBlend.buf

[ResourceNicoleBodyTexcoord]
type = Buffer
stride = 20
filename = NicoleBodyTexcoord.buf

[ResourceNicoleBangBooPosition]
type = Buffer
stride = 40
filename = NicoleBangBooPosition.buf

[ResourceNicoleBangBooBlend]
type = Buffer
stride = 32
filename = NicoleBangBooBlend.buf

[ResourceNicoleBangBooTexcoord]
type = Buffer
stride = 20
filename = NicoleBangBooTexcoord.buf

[ResourceNicoleBooBangPosition]
type = Buffer
stride = 40
filename = NicoleBooBangPosition.buf

[ResourceNicoleBooBangBlend]
type = Buffer
stride = 32
filename = NicoleBooBangBlend.buf

[ResourceNicoleBooBangTexcoord]
type = Buffer
stride = 20
filename = NicoleBooBangTexcoord.buf

[ResourceNicoleHairIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = NicoleHair.ib

[ResourceNicoleBodyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = NicoleBodyA.ib

[ResourceNicoleBodyBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = NicoleBodyB.ib

[ResourceNicoleBangBooIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = NicoleBangBoo.ib

[ResourceNicoleBooBangIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = NicoleBooBang.ib

[ResourceNicoleHairDiffuse]
filename = NicoleHairDiffuse.dds

[ResourceNicoleHairLightMap]
filename = NicoleHairLightMap.dds

[ResourceNicoleBodyADiffuse]
filename = NicoleBodyADiffuse.dds

[ResourceNicoleBodyALightMap]
filename = NicoleBodyALightMap.dds

[ResourceNicoleBodyAMaterialMap]
filename = NicoleBodyAMaterialMap.dds

[ResourceNicoleFaceHeadDiffuse]
filename = NicoleFaceHeadDiffuse.dds

[ResourceCreditInfo]
type = Buffer
data = "Created by Hazeker"

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