Compare commits

..

2 Commits

Author SHA1 Message Date
e27c4d14b9
add ZB Menus 2025-01-09 11:51:53 +01:00
bc4b43d871
init 2025-01-09 11:51:52 +01:00
149 changed files with 61190 additions and 0 deletions

View File

@ -0,0 +1,34 @@
// Dumped from fastfile "iw4x_code_post_gfx_mp".
// In their original format the strings might have been separated in multiple files.
VERSION "1"
CONFIG "C:/trees/cod3/cod3/bin/StringEd.cfg"
FILENOTES ""
REFERENCE MENU_DESC_BUTTON_LAYOUT
LANG_ENGLISH "Change the button layout for the gamepad"
REFERENCE MENU_DESC_DRAWFPS
LANG_ENGLISH "Draw frames per second"
REFERENCE MENU_DESC_FPSLABELS
LANG_ENGLISH "Draw viewpos"
REFERENCE MENU_DESC_LOOK_SENSITIVITY_PRESET
LANG_ENGLISH "Choose different sensitivity presets"
REFERENCE MENU_DESC_MAXPACKETS
LANG_ENGLISH "Maximum number of packets sent per frame"
REFERENCE MENU_DESC_SNAPS
LANG_ENGLISH "Snapshot rate"
REFERENCE MENU_DESC_THUMBSTICK_LAYOUT
LANG_ENGLISH "Change the thumbstick layout for the gamepad"
REFERENCE MPUI_DESC_ENABLE_VOICE_CHAT
LANG_ENGLISH "Use voice communications"
REFERENCE MPUI_DESC_FRIENDNOTIFY
LANG_ENGLISH "Should you send status notifications to your friends?"
ENDMARKER

1
iw4x_code_post_gfx_mp Normal file
View File

@ -0,0 +1 @@
Built using the IW4x ZoneBuilder! 09-01-2025 10:42:02

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 34,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "disable",
"blendOpAlpha": "disabled",
"blendOpRgb": "disabled",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "zero",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "one",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "default",
"name": "colorMap",
"samplerState": {
"clampU": false,
"clampV": false,
"clampW": false,
"filter": "nearest",
"mipmap": "disabled"
},
"semantic": "colorMap"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "grain_overlay",
"textureTable": [
{
"image": "ac130_overlay_grain",
"name": "colorMap",
"samplerState": {
"clampU": false,
"clampV": false,
"clampW": false,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "bg_blur_front",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "gasmask_overlay",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

119
materials/black.json Normal file
View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "$black",
"name": "colorMap",
"samplerState": {
"clampU": false,
"clampV": false,
"clampW": false,
"filter": "nearest",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "cardicon_headshot",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "cardicon_locked",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "cardtitle_248x48",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "compass_map_default",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "compassping_player",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "dropshadow_b",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "dropshadow_bl",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "dropshadow_br",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "dropshadow_l",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "dropshadow_r",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "dropshadow_t",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "dropshadow_tl",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "dropshadow_tr",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

119
materials/gradient.json Normal file
View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "gradient",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "aniso2x",
"mipmap": "nearest"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "gradient_bottom",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "aniso2x",
"mipmap": "nearest"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "gradient_center",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "aniso2x",
"mipmap": "nearest"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "gradient_fadein",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "aniso2x",
"mipmap": "nearest"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "gradient_fadein_fadebottom",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "aniso2x",
"mipmap": "nearest"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "gradient_slow_fadein",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "aniso2x",
"mipmap": "nearest"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "hud_dpad_arrow_left",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "hud_dpad_arrow_right",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "hud_dpad_xbox360",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "line_horizontal",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "aniso2x",
"mipmap": "nearest"
},
"semantic": "2d"
}
]
}

119
materials/logo_cod2.json Normal file
View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "logo_cod2",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "aniso2x",
"mipmap": "nearest"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "mw2_selection_bar",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "mw2_selection_bar_144",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "mw2pc_setting_selection_bar",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "disable",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "one",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "invDestColor",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "minimap_scanlines",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "mockup_bgglow",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 34,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "disable",
"blendOpAlpha": "disabled",
"blendOpRgb": "disabled",
"colorWriteAlpha": true,
"colorWriteRgb": false,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "zero",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "one",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "$white",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "menu_background",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "menu_cloud_overlay",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "menu_sp_image",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 34,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "disable",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": false,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "one",
"dstBlendRgb": "invDestAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "destAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "menu_cloud_overlay",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 34,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "disable",
"blendOpAlpha": "disabled",
"blendOpRgb": "min",
"colorWriteAlpha": true,
"colorWriteRgb": false,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "one",
"dstBlendRgb": "one",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "one",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "menu_cloud_overlay",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 34,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "add",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "one",
"dstBlendRgb": "one",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "srcAlpha",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "objective_line",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "playercard_bg",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "playercard_short_bg",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "mw2_popup_selection_bar",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "mw2_popup_selection_bar_mirrored",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "mw2_popup_selection_bar_short",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 34,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "disable",
"blendOpAlpha": "disabled",
"blendOpRgb": "disabled",
"colorWriteAlpha": true,
"colorWriteRgb": false,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "zero",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "one",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "scanlines",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "server_hardware_header",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

119
materials/shadow_inset.json Normal file
View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "shadow_inset",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "aniso2x",
"mipmap": "nearest"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "small_box_lightfx",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "specialty_locked",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "specialty_new",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

131
materials/splatter_alt.json Normal file
View File

@ -0,0 +1,131 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 34,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "disable",
"blendOpAlpha": "add",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "one",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "one",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "splatter_alt",
"textureTable": [
{
"image": "blood_defocus_color",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "colorMap"
},
{
"image": "blood_defocus_mask",
"name": "colorMap2",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "colorMap"
}
]
}

119
materials/stencil_base.json Normal file
View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 34,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "disable",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": false,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "one",
"dstBlendRgb": "zero",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "zero",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "$black",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

119
materials/stencil_fill.json Normal file
View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 34,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "disable",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": false,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "destAlpha",
"dstBlendRgb": "invDestAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "zero",
"srcBlendRgb": "destAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "$white",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

119
materials/talkingicon.json Normal file
View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "voice_on_#0",
"name": "colorMap",
"samplerState": {
"clampU": false,
"clampV": false,
"clampW": false,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

119
materials/white.json Normal file
View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 47,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "gt0",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "invSrcAlpha",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "srcAlpha",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 3,
"techniqueSet": "2d",
"textureTable": [
{
"image": "$white",
"name": "colorMap",
"samplerState": {
"clampU": false,
"clampV": false,
"clampW": false,
"filter": "nearest",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

View File

@ -0,0 +1,119 @@
{
"cameraRegion": "none",
"constantTable": [],
"info": {
"drawSurf": {
"customIndex": 0,
"hasGfxEntIndex": 0,
"materialSortedIndex": 0,
"objectId": 0,
"prepass": 0,
"primarySortKey": 0,
"reflectionProbeIndex": 0,
"sceneLightIndex": 0,
"surfType": 0,
"useHeroLighting": 0
},
"gameFlags": 0,
"hashIndex": 0,
"sortKey": 34,
"surfaceTypeBits": "<none>",
"textureAtlasColumnCount": 1,
"textureAtlasRowCount": 1
},
"stateBitsEntry": [
255,
255,
255,
255,
0,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255,
255
],
"stateBitsTable": [
{
"alphaTest": "disable",
"blendOpAlpha": "disabled",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": false,
"cullFace": "none",
"depthTest": "disable",
"depthWrite": false,
"dstBlendAlpha": "one",
"dstBlendRgb": "zero",
"gammaWrite": false,
"polygonOffset": "0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "zero",
"stencilBackEnabled": false,
"stencilBackFail": "keep",
"stencilBackFunc": "always",
"stencilBackPass": "keep",
"stencilBackZFail": "keep",
"stencilFrontEnabled": false,
"stencilFrontFail": "keep",
"stencilFrontFunc": "always",
"stencilFrontPass": "keep",
"stencilFrontZFail": "keep"
}
],
"stateFlags": 2,
"techniqueSet": "2d",
"textureTable": [
{
"image": "$black",
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipmap": "disabled"
},
"semantic": "2d"
}
]
}

1883
mp/playerdata.def Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,17 @@
{
stateMap "passthrough"; // TODO
vertexShader 3.0 "grain_overlay.hlsl"
{
worldViewProjectionMatrix = constant.transposeWorldViewProjectionMatrix;
}
pixelShader 3.0 "grain_overlay.hlsl"
{
colorMapSampler = material.colorMap;
}
vertex.position = code.position;
vertex.color[0] = code.color;
vertex.texcoord[0] = code.texcoord[0];
}

View File

@ -0,0 +1,18 @@
{
stateMap "passthrough"; // TODO
vertexShader 3.0 "splatter_alt.hlsl"
{
worldViewProjectionMatrix = constant.transposeWorldViewProjectionMatrix;
}
pixelShader 3.0 "splatter_alt.hlsl"
{
colorMapSampler = material.colorMap;
colorMapSampler1 = material.colorMap2;
}
vertex.position = code.position;
vertex.color[0] = code.color;
vertex.texcoord[0] = code.texcoord[0];
}

View File

@ -0,0 +1,18 @@
{
stateMap "passthrough"; // TODO
vertexShader 3.0 "trivial_vertcol_simple.hlsl"
{
worldMatrix = constant.transposeWorldMatrix;
viewProjectionMatrix = constant.transposeViewProjectionMatrix;
}
pixelShader 3.0 "trivial_vertcol_simple.hlsl"
{
colorMapSampler = material.colorMap;
}
vertex.position = code.position;
vertex.color[0] = code.color;
vertex.texcoord[0] = code.texcoord[0];
}

2
techsets/2d.techset Normal file
View File

@ -0,0 +1,2 @@
"unlit":
trivial_vertcol_simple2d;

View File

@ -0,0 +1,2 @@
"unlit":
grain_overlay;

View File

@ -0,0 +1,2 @@
"unlit":
splatter_alt;

293
ui_mp/auconfirm.menu Normal file
View File

@ -0,0 +1,293 @@
{
menuDef
{
name "auconfirm"
rect -150 -84 300 84 2 2
style 1
backcolor 1 1 1 1
focuscolor 1 1 1 1
background "white"
popup
legacySplitScreenScale
onOpen
{
setLocalVarInt ui_centerPopup (1);
exec "setfromdvar ui_name name";
setfocus nameEntry;
}
onClose
{
setLocalVarInt ui_centerPopup (0);
}
onESC
{
close self;
}
itemDef
{
rect -1004 -564 1708 960 2 2
style 1
decoration
visible 1
textscale 0.55
backcolor 0 0 0 0.35
background "white"
}
itemDef
{
rect -1004 -564 1708 960 2 2
style 1
decoration
visible 1
textscale 0.55
backcolor 1 1 1 1
background "xpbar_stencilbase"
}
itemDef
{
rect 0 0 300 84 2 2
style 1
decoration
visible 1
textscale 0.55
backcolor 0.5 0.5 0.5 1
background "white"
}
itemDef
{
rect -150 -44 1708 480 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect -150 -44 -1708 -480 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect 0 0 300 0 2 2
style 3
decoration
visible 1
textscale 0.55
background "mockup_popup_bg_stencilfill"
exp rect h (24 + 3 * 20);
}
itemDef
{
rect -150 -44 -1708 -480 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil"
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect -150 -44 -1708 -480 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll"
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect -150 -44 300 0 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0
background "small_box_lightfx"
exp rect h (24 + 3 * 20);
}
itemDef
{
rect -64 -64 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_tl"
}
itemDef
{
rect 0 -64 300 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_t"
}
itemDef
{
rect 300 -64 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_tr"
}
itemDef
{
rect 300 0 64 0 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_r"
exp rect h (24 + 3 * 20);
}
itemDef
{
rect 300 0 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_br"
exp rect y (0 - 0) + ((24 + 3 * 20));
}
itemDef
{
rect 0 0 300 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_b"
exp rect y (0 - 0) + ((24 + 3 * 20));
}
itemDef
{
rect -64 0 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_bl"
exp rect y (0 - 0) + ((24 + 3 * 20));
}
itemDef
{
rect -64 0 64 0 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_l"
exp rect h (24 + 3 * 20);
}
itemDef
{
text "@MENU_DOWNLOAD_AUTOUPDATE_PATCH"
rect 0 0 300 24 2 2
style 1
decoration
visible 1
textalign 5
textalignx -4
textscale 0.375
textfont 9
background "gradient_fadein"
}
itemDef
{
name "yes"
text "@MENU_YES"
group "mw2_popup_button"
rect 6 44 292 20 2 2
style 1
type 1
visible when(1);
textalign 6
textalignx -24
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "popup_button_selection_bar"
onFocus
{
play mouse_over;
if (dvarstring(gameMode) != "mp")
{
setItemColor mw2_popup_button backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton (1);
}
leaveFocus
{
setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton (0);
}
action
{
play mouse_click;
uiScript getAutoUpdate;
}
}
itemDef
{
name "no"
text "@MENU_NO"
group "mw2_popup_button"
rect 6 64 292 20 2 2
style 1
type 1
visible when(1);
textalign 6
textalignx -24
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "popup_button_selection_bar"
onFocus
{
play mouse_over;
if (dvarstring(gameMode) != "mp")
{
setItemColor mw2_popup_button backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton (1);
}
leaveFocus
{
setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton (0);
}
action
{
play mouse_click;
exec "setfromdvar name ui_name";
close self;
}
}
}
}

1412
ui_mp/cac_popup.menu Normal file

File diff suppressed because it is too large Load Diff

164
ui_mp/changelog.menu Normal file
View File

@ -0,0 +1,164 @@
{
menuDef
{
name "changelog"
fullscreen 1
rect 0 0 640 480 0 0
focuscolor 1 1 1 1
soundLoop "music_mainmenu_mp"
fadeClamp 1
fadeCycle 1
fadeAmount 0.1
onESC
{
close self;
}
itemDef
{
rect -427 -240 854 480 2 2
style 3
decoration
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
textscale 0.55
forecolor 0 0 0 0.4
background "white"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
background "mw2_main_background"
}
itemDef
{
rect 0 0 1708 480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect 0 0 -1708 -480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.523696
background "mockup_bg_glow"
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.476023
background "mockup_bg_glow"
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
}
itemDef
{
text "@MENU_CHANGELOG"
rect 0 0 640 28 2 1
decoration
visible 1
textalignx 5
textaligny -10
textscale 0.45
textfont 9
exp rect x 0 - (640 / 2);
}
itemDef
{
rect 0 0 640 400 2 1
style 3
decoration
visible 1
textscale 0.55
forecolor 0.3 0.3 0.3 0.5
background "white"
exp rect x 0 - (640 / 2);
}
itemDef
{
rect 0 0 640 400 2 1
style 1
visible 1
textscale 0.55
backcolor 0 0 0 0.375
background "white"
exp rect x 0 - (640 / 2);
}
itemDef
{
rect 0 0 640 397 2 1
style 1
type 6
visible 1
textalignx 6
textaligny 6
textscale 0.375
textfont 7
exp rect x 0 - (640 / 2);
notselectable
elementwidth 640
elementheight 12
feeder 62
columns 1
0 640 100 0
}
itemDef
{
name "back"
text "@PLATFORM_BACK_CAPS"
group "mw2_button"
rect -64 -4 336 20 1 3
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
close self;
}
}
}
}

230
ui_mp/connect.menu Normal file
View File

@ -0,0 +1,230 @@
{
menuDef
{
name "connect"
rect 0 0 640 480 0 0
style 1
focuscolor 1 1 1 1
onOpen
{
exec "selectStringTableEntryInDvar mp/didyouknow.csv 0 didyouknow";
}
itemDef
{
rect -426.667 -240 853.333 480 2 2
style 3
decoration
visible 1
textscale 0.55
background "$levelbriefing"
}
itemDef
{
rect -426.667 -236 853.333 -400 2 1
style 3
decoration
visible 1
textscale 0.55
background "gradient_bottom"
}
itemDef
{
rect -426.667 -163 853.333 200 2 3
style 3
decoration
visible 1
textscale 0.55
background "gradient_bottom"
}
itemDef
{
rect 0 0 0 26 3 1
decoration
visible 1
textalign 6
textalignx -8
textscale 0.5833
textstyle 3
textfont 9
forecolor 0.051 0.741 0 1
exp text gametypename();
}
itemDef
{
rect 0 26 0 26 3 1
decoration
visible 1
textalign 6
textalignx -8
textscale 0.5833
textstyle 3
textfont 9
exp text getmapname();
}
itemDef
{
rect 0 56 0 26 3 1
decoration
visible 1
textalign 6
textalignx -8
textscale 0.275
textstyle 3
textfont 9
exp text connectioninfo();
}
itemDef
{
rect 0 56 0 26 3 1
decoration
visible when(connectioninfo() != "" && ((sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.25));
textalign 4
textalignx -6
textscale 0.275
textstyle 3
textfont 9
exp text "";
}
itemDef
{
rect 0 56 0 26 3 1
decoration
visible when(connectioninfo() != "" && ((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.25 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.5));
textalign 4
textalignx -6
textscale 0.275
textstyle 3
textfont 9
exp text ".";
}
itemDef
{
rect 0 56 0 26 3 1
decoration
visible when(connectioninfo() != "" && ((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.5 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.75));
textalign 4
textalignx -6
textscale 0.275
textstyle 3
textfont 9
exp text "..";
}
itemDef
{
rect 0 56 0 26 3 1
decoration
visible when(connectioninfo() != "" && ((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.75));
textalign 4
textalignx -6
textscale 0.275
textstyle 3
textfont 9
exp text "...";
}
itemDef
{
rect 0 86 0 26 3 1
decoration
visible when(dvarstring(fs_game) != "");
textalign 6
textalignx -8
textscale 0.375
textstyle 3
textfont 9
exp text dvarstring(fs_game);
}
itemDef
{
rect -252 -60 504 3 2 3
style 1
decoration
visible when(!dvarbool(widescreen));
textscale 0.55
backcolor 1 1 1 0.2
}
itemDef
{
name "loadbar"
rect -252 -60 504 3 2 3
style 6
decoration
visible when(!dvarbool(widescreen));
textscale 0.55
forecolor 1 1 1 0.5
background "white"
}
itemDef
{
rect 20 -60 410 2 1 3
decoration
autowrapped
visible when(!dvarbool(widescreen));
textalign 4
textaligny 4
textscale 0.275
textstyle 3
textfont 9
dvar "didyouknow"
}
itemDef
{
text "@MENU_INTEL"
rect -20 -60 0 2 1 3
decoration
visible when(!dvarbool(widescreen));
textalign 4
textalignx 40
textaligny -26
textscale 0.5833
textstyle 3
textfont 9
}
itemDef
{
rect -320 -60 640 3 2 3
style 1
decoration
visible when(dvarbool(widescreen));
textscale 0.55
backcolor 1 1 1 0.2
}
itemDef
{
name "loadbar"
rect -320 -60 640 3 2 3
style 6
decoration
visible when(dvarbool(widescreen));
textscale 0.55
forecolor 1 1 1 0.5
background "white"
}
itemDef
{
rect -36 -56 484 2 1 3
decoration
autowrapped
visible when(dvarbool(widescreen));
textalign 4
textalignx 80
textaligny 4
textscale 0.275
textstyle 3
textfont 9
dvar "didyouknow"
}
itemDef
{
text "@MENU_INTEL"
rect -36 -60 0 2 1 3
decoration
visible when(dvarbool(widescreen));
textalign 4
textalignx 80
textaligny -26
textscale 0.5833
textstyle 3
textfont 9
}
}
}

453
ui_mp/controls_multi.menu Normal file
View File

@ -0,0 +1,453 @@
{
menuDef
{
name "controls_multi"
rect 0 0 640 480 0 0
focuscolor 1 1 1 1
blurWorld 7
onOpen
{
close main_controls;
close main_options;
close options_control_defaults;
close options_graphics;
close options_graphics_defaults;
close options_graphics_texture;
close options_multi;
close options_voice;
close pc_options_actions;
close pc_options_advanced_video;
close pc_options_audio;
close pc_options_controls;
close pc_options_game;
close pc_options_look;
close pc_options_movement;
close pc_options_multi;
close pc_options_video;
close pc_options_voice;
setLocalVarBool ui_hideBack (1);
setLocalVarBool ui_hint_display 0;
}
onClose
{
setLocalVarBool ui_hideBack (0);
open pc_options_controls;
}
onESC
{
close self;
}
itemDef
{
rect -427 -240 854 480 2 2
style 3
decoration
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
textscale 0.55
forecolor 0 0 0 0.4
background "white"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
background "mw2_main_background"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
background "mw2_main_background"
}
itemDef
{
rect 0 0 1708 480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect 0 0 -1708 -480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect -107 0 854 480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
background "animbg_blur_front"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.523696
background "mockup_bg_glow"
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.476023
background "mockup_bg_glow"
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
}
itemDef
{
rect 0 0 640 480 4 0
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.1
background "gradient_fadein_fadebottom"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
visible when(dvarint(cl_ingame) == 0);
textscale 0.55
forecolor 0.25 0.25 0.25 0.75
background "gradient_fadein"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
visible when(dvarint(cl_ingame) == 0);
textscale 0.55
forecolor 0.25 0.25 0.25 0.75
background "gradient_fadein"
}
itemDef
{
rect 0 0 640 480 4 0
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.1
background "gradient_fadein_fadebottom"
}
itemDef
{
text "@MPUI_MOD"
rect -40 0 300 20 0 1
decoration
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
textaligny -4
textscale 0.2
forecolor 1 1 1 0.8
}
itemDef
{
name "mod"
rect -40 0 300 20 0 1
decoration
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
textalignx 16
textaligny -4
textscale 0.2
forecolor 1 1 1 0.8
exp text dvarstring(fs_game);
}
itemDef
{
text "@MENU_CHAT"
rect 232 0 344 28 1 1
decoration
visible 1
textalign 5
textscale 0.5
textfont 9
}
itemDef
{
rect 232 28 336 20 1 1
style 1
type 14
visible 1
textalign 4
textalignx 170
textscale 0.375
textfont 3
background "menu_setting_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
show keyBindStatus;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
hide keyBindStatus;
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
}
dvar "chatmodepublic"
}
itemDef
{
text "@MENU_TEXT_CHAT"
rect 232 28 336 20 1 1
decoration
visible 1
textalign 6
textalignx -180
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
}
itemDef
{
rect 232 48 336 20 1 1
style 1
type 14
visible 1
textalign 4
textalignx 170
textscale 0.375
textfont 3
background "menu_setting_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
show keyBindStatus;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
hide keyBindStatus;
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
}
dvar "chatmodeteam"
}
itemDef
{
text "@MENU_TEXT_TEAM_CHAT"
rect 232 48 336 20 1 1
decoration
visible 1
textalign 6
textalignx -180
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
}
itemDef
{
rect 232 68 336 20 1 1
style 1
type 14
visible 1
textalign 4
textalignx 170
textscale 0.375
textfont 3
background "menu_setting_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
show keyBindStatus;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
hide keyBindStatus;
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
}
dvar "mp_QuickMessage"
}
itemDef
{
text "@MENU_QUICK_CHAT"
rect 232 68 336 20 1 1
decoration
visible 1
textalign 6
textalignx -180
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
}
itemDef
{
rect 232 108 336 20 1 1
style 1
type 14
visible 1
textalign 4
textalignx 170
textscale 0.375
textfont 3
background "menu_setting_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
show keyBindStatus;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
hide keyBindStatus;
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
}
dvar "vote yes"
}
itemDef
{
text "@MENU_VOTE_YES"
rect 232 108 336 20 1 1
decoration
visible 1
textalign 6
textalignx -180
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
}
itemDef
{
rect 232 128 336 20 1 1
style 1
type 14
visible 1
textalign 4
textalignx 170
textscale 0.375
textfont 3
background "menu_setting_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
show keyBindStatus;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
hide keyBindStatus;
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
}
dvar "vote no"
}
itemDef
{
text "@MENU_VOTE_NO"
rect 232 128 336 20 1 1
decoration
visible 1
textalign 6
textalignx -180
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
}
itemDef
{
name "keyBindStatus"
rect 10 20 500 240 2 3
style 1
decoration
autowrapped
type 8
ownerdraw 250
textalign 1
textscale 0.375
forecolor 0.65 0.65 0.65 1
}
itemDef
{
name "back"
text "@PLATFORM_BACK_CAPS"
group "mw2_button"
rect -64 -4 336 20 1 3
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
close self;
}
}
}
}

View File

@ -0,0 +1,314 @@
{
menuDef
{
name "createfavorite_popmenu"
rect -150 -84 300 116 2 2
style 1
backcolor 1 1 1 1
focuscolor 1 1 1 1
background "white"
popup
legacySplitScreenScale
onOpen
{
setLocalVarInt ui_centerPopup (1);
setfocus passwordEntry;
}
onClose
{
setLocalVarInt ui_centerPopup (0);
}
onESC
{
close self;
}
itemDef
{
rect -1004 -564 1708 992 2 2
style 1
decoration
visible 1
textscale 0.55
backcolor 0 0 0 0.35
background "white"
}
itemDef
{
rect -1004 -564 1708 992 2 2
style 1
decoration
visible 1
textscale 0.55
backcolor 1 1 1 1
background "xpbar_stencilbase"
}
itemDef
{
rect 0 0 300 116 2 2
style 1
decoration
visible 1
textscale 0.55
backcolor 0.5 0.5 0.5 1
background "white"
}
itemDef
{
rect -150 -44 1708 512 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect -150 -44 -1708 -512 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect 0 0 300 32 2 2
style 3
decoration
visible 1
textscale 0.55
background "mockup_popup_bg_stencilfill"
exp rect h (56 + 3 * 20);
}
itemDef
{
rect -150 -44 -1708 -512 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil"
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect -150 -44 -1708 -512 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll"
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect -150 -44 300 0 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0
background "small_box_lightfx"
exp rect h (56 + 3 * 20);
}
itemDef
{
rect -64 -64 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_tl"
}
itemDef
{
rect 0 -64 300 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_t"
}
itemDef
{
rect 300 -64 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_tr"
}
itemDef
{
rect 300 0 64 0 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_r"
exp rect h (56 + 3 * 20);
}
itemDef
{
rect 300 0 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_br"
exp rect y (32 - 0) + ((24 + 3 * 20));
}
itemDef
{
rect 0 0 300 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_b"
exp rect y (32 - 0) + ((24 + 3 * 20));
}
itemDef
{
rect -64 0 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_bl"
exp rect y (32 - 0) + ((24 + 3 * 20));
}
itemDef
{
rect -64 0 64 0 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_l"
exp rect h (56 + 3 * 20);
}
itemDef
{
text "@MENU_NEW_FAVORITE"
rect 0 0 300 24 2 2
style 1
decoration
visible 1
textalign 5
textalignx -4
textscale 0.375
textfont 9
background "gradient_fadein"
}
itemDef
{
name "fav_ip"
text "@MENU_IP_ADDRESS"
rect 10 40 280 20 2 2
style 1
type 4
visible 1
textalignx 5
textaligny 18
textscale 0.375
textfont 3
backcolor 0 0 0 0.3
accept
{
uiScript CreateFavorite;
close self;
}
dvar "ui_favoriteAddress"
maxChars 22
maxPaintChars 22
}
itemDef
{
name "yes"
text "@MENU_OK"
group "mw2_popup_button"
rect 6 76 292 20 2 2
style 1
type 1
visible when(1);
textalign 6
textalignx -24
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "popup_button_selection_bar"
onFocus
{
play mouse_over;
if (dvarstring(gameMode) != "mp")
{
setItemColor mw2_popup_button backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton (1);
}
leaveFocus
{
setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton (0);
}
action
{
uiScript CreateFavorite;
play mouse_click;
close self;
}
}
itemDef
{
name "cancel"
text "@MENU_CANCEL"
group "mw2_popup_button"
rect 6 96 292 20 2 2
style 1
type 1
visible when(1);
textalign 6
textalignx -24
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "popup_button_selection_bar"
onFocus
{
play mouse_over;
if (dvarstring(gameMode) != "mp")
{
setItemColor mw2_popup_button backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton (1);
}
leaveFocus
{
setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton (0);
}
action
{
play mouse_click;
close self;
}
}
}
}

831
ui_mp/createserver.menu Normal file
View File

@ -0,0 +1,831 @@
{
menuDef
{
name "createserver"
fullscreen 1
rect 0 0 640 480 0 0
focuscolor 1 1 1 1
soundLoop "music_mainmenu_mp"
fadeClamp 1
fadeCycle 1
fadeAmount 0.1
onOpen
{
uiScript loadArenas;
execNow xblive_rankedmatch 0;
execNow xblive_privatematch 1;
exec "exec dvar_defaults.cfg";
}
onClose
{
open main_text;
}
onESC
{
exec xstopparty;
if (inprivateparty() && !privatepartyhost() && privatepartyhostinlobby())
{
exec xstopprivateparty;
exec xstartprivateparty;
}
setDvar xblive_privatematch 0;
close self;
}
execKey "f"
{
play mouse_click;
open popup_friends;
}
itemDef
{
rect -427 -240 854 480 2 2
style 3
decoration
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
textscale 0.55
forecolor 0 0 0 0.4
background "white"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
background "mw2_main_background"
}
itemDef
{
rect -107 0 854 480 0 0
style 3
decoration
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
background "animbg_blur_front"
}
itemDef
{
rect 0 0 1708 480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect 0 0 -1708 -480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.523696
background "mockup_bg_glow"
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.476023
background "mockup_bg_glow"
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
}
itemDef
{
rect -64 0 280 480 1 0
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.1
background "gradient_bottom"
}
itemDef
{
text "@MPUI_MOD"
rect -40 0 300 20 0 1
decoration
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
textaligny -4
textscale 0.2
forecolor 1 1 1 0.8
}
itemDef
{
name "mod"
rect -40 0 300 20 0 1
decoration
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
textalignx 16
textaligny -4
textscale 0.2
forecolor 1 1 1 0.8
exp text dvarstring(fs_game);
}
itemDef
{
name "ticker_bg"
rect -107 -30 900 16 1 1
style 1
decoration
visible 1
textscale 0.55
backcolor 0 0 0 0.2
}
itemDef
{
name "ticker2"
rect -107 -30 900 16 1 1
style 1
decoration
type 20
visible 1
textaligny 16.5
textscale 0.26
textfont 3
backcolor 0 0 0 0.3
background "shadow_inset"
speed 20
}
itemDef
{
name "panel_title"
text "@MENU_GAME_SETTINGS_CAPS"
rect -300 48 300 20 3 1
style 1
decoration
visible 1
textalignx 6
textaligny 18
textscale 0.375
textfont 9
backcolor 0 0 0 0.45
background "gradient_center"
}
itemDef
{
name "panel_background"
rect -300 68 300 66 3 1
style 1
decoration
visible 1
textscale 0.55
backcolor 1 1 1 0.1
}
itemDef
{
name "hostname"
text " "
rect -300 74 300 18 3 1
style 1
type 4
visible 1
textalign 2
textalignx -52
textaligny 16
textscale 0.375
textfont 3
background "menu_rules_selection_bar"
onFocus
{
play mouse_over setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
dvar "sv_hostname"
maxChars 18
maxPaintChars 18
}
itemDef
{
text "@MENU_SERVER_NAME"
rect -300 74 300 18 3 1
style 1
decoration
visible 1
textalignx 8
textaligny 16
textscale 0.375
textfont 3
}
itemDef
{
name "maxplayers"
text " "
rect -300 92 300 18 3 1
style 1
type 9
visible 1
textalign 2
textalignx -52
textaligny 16
textscale 0.375
textfont 3
background "menu_rules_selection_bar"
onFocus
{
play mouse_over setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
dvar "party_maxplayers"
maxChars 2
maxPaintChars 2
}
itemDef
{
text "@MENU_MAXIMUM_PLAYERS"
rect -300 92 300 18 3 1
style 1
decoration
visible 1
textalignx 8
textaligny 16
textscale 0.375
textfont 3
}
itemDef
{
name "maxping"
text " "
rect -300 110 300 18 3 1
style 1
type 9
visible 1
textalign 2
textalignx -52
textaligny 16
textscale 0.375
textfont 3
background "menu_rules_selection_bar"
onFocus
{
play mouse_over setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
dvar "sv_maxping"
maxChars 3
maxPaintChars 3
}
itemDef
{
text "@MENU_MAXIMUM_PING"
rect -300 110 300 18 3 1
style 1
decoration
visible 1
textalignx 8
textaligny 16
textscale 0.375
textfont 3
}
itemDef
{
rect 0 18 272 28 1 1
decoration
autowrapped
visible 1
textalign 6
textalignx -59
textscale 0.5
textfont 9
exp text "@MENU_CREATE_GAME_CAPS";
}
itemDef
{
name "button_0"
text "@MENU_START_GAME_CAPS"
group "mw2_button"
rect -64 48 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@NULL_EMPTY";
setLocalVarString ui_info_icon ;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
exec "selectStringTableEntryInDvar mp/didyouknow.csv 0 didyouknow;" exec xpartygo;
}
}
itemDef
{
rect 0 67.5 216 1 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.65
background "gradient_fadein"
}
itemDef
{
name "button_1"
text "@MENU_LOADING_MAPS"
group "mw2_button"
rect -64 68 336 20 1 1
style 1
type 1
visible when(dvarint(g_loadingInitialZones) != 0);
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@NULL_EMPTY";
setLocalVarString ui_info_icon ;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
"";
}
}
itemDef
{
name "button_1"
text "@MENU_CHANGE_MAP_CAPS"
group "mw2_button"
rect -64 68 336 20 1 1
style 1
type 1
visible when(dvarint(g_loadingInitialZones) == 0);
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@NULL_EMPTY";
setLocalVarString ui_info_icon ;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open settings_map;
}
}
itemDef
{
name "button_2"
text "@MENU_CHANGE_GAME_MODE_CAPS"
group "mw2_button"
rect -64 88 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@NULL_EMPTY";
setLocalVarString ui_info_icon ;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open settings_gametype;
}
}
itemDef
{
name "button_3"
text "@MENU_CHANGE_GAME_RULES_CAPS"
group "mw2_button"
rect -64 108 336 20 1 1
style 1
type 1
visible when(dvarstring(ui_gametype) != "arena" && dvarstring(ui_gametype) != "oneflag");
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@NULL_EMPTY";
setLocalVarString ui_info_icon ;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
if (dvarstring(ui_gametype) == "arena")
{
open settings_quick_arena;
}
if (dvarstring(ui_gametype) == "war")
{
open settings_quick_war;
}
if (dvarstring(ui_gametype) == "sd")
{
open settings_quick_sd;
}
if (dvarstring(ui_gametype) == "sab")
{
open settings_quick_sab;
}
if (dvarstring(ui_gametype) == "dm")
{
open settings_quick_dm;
}
if (dvarstring(ui_gametype) == "dom")
{
open settings_quick_dom;
}
if (dvarstring(ui_gametype) == "ctf")
{
open settings_quick_ctf;
}
if (dvarstring(ui_gametype) == "koth")
{
open settings_quick_koth;
}
if (dvarstring(ui_gametype) == "oneflag")
{
open settings_quick_oneflag;
}
if (dvarstring(ui_gametype) == "dd")
{
open settings_quick_dd;
}
if (dvarstring(ui_gametype) == "vip")
{
open settings_quick_vip;
}
if (dvarstring(ui_gametype) == "gtnw")
{
open settings_quick_gtnw;
}
}
}
itemDef
{
name "button_3"
text "@MENU_CHANGE_GAME_RULES_CAPS"
group "mw2_button"
rect -64 108 336 20 1 1
style 1
type 1
visible when(dvarstring(ui_gametype) == "arena" || dvarstring(ui_gametype) == "oneflag");
textalign 6
textalignx -60
textscale 0.375
textfont 1
forecolor 1 1 1 0.5
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
}
itemDef
{
rect 0 127.5 216 1 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.65
background "gradient_fadein"
}
itemDef
{
name "button_4"
text "@MENU_PASSWORD_CAPS"
group "mw2_button"
rect -64 128 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@NULL_EMPTY";
setLocalVarString ui_info_icon ;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open popup_serverpassword;
}
}
itemDef
{
rect 0 147.5 216 1 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.65
background "gradient_fadein"
}
itemDef
{
name "button_5"
text "@PLATFORM_BACK_CAPS"
group "mw2_button"
rect -64 148 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@NULL_EMPTY";
setLocalVarString ui_info_icon ;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
close self;
}
}
itemDef
{
name "nattype"
rect -64 188 336 20 1 1
style 1
decoration
type 1
visible when(getlocalizednattype() != locstring("@NETWORK_STRICT"));
textalign 6
textalignx -60
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
exp text locstring("@NETWORK_YOURNATTYPE") + " " + getlocalizednattype();
}
itemDef
{
name "nattype"
rect -64 188 336 20 1 1
style 1
decoration
type 1
visible when(getlocalizednattype() == locstring("@NETWORK_STRICT"));
textalign 6
textalignx -60
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
exp text locstring("@NETWORK_YOURNATTYPE") + " ^1" + getlocalizednattype();
}
itemDef
{
name "namehint"
rect 0 240 212 18 1 1
decoration
autowrapped
type 1
visible when(getlocalizednattype() == locstring("@NETWORK_STRICT"));
textalign 2
textscale 0.2916
exp text "@PATCH_STRICTHINT";
}
itemDef
{
name "preview_image"
rect 0 -139 216 122 1 3
style 3
decoration
visible 1
textscale 0.375
exp material "preview_" + dvarstring(ui_mapname);
}
itemDef
{
name "preview_mapname"
rect 0 -139 216 19 1 3
style 1
decoration
autowrapped
visible 1
textalign 6
textalignx -4
textaligny -1
textscale 0.375
textfont 3
backcolor 0 0 0 0.5
exp text dvarstring(party_mapname);
}
itemDef
{
name "preview_gametype"
rect 0 -36 216 19 1 3
style 1
decoration
autowrapped
visible 1
textalign 6
textalignx -4
textscale 0.375
textfont 3
backcolor 0 0 0 0.5
exp text dvarstring(party_gametype);
}
itemDef
{
name "button_friends"
text "@PLATFORM_FRIENDS_CAPS"
rect -120 -4 120 20 3 3
style 1
type 1
visible 1
textalign 1
textaligny 16
textscale 0.275
textfont 9
disablecolor 0.6 0.55 0.55 1
onFocus
{
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@MPUI_DESC_FRIENDS";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open popup_friends;
}
}
}
}

149
ui_mp/dpad_hd.menu Normal file
View File

@ -0,0 +1,149 @@
{
menuDef
{
name "dpad_hd"
rect 0 -16 640 480 4 4
visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(flashbanged())) && (!((weaponname() == "killstreak_ac130_mp") || (weaponname() == "killstreak_helicopter_minigun_mp") || (weaponname() == "killstreak_predator_missile_mp") || ((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp") || (weaponname() == "ac130_25mm_mp")) || (adsjavelin()) || (weaponname() == "heli_remote_mp") || missilecam())) && (!isempjammed()) && (!(dvarint(scr_gameended)))) && !(selecting_location()) && (!(spectatingfree())));
itemDef
{
rect -81 -39 32 32 10 10
type 8
visible when(!dvarbool(gpad_enabled) || !dvarint(gpad_in_use));
ownerdraw 171
textalign 2
textalignx -21
textaligny -9
textscale 0.3333
textstyle 3
textfont 10
}
itemDef
{
rect -81 -39 32 32 10 10
decoration
visible when((!dvarbool(gpad_enabled) || !dvarint(gpad_in_use)) && actionslotusable(1));
textalign 1
textaligny 35
textscale 0.25
textstyle 6
textfont 6
forecolor 1 1 0 1
exp text "^3" + keybinding("+actionslot 1");
}
itemDef
{
rect -61 -29 32 32 10 10
type 8
visible when(!dvarbool(gpad_enabled) || !dvarint(gpad_in_use));
ownerdraw 173
textalign 2
textalignx -21
textaligny -9
textscale 0.3333
textstyle 3
textfont 10
}
itemDef
{
rect -61 -29 32 32 10 10
decoration
visible when((!dvarbool(gpad_enabled) || !dvarint(gpad_in_use)) && actionslotusable(3));
textalign 1
textaligny 35
textscale 0.25
textstyle 6
textfont 6
forecolor 1 1 0 1
exp text "^3" + keybinding("+actionslot 3");
}
itemDef
{
rect -61 -61 32 32 10 10
type 8
visible when(!dvarbool(gpad_enabled) || !dvarint(gpad_in_use));
ownerdraw 174
textalignx -40
textaligny -5
textscale 0.3333
textstyle 3
textfont 10
}
itemDef
{
rect -61 -61 32 32 10 10
decoration
visible when((!dvarbool(gpad_enabled) || !dvarint(gpad_in_use)) && actionslotusable(4));
textalign 1
textaligny 35
textscale 0.25
textstyle 6
textfont 6
forecolor 1 1 0 1
exp text "^3" + keybinding("+actionslot 4");
}
itemDef
{
rect -68.6667 -42.3333 42.6667 42.6667 10 10
style 3
decoration
visible when(dvarbool(gpad_enabled) && dvarint(gpad_in_use) && !dvarbool(gpad_style));
textscale 0.55
forecolor 1 1 1 0.65
background "hud_dpad_xbox360"
}
itemDef
{
rect -68.6667 -42.3333 42.6667 42.6667 10 10
style 3
decoration
visible when(dvarbool(gpad_enabled) && dvarint(gpad_in_use) && dvarbool(gpad_style));
textscale 0.55
forecolor 1 1 1 0.65
}
itemDef
{
rect -68.6667 -42 42.6667 42.6667 10 10
style 3
decoration
visible when((dvarbool(gpad_enabled) && dvarint(gpad_in_use)) && actionslotusable(3));
textscale 0.55
forecolor 1 0.9 0.5 1
background "hud_dpad_arrow_left"
}
itemDef
{
rect -93 -33 32 32 10 10
type 8
visible when(dvarbool(gpad_enabled) && dvarint(gpad_in_use));
ownerdraw 173
textalign 2
textalignx -21
textaligny -3
textscale 0.3333
textstyle 3
textfont 10
}
itemDef
{
rect -68.6667 -42 42.6667 42.6667 10 10
style 3
decoration
visible when((dvarbool(gpad_enabled) && dvarint(gpad_in_use)) && actionslotusable(4));
textscale 0.55
forecolor 1 0.9 0.5 1
background "hud_dpad_arrow_right"
exp forecolor a 0.25 + (sin(milliseconds() / 200) + 1);
}
itemDef
{
rect -30 -36 32 32 10 10
type 8
visible when(dvarbool(gpad_enabled) && dvarint(gpad_in_use));
ownerdraw 174
textalignx -40
textscale 0.3333
textstyle 3
textfont 10
}
}
}

540
ui_mp/filter_popmenu.menu Normal file
View File

@ -0,0 +1,540 @@
{
menuDef
{
name "filter_popmenu"
rect -150 -124 236 250 2 2
style 1
backcolor 1 1 1 1
focuscolor 1 1 1 1
background "white"
popup
legacySplitScreenScale
onOpen
{
setLocalVarInt ui_centerPopup (1);
}
onClose
{
setLocalVarInt ui_centerPopup (0);
}
onESC
{
close self;
}
itemDef
{
rect -1004 -564 1708 960 2 2
style 1
decoration
visible 1
textscale 0.55
backcolor 0 0 0 0.35
background "white"
}
itemDef
{
rect -1004 -564 1708 960 2 2
style 1
decoration
visible 1
textscale 0.55
backcolor 1 1 1 1
background "xpbar_stencilbase"
}
itemDef
{
rect 0 0 236 250 2 2
style 1
decoration
visible 1
textscale 0.55
backcolor 0.5 0.5 0.5 1
background "white"
}
itemDef
{
rect -150 -44 1708 480 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect -150 -44 -1708 -480 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect 0 0 236 0 2 2
style 3
decoration
visible 1
textscale 0.55
background "mockup_popup_bg_stencilfill"
exp rect h (190 + 3 * 20);
}
itemDef
{
rect -150 -44 -1708 -480 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil"
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect -150 -44 -1708 -480 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll"
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect -150 -44 236 0 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0
background "small_box_lightfx"
exp rect h (24 + 3 * 20);
}
itemDef
{
rect -64 -64 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_tl"
}
itemDef
{
rect 0 -64 236 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_t"
}
itemDef
{
rect 236 -64 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_tr"
}
itemDef
{
rect 236 0 64 0 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_r"
exp rect h (25 + 3 * 75);
}
itemDef
{
rect 236 0 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_br"
exp rect y (166 - 0) + ((24 + 3 * 20));
}
itemDef
{
rect 0 0 236 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_b"
exp rect y (166 - 0) + ((24 + 3 * 20));
}
itemDef
{
rect -64 0 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_bl"
exp rect y (166 - 0) + ((24 + 3 * 20));
}
itemDef
{
rect -64 0 64 0 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_l"
exp rect h (25 + 3 * 75);
}
itemDef
{
text "@MENU_FILTER_SERVERS"
rect 0 0 236 24 2 2
style 1
decoration
visible 1
textalign 5
textscale 0.375
textfont 9
background "gradient_fadein"
}
itemDef
{
text "@MENU_VIEW_EMPTY"
rect 0 30 234 20 2 2
style 1
decoration
visible 1
textalignx 6
textaligny 18
textscale 0.375
textfont 3
backcolor 0.6 0.55 0.55 0.5
background "menu_setting_selection_bar"
}
itemDef
{
rect 0 30 234 20 2 2
style 1
type 11
visible 1
textalign 2
textalignx -32
textaligny 18
textscale 0.375
textfont 3
background "menu_setting_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
play mouse_over;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
action
{
play mouse_click;
}
dvar "ui_browserShowEmpty"
}
itemDef
{
text "@MENU_VIEW_FULL"
rect 0 50 234 20 2 2
style 1
decoration
visible 1
textalignx 6
textaligny 18
textscale 0.375
textfont 3
backcolor 0.6 0.55 0.55 0.5
background "menu_setting_selection_bar"
}
itemDef
{
rect 0 50 234 20 2 2
style 1
type 11
visible 1
textalign 2
textalignx -32
textaligny 18
textscale 0.375
textfont 3
background "menu_setting_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
play mouse_over;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
action
{
play mouse_click;
}
dvar "ui_browserShowFull"
}
itemDef
{
text "@MENU_VIEW_PASSWORD"
rect 0 70 234 20 2 2
style 1
decoration
visible 1
textalignx 6
textaligny 18
textscale 0.375
textfont 3
backcolor 0.6 0.55 0.55 0.5
background "menu_setting_selection_bar"
}
itemDef
{
rect 0 70 234 20 2 2
style 1
type 12
visible 1
textalign 2
textalignx -32
textaligny 18
textscale 0.375
textfont 3
background "menu_setting_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
play mouse_over;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
action
{
play mouse_click;
}
dvar "ui_browserShowPassword"
dvarFloatList { "@MENU_ALL" -1 "@MENU_NO" 0 "@MENU_YES" 1 }
}
itemDef
{
text "@MPUI_HARDCORE_PRE"
rect 0 90 234 20 2 2
style 1
decoration
visible 1
textalignx 6
textaligny 18
textscale 0.375
textfont 3
backcolor 0.6 0.55 0.55 0.5
background "menu_setting_selection_bar"
}
itemDef
{
rect 0 90 234 20 2 2
style 1
type 12
visible 1
textalign 2
textalignx -32
textaligny 18
textscale 0.375
textfont 3
background "menu_setting_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
play mouse_over;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
action
{
play mouse_click;
}
dvar "ui_browserKillcam"
dvarFloatList { "@MENU_ALL" -1 "@MENU_NO" 0 "@MENU_YES" 1 }
}
itemDef
{
text "@MENU_MODSWITHCOLON"
rect 0 110 234 20 2 2
style 1
decoration
visible 1
textalignx 6
textaligny 18
textscale 0.375
textfont 3
backcolor 0.6 0.55 0.55 0.5
background "menu_setting_selection_bar"
}
itemDef
{
rect 0 110 234 20 2 2
style 1
type 12
visible 1
textalign 2
textalignx -32
textaligny 18
textscale 0.375
textfont 3
background "menu_setting_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
play mouse_over;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
action
{
play mouse_click;
}
dvar "ui_browserMod"
dvarFloatList { "@MENU_ALL" -1 "@MENU_NO" 0 "@MENU_YES" 1 }
}
itemDef
{
text "@MENU_DEDICATEDONLY"
rect 0 130 234 20 2 2
style 1
decoration
visible 1
textalignx 6
textaligny 18
textscale 0.375
textfont 3
backcolor 0.6 0.55 0.55 0.5
background "menu_setting_selection_bar"
}
itemDef
{
rect 0 130 234 20 2 2
style 1
type 12
visible 1
textalign 2
textalignx -32
textaligny 18
textscale 0.375
textfont 3
background "menu_setting_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
play mouse_over;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
action
{
play mouse_click;
}
dvar "ui_browserFriendlyfire"
dvarFloatList { "@MENU_ALL" -1 "@MENU_NO" 0 "@MENU_YES" 1 }
}
itemDef
{
name "apply"
text "@MENU_OK"
group "mw2_popup_button"
rect 0 210 234 20 2 2
style 1
type 1
visible when(1);
textalign 6
textalignx -24
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "popup_button_selection_bar"
onFocus
{
play mouse_over;
if (dvarstring(gameMode) != "mp")
{
setItemColor mw2_popup_button backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton (1);
}
leaveFocus
{
setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton (0);
}
action
{
play mouse_click;
uiScript UpdateFilter;
close self;
}
}
itemDef
{
name "reset"
text "@MENU_RESET"
group "mw2_popup_button"
rect 0 230 234 20 2 2
style 1
type 1
visible when(1);
textalign 6
textalignx -24
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "popup_button_selection_bar"
onFocus
{
play mouse_over;
if (dvarstring(gameMode) != "mp")
{
setItemColor mw2_popup_button backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton (1);
}
leaveFocus
{
setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton (0);
}
action
{
play mouse_click;
exec "exec default_filter.cfg";
}
}
}
}

View File

@ -0,0 +1,312 @@
{
menuDef
{
name "hostchangewarning"
rect -150 -84 300 84 2 2
style 1
backcolor 1 1 1 1
forecolor 0 0 0 0
focuscolor 1 1 1 1
background "white"
popup
legacySplitScreenScale
onOpen
{
setLocalVarInt ui_centerPopup 1;
setFocus yes_button;
}
onClose
{
setLocalVarInt ui_centerPopup 0;
}
onESC
{
close self;
}
itemDef
{
rect -1004 -564 1708 960 2 2
style 1
decoration
textscale 0.55
backcolor 0 0 0 0.35
background "white"
}
itemDef
{
rect -1004 -564 1708 960 2 2
style 1
decoration
textscale 0.55
backcolor 1 1 1 1
background "xpbar_stencilbase"
}
itemDef
{
rect -150 -84 300 84 2 2
style 1
decoration
textscale 0.55
backcolor 0.5 0.5 0.5 1
background "white"
}
itemDef
{
rect -150 -84 1708 480 2 2
style 3
decoration
textscale 0.55
forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect -150 -84 -1708 -480 2 2
style 3
decoration
textscale 0.55
forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect -150 -84 300 0 2 2
style 3
decoration
textscale 0.55
background "mockup_popup_bg_stencilfill"
exp rect h 24 + 3 * 20;
}
itemDef
{
rect -150 -84 -1708 -480 2 2
style 3
decoration
textscale 0.55
forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil"
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect -150 -84 -1708 -480 2 2
style 3
decoration
textscale 0.55
forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll"
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect -150 -84 300 0 1 1
style 3
decoration
textscale 0.55
forecolor 1 1 1 0
background "small_box_lightfx"
exp rect h 24 + 3 * 20;
}
itemDef
{
rect -214 -148 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_tl"
}
itemDef
{
rect -150 -148 300 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_t"
}
itemDef
{
rect 150 -148 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_tr"
}
itemDef
{
rect 150 -84 64 0 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_r"
exp rect h 24 + 3 * 20;
}
itemDef
{
rect 150 -84 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_br"
exp rect y (0 - 0) + ((24 + 3 * 20));
}
itemDef
{
rect -150 -84 300 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_b"
exp rect y (0 - 0) + ((24 + 3 * 20));
}
itemDef
{
rect -214 -84 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_bl"
exp rect y (0 - 0) + ((24 + 3 * 20));
}
itemDef
{
rect -214 -84 64 0 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_l"
exp rect h 24 + 3 * 20;
}
itemDef
{
text "@PATCH_CHANGEHOSTTITLE"
rect -150 -84 300 24 2 2
style 1
decoration
textalign 5
textscale 0.375
textfont 9
background "gradient_fadein"
}
itemDef
{
group "mw2_popup_button"
rect -146 -60 292 20 2 2
style 1
type 1
textalign 5
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
onFocus
{
play mouse_over;
if (dvarstring(gameMode) != "mp")
{
setItemColor mw2_popup_button backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton 1;
}
leaveFocus
{
setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton 0;
}
action
{
play mouse_click;
}
exp text dvarstring(party_makehostquestion);
}
itemDef
{
name "yes_button"
text "@MENU_YES"
group "mw2_popup_button"
rect -146 -40 292 20 2 2
style 1
type 1
textalign 6
textalignx -24
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "popup_button_selection_bar"
onFocus
{
play mouse_over;
if (dvarstring(gameMode) != "mp")
{
setItemColor mw2_popup_button backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton 1;
}
leaveFocus
{
setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton 0;
}
action
{
play mouse_click;
makehost;
close self;
}
}
itemDef
{
name "cancel_button"
text "@MENU_NO"
group "mw2_popup_button"
rect -146 -20 292 20 2 2
style 1
type 1
textalign 6
textalignx -24
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "popup_button_selection_bar"
onFocus
{
play mouse_over;
if (dvarstring(gameMode) != "mp")
{
setItemColor mw2_popup_button backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton 1;
}
leaveFocus
{
setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton 0;
}
action
{
play mouse_click;
close self;
}
}
}
}

184
ui_mp/hud_fullscreen.menu Normal file
View File

@ -0,0 +1,184 @@
{
menuDef
{
name "hud_fullscreen"
rect 0 0 640 480 4 4
visible 1
itemDef
{
rect 0 0 640 480 4 4
type 8
visible when(!(weaponname() == "heli_remote_mp") && !((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp") || (weaponname() == "ac130_25mm_mp")) && ((!((spectatingclient()) && dvarbool(cg_thirdPersonSpectator))) || inkillcam()));
ownerdraw 112
textscale 0.55
background "splatter_alt"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(scopedthermal() && (!((spectatingclient()) && dvarbool(cg_thirdPersonSpectator))));
textscale 0.55
forecolor 0.9 1 1 0.3
background "ac130_overlay_grain"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when((getperk("equipment") == "_specialty_blastshield" && ((!(dvarint(scr_gameended))) || inkillcam())) && !(weaponname() == "heli_remote_mp") && !((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp") || (weaponname() == "ac130_25mm_mp")) && !missilecam());
textscale 0.55
background "ballistic_overlay"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(isempjammed());
textscale 0.55
forecolor 0.9 1 1 0.3
background "ac130_overlay_grain"
}
itemDef
{
rect 0 -75 40 40 2 10
type 8
visible when((!ui_active() && !dvarbool(g_hardcore) && !spectatingclient() && !inkillcam() && !dvarint(scr_gameended) && !flashbanged() && (!(weaponname() == "killstreak_ac130_mp" || weaponname() == "killstreak_helicopter_minigun_mp" || weaponname() == "killstreak_predator_missile_mp" || weaponname() == "ac130_105mm_mp" || weaponname() == "ac130_40mm_mp" || weaponname() == "ac130_25mm_mp" || adsjavelin() || weaponname() == "heli_remote_mp" || missilecam()))) && !((((!ui_active() && !dvarbool(g_hardcore) && !flashbanged() && !isempjammed() && !dvarint(scr_gameended)) && (milliseconds() - localvarint("ui_show_youKilled") < 2500 && (!(milliseconds() - localvarint("ui_show_killedBy") < 4000)))) && !dvarbool(ui_hide_playercards) && !(milliseconds() - localvarint("ui_show_killedBy") < 4000)) || (!ui_active() && (milliseconds() - localvarint("ui_show_killedBy") < 4000) && !dvarbool(ui_hide_playercards))));
ownerdraw 80
textscale 0.375
textstyle 3
forecolor 1 1 1 0.65
}
itemDef
{
rect 0 -125 40 40 2 10
type 8
visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(spectatingclient())) && (!(inkillcam())) && (!(dvarint(scr_gameended))) && (!(flashbanged())) && (!((weaponname() == "killstreak_ac130_mp") || (weaponname() == "killstreak_helicopter_minigun_mp") || (weaponname() == "killstreak_predator_missile_mp") || ((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp") || (weaponname() == "ac130_25mm_mp")) || (adsjavelin()) || (weaponname() == "heli_remote_mp") || missilecam()))));
ownerdraw 72
textscale 0.375
textstyle 3
forecolor 1 1 1 0.65
}
itemDef
{
rect 0 -125 0 0 2 2
decoration
type 8
visible when((!(ui_active())) && (!(spectatingclient())));
ownerdraw 113
textscale 0.375
textstyle 3
textfont 1
}
itemDef
{
name "talking"
rect 108 48 24 24 8 8
decoration
type 8
visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(inkillcam())) && (!(dvarint(scr_gameended)))));
ownerdraw 266
textscale 0.55
forecolor 1 1 1 0.85
exp rect y 6 + ((((dvarstring(ui_danger_team) == "contested") || (dvarstring(ui_danger_team) != "BombExploded" && (team("name") == "TEAM_ALLIES" && dvarstring(ui_danger_team) == "axis") || (team("name") == "TEAM_AXIS" && dvarstring(ui_danger_team) == "allies")) || (dvarstring(ui_danger_team) != "BombExploded" && dvarstring(ui_danger_team) == "none") || (dvarstring(ui_danger_team) != "BombExploded" && (team("name") == "TEAM_ALLIES" && dvarstring(ui_danger_team) == "allies") || (team("name") == "TEAM_AXIS" && dvarstring(ui_danger_team) == "axis")))) * 16) + ((dvarint(ui_bomb_timer)) * 26);
}
itemDef
{
name "talker1"
rect 0 136 18 18 8 8
decoration
type 8
visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(inkillcam())) && (!(dvarint(scr_gameended)))));
ownerdraw 193
textalignx 18
textaligny 17
textscale 0.375
textstyle 3
}
itemDef
{
name "talker2"
rect 0 154 18 18 8 8
decoration
type 8
visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(inkillcam())) && (!(dvarint(scr_gameended)))));
ownerdraw 194
textalignx 18
textaligny 17
textscale 0.375
textstyle 3
}
itemDef
{
name "talker3"
rect 0 172 18 18 8 8
decoration
type 8
visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(inkillcam())) && (!(dvarint(scr_gameended)))));
ownerdraw 195
textalignx 18
textaligny 17
textscale 0.375
textstyle 3
}
itemDef
{
name "talker4"
rect 0 190 18 18 8 8
decoration
type 8
visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(inkillcam())) && (!(dvarint(scr_gameended)))));
ownerdraw 196
textalignx 18
textaligny 17
textscale 0.375
textstyle 3
}
itemDef
{
text "@CGAME_FOLLOWING"
rect -100 20 200 0 2 1
visible when((!(inkillcam())) && (spectatingclient() || spectatingfree()) && (!(ui_active())) && (!(dvarint(scr_gameended))));
textalign 9
textscale 0.375
textstyle 3
forecolor 1 1 1 0.65
}
itemDef
{
rect -120 -35 180 5 3 1
type 8
visible when((!(inkillcam())) && (spectatingclient() || spectatingfree()) && (!(ui_active())) && (!(dvarint(scr_gameended))));
ownerdraw 61
textalign 4
textscale 0.375
textstyle 3
forecolor 1 1 1 0.65
}
itemDef
{
rect 6 -60 10 10 8 10
type 19
visible when((!(inkillcam())) && (!(ui_active())));
textscale 0.375
textstyle 3
forecolor 1 1 1 0.45
gamemsgwindowmode 1
}
itemDef
{
rect 0 -60 10 10 9 9
type 19
visible when((!(inkillcam())) && (!(ui_active())));
textalign 1
textscale 0.375
textstyle 3
textfont 1
gamemsgwindowindex 1
gamemsgwindowmode 1
}
}
}

179
ui_mp/iw4x_credits.menu Normal file
View File

@ -0,0 +1,179 @@
{
menuDef
{
name "iw4x_credits"
fullscreen 1
rect 0 0 640 480 0 0
focuscolor 1 1 1 1
soundLoop "music_mainmenu_mp"
fadeClamp 1
fadeCycle 1
fadeAmount 0.1
onESC
{
close self;
}
itemDef
{
rect -427 -240 854 480 2 2
style 3
decoration
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
textscale 0.55
forecolor 0 0 0 0.4
background "white"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
background "mw2_main_background"
}
itemDef
{
rect 0 0 1708 480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect 0 0 -1708 -480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.523696
background "mockup_bg_glow"
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.476023
background "mockup_bg_glow"
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
}
itemDef
{
rect -256 -246 512 128 2 2
style 3
decoration
visible 1
textscale 0.55
background "logo_cod2"
exp forecolor a ((sin(milliseconds() / 1000) + 1) * 0.25) + 0.5;
}
itemDef
{
name "box_background"
rect 0 -130 600 320 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0.3 0.3 0.3 0.5
background "white"
exp rect x 0 - 300;
}
itemDef
{
name "welcome_box"
text "IW4x"
rect 0 -130 600 320 2 2
style 1
decoration
visible 1
textalign 5
textaligny -5
textscale 1
textfont 9
backcolor 0 0 0 0.375
background "white"
exp rect x 0 - 300;
}
itemDef
{
text "DEVELOPED BY"
rect 0 -90 500 280 2 2
style 1
decoration
autowrapped
visible 1
textalign 5
textscale 0.375
textfont 7
exp rect x 0 - 250;
}
itemDef
{
name "welcome_message"
text "@IW4X_CREDITS"
rect 0 -70 500 250 2 2
style 1
decoration
autowrapped
type 21
visible 1
textalign 5
textscale 0.375
textfont 7
exp rect x 0 - 250;
}
itemDef
{
name "back"
text "@PLATFORM_BACK_CAPS"
group "mw2_button"
rect -64 -4 336 20 1 3
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
close self;
}
}
}
}

View File

@ -0,0 +1,312 @@
{
menuDef
{
name "leavelobbywarning"
rect -150 -64 300 64 2 2
style 1
backcolor 1 1 1 1
focuscolor 1 1 1 1
background "white"
popup
legacySplitScreenScale
onOpen
{
setLocalVarInt ui_centerPopup (1);
setfocus cancel_button;
}
onClose
{
setLocalVarInt ui_centerPopup (0);
}
onESC
{
close self;
}
itemDef
{
rect -1004 -544 1708 960 2 2
style 1
decoration
visible 1
textscale 0.55
backcolor 0 0 0 0.35
background "white"
}
itemDef
{
rect -1004 -544 1708 960 2 2
style 1
decoration
visible 1
textscale 0.55
backcolor 1 1 1 1
background "xpbar_stencilbase"
}
itemDef
{
rect 0 0 300 64 2 2
style 1
decoration
visible 1
textscale 0.55
backcolor 0.5 0.5 0.5 1
background "white"
}
itemDef
{
rect -150 -44 1708 480 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect -150 -44 -1708 -480 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect 0 0 300 0 2 2
style 3
decoration
visible 1
textscale 0.55
background "mockup_popup_bg_stencilfill"
exp rect h (24 + 2 * 20);
}
itemDef
{
rect -150 -44 -1708 -480 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil"
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect -150 -44 -1708 -480 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll"
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect -150 -44 300 0 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0
background "small_box_lightfx"
exp rect h (24 + 2 * 20);
}
itemDef
{
rect -64 -64 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_tl"
}
itemDef
{
rect 0 -64 300 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_t"
}
itemDef
{
rect 300 -64 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_tr"
}
itemDef
{
rect 300 0 64 0 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_r"
exp rect h (24 + 2 * 20);
}
itemDef
{
rect 300 0 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_br"
exp rect y (0 - 0) + ((24 + 2 * 20));
}
itemDef
{
rect 0 0 300 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_b"
exp rect y (0 - 0) + ((24 + 2 * 20));
}
itemDef
{
rect -64 0 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_bl"
exp rect y (0 - 0) + ((24 + 2 * 20));
}
itemDef
{
rect -64 0 64 0 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_l"
exp rect h (24 + 2 * 20);
}
itemDef
{
text "@XBOXLIVE_LEAVELOBBY"
rect 0 0 300 24 2 2
style 1
decoration
visible when(!inprivateparty() || privatepartyhost() || !privatepartyhostinlobby());
textalign 5
textscale 0.375
textfont 9
background "gradient_fadein"
}
itemDef
{
text "@XBOXLIVE_LEAVEPARTYANDLOBBY"
rect -150 -64 300 24 2 2
style 1
decoration
visible when(inprivateparty() && !privatepartyhost() && privatepartyhostinlobby());
textalign 5
textscale 0.375
textfont 9
background "gradient_fadein"
}
itemDef
{
name "yes_button"
text "@MENU_YES"
group "mw2_popup_button"
rect 6 24 292 20 2 2
style 1
type 1
visible 1
textalign 6
textalignx -24
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "popup_button_selection_bar"
onFocus
{
play mouse_over;
if (dvarstring(gameMode) != "mp")
{
setItemColor mw2_popup_button backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton (1);
}
leaveFocus
{
setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton (0);
}
action
{
play mouse_click;
exec xstopparty;
if (inprivateparty() && !privatepartyhost() && privatepartyhostinlobby())
{
exec xstopprivateparty;
exec xstartprivateparty;
}
close menu_xboxlive_lobby;
close menu_xboxlive_privatelobby;
close menu_xboxlive_teams;
exec "xblive_privatematch 0";
open pc_join_unranked close self;
}
}
itemDef
{
name "cancel_button"
text "@MENU_NO"
group "mw2_popup_button"
rect 6 44 292 20 2 2
style 1
type 1
visible 1
textalign 6
textalignx -24
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "popup_button_selection_bar"
onFocus
{
play mouse_over;
if (dvarstring(gameMode) != "mp")
{
setItemColor mw2_popup_button backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton (1);
}
leaveFocus
{
setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton (0);
}
action
{
play mouse_click;
close self;
}
}
}
}

975
ui_mp/main_text.menu Normal file
View File

@ -0,0 +1,975 @@
{
menuDef
{
name "main_text"
fullscreen 1
rect 0 0 640 480 0 0
focuscolor 1 1 1 1
soundLoop "music_mainmenu_mp"
fadeClamp 1
fadeCycle 1
fadeAmount 0.1
onOpen
{
exec "selectStringTableEntryInDvar mp/didyouknow.csv 0 didyouknow";
uiScript checkFirstLaunch;
setLocalVarString ui_hint_text "";
}
onESC
{
open quit_popmenu;
}
execKey "f"
{
play mouse_click;
open popup_friends;
}
itemDef
{
rect -427 -240 854 480 2 2
style 3
decoration
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
textscale 0.55
forecolor 0 0 0 0.4
background "white"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
background "mw2_main_background"
}
itemDef
{
rect -107 0 854 480 0 0
style 3
decoration
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
background "animbg_blur_front"
}
itemDef
{
rect 0 0 1708 480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect 0 0 -1708 -480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.523696
background "mockup_bg_glow"
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.476023
background "mockup_bg_glow"
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
}
itemDef
{
rect -64 0 280 480 1 0
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.1
background "gradient_bottom"
}
itemDef
{
text "@MPUI_MOD"
rect -40 0 300 20 0 1
decoration
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
textaligny -4
textscale 0.2
forecolor 1 1 1 0.8
}
itemDef
{
name "mod"
rect -40 0 300 20 0 1
decoration
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
textalignx 16
textaligny -4
textscale 0.2
forecolor 1 1 1 0.8
exp text dvarstring(fs_game);
}
itemDef
{
rect 304 215 288 72 0 0
style 3
decoration
visible 1
textscale 0.55
background "logo_cod2"
exp forecolor a ((sin(milliseconds() / 1000) + 1) * 0.25) + 0.5;
}
itemDef
{
name "ticker_bg"
rect -107 -30 900 16 1 1
style 1
decoration
visible 1
textscale 0.55
backcolor 0 0 0 0.2
}
itemDef
{
name "ticker2"
rect -107 -30 900 16 1 1
style 1
decoration
type 20
visible 1
textaligny 16.5
textscale 0.26
textfont 3
backcolor 0 0 0 0.3
background "shadow_inset"
speed 20
}
itemDef
{
rect 0 78 272 28 1 1
decoration
autowrapped
visible when(!dvarbool(cl_updateavailable));
textalign 6
textalignx -59
textscale 0.5833
textfont 9
exp text "IW4x";
}
itemDef
{
rect 0 58 272 28 1 1
decoration
autowrapped
visible when(dvarbool(cl_updateavailable));
textalign 6
textalignx -59
textscale 0.5833
textfont 9
exp text "IW4x";
}
itemDef
{
name "button_0"
text "@MENU_CHECK_FOR_UPDATES_CAPS"
group "mw2_button"
rect -64 88 336 20 1 1
style 1
type 1
visible when(dvarbool(cl_updateavailable));
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_CHECK_FOR_UPDATES";
setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@MPUI_DESC_CHECK_FOR_UPDATES";
setLocalVarString ui_info_icon ;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
uiScript checkForUpdate;
open auconfirm;
}
}
itemDef
{
rect 236 88 40 20 1 1
style 3
decoration
visible when(dvarbool(cl_updateavailable));
align 2
textscale 0.55
exp material "specialty_new";
}
itemDef
{
rect 0 107.5 216 1 1 1
style 3
decoration
visible when(dvarbool(cl_updateavailable));
textscale 0.55
forecolor 1 1 1 0.65
background "gradient_fadein"
}
itemDef
{
name "button_1"
text "@MENU_JOIN_GAME_CAPS"
group "mw2_button"
rect -64 108 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_JOIN_GAME";
setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@MPUI_DESC_JOIN_GAME";
setLocalVarString ui_info_icon ;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
exec xrequirelivesignin;
open pc_join_unranked;
}
}
itemDef
{
name "button_2"
text "@MENU_CREATE_GAME_CAPS"
group "mw2_button"
rect -64 128 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_CREATE_GAME";
setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@MPUI_DESC_CREATE_GAME";
setLocalVarString ui_info_icon ;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
exec xrequirelivesignin;
setDvar systemlink 0;
setDvar splitscreen 0;
setDvar onlinegame 1;
exec "exec default_xboxlive.cfg";
setDvar party_maxplayers 18;
setDvar xblive_privateserver 0;
setDvar xblive_rankedmatch 0;
exec xstartprivateparty;
setDvar ui_mptype 0;
exec xcheckezpatch;
exec "exec default_xboxlive.cfg" setDvar xblive_rankedmatch 0;
exec ui_enumeratesaved;
setDvar xblive_privateserver 1;
exec xstartprivatematch;
open menu_xboxlive_privatelobby;
}
}
itemDef
{
rect 0 147.5 216 1 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.65
background "gradient_fadein"
}
itemDef
{
name "button_3"
text "@MENU_CREATE_A_CLASS_CAPS"
group "mw2_button"
rect -64 148 336 20 1 1
style 1
type 1
visible when(!isitemunlocked("cac"));
textalign 6
textalignx -60
textscale 0.375
textfont 1
forecolor 1 1 1 0.5
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@PERKS_UNLOCKED_BY_CHALLENGE";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
}
itemDef
{
name "button_3"
text "@MENU_CREATE_A_CLASS_CAPS"
group "mw2_button"
rect -64 148 336 20 1 1
style 1
type 1
visible when(isitemunlocked("cac"));
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_CREATE_A_CLASS";
setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@MPUI_DESC_CREATE_A_CLASS";
setLocalVarString ui_info_icon ;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open cac_popup;
}
}
itemDef
{
rect 236 148 40 20 1 1
style 3
decoration
visible when((isitemunlocked("cac") && (getplayerdataanybooltrue("weaponNew") || getplayerdataanybooltrue("camoNew") || getplayerdataanybooltrue("attachmentNew")) || getplayerdataanybooltrue("perkNew") || ((getplayerdata("perkNew", "frag_grenade_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "frag_grenade_mp", 8))) || (getplayerdata("perkNew", "semtex_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "semtex_mp", 8))) || (getplayerdata("perkNew", "c4_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "c4_mp", 8))) || (getplayerdata("perkNew", "claymore_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "claymore_mp", 8))) || (getplayerdata("perkNew", "throwingknife_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "throwingknife_mp", 8))) || (getplayerdata("perkNew", "specialty_tacticalinsertion") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "specialty_tacticalinsertion", 8))) || (getplayerdata("perkNew", "specialty_blastshield") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "specialty_blastshield", 8))) || weaponclassnew("weapon_grenade") || weaponclassnew("weapon_equipment")) || getplayerdata("featureNew", "cac")));
align 2
textscale 0.55
exp material "specialty_new";
}
itemDef
{
name "button_4"
text "@MENU_PLAYERCARD_CAPS"
group "mw2_button"
rect -64 168 336 20 1 1
style 1
type 1
visible when(!isitemunlocked("cac"));
textalign 6
textalignx -60
textscale 0.375
textfont 1
forecolor 1 1 1 0.5
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@PERKS_UNLOCKED_BY_CHALLENGE";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
}
itemDef
{
name "button_4"
text "@MENU_PLAYERCARD_CAPS"
group "mw2_button"
rect -64 168 336 20 1 1
style 1
type 1
visible when(isitemunlocked("cac"));
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_PLAYERCARD";
setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@MPUI_DESC_PLAYERCARD";
setLocalVarString ui_info_icon ;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open popup_callsign;
}
}
itemDef
{
rect 236 168 40 20 1 1
style 3
decoration
visible when((getplayerdata("featureNew", "cas") || getplayerdata("featureNew", "token_1") || getplayerdata("featureNew", "token_2") || getplayerdata("featureNew", "token_3") || getplayerdata("featureNew", "token_4") || getplayerdata("featureNew", "token_5") || getplayerdata("featureNew", "token_6") || getplayerdata("featureNew", "token_7") || getplayerdata("featureNew", "token_8") || getplayerdata("featureNew", "token_9") || getplayerdata("featureNew", "token_10") || getplayerdata("featureNew", "token_11") || getplayerdata("featureNew", "token_12")) || getplayerdata("featureNew", "clantag") || (getplayerdataanybooltrue("iconNew") || getplayerdata("featureNew", "playercard_icon")) || (getplayerdataanybooltrue("titleNew") || getplayerdata("featureNew", "playercard_title")));
align 2
textscale 0.55
exp material "specialty_new";
}
itemDef
{
rect 0 187.5 216 1 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.65
background "gradient_fadein"
}
itemDef
{
name "button_5"
text "@MENU_BARRACKS_CAPS"
group "mw2_button"
rect -64 188 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@PATCH_DESC_BARRACKS";
setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@PATCH_DESC_BARRACKS";
setLocalVarString ui_info_icon ;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open menu_online_barracks;
}
}
itemDef
{
rect 236 188 40 20 1 1
style 3
decoration
visible when(((getplayerdataanybooltrue("challengeTierNew") || getplayerdata("featureNew", "challenges")) || getplayerdata("featureNew", "challenges") || getplayerdata("featureNew", "prestige")));
align 2
textscale 0.55
exp material "specialty_new";
}
itemDef
{
name "button_6"
text "@MENU_THEATER_CAPS"
group "mw2_button"
rect -64 208 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_THEATER";
setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@MPUI_DESC_THEATER";
setLocalVarString ui_info_icon ;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open pc_theater_menu;
}
}
itemDef
{
rect 0 227.5 216 1 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.65
background "gradient_fadein"
}
itemDef
{
name "button_7"
text "@MENU_MODS_CAPS"
group "mw2_button"
rect -64 228 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_MODS";
setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@MPUI_DESC_MODS";
setLocalVarString ui_info_icon ;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open mods_menu;
}
}
itemDef
{
name "button_8"
text "@MENU_OPTIONS_CAPS"
group "mw2_button"
rect -64 248 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_OPTIONS";
setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@MPUI_DESC_OPTIONS";
setLocalVarString ui_info_icon ;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open pc_options_video;
}
}
itemDef
{
rect 0 267.5 216 1 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.65
background "gradient_fadein"
}
itemDef
{
name "button_9"
text "@MENU_SP_CREDITS_CAPS"
group "mw2_button"
rect -64 268 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@NULL_EMPTY";
setLocalVarString ui_info_icon ;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open iw4x_credits;
}
}
itemDef
{
name "button_10"
text "@MENU_VISIT_WEBSITE_CAPS"
group "mw2_button"
rect -64 288 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@NULL_EMPTY";
setLocalVarString ui_info_icon ;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
uiScript visitWebsite;
}
}
itemDef
{
rect 0 307.5 216 1 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.65
background "gradient_fadein"
}
itemDef
{
name "button_11"
text "@MENU_MAIN_MENU_CAPS"
group "mw2_button"
rect -64 308 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MENU_SP_DESC_SINGLEPLAYER";
setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@MENU_SP_DESC_SINGLEPLAYER";
setLocalVarString ui_info_icon ;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open single_popmenu;
}
}
itemDef
{
name "button_12"
text "@MENU_QUIT_CAPS"
group "mw2_button"
rect -64 328 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_QUIT";
setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@MPUI_DESC_QUIT";
setLocalVarString ui_info_icon ;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open quit_popmenu;
}
}
itemDef
{
name "button_friends"
text "@PLATFORM_FRIENDS_CAPS"
rect -250 -4 120 20 3 3
style 1
type 1
visible 1
textalign 1
textaligny 16
textscale 0.275
textfont 9
disablecolor 0.6 0.55 0.55 1
onFocus
{
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@MPUI_DESC_FRIENDS";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open popup_friends;
}
}
itemDef
{
name "button_changelog"
text "@MENU_CHANGELOG_CAPS"
rect -120 -4 120 20 3 3
style 1
type 1
visible 1
textalign 1
textaligny 16
textscale 0.275
textfont 9
onFocus
{
play mouse_over;
setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_CHANGELOG";
}
leaveFocus
{
setItemColor self backcolor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
action
{
play mouse_click;
open changelog;
}
}
itemDef
{
name "hint_area"
rect 0 380 215 18 1 1
decoration
autowrapped
visible 1
textalign 6
textscale 0.375
textfont 3
forecolor 1 1 1 0.65
exp text localvarstring("ui_hint_text");
}
}
}

View File

@ -0,0 +1,227 @@
{
menuDef
{
name "menu_first_launch"
fullscreen 1
rect 0 0 640 480 0 0
focuscolor 1 1 1 1
soundLoop "music_opening"
fadeClamp 1
fadeCycle 1
fadeAmount 0.1
onESC
{
open quit_popmenu;
}
itemDef
{
rect -427 -240 854 480 2 2
style 3
decoration
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
textscale 0.55
forecolor 0 0 0 0.4
background "white"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
background "mw2_main_background"
}
itemDef
{
rect -107 0 854 480 0 0
style 3
decoration
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
background "mw2_main_sp_image"
}
itemDef
{
rect 0 0 1708 480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect 0 0 -1708 -480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.523696
background "mockup_bg_glow"
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.476023
background "mockup_bg_glow"
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
}
itemDef
{
rect -256 -220 512 128 2 2
style 3
decoration
visible 1
textscale 0.55
background "logo_cod2"
exp forecolor a ((sin(milliseconds() / 1000) + 1) * 0.25) + 0.5;
}
itemDef
{
name "box_background"
rect 0 -100 600 220 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0.3 0.3 0.3 0.5
background "white"
exp rect x 0 - 300;
}
itemDef
{
name "welcome_box"
text "Welcome to IW4x"
rect 0 -100 600 220 2 2
style 1
decoration
visible 1
textalign 5
textaligny 5
textscale 0.45
textfont 9
backcolor 0 0 0 0.375
background "white"
exp rect x 0 - 300;
}
itemDef
{
name "welcome_message"
text "Thank you for participating in the IW4x Beta!\n\nThis mod is in Beta, and will be so for some time. This means you will experience bugs, unfinished features, problematic design decision, and many more things that disrupt your game experience. We will be working with the community to fix these, to help us please visit ^2xlabs.dev ^7for development information.\n\nAbove all, please remember this mod is not finished, and is a work in progress."
rect 0 -60 500 180 2 2
style 1
decoration
autowrapped
visible 1
textalign 5
textscale 0.375
textfont 7
exp rect x 0 - 250;
}
itemDef
{
name "website"
text "WEBSITE"
rect -300 326 106.667 20 2 1
style 1
type 1
visible 1
textalign 9
textscale 0.375
textfont 9
disablecolor 0.55 0.55 0.55 1
background "white"
onFocus
{
play mouse_over;
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
action
{
play mouse_click;
uiScript visitWebsite;
}
}
itemDef
{
name "ok"
text "I UNDERSTAND"
rect -70 326 146.667 20 2 1
style 1
type 1
visible 1
textalign 9
textscale 0.375
textfont 9
disablecolor 0.55 0.55 0.55 1
background "white"
onFocus
{
play mouse_over;
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
action
{
play mouse_click;
setDvar g_firstLaunch 0;
open popup_playername;
close self;
}
}
itemDef
{
name "quit"
text "@MENU_QUIT_CAPS"
rect -70 400 146.667 20 2 1
style 1
type 1
visible 1
textalign 9
textscale 0.375
textfont 9
disablecolor 0.55 0.55 0.55 1
background "white"
onFocus
{
play mouse_over;
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
action
{
play mouse_click;
open quit_popmenu;
}
}
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
{
menuDef
{
name "menu_xboxlive_privatelobby"
fullscreen 1
rect 0 0 640 480 0 0
forecolor 0 0 0 0
onOpen
{
open createserver;
}
}
}

View File

@ -0,0 +1,156 @@
{
menuDef
{
name "minimap_fullscreen"
rect 3 3 0 0 8 8
hiddenDuringScope
hiddenDuringFlashbang
visible when(((!(ui_active())) && (!(flashbanged())) && (!(((weaponname() == "killstreak_ac130_mp") || (weaponname() == "killstreak_helicopter_minigun_mp") || (weaponname() == "killstreak_predator_missile_mp") || ((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp") || (weaponname() == "ac130_25mm_mp")) || (adsjavelin()) || (weaponname() == "heli_remote_mp") || missilecam()) || (getperk("equipment") == "_specialty_blastshield" && ((!(dvarint(scr_gameended))) || inkillcam())))) && (!(scoped())) && (!(selecting_location())) && (!isempjammed()) && ((!(dvarbool(g_hardcore))) || radarisenabled() || dvarint(g_compassShowEnemies)) && (!(dvarint(scr_gameended)))) && (!(milliseconds() - localvarint("ui_show_killedBy") < 4000 || (inkillcam()))) && (!(selecting_location())) && (!(spectatingfree())));
itemDef
{
name "minimap_border"
rect 3 3 100 100 8 8
border 1
borderSize 0.666667
visible 1
textscale 0.55
bordercolor 1 1 1 0.35
}
itemDef
{
rect 3 3 100 100 8 8
style 3
visible 1
textscale 0.55
forecolor 0.89 0.98 0.95 0.05
background "minimap_scanlines"
}
itemDef
{
name "minimap_map"
rect 3 3 100 100 8 8
type 8
visible 1
ownerdraw 159
textscale 0.55
background "compass_map_default"
}
itemDef
{
name "minimap_friendlies"
rect 3 3 100 100 8 8
type 8
visible 1
ownerdraw 158
textscale 0.55
exp forecolor a 1 - radarjamintensity();
}
itemDef
{
name "minimap_objectives"
rect 3 3 100 100 8 8
type 8
visible 1
ownerdraw 152
textscale 0.55
background "objective_line"
}
itemDef
{
name "minimap_enemies"
rect 3 3 100 100 8 8
type 8
visible 1
ownerdraw 175
textscale 0.55
exp forecolor a 1 - radarjamintensity();
}
itemDef
{
name "minimap_vehicles"
rect 3 3 100 100 8 8
type 8
visible 1
ownerdraw 155
textscale 0.55
exp forecolor a 1 - radarjamintensity();
}
itemDef
{
name "minimap_planes"
rect 3 3 100 100 8 8
type 8
visible 1
ownerdraw 156
textscale 0.55
exp forecolor a 1 - radarjamintensity();
}
itemDef
{
name "minimap_sentries"
rect 3 3 100 100 8 8
type 8
visible 1
ownerdraw 165
textscale 0.55
exp forecolor a 1 - radarjamintensity();
}
itemDef
{
name "minimap_player"
rect 3 3 100 100 8 8
type 8
visible 1
ownerdraw 150
textscale 0.55
background "compassping_player"
exp forecolor a 1 - radarjamintensity();
}
itemDef
{
rect 3 3 100 100 8 8
style 3
visible when(radarisjammed());
textscale 0.55
forecolor 0.64 0.74 0.71 1
background "white"
exp forecolor a radarjamintensity();
}
itemDef
{
rect 3 3 100 100 8 8
style 3
visible when(radarisjammed());
textscale 0.55
forecolor 0.89 0.98 0.95 1
background "ac130_overlay_grain"
exp forecolor a radarjamintensity();
}
itemDef
{
rect 3 3 100 100 8 8
style 3
visible 1
textscale 0.55
background "stencil_base"
}
itemDef
{
rect 3 3 100 100 8 8
style 3
visible 1
textscale 0.55
background "scanlines_stencil"
exp rect y (- 100) + ((200) * (1 - ((milliseconds() % 4000) / 4000)));
}
itemDef
{
rect 3 3 100 100 8 8
style 3
visible 1
textscale 0.55
forecolor 0.89 0.98 0.95 1
background "stencil_fill"
}
}
}

View File

@ -0,0 +1,320 @@
{
menuDef
{
name "mod_download_popmenu"
rect -150 -84 300 116 2 2
style 1
backcolor 1 1 1 1
focuscolor 1 1 1 1
background "white"
popup
legacySplitScreenScale
onOpen
{
setLocalVarInt ui_centerPopup (1);
}
onClose
{
setLocalVarInt ui_centerPopup (0);
uiScript mod_download_cancel;
}
onESC
{
close self;
}
itemDef
{
rect -1004 -564 1708 992 2 2
style 1
decoration
visible 1
textscale 0.55
backcolor 0 0 0 0.35
background "white"
}
itemDef
{
rect -1004 -564 1708 992 2 2
style 1
decoration
visible 1
textscale 0.55
backcolor 1 1 1 1
background "xpbar_stencilbase"
}
itemDef
{
rect 0 0 300 116 2 2
style 1
decoration
visible 1
textscale 0.55
backcolor 0.5 0.5 0.5 1
background "white"
}
itemDef
{
rect -150 -44 1708 512 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect -150 -44 -1708 -512 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect 0 0 300 32 2 2
style 3
decoration
visible 1
textscale 0.55
background "mockup_popup_bg_stencilfill"
exp rect h (56 + 3 * 20);
}
itemDef
{
rect -150 -44 -1708 -512 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil"
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect -150 -44 -1708 -512 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll"
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect -150 -44 300 0 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0
background "small_box_lightfx"
exp rect h (56 + 3 * 20);
}
itemDef
{
rect -64 -64 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_tl"
}
itemDef
{
rect 0 -64 300 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_t"
}
itemDef
{
rect 300 -64 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_tr"
}
itemDef
{
rect 300 0 64 0 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_r"
exp rect h (56 + 3 * 20);
}
itemDef
{
rect 300 0 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_br"
exp rect y (32 - 0) + ((24 + 3 * 20));
}
itemDef
{
rect 0 0 300 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_b"
exp rect y (32 - 0) + ((24 + 3 * 20));
}
itemDef
{
rect -64 0 64 64 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_bl"
exp rect y (32 - 0) + ((24 + 3 * 20));
}
itemDef
{
rect -63 0 64 0 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_l"
exp rect h (56 + 3 * 20);
}
itemDef
{
text "@MPUI_DOWNLOADING"
rect 0 0 300 40 2 2
decoration
type 1
visible 1
textalign 5
textscale 0.375
textfont 9
}
itemDef
{
text "@EXE_EST_TIME_LEFT"
rect 0 45 300 20 2 2
decoration
type 1
visible 1
textalignx 10
textscale 0.4
}
itemDef
{
name "est_time_left"
rect 0 45 300 20 2 2
decoration
type 1
visible 1
textalign 2
textalignx -10
textscale 0.4
exp text dvarstring(ui_dl_timeLeft);
}
itemDef
{
text "@EXE_TRANS_RATE"
rect 0 65 300 20 2 2
decoration
type 1
visible 1
textalignx 10
textscale 0.4
}
itemDef
{
name "trans_rate"
rect 0 65 300 20 2 2
decoration
type 1
visible 1
textalign 2
textalignx -10
textscale 0.4
exp text dvarstring(ui_dl_transRate);
}
itemDef
{
text "@EXE_PROGRESS"
rect 0 85 300 20 2 2
decoration
type 1
visible 1
textalignx 10
textscale 0.4
}
itemDef
{
name "progress"
rect 0 85 300 20 2 2
decoration
autowrapped
type 1
visible 1
textalign 2
textalignx -10
textscale 0.4
exp text dvarstring(ui_dl_progress);
}
itemDef
{
name "cancel"
text "@MENU_CANCEL"
group "mw2_popup_button"
rect 6 96 292 20 2 2
style 1
type 1
visible when(1);
textalign 6
textalignx -24
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "popup_button_selection_bar"
onFocus
{
play mouse_over;
if (dvarstring(gameMode) != "mp")
{
setItemColor mw2_popup_button backcolor 0 0 0 0;
}
setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton (1);
}
leaveFocus
{
setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton (0);
}
action
{
play mouse_click;
close self;
}
}
}
}

407
ui_mp/mods_menu.menu Normal file
View File

@ -0,0 +1,407 @@
{
menuDef
{
name "mods_menu"
fullscreen 1
rect 0 0 640 480 0 0
focuscolor 1 1 1 1
soundLoop "music_mainmenu_mp"
fadeClamp 1
fadeCycle 1
fadeAmount 0.1
onOpen
{
setLocalVarString ui_info_name "";
setLocalVarString ui_info_desc "";
setLocalVarString ui_info_icon "";
uiScript LoadMods;
setFocus modlist;
}
onESC
{
close self;
}
itemDef
{
rect -427 -240 854 480 2 2
style 3
decoration
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
textscale 0.55
forecolor 0 0 0 0.4
background "white"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
background "mw2_main_background"
}
itemDef
{
rect 0 0 1708 480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect 0 0 -1708 -480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.523696
background "mockup_bg_glow"
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.476023
background "mockup_bg_glow"
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
}
itemDef
{
text "@MPUI_MOD"
rect -40 0 300 20 0 1
decoration
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
textaligny -4
textscale 0.2
forecolor 1 1 1 0.8
}
itemDef
{
name "mod"
rect -40 0 300 20 0 1
decoration
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
textalignx 16
textaligny -4
textscale 0.2
forecolor 1 1 1 0.8
exp text dvarstring(fs_game);
}
itemDef
{
text "@MENU_MODS_CAPS"
rect 0 4 210 28 1 1
decoration
visible 1
textalign 6
textalignx -60
textscale 0.5
textfont 9
exp rect x - 80;
}
itemDef
{
rect 0 28 640 356 4 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.15
background "white"
}
itemDef
{
rect -32 -4 32 32 4 1
style 3
decoration
visible 1
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_tl"
}
itemDef
{
rect 0 -4 640 32 4 1
style 3
decoration
visible 1
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_t"
}
itemDef
{
rect 640 -4 32 32 4 1
style 3
decoration
visible 1
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_tr"
}
itemDef
{
rect 640 28 32 356 4 1
style 3
decoration
visible 1
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_r"
}
itemDef
{
rect 640 384 32 32 4 1
style 3
decoration
visible 1
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_br"
}
itemDef
{
rect 0 384 640 32 4 1
style 3
decoration
visible 1
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_b"
}
itemDef
{
rect -32 384 32 32 4 1
style 3
decoration
visible 1
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_bl"
}
itemDef
{
rect -32 28 32 356 4 1
style 3
decoration
visible 1
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_l"
}
itemDef
{
rect -292 28 292 356 3 1
style 3
decoration
visible 1
textscale 0.55
forecolor 0 0 0 0.7
background "black"
}
itemDef
{
name "image"
rect -282 50 272 127 3 1
style 3
decoration
visible when(localvarstring("ui_info_icon") != "");
textscale 0.55
exp material localvarstring("ui_info_icon");
}
itemDef
{
name "longname"
rect -282 28 272 22 3 1
decoration
visible 1
textalign 4
textscale 0.375
textfont 9
exp text "@" + localvarstring("ui_info_name");
}
itemDef
{
name "description"
rect -282 180 272 20 3 1
decoration
autowrapped
visible 1
textalign 4
textscale 0.375
textfont 3
forecolor 1 1 1 0.65
exp text "@" + localvarstring("ui_info_desc");
}
itemDef
{
name "modlist"
rect 0 28 210 356 1 1
style 1
type 6
visible 1
textalignx 6
textscale 0.375
textfont 1
backcolor 0 0 0 0.5
outlinecolor 0 0 0 0.6
execKeyInt 13
{
play mouse_click;
uiScript RunMod;
}
elementwidth 120
elementheight 22
feeder 9
columns 1
8 120 25 0
doubleclick
{
uiScript RunMod;
}
selectBorder 0.8 0.95 1 0
}
itemDef
{
name "loadMod"
text "@MENU_LAUNCH"
group "mw2_button"
rect -292 -48 292 20 3 3
style 1
type 1
visible when(dvarstring(fs_game) == "");
textalign 6
textalignx -40
textscale 0.375
textfont 1
backcolor 0.6 0.55 0.55 0.2
background "menu_setting_selection_bar"
onFocus
{
play mouse_over;
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor "0.6" "0.55" "0.55" "0.2";
}
action
{
play mouse_click;
uiScript RunMod;
}
}
itemDef
{
name "loadMod"
text "@MENU_LAUNCH"
group "mw2_button"
rect -292 -68 292 20 3 3
style 1
type 1
visible when(dvarstring(fs_game) != "");
textalign 6
textalignx -40
textscale 0.375
textfont 1
backcolor 0.6 0.55 0.55 0.2
background "menu_setting_selection_bar"
onFocus
{
play mouse_over;
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor "0.6" "0.55" "0.55" "0.2";
}
action
{
play mouse_click;
uiScript RunMod;
}
}
itemDef
{
name "unloadMod"
text "@MENU_LAUNCH_WITHOUT_MODS"
group "mw2_button"
rect -292 -48 292 20 3 3
style 1
type 1
visible when(dvarstring(fs_game) != "");
textalign 6
textalignx -40
textscale 0.375
textfont 1
backcolor 0.6 0.55 0.55 0.2
background "menu_setting_selection_bar"
onFocus
{
play mouse_over;
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor "0.6" "0.55" "0.55" "0.2";
}
action
{
play mouse_click;
uiScript ClearMods;
}
}
itemDef
{
name "back"
text "@PLATFORM_BACK_CAPS"
group "mw2_button"
rect -64 -4 336 20 1 3
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
close self;
}
}
}
}

251
ui_mp/onlineupdate.menu Normal file
View File

@ -0,0 +1,251 @@
{
menuDef
{
name "onlineupdate"
rect -150 -44 300 44 2 2
style 1
backcolor 1 1 1 1
focuscolor 1 1 1 1
background "white"
popup
fadeClamp 1
fadeCycle 1
fadeAmount 0.1
legacySplitScreenScale
onOpen
{
setLocalVarInt ui_centerPopup (1);
}
onClose
{
setLocalVarInt ui_centerPopup (0);
}
onESC
{
close self;
}
itemDef
{
rect -1004 -524 1708 960 2 2
style 1
decoration
visible 1
textscale 0.55
backcolor 0 0 0 0.35
background "white"
}
itemDef
{
rect -1004 -524 1708 960 2 2
style 1
decoration
visible 1
textscale 0.55
backcolor 1 1 1 1
background "xpbar_stencilbase"
}
itemDef
{
rect 0 0 300 44 2 2
style 1
decoration
visible 1
textscale 0.55
backcolor 0.5 0.5 0.5 1
background "white"
}
itemDef
{
rect -150 -44 1708 480 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect -150 -44 -1708 -480 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect 0 0 300 0 2 2
style 3
decoration
visible 1
textscale 0.55
background "mockup_popup_bg_stencilfill"
exp rect h (24 + 1 * 20);
}
itemDef
{
rect -150 -44 -1708 -480 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil"
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect -150 -44 -1708 -480 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll"
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect -150 -44 300 0 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0
background "small_box_lightfx"
exp rect h (24 + 1 * 20);
}
itemDef
{
rect -64 -64 64 64 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_tl"
}
itemDef
{
rect 0 -64 300 64 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_t"
}
itemDef
{
rect 300 -64 64 64 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_tr"
}
itemDef
{
rect 300 0 64 0 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_r"
exp rect h (24 + 1 * 20);
}
itemDef
{
rect 300 0 64 64 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_br"
exp rect y (0 - 0) + ((24 + 1 * 20));
}
itemDef
{
rect 0 0 300 64 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_b"
exp rect y (0 - 0) + ((24 + 1 * 20));
}
itemDef
{
rect -64 0 64 64 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_bl"
exp rect y (0 - 0) + ((24 + 1 * 20));
}
itemDef
{
rect -63 0 64 0 2 2
style 3
decoration
visible 1
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_l"
exp rect h (24 + 1 * 20);
}
itemDef
{
rect 0 6 300 40 2 2
decoration
type 1
visible 1
textalign 5
textscale 0.375
exp text dvarstring(popupText);
}
itemDef
{
rect 0 10 300 40 2 2
decoration
type 1
visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.25 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.5);
textalign 5
textaligny 10
textscale 0.375
exp text ".";
}
itemDef
{
rect 0 10 300 40 2 2
decoration
type 1
visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.5 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.75);
textalign 5
textaligny 10
textscale 0.375
exp text "..";
}
itemDef
{
rect 0 10 300 40 2 2
decoration
type 1
visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.75);
textalign 5
textaligny 10
textscale 0.375
exp text "...";
}
}
}

65
ui_mp/patch_mp_menus.txt Normal file
View File

@ -0,0 +1,65 @@
{
loadMenu { "ui_mp/player_popup_party.menu" }
loadMenu { "ui_mp/player_popup_publiclobby.menu" }
loadMenu { "ui_mp/player_popup_privatematch.menu" }
loadMenu { "ui_mp/hostchangewarning.menu" }
loadMenu { "ui_mp/youarehost.menu" }
loadMenu { "ui_mp/popup_serverpassword.menu" }
loadMenu { "ui_mp/popup_joinpassword.menu" }
loadMenu { "ui_mp/settings_map.menu" }
loadMenu { "ui_mp/settings_bonus_map.menu" }
loadMenu { "ui_mp/auconfirm.menu" }
loadMenu { "ui_mp/cac_popup.menu" }
loadMenu { "ui_mp/changelog.menu" }
loadMenu { "ui_mp/connect.menu" }
loadMenu { "ui_mp/controls_multi.menu" }
loadMenu { "ui_mp/createfavorite_popmenu.menu" }
loadMenu { "ui_mp/createserver.menu" }
loadMenu { "ui_mp/dpad_hd.menu" }
loadMenu { "ui_mp/filter_popmenu.menu" }
loadMenu { "ui_mp/hud_fullscreen.menu" }
loadMenu { "ui_mp/iw4x_credits.menu" }
loadMenu { "ui_mp/leavelobbywarning.menu" }
loadMenu { "ui_mp/main_text.menu" }
loadMenu { "ui_mp/menu_first_launch.menu" }
loadMenu { "ui_mp/menu_online_barracks.menu" }
loadMenu { "ui_mp/menu_xboxlive_lobby.menu" }
loadMenu { "ui_mp/menu_xboxlive_privatelobby.menu" }
loadMenu { "ui_mp/minimap_fullscreen.menu" }
loadMenu { "ui_mp/mods_menu.menu" }
loadMenu { "ui_mp/mod_download_popmenu.menu" }
loadMenu { "ui_mp/onlineupdate.menu" }
loadMenu { "ui_mp/pc_join_unranked.menu" }
loadMenu { "ui_mp/pc_options_actions.menu" }
loadMenu { "ui_mp/pc_options_advanced_video.menu" }
loadMenu { "ui_mp/pc_options_audio.menu" }
loadMenu { "ui_mp/pc_options_controls.menu" }
loadMenu { "ui_mp/pc_options_game.menu" }
loadMenu { "ui_mp/pc_options_gamepad.menu" }
loadMenu { "ui_mp/pc_options_look.menu" }
loadMenu { "ui_mp/pc_options_movement.menu" }
loadMenu { "ui_mp/pc_options_multi.menu" }
loadMenu { "ui_mp/pc_options_video.menu" }
loadMenu { "ui_mp/playerdataread.menu" }
loadMenu { "ui_mp/popup_cac_assault_primary.menu" }
loadMenu { "ui_mp/popup_cac_handgun_secondary.menu" }
loadMenu { "ui_mp/popup_cac_primary_camo.menu" }
loadMenu { "ui_mp/popup_cac_smg_primary.menu" }
loadMenu { "ui_mp/popup_cac_sniper_primary.menu" }
loadMenu { "ui_mp/popup_cac_weapon_primary.menu" }
loadMenu { "ui_mp/popup_customclan.menu" }
loadMenu { "ui_mp/popup_customtitle.menu" }
loadMenu { "ui_mp/popup_friends.menu" }
loadMenu { "ui_mp/popup_gamesetup.menu" }
loadMenu { "ui_mp/popup_playername.menu" }
loadMenu { "ui_mp/popup_ready.menu" }
loadMenu { "ui_mp/quickmessage.menu" }
loadMenu { "ui_mp/resetclass.menu" }
loadMenu { "ui_mp/security_increase_popmenu.menu" }
loadMenu { "ui_mp/serverinfo_popmenu.menu" }
loadMenu { "ui_mp/settings_gametype.menu" }
loadMenu { "ui_mp/startup_messages.menu" }
loadMenu { "ui_mp/stats_reset.menu" }
loadMenu { "ui_mp/stats_unlock.menu" }
loadMenu { "ui_mp/pc_theater_menu.menu" }
}

911
ui_mp/pc_join_unranked.menu Normal file
View File

@ -0,0 +1,911 @@
{
menuDef
{
name "pc_join_unranked"
fullscreen 1
rect 0 0 640 480 0 0
focuscolor 1 1 1 1
soundLoop "music_mainmenu_mp"
fadeClamp 1
fadeCycle 1
fadeAmount 0.1
onOpen
{
exec "selectStringTableEntryInDvar mp/didyouknow.csv 0 didyouknow";
uiScript LoadArenas;
uiScript UpdateFilter;
uiScript RefreshServers;
setFocus serverlist;
}
onESC
{
close self;
}
execKeyInt 13
{
play mouse_click;
uiScript JoinServer;
}
execKeyInt 171
{
play mouse_click;
uiScript RefreshServers;
}
itemDef
{
rect -427 -240 854 480 2 2
style 3
decoration
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
textscale 0.55
forecolor 0 0 0 0.4
background "white"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
background "mw2_main_background"
}
itemDef
{
rect 0 0 1708 480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect 0 0 -1708 -480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.523696
background "mockup_bg_glow"
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.476023
background "mockup_bg_glow"
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
}
itemDef
{
name "sourcefield"
rect 100 -33 144 18 1 1
style 1
type 8
visible 1
ownerdraw 220
textalignx 10
textaligny 16
textscale 0.3
textfont 3
backcolor 0.6 0.55 0.55 0.2
background "menu_setting_selection_bar"
onFocus
{
play mouse_over;
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor "0.6" "0.55" "0.55" "0.2";
}
action
{
play mouse_click;
}
}
itemDef
{
name "gametype"
text "@MENU_GAME_TYPE"
rect 100 -15 144 18 1 1
style 1
type 8
visible 1
ownerdraw 253
textalignx 10
textaligny 16
textscale 0.3
textfont 3
backcolor 0.6 0.55 0.55 0.2
background "menu_setting_selection_bar"
onFocus
{
play mouse_over;
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor "0.6" "0.55" "0.55" "0.2";
}
action
{
play mouse_click;
}
}
itemDef
{
name "filterServers"
text "@MENU_FILTER_SERVERS"
rect 100 3 144 18 1 1
style 1
type 1
visible 1
textalignx 10
textaligny 16
textscale 0.3
textfont 3
backcolor 0.6 0.55 0.55 0.2
background "menu_setting_selection_bar"
onFocus
{
play mouse_over;
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor "0.6" "0.55" "0.55" "0.2";
}
action
{
play mouse_click;
open filter_popmenu;
}
}
itemDef
{
name "refreshSource"
text "@PLATFORM_REFRESH_LIST"
rect 304 -33 144 18 1 1
style 1
type 1
visible 1
textalignx 10
textaligny 16
textscale 0.3
textfont 3
backcolor 0.6 0.55 0.55 0.2
background "menu_setting_selection_bar"
onFocus
{
play mouse_over;
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor "0.6" "0.55" "0.55" "0.2";
}
action
{
play mouse_click;
uiScript RefreshServers;
}
}
itemDef
{
name "refreshFilter"
text "@MENU_QUICK_REFRESH"
rect 304 -15 144 18 1 1
style 1
type 1
visible 1
textalignx 10
textaligny 16
textscale 0.3
textfont 3
backcolor 0.6 0.55 0.55 0.2
background "menu_setting_selection_bar"
onFocus
{
play mouse_over;
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor "0.6" "0.55" "0.55" "0.2";
}
action
{
play mouse_click;
uiScript RefreshFilter;
}
}
itemDef
{
name "createFavorite2"
text "@MENU_NEW_FAVORITE"
rect 304 3 144 18 1 1
style 1
type 1
visible when(dvarint(ui_netSource) != 1);
disabled when(dvarint(ui_netSource) != 2);
textalignx 10
textaligny 16
textscale 0.3
textfont 3
backcolor 0.6 0.55 0.55 0.2
disablecolor 0.6 0.55 0.55 1
background "menu_setting_selection_bar"
onFocus
{
play mouse_over;
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor "0.6" "0.55" "0.55" "0.2";
}
action
{
play mouse_click;
open createfavorite_popmenu;
}
}
itemDef
{
name "refreshDate"
rect -44 -13 100 18 1 1
decoration
visible 1
textalign 8
textscale 0.25
textfont 3
exp text "@MPUI_SERVERQUERIED";
}
itemDef
{
name "mapimageFrame"
rect 539 9 93 62 0 0
style 1
decoration
visible when(dvarbool(ui_serverSelected) && dvarbool(widescreen));
textscale 0.55
backcolor 0 0 0 0.5
background "black"
}
itemDef
{
name "mapimage"
rect 540 10 91 60 0 0
style 3
decoration
visible when(dvarbool(ui_serverSelected) && dvarbool(widescreen));
textscale 0.55
background "black"
exp material "preview_" + dvarstring(ui_serverSelectedMap);
}
itemDef
{
name "window"
rect 0 42 698 338 4 1
style 1
decoration
visible 1
textscale 0.55
backcolor 1 1 1 0.15
}
itemDef
{
rect 0 10 698 32 4 1
style 3
decoration
visible 1
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_t"
}
itemDef
{
rect 0 380 698 32 4 1
style 3
decoration
visible 1
textscale 0.55
forecolor 0 0 0 1
background "drop_shadow_b"
}
itemDef
{
name "lineMatchtype"
group "grpCoulmnSep"
rect 28 42 1 338 0 1
style 1
decoration
visible 1
textscale 0.55
backcolor 1 1 1 0.2
}
itemDef
{
name "lineAimAssist"
group "grpCoulmnSep"
rect 50 42 1 338 0 1
style 1
decoration
visible 1
textscale 0.55
backcolor 1 1 1 0.2
}
itemDef
{
name "lineVoiceChat"
group "grpCoulmnSep"
rect 72 42 1 338 0 1
style 1
decoration
visible 1
textscale 0.55
backcolor 1 1 1 0.2
}
itemDef
{
name "lineServer"
group "grpCoulmnSep"
rect 94 42 1 338 0 1
style 1
decoration
visible 1
textscale 0.55
backcolor 1 1 1 0.2
}
itemDef
{
name "lineMap"
group "grpCoulmnSep"
rect 304 42 1 338 0 1
style 1
decoration
visible 1
textscale 0.55
backcolor 1 1 1 0.2
}
itemDef
{
name "linePlayers"
group "grpCoulmnSep"
rect 376 42 1 338 0 1
style 1
decoration
visible 1
textscale 0.55
backcolor 1 1 1 0.2
}
itemDef
{
name "lineType"
group "grpCoulmnSep"
rect 428 42 1 338 0 1
style 1
decoration
visible 1
textscale 0.55
backcolor 1 1 1 0.2
}
itemDef
{
name "lineMod"
group "grpCoulmnSep"
rect 532 42 1 338 0 1
style 1
decoration
visible 1
textscale 0.55
backcolor 1 1 1 0.2
}
itemDef
{
name "linePing"
group "grpCoulmnSep"
rect 634 42 1 338 0 1
style 1
decoration
visible 1
textscale 0.55
backcolor 1 1 1 0.2
}
itemDef
{
name "serverlist"
rect 0 58 690 321 0 1
style 1
type 6
visible 1
textscale 0.25
textfont 1
outlinecolor 0 0 0 0.6
elementwidth 120
elementheight 16
feeder 2
columns 10
6 16 10 1
30 16 10 1
52 16 10 1
74 16 10 1
99 208 38 0
309 70 25 0
381 50 10 0
433 102 22 0
537 100 20 0
639 40 20 0
doubleclick
{
uiScript JoinServer;
}
}
itemDef
{
name "password"
group "grpTabs"
rect 5 44 30 16 0 1
style 1
type 1
visible 1
textscale 0.55
forecolor 1 0.8 0.4 1
action
{
play mouse_click;
uiScript ServerSort 0;
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
setItemColor passwordicon foreColor 1 "1.0" "0.5" 1;
setItemColor matchtypeicon foreColor 1 1 1 1;
setItemColor aimassisticon foreColor 1 1 1 1;
setItemColor voicechaticon foreColor 1 1 1 1;
}
}
itemDef
{
name "passwordicon"
rect 7 46 16 16 0 1
style 3
decoration
visible 1
textscale 0.55
background "cardicon_locked"
}
itemDef
{
name "matchtype"
group "grpTabs"
rect 32 44 20 16 0 1
style 1
type 1
visible 1
textscale 0.55
forecolor 1 0.8 0.4 1
action
{
play mouse_click;
uiScript ServerSort 1;
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
setItemColor matchtypeicon foreColor 1 "1.0" "0.5" 1;
setItemColor passwordicon foreColor 1 1 1 1;
setItemColor aimassisticon foreColor 1 1 1 1;
setItemColor voicechaticon foreColor 1 1 1 1;
}
}
itemDef
{
name "matchtypeicon"
rect 32 46 16 16 0 1
style 3
decoration
visible 1
textscale 0.55
background "server_hardware_header"
}
itemDef
{
name "aimassist"
group "grpTabs"
rect 54 44 20 16 0 1
style 1
type 1
visible 1
textscale 0.55
forecolor 1 0.8 0.4 1
action
{
play mouse_click;
uiScript ServerSort 2;
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
setItemColor aimassisticon foreColor 1 "1.0" "0.5" 1;
setItemColor passwordicon foreColor 1 1 1 1;
setItemColor matchtypeicon foreColor 1 1 1 1;
setItemColor voicechaticon foreColor 1 1 1 1;
}
}
itemDef
{
name "aimassisticon"
rect 54 46 16 16 0 1
style 3
decoration
visible 1
textscale 0.55
background "cardicon_headshot"
}
itemDef
{
name "voicechat"
group "grpTabs"
rect 76 44 20 16 0 1
style 1
type 1
visible 1
textscale 0.55
forecolor 1 0.8 0.4 1
action
{
play mouse_click;
uiScript ServerSort 3;
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
setItemColor voicechaticon foreColor 1 "1.0" "0.5" 1;
setItemColor passwordicon foreColor 1 1 1 1;
setItemColor matchtypeicon foreColor 1 1 1 1;
setItemColor aimassisticon foreColor 1 1 1 1;
}
}
itemDef
{
name "voicechaticon"
rect 76 46 16 16 0 1
style 3
decoration
visible 1
textscale 0.55
background "talkingicon"
}
itemDef
{
name "server"
text "@MENU_SERVER_NAME"
group "grpTabs"
rect 98 44 208 16 0 1
style 1
type 1
visible 1
textalignx 2
textaligny 16
textscale 0.25
textfont 1
forecolor 1 0.8 0.4 1
action
{
play mouse_click;
uiScript ServerSort 4;
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
setItemColor matchtypeicon foreColor 1 1 1 1;
setItemColor passwordicon foreColor 1 1 1 1;
setItemColor aimassisticon foreColor 1 1 1 1;
setItemColor voicechaticon foreColor 1 1 1 1;
setitemColor self foreColor 1 "1.0" "0.5" 1;
}
}
itemDef
{
name "map"
text "@MENU_MAP_NAME"
group "grpTabs"
rect 308 44 70 16 0 1
style 1
type 1
visible 1
textalignx 2
textaligny 16
textscale 0.25
textfont 1
forecolor 1 0.8 0.4 1
action
{
play mouse_click;
uiScript ServerSort 5;
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
setItemColor matchtypeicon foreColor 1 1 1 1;
setItemColor passwordicon foreColor 1 1 1 1;
setItemColor aimassisticon foreColor 1 1 1 1;
setItemColor voicechaticon foreColor 1 1 1 1;
setitemColor self foreColor 1 "1.0" "0.5" 1;
}
}
itemDef
{
name "players"
text "@MENU_NUMPLAYERS"
group "grpTabs"
rect 380 44 50 16 0 1
style 1
type 1
visible 1
textalignx 2
textaligny 16
textscale 0.25
textfont 1
forecolor 1 0.8 0.4 1
action
{
play mouse_click;
uiScript ServerSort 6;
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
setItemColor matchtypeicon foreColor 1 1 1 1;
setItemColor passwordicon foreColor 1 1 1 1;
setItemColor aimassisticon foreColor 1 1 1 1;
setItemColor voicechaticon foreColor 1 1 1 1;
setitemColor self foreColor 1 "1.0" "0.5" 1;
}
}
itemDef
{
name "type"
text "@MENU_GAME_TYPE"
group "grpTabs"
rect 432 44 102 16 0 1
style 1
type 1
visible 1
textalignx 2
textaligny 16
textscale 0.25
textfont 1
forecolor 1 0.8 0.4 1
action
{
play mouse_click;
uiScript ServerSort 7;
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
setItemColor matchtypeicon foreColor 1 1 1 1;
setItemColor passwordicon foreColor 1 1 1 1;
setItemColor aimassisticon foreColor 1 1 1 1;
setItemColor voicechaticon foreColor 1 1 1 1;
setitemColor self foreColor 1 "1.0" "0.5" 1;
}
}
itemDef
{
name "mod"
text "@MPUI_MOD"
group "grpTabs"
rect 536 44 100 16 0 1
style 1
type 1
visible 1
textalignx 2
textaligny 16
textscale 0.25
textfont 1
forecolor 1 0.8 0.4 1
action
{
play mouse_click;
uiScript ServerSort 8;
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
setItemColor matchtypeicon foreColor 1 1 1 1;
setItemColor passwordicon foreColor 1 1 1 1;
setItemColor aimassisticon foreColor 1 1 1 1;
setItemColor voicechaticon foreColor 1 1 1 1;
setitemColor self foreColor 1 "1.0" "0.5" 1;
}
}
itemDef
{
name "ping"
text "@MENU_PING"
group "grpTabs"
rect 638 44 40 16 0 1
style 1
type 1
visible 1
textalignx 2
textaligny 16
textscale 0.25
textfont 1
forecolor 1 0.8 0.4 1
action
{
play mouse_click;
uiScript ServerSort 9;
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
setItemColor matchtypeicon foreColor 1 1 1 1;
setItemColor passwordicon foreColor 1 1 1 1;
setItemColor aimassisticon foreColor 1 1 1 1;
setItemColor voicechaticon foreColor 1 1 1 1;
setitemColor self foreColor 1 "1.0" "0.5" 1;
}
}
itemDef
{
text "@MENU_JOIN_SERVER_CAPS"
rect -50 -35 146 28 1 1
decoration
visible 1
textalign 8
textalignx 5
textscale 0.45
textfont 9
}
itemDef
{
name "back"
text "@PLATFORM_BACK_CAPS"
rect -310 -10 100 20 2 3
style 1
type 1
visible 1
textalign 9
textscale 0.275
textfont 9
onFocus
{
play mouse_over;
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
action
{
play mouse_click;
close self;
}
}
itemDef
{
name "addFavorite"
text "@MENU_ADD_TO_FAVORITES_CAPS"
rect -194 -10 140 20 2 3
style 1
type 1
visible when(dvarint(ui_netSource) != 2);
textalign 9
textscale 0.275
textfont 9
onFocus
{
play mouse_over;
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
action
{
play mouse_click;
uiScript CreateListFavorite;
}
}
itemDef
{
name "delFavorite"
text "@MENU_DEL_FAVORITE_CAPS"
rect -194 -10 140 20 2 3
style 1
type 1
visible when(dvarint(ui_netSource) == 2);
textalign 9
textscale 0.275
textfont 9
onFocus
{
play mouse_over;
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
action
{
play mouse_click;
uiScript DeleteFavorite;
}
}
itemDef
{
name "passwordenter"
text "@MENU_PASSWORD_CAPS"
rect -34 -10 100 20 2 3
style 1
type 1
visible 1
textalign 9
textscale 0.275
textfont 9
onFocus
{
play mouse_over;
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
action
{
play mouse_click;
open popup_joinpassword;
}
}
itemDef
{
name "serverinfo"
text "@MENU_SERVER_INFO_CAPS"
rect 86 -10 100 20 2 3
style 1
type 1
visible 1
textalign 9
textscale 0.275
textfont 9
onFocus
{
play mouse_over;
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
action
{
play mouse_click;
open serverinfo_popmenu;
}
}
itemDef
{
name "joinserver"
text "@MENU_JOIN_SERVER_CAPS"
rect 206 -10 100 20 2 3
style 1
type 1
visible 1
textalign 9
textscale 0.275
textfont 9
onFocus
{
play mouse_over;
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
action
{
play mouse_click;
uiScript JoinServer;
}
}
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

915
ui_mp/pc_options_audio.menu Normal file
View File

@ -0,0 +1,915 @@
{
menuDef
{
name "pc_options_audio"
rect 0 0 640 480 0 0
focuscolor 1 1 1 1
blurWorld 7
onOpen
{
close controls_multi;
close main_controls;
close main_options;
close options_control_defaults;
close options_graphics;
close options_graphics_defaults;
close options_graphics_texture;
close options_multi;
close options_voice;
close pc_options_advanced_video;
close pc_options_controls;
close pc_options_game;
close pc_options_movement;
close pc_options_multi;
close pc_options_video;
close pc_options_voice;
setLocalVarString ui_hint_text "@NULL_EMPTY";
if (!localvarint("ui_showAudioApply"))
{
exec "setfromdvar ui_snd_khz snd_khz";
exec "setfromdvar ui_snd_enableEq snd_enableEq";
exec "setfromdvar ui_outputConfig snd_outputConfiguration";
}
execnow "profile_menuDvarsSetup; resetViewport";
setFocus buttonAudio;
}
onESC
{
close self;
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply"))
{
execnow "setfromdvar r_picmip ui_r_picmip";
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
exec "wait; wait; r_applyPicmip";
setLocalVarBool ui_showPicApply (0);
}
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
{
open all_restart_popmenu;
}
execnow "profile_menuDvarsFinish; resetViewport";
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
itemDef
{
rect -427 -240 854 480 2 2
style 3
decoration
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
textscale 0.55
forecolor 0 0 0 0.4
background "white"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
background "mw2_main_background"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
background "mw2_main_background"
}
itemDef
{
rect 0 0 1708 480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
}
itemDef
{
rect 0 0 -1708 -480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
}
itemDef
{
rect -107 0 854 480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
background "animbg_blur_front"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.523696
background "mockup_bg_glow"
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.476023
background "mockup_bg_glow"
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
}
itemDef
{
rect -64 0 280 480 1 0
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.1
background "gradient_bottom"
}
itemDef
{
rect -64 0 280 480 1 0
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.1
background "gradient_fadein_fadebottom"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
visible when(dvarint(cl_ingame) == 0);
textscale 0.55
forecolor 0.25 0.25 0.25 0.75
background "gradient_fadein"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
visible when(dvarint(cl_ingame) == 0);
textscale 0.55
forecolor 0.25 0.25 0.25 0.75
background "gradient_fadein"
}
itemDef
{
rect -64 0 280 480 1 0
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.1
background "gradient_fadein_fadebottom"
}
itemDef
{
text "@MPUI_MOD"
rect -40 0 300 20 0 1
decoration
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
textaligny -4
textscale 0.2
forecolor 1 1 1 0.8
}
itemDef
{
name "mod"
rect -40 0 300 20 0 1
decoration
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
textalignx 16
textaligny -4
textscale 0.2
forecolor 1 1 1 0.8
exp text dvarstring(fs_game);
}
itemDef
{
text "@MENU_OPTIONS_CAPS"
rect 0 0 272 28 1 1
decoration
visible 1
textalign 6
textalignx -60
textscale 0.5
textfont 9
}
itemDef
{
name "buttonVideo"
text "@MENU_VIDEO"
group "mw2_button"
rect -64 28 336 20 1 1
style 1
type 1
visible 1
disabled when(0);
textalign 6
textalignx -60
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos (getfocuseditemy());
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text ("@NULL_EMPTY");
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
close controls_multi;
close main_controls;
close main_options;
close options_control_defaults;
close options_graphics;
close options_graphics_defaults;
close options_graphics_texture;
close options_multi;
close options_voice;
close pc_options_actions;
close pc_options_advanced_video;
close pc_options_audio;
close pc_options_controls;
close pc_options_game;
close pc_options_gamepad;
close pc_options_look;
close pc_options_movement;
close pc_options_multi;
close pc_options_video;
close pc_options_voice;
setLocalVarString ui_hint_text "@NULL_EMPTY";
open pc_options_video;
}
}
itemDef
{
name "buttonAudio"
text "@MENU_AUDIO"
group "mw2_button"
rect -64 48 336 20 1 1
style 1
type 1
visible 1
disabled when(0);
textalign 6
textalignx -60
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos (getfocuseditemy());
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text ("@NULL_EMPTY");
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
close controls_multi;
close main_controls;
close main_options;
close options_control_defaults;
close options_graphics;
close options_graphics_defaults;
close options_graphics_texture;
close options_multi;
close options_voice;
close pc_options_actions;
close pc_options_advanced_video;
close pc_options_audio;
close pc_options_controls;
close pc_options_game;
close pc_options_gamepad;
close pc_options_look;
close pc_options_movement;
close pc_options_multi;
close pc_options_video;
close pc_options_voice;
setLocalVarString ui_hint_text "@NULL_EMPTY";
open pc_options_audio;
}
}
itemDef
{
name "buttonControls"
text "@MENU_CONTROLS"
group "mw2_button"
rect -64 68 336 20 1 1
style 1
type 1
visible 1
disabled when(0);
textalign 6
textalignx -60
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos (getfocuseditemy());
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text ("@NULL_EMPTY");
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
close controls_multi;
close main_controls;
close main_options;
close options_control_defaults;
close options_graphics;
close options_graphics_defaults;
close options_graphics_texture;
close options_multi;
close options_voice;
close pc_options_actions;
close pc_options_advanced_video;
close pc_options_audio;
close pc_options_controls;
close pc_options_game;
close pc_options_gamepad;
close pc_options_look;
close pc_options_movement;
close pc_options_multi;
close pc_options_video;
close pc_options_voice;
setLocalVarString ui_hint_text "@NULL_EMPTY";
open pc_options_controls;
}
}
itemDef
{
name "buttonMulti"
text "@MENU_MULTIPLAYER"
group "mw2_button"
rect -64 88 336 20 1 1
style 1
type 1
visible 1
disabled when(0);
textalign 6
textalignx -60
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos (getfocuseditemy());
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text ("@NULL_EMPTY");
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
close controls_multi;
close main_controls;
close main_options;
close options_control_defaults;
close options_graphics;
close options_graphics_defaults;
close options_graphics_texture;
close options_multi;
close options_voice;
close pc_options_actions;
close pc_options_advanced_video;
close pc_options_audio;
close pc_options_controls;
close pc_options_game;
close pc_options_gamepad;
close pc_options_look;
close pc_options_movement;
close pc_options_multi;
close pc_options_video;
close pc_options_voice;
setLocalVarString ui_hint_text "@NULL_EMPTY";
open pc_options_multi;
}
}
itemDef
{
name "buttonGame"
text "@MENU_GAME"
group "mw2_button"
rect -64 108 336 20 1 1
style 1
type 1
visible 1
disabled when(0);
textalign 6
textalignx -60
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos (getfocuseditemy());
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text ("@NULL_EMPTY");
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
close controls_multi;
close main_controls;
close main_options;
close options_control_defaults;
close options_graphics;
close options_graphics_defaults;
close options_graphics_texture;
close options_multi;
close options_voice;
close pc_options_actions;
close pc_options_advanced_video;
close pc_options_audio;
close pc_options_controls;
close pc_options_game;
close pc_options_gamepad;
close pc_options_look;
close pc_options_movement;
close pc_options_multi;
close pc_options_video;
close pc_options_voice;
setLocalVarString ui_hint_text "@NULL_EMPTY";
open pc_options_game;
}
}
itemDef
{
name "buttonGamepad"
text "@MENU_GAMEPAD"
group "mw2_button"
rect -64 128 336 20 1 1
style 1
type 1
visible 1
disabled when(0);
textalign 6
textalignx -60
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos (getfocuseditemy());
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text ("@NULL_EMPTY");
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
close controls_multi;
close main_controls;
close main_options;
close options_control_defaults;
close options_graphics;
close options_graphics_defaults;
close options_graphics_texture;
close options_multi;
close options_voice;
close pc_options_actions;
close pc_options_advanced_video;
close pc_options_audio;
close pc_options_controls;
close pc_options_game;
close pc_options_gamepad;
close pc_options_look;
close pc_options_movement;
close pc_options_multi;
close pc_options_video;
close pc_options_voice;
setLocalVarString ui_hint_text "@NULL_EMPTY";
open pc_options_gamepad;
}
}
itemDef
{
rect 0 147.5 216 1 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.65
background "gradient_fadein"
}
itemDef
{
name "buttonDefaults"
text "@MENU_RESET_SYSTEM_DEFAULTS"
group "mw2_button"
rect -64 148 336 20 1 1
style 1
type 1
visible 1
disabled when(dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby());
textalign 6
textalignx -60
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos (getfocuseditemy());
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text ("@NULL_EMPTY");
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open options_graphics_defaults;
}
}
itemDef
{
name "graphic_warning"
text "@MENU_GRAPHICS_WARNING"
rect 10 -160 206 240 1 3
decoration
autowrapped
visible when(!localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display") && menuisopen("pc_options_video"));
textscale 0.375
}
itemDef
{
name "brightness_hint"
text "@MENU_BRIGHTNESS_HINT_PC"
rect 10 -160 206 240 1 3
decoration
autowrapped
visible when(localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display"));
textscale 0.375
forecolor 1 0.8 0.4 1
}
itemDef
{
name "hint_area"
rect 10 -160 206 240 1 3
decoration
autowrapped
visible when(localvarbool("ui_hint_display"));
textscale 0.375
exp text localvarstring("ui_hint_text");
}
itemDef
{
name "back"
text "@PLATFORM_BACK_CAPS"
group "mw2_button"
rect -64 -4 336 20 1 3
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
close self;
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply"))
{
execnow "setfromdvar r_picmip ui_r_picmip";
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
exec "wait; wait; r_applyPicmip";
setLocalVarBool ui_showPicApply (0);
}
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
{
open all_restart_popmenu;
}
execnow "profile_menuDvarsFinish; resetViewport";
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
}
itemDef
{
text "@MENU_AUDIO"
rect 232 0 344 28 1 1
decoration
visible 1
textalign 5
textscale 0.5
textfont 9
}
itemDef
{
rect 232 28 336 20 1 1
style 1
type 10
visible 1
disabled when(0);
textalign 4
textalignx 170
textaligny 2
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "menu_setting_selection_bar"
onFocus
{
}
leaveFocus
{
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
}
dvarFloat "snd_volume" 0 0 1
}
itemDef
{
text "@MENU_MASTER_VOLUME"
rect 232 28 336 20 1 1
decoration
visible 1
textalign 6
textalignx -180
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
}
itemDef
{
rect 422 28 344 20 1 1
decoration
visible 1
textalign 6
textalignx -190
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
exp text dvarstring(snd_volume);
}
itemDef
{
rect 232 48 336 20 1 1
style 1
type 12
visible 1
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
textalign 4
textalignx 170
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "menu_setting_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_hint_display 1;
setLocalVarString ui_hint_text "";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_hint_display 0;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
setLocalVarBool ui_showAudioApply (1);
}
dvar "ui_outputConfig"
dvarStrList { "@MENU_WINDOWS_DEFAULT" "Windows default" "@MENU_MONO" "Mono" "@MENU_STEREO" "Stereo" "@MENU_FOUR_SPEAKERS" "4 speakers" "@MENU_FIVE_ONE_SPEAKERS" "5.1 speakers" }
}
itemDef
{
text "@MENU_SPEAKER_CONFIG"
rect 232 48 336 20 1 1
decoration
visible 1
textalign 6
textalignx -180
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
}
itemDef
{
rect 226 68 -392 1 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.65
background "line_horizontal"
}
itemDef
{
rect 232 68 336 20 1 1
style 1
type 11
visible 1
disabled when(0);
textalign 4
textalignx 170
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
background "menu_setting_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_hint_display 1;
if (menuisopen("pc_options_video"))
{
setLocalVarBool ui_brightness_hint_display 1;
}
else
{
setLocalVarBool ui_brightness_hint_display 0;
}
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_hint_display 0;
setLocalVarBool ui_brightness_hint_display 0;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
"@MPUI_DESC_ENABLE_VOICE_CHAT";
}
dvar "cl_voice"
}
itemDef
{
text "@MPUI_ENABLE_VOICE_CHAT"
rect 232 68 336 20 1 1
decoration
visible 1
textalign 6
textalignx -180
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
}
itemDef
{
rect 232 88 336 20 1 1
style 1
type 14
visible 1
textalign 4
textalignx 170
textscale 0.375
textfont 3
background "menu_setting_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
show keyBindStatus;
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
hide keyBindStatus;
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
}
dvar "+talk"
}
itemDef
{
text "@MENU_VOICE_CHAT_BUTTON"
rect 232 88 336 20 1 1
decoration
visible 1
textalign 6
textalignx -180
textscale 0.375
textfont 3
disablecolor 0.6 0.55 0.55 1
}
}
}

Some files were not shown because too many files have changed in this diff Show More