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:
parent
a901deeac3
commit
50f4f532fe
Binary file not shown.
BIN
images/hud_nuked_dpad.iwi
Normal file
BIN
images/hud_nuked_dpad.iwi
Normal file
Binary file not shown.
BIN
images/hud_nuked_dpad_bar.iwi
Normal file
BIN
images/hud_nuked_dpad_bar.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.
94
materials/hud_zm_nuked_dpad.json
Normal file
94
materials/hud_zm_nuked_dpad.json
Normal 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
|
||||||
|
}
|
94
materials/hud_zm_nuked_dpad_bar.json
Normal file
94
materials/hud_zm_nuked_dpad_bar.json
Normal 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
|
||||||
|
}
|
@ -30,7 +30,9 @@ LUI.createMenu.AmmoAreaZombie = function(f1_arg0)
|
|||||||
f1_local0.scaleContainer:setTopBottom(false, true, 0, 0)
|
f1_local0.scaleContainer:setTopBottom(false, true, 0, 0)
|
||||||
f1_local0:addElement(f1_local0.scaleContainer)
|
f1_local0:addElement(f1_local0.scaleContainer)
|
||||||
local f1_local1 = "transit_"
|
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_"
|
f1_local1 = "highrise_"
|
||||||
elseif CoD.Zombie.IsDLCMap(CoD.Zombie.DLC2Maps) then
|
elseif CoD.Zombie.IsDLCMap(CoD.Zombie.DLC2Maps) then
|
||||||
f1_local1 = "hell_"
|
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_arg0.ammoDigits[f8_local10]:setTopBottom(false, true, f8_local5 + offsetTopBottom, f8_local5 + (f8_local6 / digitRatio) + offsetTopBottom)
|
||||||
f8_local10 = f8_local10 + 1
|
f8_local10 = f8_local10 + 1
|
||||||
|
|
||||||
offsetLeftRight = 5
|
offsetLeftRight = 4
|
||||||
offsetTopBottom = 32
|
offsetTopBottom = 33
|
||||||
f8_arg0.ammoDigits[f8_local10]:setDigit(0, f8_local0)
|
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]: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)
|
f8_arg0.ammoDigits[f8_local10]:setTopBottom(false, true, f8_local5 + offsetTopBottom, f8_local5 + (f8_local6 / digitRatio) + offsetTopBottom)
|
||||||
|
@ -28,6 +28,8 @@ material,hud_zm_num_transit_8
|
|||||||
material,hud_zm_num_transit_9
|
material,hud_zm_num_transit_9
|
||||||
material,hud_zm_num_transit_slash
|
material,hud_zm_num_transit_slash
|
||||||
material,hud_zm_num_transit_line
|
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
|
||||||
material,hud_zm_highrise_dpad_bar
|
material,hud_zm_highrise_dpad_bar
|
||||||
material,hud_zm_num_highrise_0
|
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_9
|
||||||
image,hud_transit_zom_num_slash
|
image,hud_transit_zom_num_slash
|
||||||
image,hud_transit_zom_num_line
|
image,hud_transit_zom_num_line
|
||||||
|
image,hud_nuked_dpad
|
||||||
|
image,hud_nuked_dpad_bar
|
||||||
image,hud_highrise_dpad
|
image,hud_highrise_dpad
|
||||||
image,hud_highrise_dpad_bar
|
image,hud_highrise_dpad_bar
|
||||||
image,hud_highrise_zom_num_0
|
image,hud_highrise_zom_num_0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user