HL2 beta hud for retail
 

0 Пользователей и 1 Гость просматривают эту тему.

  • Citizen
  • *
  • Сообщений: 3
    • Просмотр профиля
Im trying to get the hud so i can make a modification for retail.
UC
  • Citizen
  • *
  • Сообщений: 29
    • Просмотр профиля
Download This

Here are the steps to get it working:
1. Compile the code to get the dlls.
2. Place dlls in your bin folder
3. Place the script files in your scripts folder
4. Place the VTF and VMT files in your custom/sprites folder.
5. Change the hud1.vmt to the following:
"UnlitGeneric"
{
   "$basetexture" "sprites/hud1"
   "$additive" "1"
   "$vertexcolor" "1"
   "$vertexalpha" "1"
   "$ignorez"     "1"
}
6. In the mod_textures file, the coordinates for 'battery_label' and 'ammo_bar' are wrong, so make the following changes:
"battery_label"
{
    "file"             "sprites/hud1"
    "x"                "220"
    "y"                "28"
    "width"      "36"
    "height"   "14"   
}

"ammo_bar"
{
    "file"      "sprites/hud1"
    "x"      "240"
    "y"      "1"
    "width"      "12"
    "height"   "28"
}