Add missing achievement backgrounds

Co-Authored-By: Vlad Loktionov <13555921+VladWinner@users.noreply.github.com>
This commit is contained in:
fed 2023-09-11 21:36:41 +02:00
parent a06044eff2
commit bf55e67abc
No known key found for this signature in database
GPG Key ID: 1D2C630F04722996
8 changed files with 82 additions and 1 deletions

View File

@ -262,7 +262,7 @@ LUI.MenuBuilder.registerType("achievements_menu", function(root, controller)
achievementcontainer:registerEventHandler("mouseenter", function() achievementcontainer:registerEventHandler("mouseenter", function()
Engine.PlaySound(CoD.SFX.MouseOver) Engine.PlaySound(CoD.SFX.MouseOver)
if (background ~= nil) then if (background ~= nil and achievementtable[i]) then
changebackground(background, false) changebackground(background, false)
else else
changebackground("sp_menus_bg_regular", true) changebackground("sp_menus_bg_regular", true)

View File

@ -93,6 +93,7 @@ material,trophy_50
material,trophy_51 material,trophy_51
material,trophy_52 material,trophy_52
material,achievement_bg_0
material,achievement_bg_1 material,achievement_bg_1
material,achievement_bg_2 material,achievement_bg_2
material,achievement_bg_3 material,achievement_bg_3
@ -143,6 +144,8 @@ material,achievement_bg_47
material,achievement_bg_48 material,achievement_bg_48
material,achievement_bg_49 material,achievement_bg_49
material,achievement_bg_50 material,achievement_bg_50
material,achievement_bg_51
material,achievement_bg_52
localize,english localize,english
sound,ui_achievement_unlocked sound,ui_achievement_unlocked

1 techset,,2d
93 material,achievement_bg_2 material,achievement_bg_1
94 material,achievement_bg_3 material,achievement_bg_2
95 material,achievement_bg_4 material,achievement_bg_3
96 material,achievement_bg_4
97 material,achievement_bg_5
98 material,achievement_bg_6
99 material,achievement_bg_7
144 sound,ui_achievement_unlocked material,achievement_bg_52
145 localize,english
146 sound,ui_achievement_unlocked
147
148
149
150
151

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,26 @@
{
"name": "achievement_bg_0",
"techniqueSet->name": "2d",
"gameFlags": 0,
"sortKey": 60,
"renderFlags": 0,
"textureAtlasRowCount": 1,
"textureAtlasColumnCount": 1,
"textureAtlasFrameBlend": 0,
"textureAtlasAsArray": 0,
"surfaceTypeBits": 0,
"cameraRegion": 12,
"materialType": 0,
"assetFlags": 0,
"constantTable": null,
"textureTable": [
{
"image": "achievement_bg_0",
"semantic": 0,
"samplerState": 226,
"lastCharacter": 112,
"firstCharacter": 99,
"typeHash": 2695565377
}
]
}

View File

@ -0,0 +1,26 @@
{
"name": "achievement_bg_51",
"techniqueSet->name": "2d",
"gameFlags": 0,
"sortKey": 60,
"renderFlags": 0,
"textureAtlasRowCount": 1,
"textureAtlasColumnCount": 1,
"textureAtlasFrameBlend": 0,
"textureAtlasAsArray": 0,
"surfaceTypeBits": 0,
"cameraRegion": 12,
"materialType": 0,
"assetFlags": 0,
"constantTable": null,
"textureTable": [
{
"image": "achievement_bg_51",
"semantic": 0,
"samplerState": 226,
"lastCharacter": 112,
"firstCharacter": 99,
"typeHash": 2695565377
}
]
}

View File

@ -0,0 +1,26 @@
{
"name": "achievement_bg_52",
"techniqueSet->name": "2d",
"gameFlags": 0,
"sortKey": 60,
"renderFlags": 0,
"textureAtlasRowCount": 1,
"textureAtlasColumnCount": 1,
"textureAtlasFrameBlend": 0,
"textureAtlasAsArray": 0,
"surfaceTypeBits": 0,
"cameraRegion": 12,
"materialType": 0,
"assetFlags": 0,
"constantTable": null,
"textureTable": [
{
"image": "achievement_bg_52",
"semantic": 0,
"samplerState": 226,
"lastCharacter": 112,
"firstCharacter": 99,
"typeHash": 2695565377
}
]
}