1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-07 13:49:33 -05:00

Nuketown: add custom dpad HUD

Tranzit and Die Rise: decrease opacity on dpad HUD
Tranzit: fix ammo HUD text alignment
This commit is contained in:
Jbleezy 2024-04-26 19:35:00 -07:00
parent a901deeac3
commit 50f4f532fe
20 changed files with 197 additions and 3 deletions

Binary file not shown.

BIN
images/hud_nuked_dpad.iwi Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

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,94 @@
{
"_type": "material",
"_version": 1,
"cameraRegion": "none",
"constants": [],
"contents": 1,
"gameFlags": [],
"hashIndex": 0,
"layeredSurfaceTypes": 536870912,
"probeMipBits": 0,
"sortKey": 40,
"stateBits": [
{
"alphaTest": "gt0",
"blendOpAlpha": "add",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disabled",
"depthWrite": false,
"dstBlendAlpha": "one",
"dstBlendRgb": "invsrcalpha",
"polygonOffset": "offset0",
"polymodeLine": false,
"srcBlendAlpha": "invdestalpha",
"srcBlendRgb": "srcalpha",
"stencilBack": null,
"stencilFront": null
}
],
"stateBitsEntry": [
-1,
-1,
0,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1
],
"stateFlags": 0,
"surfaceFlags": 0,
"surfaceTypeBits": 0,
"techniqueSet": "trivial_9z33feqw",
"textureAtlas": {
"columns": 1,
"rows": 1
},
"textures": [
{
"image": "hud_nuked_dpad",
"isMatureContent": false,
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipMap": "disabled"
},
"semantic": "2D"
}
],
"thermalMaterial": null
}

View File

@ -0,0 +1,94 @@
{
"_type": "material",
"_version": 1,
"cameraRegion": "none",
"constants": [],
"contents": 1,
"gameFlags": [],
"hashIndex": 0,
"layeredSurfaceTypes": 536870912,
"probeMipBits": 0,
"sortKey": 40,
"stateBits": [
{
"alphaTest": "gt0",
"blendOpAlpha": "add",
"blendOpRgb": "add",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "none",
"depthTest": "disabled",
"depthWrite": false,
"dstBlendAlpha": "one",
"dstBlendRgb": "invsrcalpha",
"polygonOffset": "offset0",
"polymodeLine": false,
"srcBlendAlpha": "invdestalpha",
"srcBlendRgb": "srcalpha",
"stencilBack": null,
"stencilFront": null
}
],
"stateBitsEntry": [
-1,
-1,
0,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1
],
"stateFlags": 0,
"surfaceFlags": 0,
"surfaceTypeBits": 0,
"techniqueSet": "trivial_9z33feqw",
"textureAtlas": {
"columns": 1,
"rows": 1
},
"textures": [
{
"image": "hud_nuked_dpad_bar",
"isMatureContent": false,
"name": "colorMap",
"samplerState": {
"clampU": true,
"clampV": true,
"clampW": true,
"filter": "linear",
"mipMap": "disabled"
},
"semantic": "2D"
}
],
"thermalMaterial": null
}

View File

@ -30,7 +30,9 @@ LUI.createMenu.AmmoAreaZombie = function(f1_arg0)
f1_local0.scaleContainer:setTopBottom(false, true, 0, 0)
f1_local0:addElement(f1_local0.scaleContainer)
local f1_local1 = "transit_"
if CoD.Zombie.IsDLCMap(CoD.Zombie.DLC1Maps) then
if CoD.Zombie.IsDLCMap(CoD.Zombie.DLC0Maps) then
f1_local1 = "nuked_"
elseif CoD.Zombie.IsDLCMap(CoD.Zombie.DLC1Maps) then
f1_local1 = "highrise_"
elseif CoD.Zombie.IsDLCMap(CoD.Zombie.DLC2Maps) then
f1_local1 = "hell_"
@ -533,8 +535,8 @@ CoD.AmmoAreaZombie.UpdateOverheat = function(f8_arg0, f8_arg1)
f8_arg0.ammoDigits[f8_local10]:setTopBottom(false, true, f8_local5 + offsetTopBottom, f8_local5 + (f8_local6 / digitRatio) + offsetTopBottom)
f8_local10 = f8_local10 + 1
offsetLeftRight = 5
offsetTopBottom = 32
offsetLeftRight = 4
offsetTopBottom = 33
f8_arg0.ammoDigits[f8_local10]:setDigit(0, f8_local0)
f8_arg0.ammoDigits[f8_local10]:setLeftRight(false, true, f8_local2 - (f8_local3 / digitRatio) - offsetLeftRight, f8_local2 - offsetLeftRight)
f8_arg0.ammoDigits[f8_local10]:setTopBottom(false, true, f8_local5 + offsetTopBottom, f8_local5 + (f8_local6 / digitRatio) + offsetTopBottom)

View File

@ -28,6 +28,8 @@ material,hud_zm_num_transit_8
material,hud_zm_num_transit_9
material,hud_zm_num_transit_slash
material,hud_zm_num_transit_line
material,hud_zm_nuked_dpad
material,hud_zm_nuked_dpad_bar
material,hud_zm_highrise_dpad
material,hud_zm_highrise_dpad_bar
material,hud_zm_num_highrise_0
@ -73,6 +75,8 @@ image,hud_transit_zom_num_8
image,hud_transit_zom_num_9
image,hud_transit_zom_num_slash
image,hud_transit_zom_num_line
image,hud_nuked_dpad
image,hud_nuked_dpad_bar
image,hud_highrise_dpad
image,hud_highrise_dpad_bar
image,hud_highrise_zom_num_0