add ZB Menus

This commit is contained in:
6arelyFuture 2025-01-09 11:49:06 +01:00
parent bc4b43d871
commit e27c4d14b9
Signed by: Future
GPG Key ID: F2000F181A4F7C85
147 changed files with 12960 additions and 13127 deletions

View File

@ -1 +1 @@
Legalize Nuclear Bombs 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"
}
]
}

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;

View File

@ -11,13 +11,13 @@
legacySplitScreenScale legacySplitScreenScale
onOpen onOpen
{ {
setLocalVarInt ui_centerPopup 1; setLocalVarInt ui_centerPopup (1);
exec "setfromdvar ui_name name"; exec "setfromdvar ui_name name";
setfocus nameEntry; setfocus nameEntry;
} }
onClose onClose
{ {
setLocalVarInt ui_centerPopup 0; setLocalVarInt ui_centerPopup (0);
} }
onESC onESC
{ {
@ -62,7 +62,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.75 forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil" background "mw2_popup_bg_fogstencil"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -73,7 +73,7 @@
textscale 0.55 textscale 0.55
forecolor 0.85 0.85 0.85 1 forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll" background "mw2_popup_bg_fogscroll"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -83,7 +83,7 @@
visible 1 visible 1
textscale 0.55 textscale 0.55
background "mockup_popup_bg_stencilfill" background "mockup_popup_bg_stencilfill"
exp rect h 24 + (3 * 20); exp rect h (24 + 3 * 20);
} }
itemDef itemDef
{ {
@ -94,7 +94,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.75 forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil" background "mw2_popup_bg_fogstencil"
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -105,7 +105,7 @@
textscale 0.55 textscale 0.55
forecolor 0.85 0.85 0.85 1 forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll" background "mw2_popup_bg_fogscroll"
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -116,14 +116,14 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0 forecolor 1 1 1 0
background "small_box_lightfx" background "small_box_lightfx"
exp rect h 24 + (3 * 20); exp rect h (24 + 3 * 20);
} }
itemDef itemDef
{ {
rect -64 -64 64 64 2 2 rect -64 -64 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_tl" background "drop_shadow_tl"
@ -133,7 +133,7 @@
rect 0 -64 300 64 2 2 rect 0 -64 300 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_t" background "drop_shadow_t"
@ -143,7 +143,7 @@
rect 300 -64 64 64 2 2 rect 300 -64 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_tr" background "drop_shadow_tr"
@ -153,55 +153,55 @@
rect 300 0 64 0 2 2 rect 300 0 64 0 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_r" background "drop_shadow_r"
exp rect h 24 + (3 * 20); exp rect h (24 + 3 * 20);
} }
itemDef itemDef
{ {
rect 300 0 64 64 2 2 rect 300 0 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_br" background "drop_shadow_br"
exp rect y (0 - 0) + (24 + (3 * 20)); exp rect y (0 - 0) + ((24 + 3 * 20));
} }
itemDef itemDef
{ {
rect 0 0 300 64 2 2 rect 0 0 300 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_b" background "drop_shadow_b"
exp rect y (0 - 0) + (24 + (3 * 20)); exp rect y (0 - 0) + ((24 + 3 * 20));
} }
itemDef itemDef
{ {
rect -64 0 64 64 2 2 rect -64 0 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_bl" background "drop_shadow_bl"
exp rect y (0 - 0) + (24 + (3 * 20)); exp rect y (0 - 0) + ((24 + 3 * 20));
} }
itemDef itemDef
{ {
rect -64 0 64 0 2 2 rect -64 0 64 0 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_l" background "drop_shadow_l"
exp rect h 24 + (3 * 20); exp rect h (24 + 3 * 20);
} }
itemDef itemDef
{ {
@ -224,7 +224,7 @@
rect 6 44 292 20 2 2 rect 6 44 292 20 2 2
style 1 style 1
type 1 type 1
visible 1 visible when(1);
textalign 6 textalign 6
textalignx -24 textalignx -24
textscale 0.375 textscale 0.375
@ -239,12 +239,12 @@
setItemColor mw2_popup_button backcolor 0 0 0 0; setItemColor mw2_popup_button backcolor 0 0 0 0;
} }
setItemColor self backcolor 0 0 0 1; setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton 1; setLocalVarBool ui_popupAButton (1);
} }
leaveFocus leaveFocus
{ {
setItemColor self backcolor 1 1 1 0; setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton 0; setLocalVarBool ui_popupAButton (0);
} }
action action
{ {
@ -260,7 +260,7 @@
rect 6 64 292 20 2 2 rect 6 64 292 20 2 2
style 1 style 1
type 1 type 1
visible 1 visible when(1);
textalign 6 textalign 6
textalignx -24 textalignx -24
textscale 0.375 textscale 0.375
@ -275,12 +275,12 @@
setItemColor mw2_popup_button backcolor 0 0 0 0; setItemColor mw2_popup_button backcolor 0 0 0 0;
} }
setItemColor self backcolor 0 0 0 1; setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton 1; setLocalVarBool ui_popupAButton (1);
} }
leaveFocus leaveFocus
{ {
setItemColor self backcolor 1 1 1 0; setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton 0; setLocalVarBool ui_popupAButton (0);
} }
action action
{ {

File diff suppressed because it is too large Load Diff

View File

@ -28,7 +28,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_background" background "mw2_main_background"
} }
@ -41,7 +41,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -52,7 +52,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -94,6 +94,7 @@
style 3 style 3
decoration decoration
visible 1 visible 1
textscale 0.55
forecolor 0.3 0.3 0.3 0.5 forecolor 0.3 0.3 0.3 0.5
background "white" background "white"
exp rect x 0 - (640 / 2); exp rect x 0 - (640 / 2);
@ -103,6 +104,7 @@
rect 0 0 640 400 2 1 rect 0 0 640 400 2 1
style 1 style 1
visible 1 visible 1
textscale 0.55
backcolor 0 0 0 0.375 backcolor 0 0 0 0.375
background "white" background "white"
exp rect x 0 - (640 / 2); exp rect x 0 - (640 / 2);

View File

@ -77,7 +77,7 @@
{ {
rect 0 56 0 26 3 1 rect 0 56 0 26 3 1
decoration decoration
visible when((connectioninfo() != "") && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.25)); visible when(connectioninfo() != "" && ((sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.25));
textalign 4 textalign 4
textalignx -6 textalignx -6
textscale 0.275 textscale 0.275
@ -89,7 +89,7 @@
{ {
rect 0 56 0 26 3 1 rect 0 56 0 26 3 1
decoration decoration
visible when((connectioninfo() != "") && ((((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.25) && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.5))); visible when(connectioninfo() != "" && ((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.25 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.5));
textalign 4 textalign 4
textalignx -6 textalignx -6
textscale 0.275 textscale 0.275
@ -101,7 +101,7 @@
{ {
rect 0 56 0 26 3 1 rect 0 56 0 26 3 1
decoration decoration
visible when((connectioninfo() != "") && ((((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.5) && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.75))); visible when(connectioninfo() != "" && ((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.5 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.75));
textalign 4 textalign 4
textalignx -6 textalignx -6
textscale 0.275 textscale 0.275
@ -113,7 +113,7 @@
{ {
rect 0 56 0 26 3 1 rect 0 56 0 26 3 1
decoration decoration
visible when((connectioninfo() != "") && (((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.75)); visible when(connectioninfo() != "" && ((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.75));
textalign 4 textalign 4
textalignx -6 textalignx -6
textscale 0.275 textscale 0.275
@ -138,7 +138,7 @@
rect -252 -60 504 3 2 3 rect -252 -60 504 3 2 3
style 1 style 1
decoration decoration
visible when(!dvarbool(wideScreen)); visible when(!dvarbool(widescreen));
textscale 0.55 textscale 0.55
backcolor 1 1 1 0.2 backcolor 1 1 1 0.2
} }
@ -148,7 +148,7 @@
rect -252 -60 504 3 2 3 rect -252 -60 504 3 2 3
style 6 style 6
decoration decoration
visible when(!dvarbool(wideScreen)); visible when(!dvarbool(widescreen));
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "white" background "white"
@ -158,19 +158,20 @@
rect 20 -60 410 2 1 3 rect 20 -60 410 2 1 3
decoration decoration
autowrapped autowrapped
visible when(!dvarbool(wideScreen)); visible when(!dvarbool(widescreen));
textalign 4 textalign 4
textaligny 4 textaligny 4
textscale 0.275 textscale 0.275
textstyle 3 textstyle 3
textfont 9 textfont 9
dvar "didyouknow"
} }
itemDef itemDef
{ {
text "@MENU_INTEL" text "@MENU_INTEL"
rect -20 -60 0 2 1 3 rect -20 -60 0 2 1 3
decoration decoration
visible when(!dvarbool(wideScreen)); visible when(!dvarbool(widescreen));
textalign 4 textalign 4
textalignx 40 textalignx 40
textaligny -26 textaligny -26
@ -183,7 +184,7 @@
rect -320 -60 640 3 2 3 rect -320 -60 640 3 2 3
style 1 style 1
decoration decoration
visible when(dvarbool(wideScreen)); visible when(dvarbool(widescreen));
textscale 0.55 textscale 0.55
backcolor 1 1 1 0.2 backcolor 1 1 1 0.2
} }
@ -193,7 +194,7 @@
rect -320 -60 640 3 2 3 rect -320 -60 640 3 2 3
style 6 style 6
decoration decoration
visible when(dvarbool(wideScreen)); visible when(dvarbool(widescreen));
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "white" background "white"
@ -203,20 +204,21 @@
rect -36 -56 484 2 1 3 rect -36 -56 484 2 1 3
decoration decoration
autowrapped autowrapped
visible when(dvarbool(wideScreen)); visible when(dvarbool(widescreen));
textalign 4 textalign 4
textalignx 80 textalignx 80
textaligny 4 textaligny 4
textscale 0.275 textscale 0.275
textstyle 3 textstyle 3
textfont 9 textfont 9
dvar "didyouknow"
} }
itemDef itemDef
{ {
text "@MENU_INTEL" text "@MENU_INTEL"
rect -36 -60 0 2 1 3 rect -36 -60 0 2 1 3
decoration decoration
visible when(dvarbool(wideScreen)); visible when(dvarbool(widescreen));
textalign 4 textalign 4
textalignx 80 textalignx 80
textaligny -26 textaligny -26

View File

@ -25,12 +25,12 @@
close pc_options_multi; close pc_options_multi;
close pc_options_video; close pc_options_video;
close pc_options_voice; close pc_options_voice;
setLocalVarBool ui_hideBack 1; setLocalVarBool ui_hideBack (1);
setLocalVarBool ui_hint_display 0; setLocalVarBool ui_hint_display 0;
} }
onClose onClose
{ {
setLocalVarBool ui_hideBack 0; setLocalVarBool ui_hideBack (0);
open pc_options_controls; open pc_options_controls;
} }
onESC onESC
@ -52,7 +52,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_background" background "mw2_main_background"
} }
@ -61,7 +61,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_background" background "mw2_main_background"
} }
@ -74,7 +74,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -85,7 +85,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {

View File

@ -11,12 +11,12 @@
legacySplitScreenScale legacySplitScreenScale
onOpen onOpen
{ {
setLocalVarInt ui_centerPopup 1; setLocalVarInt ui_centerPopup (1);
setfocus passwordEntry; setfocus passwordEntry;
} }
onClose onClose
{ {
setLocalVarInt ui_centerPopup 0; setLocalVarInt ui_centerPopup (0);
} }
onESC onESC
{ {
@ -61,7 +61,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.75 forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil" background "mw2_popup_bg_fogstencil"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -72,7 +72,7 @@
textscale 0.55 textscale 0.55
forecolor 0.85 0.85 0.85 1 forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll" background "mw2_popup_bg_fogscroll"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -82,7 +82,7 @@
visible 1 visible 1
textscale 0.55 textscale 0.55
background "mockup_popup_bg_stencilfill" background "mockup_popup_bg_stencilfill"
exp rect h 56 + (3 * 20); exp rect h (56 + 3 * 20);
} }
itemDef itemDef
{ {
@ -93,7 +93,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.75 forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil" background "mw2_popup_bg_fogstencil"
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -104,7 +104,7 @@
textscale 0.55 textscale 0.55
forecolor 0.85 0.85 0.85 1 forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll" background "mw2_popup_bg_fogscroll"
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -115,14 +115,14 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0 forecolor 1 1 1 0
background "small_box_lightfx" background "small_box_lightfx"
exp rect h 56 + (3 * 20); exp rect h (56 + 3 * 20);
} }
itemDef itemDef
{ {
rect -64 -64 64 64 2 2 rect -64 -64 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_tl" background "drop_shadow_tl"
@ -132,7 +132,7 @@
rect 0 -64 300 64 2 2 rect 0 -64 300 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_t" background "drop_shadow_t"
@ -142,7 +142,7 @@
rect 300 -64 64 64 2 2 rect 300 -64 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_tr" background "drop_shadow_tr"
@ -152,55 +152,55 @@
rect 300 0 64 0 2 2 rect 300 0 64 0 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_r" background "drop_shadow_r"
exp rect h 56 + (3 * 20); exp rect h (56 + 3 * 20);
} }
itemDef itemDef
{ {
rect 300 0 64 64 2 2 rect 300 0 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_br" background "drop_shadow_br"
exp rect y (32 - 0) + (24 + (3 * 20)); exp rect y (32 - 0) + ((24 + 3 * 20));
} }
itemDef itemDef
{ {
rect 0 0 300 64 2 2 rect 0 0 300 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_b" background "drop_shadow_b"
exp rect y (32 - 0) + (24 + (3 * 20)); exp rect y (32 - 0) + ((24 + 3 * 20));
} }
itemDef itemDef
{ {
rect -64 0 64 64 2 2 rect -64 0 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_bl" background "drop_shadow_bl"
exp rect y (32 - 0) + (24 + (3 * 20)); exp rect y (32 - 0) + ((24 + 3 * 20));
} }
itemDef itemDef
{ {
rect -64 0 64 0 2 2 rect -64 0 64 0 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_l" background "drop_shadow_l"
exp rect h 56 + (3 * 20); exp rect h (56 + 3 * 20);
} }
itemDef itemDef
{ {
@ -245,7 +245,7 @@
rect 6 76 292 20 2 2 rect 6 76 292 20 2 2
style 1 style 1
type 1 type 1
visible 1 visible when(1);
textalign 6 textalign 6
textalignx -24 textalignx -24
textscale 0.375 textscale 0.375
@ -260,12 +260,12 @@
setItemColor mw2_popup_button backcolor 0 0 0 0; setItemColor mw2_popup_button backcolor 0 0 0 0;
} }
setItemColor self backcolor 0 0 0 1; setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton 1; setLocalVarBool ui_popupAButton (1);
} }
leaveFocus leaveFocus
{ {
setItemColor self backcolor 1 1 1 0; setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton 0; setLocalVarBool ui_popupAButton (0);
} }
action action
{ {
@ -282,7 +282,7 @@
rect 6 96 292 20 2 2 rect 6 96 292 20 2 2
style 1 style 1
type 1 type 1
visible 1 visible when(1);
textalign 6 textalign 6
textalignx -24 textalignx -24
textscale 0.375 textscale 0.375
@ -297,12 +297,12 @@
setItemColor mw2_popup_button backcolor 0 0 0 0; setItemColor mw2_popup_button backcolor 0 0 0 0;
} }
setItemColor self backcolor 0 0 0 1; setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton 1; setLocalVarBool ui_popupAButton (1);
} }
leaveFocus leaveFocus
{ {
setItemColor self backcolor 1 1 1 0; setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton 0; setLocalVarBool ui_popupAButton (0);
} }
action action
{ {

View File

@ -23,7 +23,7 @@
onESC onESC
{ {
exec xstopparty; exec xstopparty;
if ((inprivateparty() && (!privatepartyhost())) && privatepartyhostinlobby()) if (inprivateparty() && !privatepartyhost() && privatepartyhostinlobby())
{ {
exec xstopprivateparty; exec xstopprivateparty;
exec xstartprivateparty; exec xstartprivateparty;
@ -51,7 +51,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_background" background "mw2_main_background"
} }
@ -60,7 +60,7 @@
rect -107 0 854 480 0 0 rect -107 0 854 480 0 0
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "animbg_blur_front" background "animbg_blur_front"
} }
@ -73,7 +73,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -84,7 +84,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -147,6 +147,7 @@
style 1 style 1
decoration decoration
visible 1 visible 1
textscale 0.55
backcolor 0 0 0 0.2 backcolor 0 0 0 0.2
} }
itemDef itemDef
@ -186,6 +187,7 @@
style 1 style 1
decoration decoration
visible 1 visible 1
textscale 0.55
backcolor 1 1 1 0.1 backcolor 1 1 1 0.1
} }
itemDef itemDef
@ -334,9 +336,9 @@
setLocalVarBool ui_menuAButton 1; setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0; setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarString ui_info_name ""; setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@NULL_EMPTY"; setLocalVarString ui_info_desc "@NULL_EMPTY";
setLocalVarString ui_info_icon ""; setLocalVarString ui_info_icon ;
} }
leaveFocus leaveFocus
{ {
@ -384,9 +386,9 @@
setLocalVarBool ui_menuAButton 1; setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0; setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarString ui_info_name ""; setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@NULL_EMPTY"; setLocalVarString ui_info_desc "@NULL_EMPTY";
setLocalVarString ui_info_icon ""; setLocalVarString ui_info_icon ;
} }
leaveFocus leaveFocus
{ {
@ -424,9 +426,9 @@
setLocalVarBool ui_menuAButton 1; setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0; setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarString ui_info_name ""; setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@NULL_EMPTY"; setLocalVarString ui_info_desc "@NULL_EMPTY";
setLocalVarString ui_info_icon ""; setLocalVarString ui_info_icon ;
} }
leaveFocus leaveFocus
{ {
@ -464,9 +466,9 @@
setLocalVarBool ui_menuAButton 1; setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0; setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarString ui_info_name ""; setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@NULL_EMPTY"; setLocalVarString ui_info_desc "@NULL_EMPTY";
setLocalVarString ui_info_icon ""; setLocalVarString ui_info_icon ;
} }
leaveFocus leaveFocus
{ {
@ -492,7 +494,7 @@
rect -64 108 336 20 1 1 rect -64 108 336 20 1 1
style 1 style 1
type 1 type 1
visible when((dvarstring(ui_gametype) != "arena") && (dvarstring(ui_gametype) != "oneflag")); visible when(dvarstring(ui_gametype) != "arena" && dvarstring(ui_gametype) != "oneflag");
textalign 6 textalign 6
textalignx -60 textalignx -60
textscale 0.375 textscale 0.375
@ -504,9 +506,9 @@
setLocalVarBool ui_menuAButton 1; setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0; setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarString ui_info_name ""; setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@NULL_EMPTY"; setLocalVarString ui_info_desc "@NULL_EMPTY";
setLocalVarString ui_info_icon ""; setLocalVarString ui_info_icon ;
} }
leaveFocus leaveFocus
{ {
@ -579,7 +581,7 @@
rect -64 108 336 20 1 1 rect -64 108 336 20 1 1
style 1 style 1
type 1 type 1
visible when((dvarstring(ui_gametype) == "arena") || (dvarstring(ui_gametype) == "oneflag")); visible when(dvarstring(ui_gametype) == "arena" || dvarstring(ui_gametype) == "oneflag");
textalign 6 textalign 6
textalignx -60 textalignx -60
textscale 0.375 textscale 0.375
@ -634,9 +636,9 @@
setLocalVarBool ui_menuAButton 1; setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0; setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarString ui_info_name ""; setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@NULL_EMPTY"; setLocalVarString ui_info_desc "@NULL_EMPTY";
setLocalVarString ui_info_icon ""; setLocalVarString ui_info_icon ;
} }
leaveFocus leaveFocus
{ {
@ -684,9 +686,9 @@
setLocalVarBool ui_menuAButton 1; setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0; setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarString ui_info_name ""; setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@NULL_EMPTY"; setLocalVarString ui_info_desc "@NULL_EMPTY";
setLocalVarString ui_info_icon ""; setLocalVarString ui_info_icon ;
} }
leaveFocus leaveFocus
{ {
@ -718,7 +720,7 @@
textfont 3 textfont 3
disablecolor 0.6 0.55 0.55 1 disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar" background "menu_button_selection_bar"
exp text (locstring("@NETWORK_YOURNATTYPE") + " ") + getlocalizednattype(); exp text locstring("@NETWORK_YOURNATTYPE") + " " + getlocalizednattype();
} }
itemDef itemDef
{ {
@ -734,7 +736,7 @@
textfont 3 textfont 3
disablecolor 0.6 0.55 0.55 1 disablecolor 0.6 0.55 0.55 1
background "menu_button_selection_bar" background "menu_button_selection_bar"
exp text (locstring("@NETWORK_YOURNATTYPE") + " ^1") + getlocalizednattype(); exp text locstring("@NETWORK_YOURNATTYPE") + " ^1" + getlocalizednattype();
} }
itemDef itemDef
{ {

View File

@ -3,12 +3,12 @@
{ {
name "dpad_hd" name "dpad_hd"
rect 0 -16 640 480 4 4 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())); 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 itemDef
{ {
rect -81 -39 32 32 10 10 rect -81 -39 32 32 10 10
type 8 type 8
visible when((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))); visible when(!dvarbool(gpad_enabled) || !dvarint(gpad_in_use));
ownerdraw 171 ownerdraw 171
textalign 2 textalign 2
textalignx -21 textalignx -21
@ -21,7 +21,7 @@
{ {
rect -81 -39 32 32 10 10 rect -81 -39 32 32 10 10
decoration decoration
visible when(((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))) && actionslotusable(1)); visible when((!dvarbool(gpad_enabled) || !dvarint(gpad_in_use)) && actionslotusable(1));
textalign 1 textalign 1
textaligny 35 textaligny 35
textscale 0.25 textscale 0.25
@ -34,7 +34,7 @@
{ {
rect -61 -29 32 32 10 10 rect -61 -29 32 32 10 10
type 8 type 8
visible when((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))); visible when(!dvarbool(gpad_enabled) || !dvarint(gpad_in_use));
ownerdraw 173 ownerdraw 173
textalign 2 textalign 2
textalignx -21 textalignx -21
@ -47,7 +47,7 @@
{ {
rect -61 -29 32 32 10 10 rect -61 -29 32 32 10 10
decoration decoration
visible when(((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))) && actionslotusable(3)); visible when((!dvarbool(gpad_enabled) || !dvarint(gpad_in_use)) && actionslotusable(3));
textalign 1 textalign 1
textaligny 35 textaligny 35
textscale 0.25 textscale 0.25
@ -60,7 +60,7 @@
{ {
rect -61 -61 32 32 10 10 rect -61 -61 32 32 10 10
type 8 type 8
visible when((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))); visible when(!dvarbool(gpad_enabled) || !dvarint(gpad_in_use));
ownerdraw 174 ownerdraw 174
textalignx -40 textalignx -40
textaligny -5 textaligny -5
@ -72,7 +72,7 @@
{ {
rect -61 -61 32 32 10 10 rect -61 -61 32 32 10 10
decoration decoration
visible when(((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))) && actionslotusable(4)); visible when((!dvarbool(gpad_enabled) || !dvarint(gpad_in_use)) && actionslotusable(4));
textalign 1 textalign 1
textaligny 35 textaligny 35
textscale 0.25 textscale 0.25
@ -86,7 +86,7 @@
rect -68.6667 -42.3333 42.6667 42.6667 10 10 rect -68.6667 -42.3333 42.6667 42.6667 10 10
style 3 style 3
decoration decoration
visible when((dvarbool(gpad_enabled) && dvarint(gpad_in_use)) && (!dvarbool(gpad_style))); visible when(dvarbool(gpad_enabled) && dvarint(gpad_in_use) && !dvarbool(gpad_style));
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.65 forecolor 1 1 1 0.65
background "hud_dpad_xbox360" background "hud_dpad_xbox360"
@ -96,10 +96,9 @@
rect -68.6667 -42.3333 42.6667 42.6667 10 10 rect -68.6667 -42.3333 42.6667 42.6667 10 10
style 3 style 3
decoration decoration
visible when((dvarbool(gpad_enabled) && dvarint(gpad_in_use)) && dvarbool(gpad_style)); visible when(dvarbool(gpad_enabled) && dvarint(gpad_in_use) && dvarbool(gpad_style));
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.65 forecolor 1 1 1 0.65
background "hud_dpad_ps3"
} }
itemDef itemDef
{ {

View File

@ -11,11 +11,11 @@
legacySplitScreenScale legacySplitScreenScale
onOpen onOpen
{ {
setLocalVarInt ui_centerPopup 1; setLocalVarInt ui_centerPopup (1);
} }
onClose onClose
{ {
setLocalVarInt ui_centerPopup 0; setLocalVarInt ui_centerPopup (0);
} }
onESC onESC
{ {
@ -60,7 +60,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.75 forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil" background "mw2_popup_bg_fogstencil"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -71,7 +71,7 @@
textscale 0.55 textscale 0.55
forecolor 0.85 0.85 0.85 1 forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll" background "mw2_popup_bg_fogscroll"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -81,7 +81,7 @@
visible 1 visible 1
textscale 0.55 textscale 0.55
background "mockup_popup_bg_stencilfill" background "mockup_popup_bg_stencilfill"
exp rect h 190 + (3 * 20); exp rect h (190 + 3 * 20);
} }
itemDef itemDef
{ {
@ -92,7 +92,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.75 forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil" background "mw2_popup_bg_fogstencil"
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -103,7 +103,7 @@
textscale 0.55 textscale 0.55
forecolor 0.85 0.85 0.85 1 forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll" background "mw2_popup_bg_fogscroll"
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -114,14 +114,14 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0 forecolor 1 1 1 0
background "small_box_lightfx" background "small_box_lightfx"
exp rect h 24 + (3 * 20); exp rect h (24 + 3 * 20);
} }
itemDef itemDef
{ {
rect -64 -64 64 64 2 2 rect -64 -64 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_tl" background "drop_shadow_tl"
@ -131,7 +131,7 @@
rect 0 -64 236 64 2 2 rect 0 -64 236 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_t" background "drop_shadow_t"
@ -141,7 +141,7 @@
rect 236 -64 64 64 2 2 rect 236 -64 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_tr" background "drop_shadow_tr"
@ -151,55 +151,55 @@
rect 236 0 64 0 2 2 rect 236 0 64 0 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_r" background "drop_shadow_r"
exp rect h 25 + (3 * 75); exp rect h (25 + 3 * 75);
} }
itemDef itemDef
{ {
rect 236 0 64 64 2 2 rect 236 0 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_br" background "drop_shadow_br"
exp rect y (166 - 0) + (24 + (3 * 20)); exp rect y (166 - 0) + ((24 + 3 * 20));
} }
itemDef itemDef
{ {
rect 0 0 236 64 2 2 rect 0 0 236 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_b" background "drop_shadow_b"
exp rect y (166 - 0) + (24 + (3 * 20)); exp rect y (166 - 0) + ((24 + 3 * 20));
} }
itemDef itemDef
{ {
rect -64 0 64 64 2 2 rect -64 0 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_bl" background "drop_shadow_bl"
exp rect y (166 - 0) + (24 + (3 * 20)); exp rect y (166 - 0) + ((24 + 3 * 20));
} }
itemDef itemDef
{ {
rect -64 0 64 0 2 2 rect -64 0 64 0 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_l" background "drop_shadow_l"
exp rect h 25 + (3 * 75); exp rect h (25 + 3 * 75);
} }
itemDef itemDef
{ {
@ -471,7 +471,7 @@
rect 0 210 234 20 2 2 rect 0 210 234 20 2 2
style 1 style 1
type 1 type 1
visible 1 visible when(1);
textalign 6 textalign 6
textalignx -24 textalignx -24
textscale 0.375 textscale 0.375
@ -486,12 +486,12 @@
setItemColor mw2_popup_button backcolor 0 0 0 0; setItemColor mw2_popup_button backcolor 0 0 0 0;
} }
setItemColor self backcolor 0 0 0 1; setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton 1; setLocalVarBool ui_popupAButton (1);
} }
leaveFocus leaveFocus
{ {
setItemColor self backcolor 1 1 1 0; setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton 0; setLocalVarBool ui_popupAButton (0);
} }
action action
{ {
@ -508,7 +508,7 @@
rect 0 230 234 20 2 2 rect 0 230 234 20 2 2
style 1 style 1
type 1 type 1
visible 1 visible when(1);
textalign 6 textalign 6
textalignx -24 textalignx -24
textscale 0.375 textscale 0.375
@ -523,12 +523,12 @@
setItemColor mw2_popup_button backcolor 0 0 0 0; setItemColor mw2_popup_button backcolor 0 0 0 0;
} }
setItemColor self backcolor 0 0 0 1; setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton 1; setLocalVarBool ui_popupAButton (1);
} }
leaveFocus leaveFocus
{ {
setItemColor self backcolor 1 1 1 0; setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton 0; setLocalVarBool ui_popupAButton (0);
} }
action action
{ {

View File

@ -5,6 +5,7 @@
rect -150 -84 300 84 2 2 rect -150 -84 300 84 2 2
style 1 style 1
backcolor 1 1 1 1 backcolor 1 1 1 1
forecolor 0 0 0 0
focuscolor 1 1 1 1 focuscolor 1 1 1 1
background "white" background "white"
popup popup
@ -57,7 +58,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.75 forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil" background "mw2_popup_bg_fogstencil"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -67,7 +68,7 @@
textscale 0.55 textscale 0.55
forecolor 0.85 0.85 0.85 1 forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll" background "mw2_popup_bg_fogscroll"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -76,7 +77,7 @@
decoration decoration
textscale 0.55 textscale 0.55
background "mockup_popup_bg_stencilfill" background "mockup_popup_bg_stencilfill"
exp rect h 24 + (3 * 20); exp rect h 24 + 3 * 20;
} }
itemDef itemDef
{ {
@ -86,7 +87,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.75 forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil" background "mw2_popup_bg_fogstencil"
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -96,7 +97,7 @@
textscale 0.55 textscale 0.55
forecolor 0.85 0.85 0.85 1 forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll" background "mw2_popup_bg_fogscroll"
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -106,14 +107,14 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0 forecolor 1 1 1 0
background "small_box_lightfx" background "small_box_lightfx"
exp rect h 24 + (3 * 20); exp rect h 24 + 3 * 20;
} }
itemDef itemDef
{ {
rect -214 -148 64 64 2 2 rect -214 -148 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_tl" background "drop_shadow_tl"
@ -123,7 +124,7 @@
rect -150 -148 300 64 2 2 rect -150 -148 300 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_t" background "drop_shadow_t"
@ -133,7 +134,7 @@
rect 150 -148 64 64 2 2 rect 150 -148 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_tr" background "drop_shadow_tr"
@ -143,55 +144,55 @@
rect 150 -84 64 0 2 2 rect 150 -84 64 0 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_r" background "drop_shadow_r"
exp rect h 24 + (3 * 20); exp rect h 24 + 3 * 20;
} }
itemDef itemDef
{ {
rect 150 -84 64 64 2 2 rect 150 -84 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_br" background "drop_shadow_br"
exp rect y (0 - 0) + (24 + (3 * 20)); exp rect y (0 - 0) + ((24 + 3 * 20));
} }
itemDef itemDef
{ {
rect -150 -84 300 64 2 2 rect -150 -84 300 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_b" background "drop_shadow_b"
exp rect y (0 - 0) + (24 + (3 * 20)); exp rect y (0 - 0) + ((24 + 3 * 20));
} }
itemDef itemDef
{ {
rect -214 -84 64 64 2 2 rect -214 -84 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_bl" background "drop_shadow_bl"
exp rect y (0 - 0) + (24 + (3 * 20)); exp rect y (0 - 0) + ((24 + 3 * 20));
} }
itemDef itemDef
{ {
rect -214 -84 64 0 2 2 rect -214 -84 64 0 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_l" background "drop_shadow_l"
exp rect h 24 + (3 * 20); exp rect h 24 + 3 * 20;
} }
itemDef itemDef
{ {

View File

@ -8,7 +8,7 @@
{ {
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
type 8 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())); 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 ownerdraw 112
textscale 0.55 textscale 0.55
background "splatter_alt" background "splatter_alt"
@ -18,7 +18,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when(scopedthermal() && (!(spectatingclient() && dvarbool(cg_thirdPersonSpectator)))); visible when(scopedthermal() && (!((spectatingclient()) && dvarbool(cg_thirdPersonSpectator))));
textscale 0.55 textscale 0.55
forecolor 0.9 1 1 0.3 forecolor 0.9 1 1 0.3
background "ac130_overlay_grain" background "ac130_overlay_grain"
@ -28,7 +28,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration 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())); 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 textscale 0.55
background "ballistic_overlay" background "ballistic_overlay"
} }
@ -46,7 +46,7 @@
{ {
rect 0 -75 40 40 2 10 rect 0 -75 40 40 2 10
type 8 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)))))); 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 ownerdraw 80
textscale 0.375 textscale 0.375
textstyle 3 textstyle 3
@ -56,7 +56,7 @@
{ {
rect 0 -125 40 40 2 10 rect 0 -125 40 40 2 10
type 8 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()))); 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 ownerdraw 72
textscale 0.375 textscale 0.375
textstyle 3 textstyle 3
@ -67,7 +67,7 @@
rect 0 -125 0 0 2 2 rect 0 -125 0 0 2 2
decoration decoration
type 8 type 8
visible when((!ui_active()) && (!spectatingclient())); visible when((!(ui_active())) && (!(spectatingclient())));
ownerdraw 113 ownerdraw 113
textscale 0.375 textscale 0.375
textstyle 3 textstyle 3
@ -79,11 +79,11 @@
rect 108 48 24 24 8 8 rect 108 48 24 24 8 8
decoration decoration
type 8 type 8
visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended))); visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(inkillcam())) && (!(dvarint(scr_gameended)))));
ownerdraw 266 ownerdraw 266
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.85 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); 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 itemDef
{ {
@ -91,7 +91,7 @@
rect 0 136 18 18 8 8 rect 0 136 18 18 8 8
decoration decoration
type 8 type 8
visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended))); visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(inkillcam())) && (!(dvarint(scr_gameended)))));
ownerdraw 193 ownerdraw 193
textalignx 18 textalignx 18
textaligny 17 textaligny 17
@ -104,7 +104,7 @@
rect 0 154 18 18 8 8 rect 0 154 18 18 8 8
decoration decoration
type 8 type 8
visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended))); visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(inkillcam())) && (!(dvarint(scr_gameended)))));
ownerdraw 194 ownerdraw 194
textalignx 18 textalignx 18
textaligny 17 textaligny 17
@ -117,7 +117,7 @@
rect 0 172 18 18 8 8 rect 0 172 18 18 8 8
decoration decoration
type 8 type 8
visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended))); visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(inkillcam())) && (!(dvarint(scr_gameended)))));
ownerdraw 195 ownerdraw 195
textalignx 18 textalignx 18
textaligny 17 textaligny 17
@ -130,7 +130,7 @@
rect 0 190 18 18 8 8 rect 0 190 18 18 8 8
decoration decoration
type 8 type 8
visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended))); visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(inkillcam())) && (!(dvarint(scr_gameended)))));
ownerdraw 196 ownerdraw 196
textalignx 18 textalignx 18
textaligny 17 textaligny 17
@ -141,7 +141,7 @@
{ {
text "@CGAME_FOLLOWING" text "@CGAME_FOLLOWING"
rect -100 20 200 0 2 1 rect -100 20 200 0 2 1
visible when((((!inkillcam()) && (spectatingclient() || spectatingfree())) && (!ui_active())) && (!dvarint(scr_gameended))); visible when((!(inkillcam())) && (spectatingclient() || spectatingfree()) && (!(ui_active())) && (!(dvarint(scr_gameended))));
textalign 9 textalign 9
textscale 0.375 textscale 0.375
textstyle 3 textstyle 3
@ -151,7 +151,7 @@
{ {
rect -120 -35 180 5 3 1 rect -120 -35 180 5 3 1
type 8 type 8
visible when((((!inkillcam()) && (spectatingclient() || spectatingfree())) && (!ui_active())) && (!dvarint(scr_gameended))); visible when((!(inkillcam())) && (spectatingclient() || spectatingfree()) && (!(ui_active())) && (!(dvarint(scr_gameended))));
ownerdraw 61 ownerdraw 61
textalign 4 textalign 4
textscale 0.375 textscale 0.375
@ -162,7 +162,7 @@
{ {
rect 6 -60 10 10 8 10 rect 6 -60 10 10 8 10
type 19 type 19
visible when((!inkillcam()) && (!ui_active())); visible when((!(inkillcam())) && (!(ui_active())));
textscale 0.375 textscale 0.375
textstyle 3 textstyle 3
forecolor 1 1 1 0.45 forecolor 1 1 1 0.45
@ -172,7 +172,7 @@
{ {
rect 0 -60 10 10 9 9 rect 0 -60 10 10 9 9
type 19 type 19
visible when((!inkillcam()) && (!ui_active())); visible when((!(inkillcam())) && (!(ui_active())));
textalign 1 textalign 1
textscale 0.375 textscale 0.375
textstyle 3 textstyle 3

View File

@ -28,7 +28,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_background" background "mw2_main_background"
} }
@ -41,7 +41,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -52,7 +52,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {

View File

@ -11,12 +11,12 @@
legacySplitScreenScale legacySplitScreenScale
onOpen onOpen
{ {
setLocalVarInt ui_centerPopup 1; setLocalVarInt ui_centerPopup (1);
setfocus cancel_button; setfocus cancel_button;
} }
onClose onClose
{ {
setLocalVarInt ui_centerPopup 0; setLocalVarInt ui_centerPopup (0);
} }
onESC onESC
{ {
@ -61,7 +61,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.75 forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil" background "mw2_popup_bg_fogstencil"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -72,7 +72,7 @@
textscale 0.55 textscale 0.55
forecolor 0.85 0.85 0.85 1 forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll" background "mw2_popup_bg_fogscroll"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -82,7 +82,7 @@
visible 1 visible 1
textscale 0.55 textscale 0.55
background "mockup_popup_bg_stencilfill" background "mockup_popup_bg_stencilfill"
exp rect h 24 + (2 * 20); exp rect h (24 + 2 * 20);
} }
itemDef itemDef
{ {
@ -93,7 +93,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.75 forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil" background "mw2_popup_bg_fogstencil"
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -104,7 +104,7 @@
textscale 0.55 textscale 0.55
forecolor 0.85 0.85 0.85 1 forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll" background "mw2_popup_bg_fogscroll"
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -115,14 +115,14 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0 forecolor 1 1 1 0
background "small_box_lightfx" background "small_box_lightfx"
exp rect h 24 + (2 * 20); exp rect h (24 + 2 * 20);
} }
itemDef itemDef
{ {
rect -64 -64 64 64 2 2 rect -64 -64 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_tl" background "drop_shadow_tl"
@ -132,7 +132,7 @@
rect 0 -64 300 64 2 2 rect 0 -64 300 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_t" background "drop_shadow_t"
@ -142,7 +142,7 @@
rect 300 -64 64 64 2 2 rect 300 -64 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_tr" background "drop_shadow_tr"
@ -152,55 +152,55 @@
rect 300 0 64 0 2 2 rect 300 0 64 0 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_r" background "drop_shadow_r"
exp rect h 24 + (2 * 20); exp rect h (24 + 2 * 20);
} }
itemDef itemDef
{ {
rect 300 0 64 64 2 2 rect 300 0 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_br" background "drop_shadow_br"
exp rect y (0 - 0) + (24 + (2 * 20)); exp rect y (0 - 0) + ((24 + 2 * 20));
} }
itemDef itemDef
{ {
rect 0 0 300 64 2 2 rect 0 0 300 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_b" background "drop_shadow_b"
exp rect y (0 - 0) + (24 + (2 * 20)); exp rect y (0 - 0) + ((24 + 2 * 20));
} }
itemDef itemDef
{ {
rect -64 0 64 64 2 2 rect -64 0 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_bl" background "drop_shadow_bl"
exp rect y (0 - 0) + (24 + (2 * 20)); exp rect y (0 - 0) + ((24 + 2 * 20));
} }
itemDef itemDef
{ {
rect -64 0 64 0 2 2 rect -64 0 64 0 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_l" background "drop_shadow_l"
exp rect h 24 + (2 * 20); exp rect h (24 + 2 * 20);
} }
itemDef itemDef
{ {
@ -208,7 +208,7 @@
rect 0 0 300 24 2 2 rect 0 0 300 24 2 2
style 1 style 1
decoration decoration
visible when(((!inprivateparty()) || privatepartyhost()) || (!privatepartyhostinlobby())); visible when(!inprivateparty() || privatepartyhost() || !privatepartyhostinlobby());
textalign 5 textalign 5
textscale 0.375 textscale 0.375
textfont 9 textfont 9
@ -220,7 +220,7 @@
rect -150 -64 300 24 2 2 rect -150 -64 300 24 2 2
style 1 style 1
decoration decoration
visible when((inprivateparty() && (!privatepartyhost())) && privatepartyhostinlobby()); visible when(inprivateparty() && !privatepartyhost() && privatepartyhostinlobby());
textalign 5 textalign 5
textscale 0.375 textscale 0.375
textfont 9 textfont 9
@ -249,18 +249,18 @@
setItemColor mw2_popup_button backcolor 0 0 0 0; setItemColor mw2_popup_button backcolor 0 0 0 0;
} }
setItemColor self backcolor 0 0 0 1; setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton 1; setLocalVarBool ui_popupAButton (1);
} }
leaveFocus leaveFocus
{ {
setItemColor self backcolor 1 1 1 0; setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton 0; setLocalVarBool ui_popupAButton (0);
} }
action action
{ {
play mouse_click; play mouse_click;
exec xstopparty; exec xstopparty;
if ((inprivateparty() && (!privatepartyhost())) && privatepartyhostinlobby()) if (inprivateparty() && !privatepartyhost() && privatepartyhostinlobby())
{ {
exec xstopprivateparty; exec xstopprivateparty;
exec xstartprivateparty; exec xstartprivateparty;
@ -295,12 +295,12 @@
setItemColor mw2_popup_button backcolor 0 0 0 0; setItemColor mw2_popup_button backcolor 0 0 0 0;
} }
setItemColor self backcolor 0 0 0 1; setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton 1; setLocalVarBool ui_popupAButton (1);
} }
leaveFocus leaveFocus
{ {
setItemColor self backcolor 1 1 1 0; setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton 0; setLocalVarBool ui_popupAButton (0);
} }
action action
{ {

View File

@ -39,7 +39,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_background" background "mw2_main_background"
} }
@ -48,7 +48,7 @@
rect -107 0 854 480 0 0 rect -107 0 854 480 0 0
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "animbg_blur_front" background "animbg_blur_front"
} }
@ -61,7 +61,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -72,7 +72,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -145,6 +145,7 @@
style 1 style 1
decoration decoration
visible 1 visible 1
textscale 0.55
backcolor 0 0 0 0.2 backcolor 0 0 0 0.2
} }
itemDef itemDef
@ -206,9 +207,9 @@
setLocalVarBool ui_menuAButton 1; setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0; setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_CHECK_FOR_UPDATES"; setLocalVarString ui_hint_text "@MPUI_DESC_CHECK_FOR_UPDATES";
setLocalVarString ui_info_name ""; setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@MPUI_DESC_CHECK_FOR_UPDATES"; setLocalVarString ui_info_desc "@MPUI_DESC_CHECK_FOR_UPDATES";
setLocalVarString ui_info_icon ""; setLocalVarString ui_info_icon ;
} }
leaveFocus leaveFocus
{ {
@ -234,6 +235,7 @@
decoration decoration
visible when(dvarbool(cl_updateavailable)); visible when(dvarbool(cl_updateavailable));
align 2 align 2
textscale 0.55
exp material "specialty_new"; exp material "specialty_new";
} }
itemDef itemDef
@ -266,9 +268,9 @@
setLocalVarBool ui_menuAButton 1; setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0; setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_JOIN_GAME"; setLocalVarString ui_hint_text "@MPUI_DESC_JOIN_GAME";
setLocalVarString ui_info_name ""; setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@MPUI_DESC_JOIN_GAME"; setLocalVarString ui_info_desc "@MPUI_DESC_JOIN_GAME";
setLocalVarString ui_info_icon ""; setLocalVarString ui_info_icon ;
} }
leaveFocus leaveFocus
{ {
@ -307,9 +309,9 @@
setLocalVarBool ui_menuAButton 1; setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0; setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_CREATE_GAME"; setLocalVarString ui_hint_text "@MPUI_DESC_CREATE_GAME";
setLocalVarString ui_info_name ""; setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@MPUI_DESC_CREATE_GAME"; setLocalVarString ui_info_desc "@MPUI_DESC_CREATE_GAME";
setLocalVarString ui_info_icon ""; setLocalVarString ui_info_icon ;
} }
leaveFocus leaveFocus
{ {
@ -405,9 +407,9 @@
setLocalVarBool ui_menuAButton 1; setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0; setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_CREATE_A_CLASS"; setLocalVarString ui_hint_text "@MPUI_DESC_CREATE_A_CLASS";
setLocalVarString ui_info_name ""; setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@MPUI_DESC_CREATE_A_CLASS"; setLocalVarString ui_info_desc "@MPUI_DESC_CREATE_A_CLASS";
setLocalVarString ui_info_icon ""; setLocalVarString ui_info_icon ;
} }
leaveFocus leaveFocus
{ {
@ -430,8 +432,9 @@
rect 236 148 40 20 1 1 rect 236 148 40 20 1 1
style 3 style 3
decoration 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")); 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 align 2
textscale 0.55
exp material "specialty_new"; exp material "specialty_new";
} }
itemDef itemDef
@ -487,9 +490,9 @@
setLocalVarBool ui_menuAButton 1; setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0; setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_PLAYERCARD"; setLocalVarString ui_hint_text "@MPUI_DESC_PLAYERCARD";
setLocalVarString ui_info_name ""; setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@MPUI_DESC_PLAYERCARD"; setLocalVarString ui_info_desc "@MPUI_DESC_PLAYERCARD";
setLocalVarString ui_info_icon ""; setLocalVarString ui_info_icon ;
} }
leaveFocus leaveFocus
{ {
@ -512,8 +515,9 @@
rect 236 168 40 20 1 1 rect 236 168 40 20 1 1
style 3 style 3
decoration 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"))); 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 align 2
textscale 0.55
exp material "specialty_new"; exp material "specialty_new";
} }
itemDef itemDef
@ -546,9 +550,9 @@
setLocalVarBool ui_menuAButton 1; setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0; setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@PATCH_DESC_BARRACKS"; setLocalVarString ui_hint_text "@PATCH_DESC_BARRACKS";
setLocalVarString ui_info_name ""; setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@PATCH_DESC_BARRACKS"; setLocalVarString ui_info_desc "@PATCH_DESC_BARRACKS";
setLocalVarString ui_info_icon ""; setLocalVarString ui_info_icon ;
} }
leaveFocus leaveFocus
{ {
@ -571,8 +575,9 @@
rect 236 188 40 20 1 1 rect 236 188 40 20 1 1
style 3 style 3
decoration decoration
visible when(((getplayerdataanybooltrue("challengeTierNew") || getplayerdata("featureNew", "challenges")) || getplayerdata("featureNew", "challenges")) || getplayerdata("featureNew", "prestige")); visible when(((getplayerdataanybooltrue("challengeTierNew") || getplayerdata("featureNew", "challenges")) || getplayerdata("featureNew", "challenges") || getplayerdata("featureNew", "prestige")));
align 2 align 2
textscale 0.55
exp material "specialty_new"; exp material "specialty_new";
} }
itemDef itemDef
@ -595,9 +600,9 @@
setLocalVarBool ui_menuAButton 1; setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0; setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_THEATER"; setLocalVarString ui_hint_text "@MPUI_DESC_THEATER";
setLocalVarString ui_info_name ""; setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@MPUI_DESC_THEATER"; setLocalVarString ui_info_desc "@MPUI_DESC_THEATER";
setLocalVarString ui_info_icon ""; setLocalVarString ui_info_icon ;
} }
leaveFocus leaveFocus
{ {
@ -645,9 +650,9 @@
setLocalVarBool ui_menuAButton 1; setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0; setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_MODS"; setLocalVarString ui_hint_text "@MPUI_DESC_MODS";
setLocalVarString ui_info_name ""; setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@MPUI_DESC_MODS"; setLocalVarString ui_info_desc "@MPUI_DESC_MODS";
setLocalVarString ui_info_icon ""; setLocalVarString ui_info_icon ;
} }
leaveFocus leaveFocus
{ {
@ -685,9 +690,9 @@
setLocalVarBool ui_menuAButton 1; setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0; setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_OPTIONS"; setLocalVarString ui_hint_text "@MPUI_DESC_OPTIONS";
setLocalVarString ui_info_name ""; setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@MPUI_DESC_OPTIONS"; setLocalVarString ui_info_desc "@MPUI_DESC_OPTIONS";
setLocalVarString ui_info_icon ""; setLocalVarString ui_info_icon ;
} }
leaveFocus leaveFocus
{ {
@ -735,9 +740,9 @@
setLocalVarBool ui_menuAButton 1; setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0; setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarString ui_info_name ""; setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@NULL_EMPTY"; setLocalVarString ui_info_desc "@NULL_EMPTY";
setLocalVarString ui_info_icon ""; setLocalVarString ui_info_icon ;
} }
leaveFocus leaveFocus
{ {
@ -775,9 +780,9 @@
setLocalVarBool ui_menuAButton 1; setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0; setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarString ui_info_name ""; setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@NULL_EMPTY"; setLocalVarString ui_info_desc "@NULL_EMPTY";
setLocalVarString ui_info_icon ""; setLocalVarString ui_info_icon ;
} }
leaveFocus leaveFocus
{ {
@ -825,9 +830,9 @@
setLocalVarBool ui_menuAButton 1; setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0; setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MENU_SP_DESC_SINGLEPLAYER"; setLocalVarString ui_hint_text "@MENU_SP_DESC_SINGLEPLAYER";
setLocalVarString ui_info_name ""; setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@MENU_SP_DESC_SINGLEPLAYER"; setLocalVarString ui_info_desc "@MENU_SP_DESC_SINGLEPLAYER";
setLocalVarString ui_info_icon ""; setLocalVarString ui_info_icon ;
} }
leaveFocus leaveFocus
{ {
@ -865,9 +870,9 @@
setLocalVarBool ui_menuAButton 1; setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0; setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_QUIT"; setLocalVarString ui_hint_text "@MPUI_DESC_QUIT";
setLocalVarString ui_info_name ""; setLocalVarString ui_info_name ;
setLocalVarString ui_info_desc "@MPUI_DESC_QUIT"; setLocalVarString ui_info_desc "@MPUI_DESC_QUIT";
setLocalVarString ui_info_icon ""; setLocalVarString ui_info_icon ;
} }
leaveFocus leaveFocus
{ {

View File

@ -28,7 +28,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_background" background "mw2_main_background"
} }
@ -37,7 +37,7 @@
rect -107 0 854 480 0 0 rect -107 0 854 480 0 0
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_sp_image" background "mw2_main_sp_image"
} }
@ -50,7 +50,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -61,7 +61,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {

View File

@ -37,7 +37,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_background" background "mw2_main_background"
} }
@ -46,7 +46,7 @@
rect -107 0 854 480 0 0 rect -107 0 854 480 0 0
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "animbg_blur_front" background "animbg_blur_front"
} }
@ -59,7 +59,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -70,7 +70,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -133,6 +133,7 @@
style 1 style 1
decoration decoration
visible 1 visible 1
textscale 0.55
backcolor 0 0 0 0.2 backcolor 0 0 0 0.2
} }
itemDef itemDef
@ -173,6 +174,7 @@
textfont 3 textfont 3
forecolor 1 1 1 0.65 forecolor 1 1 1 0.65
background "white" background "white"
dvar "party_statusString"
} }
itemDef itemDef
{ {
@ -209,23 +211,23 @@
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
if (isitemunlocked("challenges")) if (isitemunlocked("challenges"))
{ {
setLocalVarString ui_hint_text "@MPUI_DESC_CHALLENGES"; setLocalVarString ui_hint_text ("@MPUI_DESC_CHALLENGES");
} }
else else
{ {
if (tablelookup("mp/unlockTable.csv", 0, "challenges", 2) == 9999) if (tablelookup("mp/unlockTable.csv", 0, "challenges", 2) == 9999)
{ {
setLocalVarString ui_hint_text "@PERKS_UNLOCKED_AT_NONE"; setLocalVarString ui_hint_text ("@PERKS_UNLOCKED_AT_NONE");
} }
else else
{ {
if (tablelookup("mp/unlockTable.csv", 0, "challenges", 3) != "") if (tablelookup("mp/unlockTable.csv", 0, "challenges", 3) != "")
{ {
setLocalVarString ui_hint_text "@PERKS_UNLOCKED_BY_CHALLENGE"; setLocalVarString ui_hint_text ("@PERKS_UNLOCKED_BY_CHALLENGE");
} }
else else
{ {
setLocalVarString ui_hint_text "@" + tablelookup("mp/rankTable.csv", 0, tablelookup("mp/unlockTable.csv", 0, "challenges", 2), 17); setLocalVarString ui_hint_text ("@" + tablelookup("mp/rankTable.csv", 0, tablelookup("mp/unlockTable.csv", 0, "challenges", 2), 17));
} }
} }
exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;"; exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
@ -234,8 +236,8 @@
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarBool ui_menuAButton 0; setLocalVarBool ui_menuAButton (0);
} }
action action
{ {
@ -249,8 +251,9 @@
rect 236 56 40 20 1 1 rect 236 56 40 20 1 1
style 3 style 3
decoration decoration
visible when(((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7)))) && getplayerdata("featureNew", "prestige")); visible when((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7))) && getplayerdata("featureNew", "prestige"));
align 2 align 2
textscale 0.55
exp material "specialty_new"; exp material "specialty_new";
} }
itemDef itemDef
@ -273,13 +276,13 @@
{ {
play mouse_over; play mouse_over;
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@MPUI_DESC_HIGHLIGHTS"; setLocalVarString ui_hint_text ("@MPUI_DESC_HIGHLIGHTS");
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarBool ui_menuAButton 0; setLocalVarBool ui_menuAButton (0);
} }
action action
{ {
@ -317,13 +320,13 @@
{ {
play mouse_over; play mouse_over;
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@MPUI_DESC_CUSTOM_TITLE"; setLocalVarString ui_hint_text ("@MPUI_DESC_CUSTOM_TITLE");
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarBool ui_menuAButton 0; setLocalVarBool ui_menuAButton (0);
} }
action action
{ {
@ -351,13 +354,13 @@
{ {
play mouse_over; play mouse_over;
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@MPUI_DESC_CLANTAG"; setLocalVarString ui_hint_text ("@MPUI_DESC_CLANTAG");
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarBool ui_menuAButton 0; setLocalVarBool ui_menuAButton (0);
} }
action action
{ {
@ -395,13 +398,13 @@
{ {
play mouse_over; play mouse_over;
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@MPUI_DESC_RESET_STATS"; setLocalVarString ui_hint_text ("@MPUI_DESC_RESET_STATS");
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarBool ui_menuAButton 0; setLocalVarBool ui_menuAButton (0);
} }
action action
{ {
@ -429,13 +432,13 @@
{ {
play mouse_over; play mouse_over;
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@MPUI_DESC_UNLOCK_STATS"; setLocalVarString ui_hint_text ("@MPUI_DESC_UNLOCK_STATS");
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarBool ui_menuAButton 0; setLocalVarBool ui_menuAButton (0);
} }
action action
{ {
@ -462,7 +465,7 @@
style 1 style 1
type 1 type 1
visible when(!(getplayerdata("prestige") == int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))); visible when(!(getplayerdata("prestige") == int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))));
disabled when((!((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7))))) && (!(getplayerdata("prestige") == int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))))); disabled when(!(getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7))) && !(getplayerdata("prestige") == int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))));
textalign 6 textalign 6
textalignx -60 textalignx -60
textscale 0.375 textscale 0.375
@ -474,20 +477,20 @@
play mouse_over; play mouse_over;
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setPlayerData ( featureNew , prestige , false ); setPlayerData ( featureNew , prestige , false );
if (!((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7))))) if (!(getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7))))
{ {
setLocalVarString ui_hint_text "@MPUI_DESC_PRESTIGE2"; setLocalVarString ui_hint_text ("@MPUI_DESC_PRESTIGE2");
} }
else else
{ {
setLocalVarString ui_hint_text "@MPUI_DESC_PRESTIGE"; setLocalVarString ui_hint_text ("@MPUI_DESC_PRESTIGE");
} }
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarBool ui_menuAButton 0; setLocalVarBool ui_menuAButton (0);
} }
action action
{ {
@ -500,8 +503,9 @@
rect 236 156 40 20 1 1 rect 236 156 40 20 1 1
style 3 style 3
decoration decoration
visible when(((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7)))) && getplayerdata("featureNew", "prestige")); visible when((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7))) && getplayerdata("featureNew", "prestige"));
align 2 align 2
textscale 0.55
exp material "specialty_new"; exp material "specialty_new";
} }
itemDef itemDef
@ -514,8 +518,8 @@
textscale 0.55 textscale 0.55
forecolor 0 0 0 0.25 forecolor 0 0 0 0.25
background "white" background "white"
exp rect x -208; exp rect x (- 208);
exp rect y 28; exp rect y (28);
} }
itemDef itemDef
{ {
@ -530,8 +534,8 @@
textfont 6 textfont 6
backcolor 1 1 1 1 backcolor 1 1 1 1
background "cardtitle_248x48" background "cardtitle_248x48"
exp rect x -208; exp rect x (- 208);
exp rect y 28; exp rect y (28);
} }
itemDef itemDef
{ {
@ -574,7 +578,7 @@
} }
exp text "@" + tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 1, 0), 1); exp text "@" + tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 1, 0), 1);
exp material tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 1, 0), 2); exp material tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 1, 0), 2);
exp rect x -208; exp rect x - 208;
exp rect y 28 - 2; exp rect y 28 - 2;
exp forecolor r tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 1, 0), 3); exp forecolor r tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 1, 0), 3);
exp forecolor g tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 1, 0), 4); exp forecolor g tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 1, 0), 4);
@ -610,7 +614,7 @@
open popup_playername; open popup_playername;
} }
exp text getplayercardinfo(8, 1, 0); exp text getplayercardinfo(8, 1, 0);
exp rect x -208; exp rect x - 208;
exp rect y 28 + 28; exp rect y 28 + 28;
} }
itemDef itemDef
@ -649,8 +653,8 @@
} }
} }
exp material tablelookupbyrow("mp/cardIconTable.csv", getplayercardinfo(2, 1, 0), 1); exp material tablelookupbyrow("mp/cardIconTable.csv", getplayercardinfo(2, 1, 0), 1);
exp rect x -208 + 160; exp rect x (- 208) + 160;
exp rect y 28; exp rect y (28);
} }
itemDef itemDef
{ {
@ -661,9 +665,9 @@
visible when((getplayercardinfo(0, 1, 0) != 0) && (getplayercardinfo(4, 1, 0) >= 0)); visible when((getplayercardinfo(0, 1, 0) != 0) && (getplayercardinfo(4, 1, 0) >= 0));
textscale 0.55 textscale 0.55
backcolor 1 1 1 1 backcolor 1 1 1 1
exp material tablelookup("mp/rankIconTable.csv", 0, getplayercardinfo(4, 1, 0), getplayercardinfo(5, 1, 0) + 1); exp material tablelookup("mp/rankIconTable.csv", 0, getplayercardinfo(4, 1, 0), (getplayercardinfo(5, 1, 0) + 1));
exp rect x -208 + 164; exp rect x (- 208) + 164;
exp rect y 28 + 48; exp rect y (28) + 48;
} }
itemDef itemDef
{ {
@ -677,8 +681,8 @@
textstyle 8 textstyle 8
textfont 3 textfont 3
exp text tablelookup("mp/rankTable.csv", 0, getplayercardinfo(4, 1, 0), 14); exp text tablelookup("mp/rankTable.csv", 0, getplayercardinfo(4, 1, 0), 14);
exp rect x -208 + 164; exp rect x (- 208) + 164;
exp rect y 28 + 48; exp rect y (28) + 48;
} }
itemDef itemDef
{ {
@ -691,9 +695,9 @@
textalignx 2 textalignx 2
textscale 0.375 textscale 0.375
textfont 3 textfont 3
exp text ("[" + getplayercardinfo(9, 1, 0)) + "]"; exp text "[" + getplayercardinfo(9, 1, 0) + "]";
exp rect x -208; exp rect x (- 208);
exp rect y 28 + 48; exp rect y (28) + 48;
} }
itemDef itemDef
{ {
@ -703,9 +707,9 @@
decoration decoration
visible 1 visible 1
textscale 0.55 textscale 0.55
exp material tablelookup("mp/killstreakTable.csv", 1, getplayerdata("killstreaks", 0), 16); exp material tablelookup("mp/killstreakTable.csv", 1, (getplayerdata("killstreaks", 0)), 16);
exp rect x -140 + 32; exp rect x (- 140) + 32;
exp rect y 28 + 48; exp rect y (28 + 48);
} }
itemDef itemDef
{ {
@ -715,9 +719,9 @@
decoration decoration
visible 1 visible 1
textscale 0.55 textscale 0.55
exp material tablelookup("mp/killstreakTable.csv", 1, getplayerdata("killstreaks", 1), 16); exp material tablelookup("mp/killstreakTable.csv", 1, (getplayerdata("killstreaks", 1)), 16);
exp rect x -140 + 53; exp rect x (- 140) + 53;
exp rect y 28 + 48; exp rect y (28 + 48);
} }
itemDef itemDef
{ {
@ -727,9 +731,9 @@
decoration decoration
visible 1 visible 1
textscale 0.55 textscale 0.55
exp material tablelookup("mp/killstreakTable.csv", 1, getplayerdata("killstreaks", 2), 16); exp material tablelookup("mp/killstreakTable.csv", 1, (getplayerdata("killstreaks", 2)), 16);
exp rect x -140 + 74; exp rect x (- 140) + 74;
exp rect y 28 + 48; exp rect y (28 + 48);
} }
itemDef itemDef
{ {
@ -804,7 +808,7 @@
rect -208 140 -208 20 3 1 rect -208 140 -208 20 3 1
style 1 style 1
decoration decoration
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && (((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))) == 0)); visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) == 0);
textalign 4 textalign 4
textalignx 4 textalignx 4
textscale 0.375 textscale 0.375
@ -817,7 +821,7 @@
{ {
rect -208 140 208 20 3 1 rect -208 140 208 20 3 1
decoration decoration
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && (((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))) == 0)); visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) == 0);
textalign 6 textalign 6
textalignx -22 textalignx -22
textscale 0.375 textscale 0.375
@ -829,7 +833,7 @@
rect -18 141 18 18 3 1 rect -18 141 18 18 3 1
style 3 style 3
decoration decoration
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && (((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))) == 0)); visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) == 0);
textscale 0.55 textscale 0.55
exp material tablelookup("mp/rankIconTable.csv", 0, levelforexperience(getplayerdata("experience")) + 1, getplayerdata("prestige") + 1); exp material tablelookup("mp/rankIconTable.csv", 0, levelforexperience(getplayerdata("experience")) + 1, getplayerdata("prestige") + 1);
} }
@ -838,7 +842,7 @@
rect -208 140 -208 20 3 1 rect -208 140 -208 20 3 1
style 1 style 1
decoration decoration
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && ((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))))); visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))));
textalign 4 textalign 4
textalignx 4 textalignx 4
textscale 0.375 textscale 0.375
@ -851,7 +855,7 @@
{ {
rect -208 140 208 20 3 1 rect -208 140 208 20 3 1
decoration decoration
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && ((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))))); visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))));
textalign 6 textalign 6
textalignx -22 textalignx -22
textscale 0.375 textscale 0.375
@ -863,7 +867,7 @@
rect -18 141 18 18 3 1 rect -18 141 18 18 3 1
style 3 style 3
decoration decoration
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && ((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))))); visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))));
textscale 0.55 textscale 0.55
exp material tablelookup("mp/rankIconTable.csv", 0, 0, getplayerdata("prestige") + 2); exp material tablelookup("mp/rankIconTable.csv", 0, 0, getplayerdata("prestige") + 2);
} }
@ -872,7 +876,7 @@
rect -208 140 -208 20 3 1 rect -208 140 -208 20 3 1
style 1 style 1
decoration decoration
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && ((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))))); visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))));
textalign 4 textalign 4
textalignx 4 textalignx 4
textscale 0.375 textscale 0.375
@ -885,7 +889,7 @@
{ {
rect -208 140 208 20 3 1 rect -208 140 208 20 3 1
decoration decoration
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && ((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))))); visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))));
textalign 6 textalign 6
textalignx -22 textalignx -22
textscale 0.375 textscale 0.375
@ -897,7 +901,7 @@
rect -18 141 18 18 3 1 rect -18 141 18 18 3 1
style 3 style 3
decoration decoration
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && ((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))))); visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))));
textscale 0.55 textscale 0.55
exp material tablelookup("mp/rankIconTable.csv", 0, 0, getplayerdata("prestige") + 2); exp material tablelookup("mp/rankIconTable.csv", 0, 0, getplayerdata("prestige") + 2);
} }
@ -906,7 +910,7 @@
rect -208 140 -208 20 3 1 rect -208 140 -208 20 3 1
style 1 style 1
decoration decoration
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) == 0); visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) == 0);
textalign 4 textalign 4
textalignx 4 textalignx 4
textscale 0.375 textscale 0.375
@ -919,7 +923,7 @@
{ {
rect -208 140 208 20 3 1 rect -208 140 208 20 3 1
decoration decoration
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) == 0); visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) == 0);
textalign 6 textalign 6
textalignx -4 textalignx -4
textscale 0.375 textscale 0.375
@ -945,7 +949,7 @@
textscale 0.55 textscale 0.55
forecolor 1 0.9 0.5 0.6 forecolor 1 0.9 0.5 0.6
background "gradient_fadein" background "gradient_fadein"
exp rect w 0 - ((80 * (int(tablelookup("mp/rankTable.csv", 0, levelforexperience(getplayerdata("experience")), 2)) - getplayerdata("experience"))) / int(tablelookup("mp/rankTable.csv", 0, levelforexperience(getplayerdata("experience")), 3))); exp rect w 0 - 80 * (int(tablelookup("mp/rankTable.csv", 0, levelforexperience(getplayerdata("experience")), 2)) - getplayerdata("experience")) / int(tablelookup("mp/rankTable.csv", 0, levelforexperience(getplayerdata("experience")), 3));
} }
itemDef itemDef
{ {
@ -1238,7 +1242,7 @@
textalignx -4 textalignx -4
textscale 0.375 textscale 0.375
textfont 3 textfont 3
exp text secondsastime((getplayerdata("timePlayedAllies") + getplayerdata("timePlayedOpfor")) + getplayerdata("timePlayedOther")); exp text secondsastime(getplayerdata("timePlayedAllies") + getplayerdata("timePlayedOpfor") + getplayerdata("timePlayedOther"));
} }
itemDef itemDef
{ {

File diff suppressed because it is too large Load Diff

View File

@ -4,6 +4,7 @@
name "menu_xboxlive_privatelobby" name "menu_xboxlive_privatelobby"
fullscreen 1 fullscreen 1
rect 0 0 640 480 0 0 rect 0 0 640 480 0 0
forecolor 0 0 0 0
onOpen onOpen
{ {
open createserver; open createserver;

View File

@ -5,7 +5,7 @@
rect 3 3 0 0 8 8 rect 3 3 0 0 8 8
hiddenDuringScope hiddenDuringScope
hiddenDuringFlashbang hiddenDuringFlashbang
visible 1 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 itemDef
{ {
name "minimap_border" name "minimap_border"
@ -141,7 +141,7 @@
visible 1 visible 1
textscale 0.55 textscale 0.55
background "scanlines_stencil" background "scanlines_stencil"
exp rect y -100 + (200 * (1 - ((milliseconds() % 4000) / 4000))); exp rect y (- 100) + ((200) * (1 - ((milliseconds() % 4000) / 4000)));
} }
itemDef itemDef
{ {

View File

@ -11,11 +11,11 @@
legacySplitScreenScale legacySplitScreenScale
onOpen onOpen
{ {
setLocalVarInt ui_centerPopup 1; setLocalVarInt ui_centerPopup (1);
} }
onClose onClose
{ {
setLocalVarInt ui_centerPopup 0; setLocalVarInt ui_centerPopup (0);
uiScript mod_download_cancel; uiScript mod_download_cancel;
} }
onESC onESC
@ -61,7 +61,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.75 forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil" background "mw2_popup_bg_fogstencil"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -72,7 +72,7 @@
textscale 0.55 textscale 0.55
forecolor 0.85 0.85 0.85 1 forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll" background "mw2_popup_bg_fogscroll"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -82,7 +82,7 @@
visible 1 visible 1
textscale 0.55 textscale 0.55
background "mockup_popup_bg_stencilfill" background "mockup_popup_bg_stencilfill"
exp rect h 56 + (3 * 20); exp rect h (56 + 3 * 20);
} }
itemDef itemDef
{ {
@ -93,7 +93,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.75 forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil" background "mw2_popup_bg_fogstencil"
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -104,7 +104,7 @@
textscale 0.55 textscale 0.55
forecolor 0.85 0.85 0.85 1 forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll" background "mw2_popup_bg_fogscroll"
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -115,14 +115,14 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0 forecolor 1 1 1 0
background "small_box_lightfx" background "small_box_lightfx"
exp rect h 56 + (3 * 20); exp rect h (56 + 3 * 20);
} }
itemDef itemDef
{ {
rect -64 -64 64 64 2 2 rect -64 -64 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_tl" background "drop_shadow_tl"
@ -132,7 +132,7 @@
rect 0 -64 300 64 2 2 rect 0 -64 300 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_t" background "drop_shadow_t"
@ -142,7 +142,7 @@
rect 300 -64 64 64 2 2 rect 300 -64 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_tr" background "drop_shadow_tr"
@ -152,55 +152,55 @@
rect 300 0 64 0 2 2 rect 300 0 64 0 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_r" background "drop_shadow_r"
exp rect h 56 + (3 * 20); exp rect h (56 + 3 * 20);
} }
itemDef itemDef
{ {
rect 300 0 64 64 2 2 rect 300 0 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_br" background "drop_shadow_br"
exp rect y (32 - 0) + (24 + (3 * 20)); exp rect y (32 - 0) + ((24 + 3 * 20));
} }
itemDef itemDef
{ {
rect 0 0 300 64 2 2 rect 0 0 300 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_b" background "drop_shadow_b"
exp rect y (32 - 0) + (24 + (3 * 20)); exp rect y (32 - 0) + ((24 + 3 * 20));
} }
itemDef itemDef
{ {
rect -64 0 64 64 2 2 rect -64 0 64 64 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_bl" background "drop_shadow_bl"
exp rect y (32 - 0) + (24 + (3 * 20)); exp rect y (32 - 0) + ((24 + 3 * 20));
} }
itemDef itemDef
{ {
rect -63 0 64 0 2 2 rect -63 0 64 0 2 2
style 3 style 3
decoration decoration
visible 1 visible when(1);
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_l" background "drop_shadow_l"
exp rect h 56 + (3 * 20); exp rect h (56 + 3 * 20);
} }
itemDef itemDef
{ {
@ -288,7 +288,7 @@
rect 6 96 292 20 2 2 rect 6 96 292 20 2 2
style 1 style 1
type 1 type 1
visible 1 visible when(1);
textalign 6 textalign 6
textalignx -24 textalignx -24
textscale 0.375 textscale 0.375
@ -303,12 +303,12 @@
setItemColor mw2_popup_button backcolor 0 0 0 0; setItemColor mw2_popup_button backcolor 0 0 0 0;
} }
setItemColor self backcolor 0 0 0 1; setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_popupAButton 1; setLocalVarBool ui_popupAButton (1);
} }
leaveFocus leaveFocus
{ {
setItemColor self backcolor 1 1 1 0; setItemColor self backcolor 1 1 1 0;
setLocalVarBool ui_popupAButton 0; setLocalVarBool ui_popupAButton (0);
} }
action action
{ {

View File

@ -36,7 +36,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_background" background "mw2_main_background"
} }
@ -49,7 +49,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -60,7 +60,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -116,7 +116,7 @@
textalignx -60 textalignx -60
textscale 0.5 textscale 0.5
textfont 9 textfont 9
exp rect x -80; exp rect x - 80;
} }
itemDef itemDef
{ {

View File

@ -14,11 +14,11 @@
legacySplitScreenScale legacySplitScreenScale
onOpen onOpen
{ {
setLocalVarInt ui_centerPopup 1; setLocalVarInt ui_centerPopup (1);
} }
onClose onClose
{ {
setLocalVarInt ui_centerPopup 0; setLocalVarInt ui_centerPopup (0);
} }
onESC onESC
{ {
@ -63,7 +63,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.75 forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil" background "mw2_popup_bg_fogstencil"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -74,7 +74,7 @@
textscale 0.55 textscale 0.55
forecolor 0.85 0.85 0.85 1 forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll" background "mw2_popup_bg_fogscroll"
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -84,7 +84,7 @@
visible 1 visible 1
textscale 0.55 textscale 0.55
background "mockup_popup_bg_stencilfill" background "mockup_popup_bg_stencilfill"
exp rect h 24 + (1 * 20); exp rect h (24 + 1 * 20);
} }
itemDef itemDef
{ {
@ -95,7 +95,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.75 forecolor 1 1 1 0.75
background "mw2_popup_bg_fogstencil" background "mw2_popup_bg_fogstencil"
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -106,7 +106,7 @@
textscale 0.55 textscale 0.55
forecolor 0.85 0.85 0.85 1 forecolor 0.85 0.85 0.85 1
background "mw2_popup_bg_fogscroll" background "mw2_popup_bg_fogscroll"
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -117,7 +117,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0 forecolor 1 1 1 0
background "small_box_lightfx" background "small_box_lightfx"
exp rect h 24 + (1 * 20); exp rect h (24 + 1 * 20);
} }
itemDef itemDef
{ {
@ -158,7 +158,7 @@
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_r" background "drop_shadow_r"
exp rect h 24 + (1 * 20); exp rect h (24 + 1 * 20);
} }
itemDef itemDef
{ {
@ -169,7 +169,7 @@
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_br" background "drop_shadow_br"
exp rect y (0 - 0) + (24 + (1 * 20)); exp rect y (0 - 0) + ((24 + 1 * 20));
} }
itemDef itemDef
{ {
@ -180,7 +180,7 @@
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_b" background "drop_shadow_b"
exp rect y (0 - 0) + (24 + (1 * 20)); exp rect y (0 - 0) + ((24 + 1 * 20));
} }
itemDef itemDef
{ {
@ -191,7 +191,7 @@
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_bl" background "drop_shadow_bl"
exp rect y (0 - 0) + (24 + (1 * 20)); exp rect y (0 - 0) + ((24 + 1 * 20));
} }
itemDef itemDef
{ {
@ -202,7 +202,7 @@
textscale 0.55 textscale 0.55
forecolor 0 0 0 1 forecolor 0 0 0 1
background "drop_shadow_l" background "drop_shadow_l"
exp rect h 24 + (1 * 20); exp rect h (24 + 1 * 20);
} }
itemDef itemDef
{ {
@ -219,7 +219,7 @@
rect 0 10 300 40 2 2 rect 0 10 300 40 2 2
decoration decoration
type 1 type 1
visible when((((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.25) && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.5)); visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.25 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.5);
textalign 5 textalign 5
textaligny 10 textaligny 10
textscale 0.375 textscale 0.375
@ -230,7 +230,7 @@
rect 0 10 300 40 2 2 rect 0 10 300 40 2 2
decoration decoration
type 1 type 1
visible when((((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.5) && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.75)); visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.5 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.75);
textalign 5 textalign 5
textaligny 10 textaligny 10
textscale 0.375 textscale 0.375
@ -241,7 +241,7 @@
rect 0 10 300 40 2 2 rect 0 10 300 40 2 2
decoration decoration
type 1 type 1
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.75); visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.75);
textalign 5 textalign 5
textaligny 10 textaligny 10
textscale 0.375 textscale 0.375

View File

@ -46,7 +46,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_background" background "mw2_main_background"
} }
@ -59,7 +59,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -70,7 +70,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -99,6 +99,7 @@
name "sourcefield" name "sourcefield"
rect 100 -33 144 18 1 1 rect 100 -33 144 18 1 1
style 1 style 1
type 8
visible 1 visible 1
ownerdraw 220 ownerdraw 220
textalignx 10 textalignx 10
@ -127,6 +128,7 @@
text "@MENU_GAME_TYPE" text "@MENU_GAME_TYPE"
rect 100 -15 144 18 1 1 rect 100 -15 144 18 1 1
style 1 style 1
type 8
visible 1 visible 1
ownerdraw 253 ownerdraw 253
textalignx 10 textalignx 10
@ -284,7 +286,8 @@
rect 539 9 93 62 0 0 rect 539 9 93 62 0 0
style 1 style 1
decoration decoration
visible when(dvarbool(ui_serverSelected) && dvarbool(wideScreen)); visible when(dvarbool(ui_serverSelected) && dvarbool(widescreen));
textscale 0.55
backcolor 0 0 0 0.5 backcolor 0 0 0 0.5
background "black" background "black"
} }
@ -294,7 +297,8 @@
rect 540 10 91 60 0 0 rect 540 10 91 60 0 0
style 3 style 3
decoration decoration
visible when(dvarbool(ui_serverSelected) && dvarbool(wideScreen)); visible when(dvarbool(ui_serverSelected) && dvarbool(widescreen));
textscale 0.55
background "black" background "black"
exp material "preview_" + dvarstring(ui_serverSelectedMap); exp material "preview_" + dvarstring(ui_serverSelectedMap);
} }
@ -305,6 +309,7 @@
style 1 style 1
decoration decoration
visible 1 visible 1
textscale 0.55
backcolor 1 1 1 0.15 backcolor 1 1 1 0.15
} }
itemDef itemDef
@ -331,90 +336,99 @@
{ {
name "lineMatchtype" name "lineMatchtype"
group "grpCoulmnSep" group "grpCoulmnSep"
rect -2 -2 1 338 0 1 rect 28 42 1 338 0 1
style 1 style 1
decoration decoration
visible 1 visible 1
textscale 0.55
backcolor 1 1 1 0.2 backcolor 1 1 1 0.2
} }
itemDef itemDef
{ {
name "lineAimAssist" name "lineAimAssist"
group "grpCoulmnSep" group "grpCoulmnSep"
rect -2 -2 1 338 0 1 rect 50 42 1 338 0 1
style 1 style 1
decoration decoration
visible 1 visible 1
textscale 0.55
backcolor 1 1 1 0.2 backcolor 1 1 1 0.2
} }
itemDef itemDef
{ {
name "lineVoiceChat" name "lineVoiceChat"
group "grpCoulmnSep" group "grpCoulmnSep"
rect -2 -2 1 338 0 1 rect 72 42 1 338 0 1
style 1 style 1
decoration decoration
visible 1 visible 1
textscale 0.55
backcolor 1 1 1 0.2 backcolor 1 1 1 0.2
} }
itemDef itemDef
{ {
name "lineServer" name "lineServer"
group "grpCoulmnSep" group "grpCoulmnSep"
rect -2 -2 1 338 0 1 rect 94 42 1 338 0 1
style 1 style 1
decoration decoration
visible 1 visible 1
textscale 0.55
backcolor 1 1 1 0.2 backcolor 1 1 1 0.2
} }
itemDef itemDef
{ {
name "lineMap" name "lineMap"
group "grpCoulmnSep" group "grpCoulmnSep"
rect -2 -2 1 338 0 1 rect 304 42 1 338 0 1
style 1 style 1
decoration decoration
visible 1 visible 1
textscale 0.55
backcolor 1 1 1 0.2 backcolor 1 1 1 0.2
} }
itemDef itemDef
{ {
name "linePlayers" name "linePlayers"
group "grpCoulmnSep" group "grpCoulmnSep"
rect -2 -2 1 338 0 1 rect 376 42 1 338 0 1
style 1 style 1
decoration decoration
visible 1 visible 1
textscale 0.55
backcolor 1 1 1 0.2 backcolor 1 1 1 0.2
} }
itemDef itemDef
{ {
name "lineType" name "lineType"
group "grpCoulmnSep" group "grpCoulmnSep"
rect -2 -2 1 338 0 1 rect 428 42 1 338 0 1
style 1 style 1
decoration decoration
visible 1 visible 1
textscale 0.55
backcolor 1 1 1 0.2 backcolor 1 1 1 0.2
} }
itemDef itemDef
{ {
name "lineMod" name "lineMod"
group "grpCoulmnSep" group "grpCoulmnSep"
rect -2 -2 1 338 0 1 rect 532 42 1 338 0 1
style 1 style 1
decoration decoration
visible 1 visible 1
textscale 0.55
backcolor 1 1 1 0.2 backcolor 1 1 1 0.2
} }
itemDef itemDef
{ {
name "linePing" name "linePing"
group "grpCoulmnSep" group "grpCoulmnSep"
rect -2 -2 1 338 0 1 rect 634 42 1 338 0 1
style 1 style 1
decoration decoration
visible 1 visible 1
textscale 0.55
backcolor 1 1 1 0.2 backcolor 1 1 1 0.2
} }
itemDef itemDef
@ -454,13 +468,14 @@
style 1 style 1
type 1 type 1
visible 1 visible 1
textscale 0.55
forecolor 1 0.8 0.4 1 forecolor 1 0.8 0.4 1
action action
{ {
play mouse_click; play mouse_click;
uiScript ServerSort 0; uiScript ServerSort 0;
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1; setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
setItemColor passwordicon foreColor 1 1 "0.5" 1; setItemColor passwordicon foreColor 1 "1.0" "0.5" 1;
setItemColor matchtypeicon foreColor 1 1 1 1; setItemColor matchtypeicon foreColor 1 1 1 1;
setItemColor aimassisticon foreColor 1 1 1 1; setItemColor aimassisticon foreColor 1 1 1 1;
setItemColor voicechaticon foreColor 1 1 1 1; setItemColor voicechaticon foreColor 1 1 1 1;
@ -469,10 +484,11 @@
itemDef itemDef
{ {
name "passwordicon" name "passwordicon"
rect 2 2 16 16 0 1 rect 7 46 16 16 0 1
style 3 style 3
decoration decoration
visible 1 visible 1
textscale 0.55
background "cardicon_locked" background "cardicon_locked"
} }
itemDef itemDef
@ -483,13 +499,14 @@
style 1 style 1
type 1 type 1
visible 1 visible 1
textscale 0.55
forecolor 1 0.8 0.4 1 forecolor 1 0.8 0.4 1
action action
{ {
play mouse_click; play mouse_click;
uiScript ServerSort 1; uiScript ServerSort 1;
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1; setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
setItemColor matchtypeicon foreColor 1 1 "0.5" 1; setItemColor matchtypeicon foreColor 1 "1.0" "0.5" 1;
setItemColor passwordicon foreColor 1 1 1 1; setItemColor passwordicon foreColor 1 1 1 1;
setItemColor aimassisticon foreColor 1 1 1 1; setItemColor aimassisticon foreColor 1 1 1 1;
setItemColor voicechaticon foreColor 1 1 1 1; setItemColor voicechaticon foreColor 1 1 1 1;
@ -498,10 +515,11 @@
itemDef itemDef
{ {
name "matchtypeicon" name "matchtypeicon"
rect 0 2 16 16 0 1 rect 32 46 16 16 0 1
style 3 style 3
decoration decoration
visible 1 visible 1
textscale 0.55
background "server_hardware_header" background "server_hardware_header"
} }
itemDef itemDef
@ -512,13 +530,14 @@
style 1 style 1
type 1 type 1
visible 1 visible 1
textscale 0.55
forecolor 1 0.8 0.4 1 forecolor 1 0.8 0.4 1
action action
{ {
play mouse_click; play mouse_click;
uiScript ServerSort 2; uiScript ServerSort 2;
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1; setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
setItemColor aimassisticon foreColor 1 1 "0.5" 1; setItemColor aimassisticon foreColor 1 "1.0" "0.5" 1;
setItemColor passwordicon foreColor 1 1 1 1; setItemColor passwordicon foreColor 1 1 1 1;
setItemColor matchtypeicon foreColor 1 1 1 1; setItemColor matchtypeicon foreColor 1 1 1 1;
setItemColor voicechaticon foreColor 1 1 1 1; setItemColor voicechaticon foreColor 1 1 1 1;
@ -527,10 +546,11 @@
itemDef itemDef
{ {
name "aimassisticon" name "aimassisticon"
rect 0 2 16 16 0 1 rect 54 46 16 16 0 1
style 3 style 3
decoration decoration
visible 1 visible 1
textscale 0.55
background "cardicon_headshot" background "cardicon_headshot"
} }
itemDef itemDef
@ -541,13 +561,14 @@
style 1 style 1
type 1 type 1
visible 1 visible 1
textscale 0.55
forecolor 1 0.8 0.4 1 forecolor 1 0.8 0.4 1
action action
{ {
play mouse_click; play mouse_click;
uiScript ServerSort 3; uiScript ServerSort 3;
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1; setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
setItemColor voicechaticon foreColor 1 1 "0.5" 1; setItemColor voicechaticon foreColor 1 "1.0" "0.5" 1;
setItemColor passwordicon foreColor 1 1 1 1; setItemColor passwordicon foreColor 1 1 1 1;
setItemColor matchtypeicon foreColor 1 1 1 1; setItemColor matchtypeicon foreColor 1 1 1 1;
setItemColor aimassisticon foreColor 1 1 1 1; setItemColor aimassisticon foreColor 1 1 1 1;
@ -556,10 +577,11 @@
itemDef itemDef
{ {
name "voicechaticon" name "voicechaticon"
rect 0 2 16 16 0 1 rect 76 46 16 16 0 1
style 3 style 3
decoration decoration
visible 1 visible 1
textscale 0.55
background "talkingicon" background "talkingicon"
} }
itemDef itemDef
@ -585,7 +607,7 @@
setItemColor passwordicon foreColor 1 1 1 1; setItemColor passwordicon foreColor 1 1 1 1;
setItemColor aimassisticon foreColor 1 1 1 1; setItemColor aimassisticon foreColor 1 1 1 1;
setItemColor voicechaticon foreColor 1 1 1 1; setItemColor voicechaticon foreColor 1 1 1 1;
setitemColor self foreColor 1 1 "0.5" 1; setitemColor self foreColor 1 "1.0" "0.5" 1;
} }
} }
itemDef itemDef
@ -611,7 +633,7 @@
setItemColor passwordicon foreColor 1 1 1 1; setItemColor passwordicon foreColor 1 1 1 1;
setItemColor aimassisticon foreColor 1 1 1 1; setItemColor aimassisticon foreColor 1 1 1 1;
setItemColor voicechaticon foreColor 1 1 1 1; setItemColor voicechaticon foreColor 1 1 1 1;
setitemColor self foreColor 1 1 "0.5" 1; setitemColor self foreColor 1 "1.0" "0.5" 1;
} }
} }
itemDef itemDef
@ -637,7 +659,7 @@
setItemColor passwordicon foreColor 1 1 1 1; setItemColor passwordicon foreColor 1 1 1 1;
setItemColor aimassisticon foreColor 1 1 1 1; setItemColor aimassisticon foreColor 1 1 1 1;
setItemColor voicechaticon foreColor 1 1 1 1; setItemColor voicechaticon foreColor 1 1 1 1;
setitemColor self foreColor 1 1 "0.5" 1; setitemColor self foreColor 1 "1.0" "0.5" 1;
} }
} }
itemDef itemDef
@ -663,7 +685,7 @@
setItemColor passwordicon foreColor 1 1 1 1; setItemColor passwordicon foreColor 1 1 1 1;
setItemColor aimassisticon foreColor 1 1 1 1; setItemColor aimassisticon foreColor 1 1 1 1;
setItemColor voicechaticon foreColor 1 1 1 1; setItemColor voicechaticon foreColor 1 1 1 1;
setitemColor self foreColor 1 1 "0.5" 1; setitemColor self foreColor 1 "1.0" "0.5" 1;
} }
} }
itemDef itemDef
@ -689,7 +711,7 @@
setItemColor passwordicon foreColor 1 1 1 1; setItemColor passwordicon foreColor 1 1 1 1;
setItemColor aimassisticon foreColor 1 1 1 1; setItemColor aimassisticon foreColor 1 1 1 1;
setItemColor voicechaticon foreColor 1 1 1 1; setItemColor voicechaticon foreColor 1 1 1 1;
setitemColor self foreColor 1 1 "0.5" 1; setitemColor self foreColor 1 "1.0" "0.5" 1;
} }
} }
itemDef itemDef
@ -715,7 +737,7 @@
setItemColor passwordicon foreColor 1 1 1 1; setItemColor passwordicon foreColor 1 1 1 1;
setItemColor aimassisticon foreColor 1 1 1 1; setItemColor aimassisticon foreColor 1 1 1 1;
setItemColor voicechaticon foreColor 1 1 1 1; setItemColor voicechaticon foreColor 1 1 1 1;
setitemColor self foreColor 1 1 "0.5" 1; setitemColor self foreColor 1 "1.0" "0.5" 1;
} }
} }
itemDef itemDef

View File

@ -25,12 +25,12 @@
close pc_options_multi; close pc_options_multi;
close pc_options_video; close pc_options_video;
close pc_options_voice; close pc_options_voice;
setLocalVarBool ui_hideBack 1; setLocalVarBool ui_hideBack (1);
setLocalVarBool ui_hint_display 0; setLocalVarBool ui_hint_display 0;
} }
onClose onClose
{ {
setLocalVarBool ui_hideBack 0; setLocalVarBool ui_hideBack (0);
open pc_options_controls; open pc_options_controls;
} }
onESC onESC
@ -52,7 +52,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_background" background "mw2_main_background"
} }
@ -61,7 +61,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_background" background "mw2_main_background"
} }
@ -74,7 +74,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -85,7 +85,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {

View File

@ -26,12 +26,12 @@
close pc_options_video; close pc_options_video;
close pc_options_voice; close pc_options_voice;
execnow "profile_menuDvarsSetup; resetViewport"; execnow "profile_menuDvarsSetup; resetViewport";
setLocalVarBool ui_hideBack 1; setLocalVarBool ui_hideBack (1);
} }
onClose onClose
{ {
execnow "profile_menuDvarsFinish; resetViewport"; execnow "profile_menuDvarsFinish; resetViewport";
setLocalVarBool ui_hideBack 0; setLocalVarBool ui_hideBack (0);
execOnDvarIntValue r_lodScaleRigid 2 "set r_lodScaleSkinned 4; set r_lodBiasSkinned -200; set r_lodBiasRigid -100"; execOnDvarIntValue r_lodScaleRigid 2 "set r_lodScaleSkinned 4; set r_lodBiasSkinned -200; set r_lodBiasRigid -100";
execOnDvarIntValue r_lodScaleRigid 1 "set r_lodScaleSkinned 1; set r_lodBiasSkinned 0; set r_lodBiasRigid 0"; execOnDvarIntValue r_lodScaleRigid 1 "set r_lodScaleSkinned 1; set r_lodBiasSkinned 0; set r_lodBiasRigid 0";
open pc_options_video; open pc_options_video;
@ -55,7 +55,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_background" background "mw2_main_background"
} }
@ -64,7 +64,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_background" background "mw2_main_background"
} }
@ -77,7 +77,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -88,7 +88,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -197,7 +197,7 @@
style 1 style 1
type 12 type 12
visible 1 visible 1
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
textalign 4 textalign 4
textalignx 170 textalignx 170
textscale 0.375 textscale 0.375
@ -224,7 +224,7 @@
{ {
play mouse_click; play mouse_click;
setDvarInt r_aspectratio dvarInt ( ui_r_aspectratio ); setDvarInt r_aspectratio dvarInt ( ui_r_aspectratio );
setLocalVarBool ui_showApply 1; setLocalVarBool ui_showApply (1);
} }
dvar "ui_r_aspectratio" dvar "ui_r_aspectratio"
dvarFloatList { "@MENU_AUTO" 0 "@MENU_STANDARD_4_3" 1 "@MENU_WIDE_16_10" 2 "@MENU_WIDE_16_9" 3 } dvarFloatList { "@MENU_AUTO" 0 "@MENU_STANDARD_4_3" 1 "@MENU_WIDE_16_10" 2 "@MENU_WIDE_16_9" 3 }
@ -247,7 +247,7 @@
style 1 style 1
type 12 type 12
visible 1 visible 1
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
textalign 4 textalign 4
textalignx 170 textalignx 170
textscale 0.375 textscale 0.375
@ -273,7 +273,7 @@
action action
{ {
play mouse_click; play mouse_click;
setLocalVarBool ui_showApply 1; setLocalVarBool ui_showApply (1);
} }
dvar "ui_r_aasamples" dvar "ui_r_aasamples"
dvarFloatList { "@MENU_OFF" 1 "@MENU_2X" 2 "@MENU_4X" 4 } dvarFloatList { "@MENU_OFF" 1 "@MENU_2X" 2 "@MENU_4X" 4 }
@ -296,7 +296,7 @@
style 1 style 1
type 13 type 13
visible 1 visible 1
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
textalign 4 textalign 4
textalignx 170 textalignx 170
textscale 0.375 textscale 0.375
@ -331,7 +331,7 @@
action action
{ {
play mouse_click; play mouse_click;
setLocalVarBool ui_showApply 1; setLocalVarBool ui_showApply (1);
} }
dvar "ui_r_displayRefresh" dvar "ui_r_displayRefresh"
dvarEnumList "r_displayRefresh" dvarEnumList "r_displayRefresh"
@ -354,7 +354,7 @@
style 1 style 1
type 11 type 11
visible 1 visible 1
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
textalign 4 textalign 4
textalignx 170 textalignx 170
textscale 0.375 textscale 0.375
@ -389,7 +389,7 @@
action action
{ {
play mouse_click; play mouse_click;
setLocalVarBool ui_showApply 1; setLocalVarBool ui_showApply (1);
} }
dvar "ui_r_vsync" dvar "ui_r_vsync"
} }
@ -777,7 +777,7 @@
style 1 style 1
type 12 type 12
visible 1 visible 1
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
textalign 4 textalign 4
textalignx 170 textalignx 170
textscale 0.375 textscale 0.375
@ -803,7 +803,7 @@
action action
{ {
play mouse_click; play mouse_click;
setLocalVarBool ui_showApply 1; setLocalVarBool ui_showApply (1);
} }
dvar "ui_r_picmip_manual" dvar "ui_r_picmip_manual"
dvarFloatList { "@MENU_AUTOMATIC" 0 "@MENU_MANUAL" 1 } dvarFloatList { "@MENU_AUTOMATIC" 0 "@MENU_MANUAL" 1 }
@ -826,7 +826,7 @@
style 1 style 1
type 12 type 12
visible when(dvarbool(ui_r_picmip_manual)); visible when(dvarbool(ui_r_picmip_manual));
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
textalign 4 textalign 4
textalignx 170 textalignx 170
textscale 0.375 textscale 0.375
@ -852,7 +852,7 @@
action action
{ {
play mouse_click; play mouse_click;
setLocalVarBool ui_showApply 1; setLocalVarBool ui_showApply (1);
} }
dvar "ui_r_picmip" dvar "ui_r_picmip"
dvarFloatList { "@MENU_LOW" 3 "@MENU_NORMAL" 2 "@MENU_HIGH" 1 "@MENU_EXTRA" 0 } dvarFloatList { "@MENU_LOW" 3 "@MENU_NORMAL" 2 "@MENU_HIGH" 1 "@MENU_EXTRA" 0 }
@ -875,7 +875,7 @@
style 1 style 1
type 12 type 12
visible when(dvarbool(ui_r_picmip_manual)); visible when(dvarbool(ui_r_picmip_manual));
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
textalign 4 textalign 4
textalignx 170 textalignx 170
textscale 0.375 textscale 0.375
@ -901,7 +901,7 @@
action action
{ {
play mouse_click; play mouse_click;
setLocalVarBool ui_showApply 1; setLocalVarBool ui_showApply (1);
} }
dvar "ui_r_picmip_bump" dvar "ui_r_picmip_bump"
dvarFloatList { "@MENU_LOW" 3 "@MENU_NORMAL" 2 "@MENU_HIGH" 1 "@MENU_EXTRA" 0 } dvarFloatList { "@MENU_LOW" 3 "@MENU_NORMAL" 2 "@MENU_HIGH" 1 "@MENU_EXTRA" 0 }
@ -924,7 +924,7 @@
style 1 style 1
type 12 type 12
visible when(dvarbool(ui_r_picmip_manual)); visible when(dvarbool(ui_r_picmip_manual));
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
textalign 4 textalign 4
textalignx 170 textalignx 170
textscale 0.375 textscale 0.375
@ -950,7 +950,7 @@
action action
{ {
play mouse_click; play mouse_click;
setLocalVarBool ui_showApply 1; setLocalVarBool ui_showApply (1);
} }
dvar "ui_r_picmip_spec" dvar "ui_r_picmip_spec"
dvarFloatList { "@MENU_LOW" 3 "@MENU_NORMAL" 2 "@MENU_HIGH" 1 "@MENU_EXTRA" 0 } dvarFloatList { "@MENU_LOW" 3 "@MENU_NORMAL" 2 "@MENU_HIGH" 1 "@MENU_EXTRA" 0 }

View File

@ -36,16 +36,16 @@
onESC onESC
{ {
close self; 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"))) 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 ui_r_picmip";
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump"; execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec"; execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual"; execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
exec "wait; wait; r_applyPicmip"; exec "wait; wait; r_applyPicmip";
setLocalVarBool ui_showPicApply 0; 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")) 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; open all_restart_popmenu;
} }
@ -67,7 +67,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_background" background "mw2_main_background"
} }
@ -76,7 +76,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_background" background "mw2_main_background"
} }
@ -89,7 +89,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -100,7 +100,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -233,13 +233,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -291,13 +291,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -349,13 +349,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -407,13 +407,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -465,13 +465,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -523,13 +523,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -581,7 +581,7 @@
style 1 style 1
type 1 type 1
visible 1 visible 1
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); disabled when(dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby());
textalign 6 textalign 6
textalignx -60 textalignx -60
textscale 0.375 textscale 0.375
@ -591,13 +591,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -616,7 +616,7 @@
rect 10 -160 206 240 1 3 rect 10 -160 206 240 1 3
decoration decoration
autowrapped autowrapped
visible when(((!localvarbool("ui_brightness_hint_display")) && (!localvarbool("ui_hint_display"))) && menuisopen("pc_options_video")); visible when(!localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display") && menuisopen("pc_options_video"));
textscale 0.375 textscale 0.375
} }
itemDef itemDef
@ -626,7 +626,7 @@
rect 10 -160 206 240 1 3 rect 10 -160 206 240 1 3
decoration decoration
autowrapped autowrapped
visible when(localvarbool("ui_brightness_hint_display") && (!localvarbool("ui_hint_display"))); visible when(localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display"));
textscale 0.375 textscale 0.375
forecolor 1 0.8 0.4 1 forecolor 1 0.8 0.4 1
} }
@ -671,16 +671,16 @@
{ {
play mouse_click; play mouse_click;
close self; 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"))) 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 ui_r_picmip";
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump"; execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec"; execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual"; execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
exec "wait; wait; r_applyPicmip"; exec "wait; wait; r_applyPicmip";
setLocalVarBool ui_showPicApply 0; 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")) 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; open all_restart_popmenu;
} }
@ -712,6 +712,12 @@
textfont 3 textfont 3
disablecolor 0.6 0.55 0.55 1 disablecolor 0.6 0.55 0.55 1
background "menu_setting_selection_bar" background "menu_setting_selection_bar"
onFocus
{
}
leaveFocus
{
}
mouseEnter mouseEnter
{ {
play mouse_over; play mouse_over;
@ -752,7 +758,7 @@
style 1 style 1
type 12 type 12
visible 1 visible 1
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
textalign 4 textalign 4
textalignx 170 textalignx 170
textscale 0.375 textscale 0.375
@ -778,7 +784,7 @@
action action
{ {
play mouse_click; play mouse_click;
setLocalVarBool ui_showAudioApply 1; setLocalVarBool ui_showAudioApply (1);
} }
dvar "ui_outputConfig" 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" } dvarStrList { "@MENU_WINDOWS_DEFAULT" "Windows default" "@MENU_MONO" "Mono" "@MENU_STEREO" "Stereo" "@MENU_FOUR_SPEAKERS" "4 speakers" "@MENU_FIVE_ONE_SPEAKERS" "5.1 speakers" }

View File

@ -26,27 +26,27 @@
close pc_options_video; close pc_options_video;
close pc_options_voice; close pc_options_voice;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarBool ui_hideBack 1; setLocalVarBool ui_hideBack (1);
execnow "profile_menuDvarsSetup; resetViewport"; execnow "profile_menuDvarsSetup; resetViewport";
setFocus buttonControls; setFocus buttonControls;
} }
onClose onClose
{ {
setLocalVarBool ui_hideBack 0; setLocalVarBool ui_hideBack (0);
} }
onESC onESC
{ {
close self; 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"))) 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 ui_r_picmip";
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump"; execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec"; execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual"; execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
exec "wait; wait; r_applyPicmip"; exec "wait; wait; r_applyPicmip";
setLocalVarBool ui_showPicApply 0; 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")) 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; open all_restart_popmenu;
} }
@ -68,7 +68,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_background" background "mw2_main_background"
} }
@ -77,7 +77,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_background" background "mw2_main_background"
} }
@ -90,7 +90,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -101,7 +101,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -234,13 +234,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -292,13 +292,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -350,13 +350,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -408,13 +408,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -466,13 +466,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -524,13 +524,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -582,7 +582,7 @@
style 1 style 1
type 1 type 1
visible 1 visible 1
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); disabled when(dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby());
textalign 6 textalign 6
textalignx -60 textalignx -60
textscale 0.375 textscale 0.375
@ -592,13 +592,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -617,7 +617,7 @@
rect 10 -160 206 240 1 3 rect 10 -160 206 240 1 3
decoration decoration
autowrapped autowrapped
visible when(((!localvarbool("ui_brightness_hint_display")) && (!localvarbool("ui_hint_display"))) && menuisopen("pc_options_video")); visible when(!localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display") && menuisopen("pc_options_video"));
textscale 0.375 textscale 0.375
} }
itemDef itemDef
@ -627,7 +627,7 @@
rect 10 -160 206 240 1 3 rect 10 -160 206 240 1 3
decoration decoration
autowrapped autowrapped
visible when(localvarbool("ui_brightness_hint_display") && (!localvarbool("ui_hint_display"))); visible when(localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display"));
textscale 0.375 textscale 0.375
forecolor 1 0.8 0.4 1 forecolor 1 0.8 0.4 1
} }
@ -672,16 +672,16 @@
{ {
play mouse_click; play mouse_click;
close self; 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"))) 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 ui_r_picmip";
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump"; execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec"; execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual"; execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
exec "wait; wait; r_applyPicmip"; exec "wait; wait; r_applyPicmip";
setLocalVarBool ui_showPicApply 0; 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")) 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; open all_restart_popmenu;
} }
@ -718,13 +718,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -756,13 +756,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -794,13 +794,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -832,13 +832,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -877,13 +877,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {

View File

@ -38,16 +38,16 @@
onESC onESC
{ {
close self; 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"))) 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 ui_r_picmip";
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump"; execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec"; execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual"; execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
exec "wait; wait; r_applyPicmip"; exec "wait; wait; r_applyPicmip";
setLocalVarBool ui_showPicApply 0; 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")) 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; open all_restart_popmenu;
} }
@ -69,7 +69,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_background" background "mw2_main_background"
} }
@ -78,7 +78,7 @@
rect 0 0 640 480 4 4 rect 0 0 640 480 4 4
style 3 style 3
decoration decoration
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55 textscale 0.55
background "mw2_main_background" background "mw2_main_background"
} }
@ -91,7 +91,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854); exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
} }
itemDef itemDef
{ {
@ -102,7 +102,7 @@
textscale 0.55 textscale 0.55
forecolor 1 1 1 0.5 forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay" background "mw2_main_cloud_overlay"
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
} }
itemDef itemDef
{ {
@ -235,13 +235,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -293,13 +293,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -351,13 +351,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -409,13 +409,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -467,13 +467,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -525,13 +525,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -583,7 +583,7 @@
style 1 style 1
type 1 type 1
visible 1 visible 1
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); disabled when(dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby());
textalign 6 textalign 6
textalignx -60 textalignx -60
textscale 0.375 textscale 0.375
@ -593,13 +593,13 @@
onFocus onFocus
{ {
setItemColor self backColor 0 0 0 1; setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
setLocalVarFloat ui_popupYPos getfocuseditemy(); setLocalVarFloat ui_popupYPos (getfocuseditemy());
} }
leaveFocus leaveFocus
{ {
setItemColor self backColor 0 0 0 0; setItemColor self backColor 0 0 0 0;
setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarString ui_hint_text ("@NULL_EMPTY");
} }
mouseEnter mouseEnter
{ {
@ -618,7 +618,7 @@
rect 10 -160 206 240 1 3 rect 10 -160 206 240 1 3
decoration decoration
autowrapped autowrapped
visible when(((!localvarbool("ui_brightness_hint_display")) && (!localvarbool("ui_hint_display"))) && menuisopen("pc_options_video")); visible when(!localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display") && menuisopen("pc_options_video"));
textscale 0.375 textscale 0.375
} }
itemDef itemDef
@ -628,7 +628,7 @@
rect 10 -160 206 240 1 3 rect 10 -160 206 240 1 3
decoration decoration
autowrapped autowrapped
visible when(localvarbool("ui_brightness_hint_display") && (!localvarbool("ui_hint_display"))); visible when(localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display"));
textscale 0.375 textscale 0.375
forecolor 1 0.8 0.4 1 forecolor 1 0.8 0.4 1
} }
@ -673,16 +673,16 @@
{ {
play mouse_click; play mouse_click;
close self; 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"))) 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 ui_r_picmip";
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump"; execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec"; execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual"; execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
exec "wait; wait; r_applyPicmip"; exec "wait; wait; r_applyPicmip";
setLocalVarBool ui_showPicApply 0; 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")) 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; open all_restart_popmenu;
} }

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