Weapon icon HUD bug

Hello fellow TN members!

I have encountered a problem in my mod. The problem is that after me and my co-dev added a solid number of new weapons, the small weapon icons, which are normally on the right side your HUD, arent visible. That happens with every new weapon we add... This bug is really annoying, and we cant seem to find any solution to it. Any help?

Comments

  • The weapon hud stuff is in weapons.cs. Be sure to increment the count variable when adding new entries.
  • I have counted we have 63 weapons, and the $WeaponsHudCount variable is set to 63... Yet the problem still presists.
  • I believe you need the weapons.cs file on the client in order to see the various reticles.
    Otherwise
    • Make sure you don't have a syntax error in the file.
    • Post a code snippet
  • edited July 2010
    Post updated, +
    Code from weapons.cs


    $WeaponsHudData[0, bitmapName] = "gui/hud_blaster";
    $WeaponsHudData[0, itemDataName] = "Blaster";
    //$WeaponsHudData[0, ammoDataName] = "";
    $WeaponsHudData[0, reticle] = "gui/ret_blaster";
    $WeaponsHudData[0, visible] = "true";
    $WeaponsHudData[1, bitmapName] = "gui/hud_plasma";
    $WeaponsHudData[1, itemDataName] = "Plasma";
    $WeaponsHudData[1, ammoDataName] = "PlasmaAmmo";
    $WeaponsHudData[1, reticle] = "gui/ret_plasma";
    $WeaponsHudData[1, visible] = "true";
    $WeaponsHudData[2, bitmapName] = "gui/hud_chaingun";
    $WeaponsHudData[2, itemDataName] = "Chaingun";
    $WeaponsHudData[2, ammoDataName] = "ChaingunAmmo";
    $WeaponsHudData[2, reticle] = "gui/ret_chaingun";
    $WeaponsHudData[2, visible] = "true";
    $WeaponsHudData[3, bitmapName] = "gui/hud_disc";
    $WeaponsHudData[3, itemDataName] = "Disc";
    $WeaponsHudData[3, ammoDataName] = "DiscAmmo";
    $WeaponsHudData[3, reticle] = "gui/ret_disc";
    $WeaponsHudData[3, visible] = "true";
    $WeaponsHudData[4, bitmapName] = "gui/hud_grenlaunch";
    $WeaponsHudData[4, itemDataName] = "GrenadeLauncher";
    $WeaponsHudData[4, ammoDataName] = "GrenadeLauncherAmmo";
    $WeaponsHudData[4, reticle] = "gui/ret_grenade";
    $WeaponsHudData[4, visible] = "true";
    $WeaponsHudData[5, bitmapName] = "gui/hud_sniper";
    $WeaponsHudData[5, itemDataName] = "SniperRifle";
    //$WeaponsHudData[5, ammoDataName] = "";
    $WeaponsHudData[5, reticle] = "gui/hud_ret_sniper";
    $WeaponsHudData[5, visible] = "false";
    $WeaponsHudData[6, bitmapName] = "gui/hud_elfgun";
    $WeaponsHudData[6, itemDataName] = "ELFGun";
    //$WeaponsHudData[6, ammoDataName] = "";
    $WeaponsHudData[6, reticle] = "gui/ret_elf";
    $WeaponsHudData[6, visible] = "true";
    $WeaponsHudData[7, bitmapName] = "gui/hud_mortor";
    $WeaponsHudData[7, itemDataName] = "FusMortar";
    $WeaponsHudData[7, ammoDataName] = "FusMortarAmmo";
    $WeaponsHudData[7, reticle] = "gui/ret_mortor";
    $WeaponsHudData[7, visible] = "true";
    $WeaponsHudData[8, bitmapName] = "gui/hud_missiles";
    $WeaponsHudData[8, itemDataName] = "MissileLauncher";
    $WeaponsHudData[8, ammoDataName] = "MissileLauncherAmmo";
    $WeaponsHudData[8, reticle] = "gui/ret_missile";
    $WeaponsHudData[8, visible] = "true";
    // WARNING!!! If you change the weapon index of the targeting laser,
    // you must change the HudWeaponInvBase::addWeapon function to test
    // for the new value!
    $WeaponsHudData[9, bitmapName] = "gui/hud_targetlaser";
    $WeaponsHudData[9, itemDataName] = "TargetingLaser";
    //$WeaponsHudData[9, ammoDataName] = "";
    $WeaponsHudData[9, reticle] = "gui/hud_ret_targlaser";
    $WeaponsHudData[9, visible] = "false";

    $WeaponsHudData[10, bitmapName] = "gui/hud_shocklance";
    $WeaponsHudData[10, itemDataName] = "ShockLance";
    //$WeaponsHudData[10, ammoDataName] = "";
    $WeaponsHudData[10, reticle] = "gui/hud_ret_shocklance";
    $WeaponsHudData[10, visible] = "false";


    $WeaponsHudData[11, bitmapName] = "gui/hud_sniper";
    $WeaponsHudData[11, itemDataName] = "DarkTigerRifle";
    $WeaponsHudData[11, ammoDataName] = "DarkTigerRifleAmmo";
    $WeaponsHudData[11, reticle] = "gui/hud_ret_sniper";
    $WeaponsHudData[11, visible] = "false";

    $WeaponsHudData[12, bitmapName] = "gui/hud_blaster"; //change blaster to w/e. This is for hud symbol on side of screen.
    $WeaponsHudData[12, itemDataName] = "Shotgun";
    $WeaponsHudData[12, ammoDataName] = "ShotgunAmmo";
    $WeaponsHudData[12, reticle] = "gui/hud_ret_shocklance"; //this is your reticle
    $WeaponsHudData[12, visible] = "false";

    $WeaponsHudData[13, bitmapName] = "gui/hud_blaster"; //change blaster to w/e. This is for hud symbol on side of screen.
    $WeaponsHudData[13, itemDataName] = "ENuke";
    $WeaponsHudData[13, ammoDataName] = "ENukeCapacitor";
    $WeaponsHudData[13, reticle] = "gui/hud_ret_shocklance"; //this is your reticle
    $WeaponsHudData[13, visible] = "false";

    $WeaponsHudData[14, bitmapName] = "gui/hud_mortor";
    $WeaponsHudData[14, itemDataName] = "NukeLauncher";
    $WeaponsHudData[14, ammoDataName] = "NukeLauncherAmmo";
    $WeaponsHudData[14, reticle] = "gui/ret_mortor";
    $WeaponsHudData[14, visible] = "true";

    $WeaponsHudData[15, bitmapName] = "gui/hud_shocklance";
    $WeaponsHudData[15, itemDataName] = "HackGun";
    //$WeaponsHudData[15, ammoDataName] = "";
    $WeaponsHudData[15, reticle] = "gui/hud_ret_shocklance";
    $WeaponsHudData[15, visible] = "false";

    $WeaponsHudData[16, bitmapName] = "gui/hud_plasma";
    $WeaponsHudData[16, itemDataName] = "PlasmaB";
    $WeaponsHudData[16, ammoDataName] = "PlasmaBAmmo";
    $WeaponsHudData[16, reticle] = "gui/ret_plasma";
    $WeaponsHudData[16, visible] = "true";

    $WeaponsHudData[17, bitmapName] = "gui/hud_mortor";
    $WeaponsHudData[17, itemDataName] = "FusionRifle";
    $WeaponsHudData[17, ammoDataName] = "FusionRifleAmmo";
    $WeaponsHudData[17, reticle] = "gui/ret_mortor";
    $WeaponsHudData[17, visible] = "true";

    $WeaponsHudData[18, bitmapName] = "gui/hud_targetlaser";
    $WeaponsHudData[18, itemDataName] = "WarpGun";
    $WeaponsHudData[18, ammoDataName] = "WarpGunAmmo";
    $WeaponsHudData[18, reticle] = "gui/hud_ret_targlaser";
    $WeaponsHudData[18, visible] = "false";

    $WeaponsHudData[19, bitmapName] = "gui/hud_plasma";
    $WeaponsHudData[19, itemDataName] = "PlasmaR";
    $WeaponsHudData[19, ammoDataName] = "PlasmaRAmmo";
    $WeaponsHudData[19, reticle] = "gui/ret_plasma";
    $WeaponsHudData[19, visible] = "true";

    $WeaponsHudData[20, bitmapName] = "gui/hud_plasma";
    $WeaponsHudData[20, itemDataName] = "SCannon";
    $WeaponsHudData[20, ammoDataName] = "SCannonAmmo";
    $WeaponsHudData[20, reticle] = "gui/ret_plasma";
    $WeaponsHudData[20, visible] = "true";

    $WeaponsHudData[21, bitmapName] = "gui/hud_disc";
    $WeaponsHudData[21, itemDataName] = "ChargedProj";
    $WeaponsHudData[21, ammoDataName] = "ChargedProjAmmo";
    $WeaponsHudData[21, reticle] = "gui/ret_disc";
    $WeaponsHudData[21, visible] = "true";

    $WeaponsHudData[22, bitmapName] = "gui/hud_disc";
    $WeaponsHudData[22, itemDataName] = "RoboR";
    $WeaponsHudData[22, ammoDataName] = "RoboRAmmo";
    $WeaponsHudData[22, reticle] = "gui/ret_disc";
    $WeaponsHudData[22, visible] = "true";

    $WeaponsHudData[23, bitmapName] = "gui/hud_disc";
    $WeaponsHudData[23, itemDataName] = "BoostRKT";
    $WeaponsHudData[23, ammoDataName] = "BoostRKTAmmo";
    $WeaponsHudData[23, reticle] = "gui/ret_disc";
    $WeaponsHudData[23, visible] = "true";

    $WeaponsHudData[24, bitmapName] = "gui/hud_plasma";
    $WeaponsHudData[24, itemDataName] = "DFlame";
    $WeaponsHudData[24, ammoDataName] = "DFLameAmmo";
    $WeaponsHudData[24, reticle] = "gui/ret_plasma";
    $WeaponsHudData[24, visible] = "true";

    $WeaponsHudData[25, bitmapName] = "gui/hud_disc";
    $WeaponsHudData[25, itemDataName] = "RocketLauncher";
    $WeaponsHudData[25, ammoDataName] = "RocketLauncherAmmo";
    $WeaponsHudData[25, reticle] = "gui/ret_plasma";
    $WeaponsHudData[25, visible] = "true";

    $WeaponsHudData[26, bitmapName] = "gui/hud_plasma";
    $WeaponsHudData[26, itemDataName] = "Sniper1";
    $WeaponsHudData[26, ammoDataName] = "Sniper1Ammo";
    $WeaponsHudData[26, reticle] = "gui/ret_plasma";
    $WeaponsHudData[26, visible] = "true";

    $WeaponsHudData[27, bitmapName] = "gui/hud_disc";
    $WeaponsHudData[27, itemDataName] = "Mis";
    $WeaponsHudData[27, ammoDataName] = "MisAmmo";
    $WeaponsHudData[27, reticle] = "gui/ret_plasma";
    $WeaponsHudData[27, visible] = "true";

    $WeaponsHudData[28, bitmapName] = "gui/hud_targetlaser";
    $WeaponsHudData[28, itemDataName] = "LCannon";
    //$WeaponsHudData[28, ammoDataName] = "";
    $WeaponsHudData[28, reticle] = "gui/hud_ret_targlaser";
    $WeaponsHudData[28, visible] = "false";


    $WeaponsHudData[29, bitmapName] = "gui/hud_disc";
    $WeaponsHudData[29, itemDataName] = "TCGun";
    $WeaponsHudData[29, ammoDataName] = "TCGunAmmo";
    $WeaponsHudData[29, reticle] = "gui/ret_plasma";
    $WeaponsHudData[29, visible] = "true";



    $WeaponsHudData[30, bitmapName] = "gui/hud_plasma";
    $WeaponsHudData[30, itemDataName] = "BotChaingun";
    $WeaponsHudData[30, ammoDataName] = "BotChaingunAmmo";
    $WeaponsHudData[30, reticle] = "gui/ret_plasma";
    $WeaponsHudData[30, visible] = "true";

    $WeaponsHudData[31, bitmapName] = "gui/hud_disc";
    $WeaponsHudData[31, itemDataName] = "BPlasma";
    $WeaponsHudData[31, ammoDataName] = "BPlasmaAmmo";
    $WeaponsHudData[31, reticle] = "gui/ret_disc";
    $WeaponsHudData[31, visible] = "true";

    $WeaponsHudData[32, bitmapName] = "gui/hud_mortor";
    $WeaponsHudData[32, itemDataName] = "BCannon";
    $WeaponsHudData[32, ammoDataName] = "BCannonAmmo";
    $WeaponsHudData[32, reticle] = "gui/ret_plasma";
    $WeaponsHudData[32, visible] = "true";

    $WeaponsHudData[33, bitmapName] = "gui/hud_plasma";
    $WeaponsHudData[33, itemDataName] = "BDisc";
    $WeaponsHudData[33, ammoDataName] = "BDiscAmmo";
    $WeaponsHudData[33, reticle] = "gui/ret_plasma";
    $WeaponsHudData[33, visible] = "true";

    $WeaponsHudData[34, bitmapName] = "gui/hud_mortor";
    $WeaponsHudData[34, itemDataName] = "Mortar";
    $WeaponsHudData[34, ammoDataName] = "MortarAmmo";
    $WeaponsHudData[34, reticle] = "gui/ret_plasma";
    $WeaponsHudData[34, visible] = "true";

    $WeaponsHudData[35, bitmapName] = "gui/hud_plasma";
    $WeaponsHudData[35, itemDataName] = "Weapon1";
    $WeaponsHudData[35, ammoDataName] = "Weapon1Ammo";
    $WeaponsHudData[35, reticle] = "gui/ret_plasma";
    $WeaponsHudData[35, visible] = "true";

    $WeaponsHudData[36, bitmapName] = "gui/hud_targetlaser";
    $WeaponsHudData[36, itemDataName] = "Weapon2";
    $WeaponsHudData[36, ammoDataName] = "Weapon2Ammo";
    $WeaponsHudData[36, reticle] = "gui/hud_ret_targlaser";
    $WeaponsHudData[36, visible] = "false";

    $WeaponsHudData[37, bitmapName] = "gui/hud_disc";
    $WeaponsHudData[37, itemDataName] = "Weapon3";
    $WeaponsHudData[37, ammoDataName] = "Weapon3Ammo";
    $WeaponsHudData[37, reticle] = "gui/ret_plasma";
    $WeaponsHudData[37, visible] = "true";

    $WeaponsHudData[38, bitmapName] = "gui/hud_mortor";
    $WeaponsHudData[38, itemDataName] = "Weapon4";
    $WeaponsHudData[38, ammoDataName] = "Weapon4Ammo";
    $WeaponsHudData[38, reticle] = "gui/ret_plasma";
    $WeaponsHudData[38, visible] = "true";

    $WeaponsHudData[39, bitmapName] = "gui/hud_plasma";
    $WeaponsHudData[39, itemDataName] = "Weapon5";
    $WeaponsHudData[39, ammoDataName] = "Weapon5Ammo";
    $WeaponsHudData[39, reticle] = "gui/ret_plasma";
    $WeaponsHudData[39, visible] = "true";

    $WeaponsHudData[40, bitmapName] = "gui/hud_plasma";
    $WeaponsHudData[40, itemDataName] = "Weapon6";
    $WeaponsHudData[40, ammoDataName] = "Weapon6Ammo";
    $WeaponsHudData[40, reticle] = "gui/ret_plasma";
    $WeaponsHudData[40, visible] = "true";

    $WeaponsHudData[41, bitmapName] = "gui/hud_plasma";
    $WeaponsHudData[41, itemDataName] = "Weapon7";
    $WeaponsHudData[41, ammoDataName] = "Weapon7Ammo";
    $WeaponsHudData[41, reticle] = "gui/ret_plasma";
    $WeaponsHudData[41, visible] = "true";

    $WeaponsHudData[42, bitmapName] = "gui/hud_mortor";
    $WeaponsHudData[42, itemDataName] = "Weapon8";
    $WeaponsHudData[42, ammoDataName] = "Weapon8Ammo";
    $WeaponsHudData[42, reticle] = "gui/ret_mortor";
    $WeaponsHudData[42, visible] = "true";

    $WeaponsHudData[43, bitmapName] = "gui/hud_mortor";
    $WeaponsHudData[43, itemDataName] = "Weapon9";
    $WeaponsHudData[42, ammoDataName] = "Weapon9Ammo";
    $WeaponsHudData[43, reticle] = "gui/ret_mortor";
    $WeaponsHudData[43, visible] = "true";

    $WeaponsHudData[44, bitmapName] = "gui/hud_mortor";
    $WeaponsHudData[44, itemDataName] = "Weapon10";
    $WeaponsHudData[44, ammoDataName] = "Weapon10Ammo";
    $WeaponsHudData[44, reticle] = "gui/ret_mortor";
    $WeaponsHudData[44, visible] = "true";

    $WeaponsHudData[45, bitmapName] = "gui/hud_mortor";
    $WeaponsHudData[45, itemDataName] = "Weapon11";
    $WeaponsHudData[45, ammoDataName] = "Weapon11Ammo";
    $WeaponsHudData[45, reticle] = "gui/ret_mortor";
    $WeaponsHudData[45, visible] = "true";

    $WeaponsHudData[46, bitmapName] = "gui/hud_mortor";
    $WeaponsHudData[46, itemDataName] = "WeaponG";
    $WeaponsHudData[46, ammoDataName] = "WeaponGAmmo";
    $WeaponsHudData[46, reticle] = "gui/ret_mortor";
    $WeaponsHudData[46, visible] = "true";

    $WeaponsHudData[47, bitmapName] = "gui/hud_mortor";
    $WeaponsHudData[47, itemDataName] = "TigerA";
    $WeaponsHudData[47, ammoDataName] = "TigerAAmmo";
    $WeaponsHudData[47, reticle] = "gui/ret_mortor";
    $WeaponsHudData[47, visible] = "true";

    $WeaponsHudData[48, bitmapName] = "gui/hud_mortor";
    $WeaponsHudData[48, itemDataName] = "TigerB";
    $WeaponsHudData[48, ammoDataName] = "TigerBAmmo";
    $WeaponsHudData[48, reticle] = "gui/ret_mortor";
    $WeaponsHudData[48, visible] = "true";

    $WeaponsHudData[49, bitmapName] = "gui/hud_mortor";
    $WeaponsHudData[49, itemDataName] = "TigerC";
    $WeaponsHudData[49, ammoDataName] = "TigerCAmmo";
    $WeaponsHudData[49, reticle] = "gui/ret_mortor";
    $WeaponsHudData[49, visible] = "true";


    $WeaponsHudData[50, bitmapName] = "gui/hud_mortor";
    $WeaponsHudData[50, itemDataName] = "PlasmaLauncher";
    $WeaponsHudData[50, ammoDataName] = "PlasmaLauncherAmmo";
    $WeaponsHudData[50, reticle] = "gui/ret_mortor";
    $WeaponsHudData[50, visible] = "true";

    $WeaponsHudData[51, bitmapName] = "gui/hud_plasma"; //change this to one of the weapon's hud symbols(look at weapons above it for reference)
    $WeaponsHudData[51, itemDataName] = "NGun"; //Remember to change the numbers correctly
    //$WeaponsHudData[11, ammoDataName] = ""; //No ammo, for a Energy Based Gun
    $WeaponsHudData[51, reticle] = "gui/ret_chaingun"; //Change to reticle you want
    $WeaponsHudData[51, visible] = "false"; //False on a select few weapons, usually ones the base 'energy' weapons use.

    $WeaponsHudData[52, bitmapName] = "gui/hud_chaingun";
    $WeaponsHudData[52, itemDataName] = "Flakgun";
    $WeaponsHudData[52, ammoDataName] = "FlakgunAmmo";
    $WeaponsHudData[52, reticle] = "gui/ret_chaingun";
    $WeaponsHudData[52, visible] = "true";

    $WeaponsHudData[53, bitmapName] = "gui/hud_chaingun";
    $WeaponsHudData[53, itemDataName] = "CMortar";
    $WeaponsHudData[53, ammoDataName] = "CMortarAmmo";
    $WeaponsHudData[53, reticle] = "gui/ret_chaingun";
    $WeaponsHudData[53, visible] = "true";

    $WeaponsHudData[54, bitmapName] = "gui/hud_chaingun";
    $WeaponsHudData[54, itemDataName] = "EnergyB";
    $WeaponsHudData[54, ammoDataName] = "EnergyBAmmo";
    $WeaponsHudData[54, reticle] = "gui/ret_chaingun";
    $WeaponsHudData[54, visible] = "true";

    $WeaponsHudData[55, bitmapName] = "gui/hud_chaingun";
    $WeaponsHudData[55, itemDataName] = "EnergyBS";
    $WeaponsHudData[55, ammoDataName] = "EnergyBSAmmo";
    $WeaponsHudData[55, reticle] = "gui/ret_chaingun";
    $WeaponsHudData[55, visible] = "true";

    $WeaponsHudData[56, bitmapName] = "gui/hud_chaingun";
    $WeaponsHudData[56, itemDataName] = "FCannon";
    $WeaponsHudData[56, ammoDataName] = "FCannonAmmo";
    $WeaponsHudData[56, reticle] = "gui/ret_chaingun";
    $WeaponsHudData[56, visible] = "true";

    $WeaponsHudData[57, bitmapName] = "gui/hud_chaingun";
    $WeaponsHudData[57, itemDataName] = "TCGun";
    $WeaponsHudData[57, ammoDataName] = "TCGunAmmo";
    $WeaponsHudData[57, reticle] = "gui/ret_chaingun";
    $WeaponsHudData[57, visible] = "true";

    $WeaponsHudData[58, bitmapName] = "gui/hud_chaingun";
    $WeaponsHudData[58, itemDataName] = "FFlash";
    $WeaponsHudData[58, ammoDataName] = "FFlashAmmo";
    $WeaponsHudData[58, reticle] = "gui/ret_chaingun";
    $WeaponsHudData[58, visible] = "true";

    $WeaponsHudData[59, bitmapName] = "gui/hud_chaingun";
    $WeaponsHudData[59, itemDataName] = "Mod1";
    $WeaponsHudData[59, ammoDataName] = "Mod1Ammo";
    $WeaponsHudData[59, reticle] = "gui/ret_chaingun";
    $WeaponsHudData[59, visible] = "true";

    $WeaponsHudData[60, bitmapName] = "gui/hud_chaingun";
    $WeaponsHudData[60, itemDataName] = "Mod2";
    $WeaponsHudData[60, ammoDataName] = "Mod2Ammo";
    $WeaponsHudData[60, reticle] = "gui/ret_chaingun";
    $WeaponsHudData[60, visible] = "true";

    $WeaponsHudData[61, bitmapName] = "gui/hud_sniper";
    $WeaponsHudData[61, itemDataName] = "Mod3";
    //$WeaponsHudData[5, ammoDataName] = "";
    $WeaponsHudData[61, reticle] = "gui/hud_ret_sniper";
    $WeaponsHudData[61, visible] = "false";

    $WeaponsHudData[62, bitmapName] = "gui/hud_chaingun";
    $WeaponsHudData[62, itemDataName] = "Mod4";
    $WeaponsHudData[62, ammoDataName] = "Mod4Ammo";
    $WeaponsHudData[62, reticle] = "gui/hud_ret_sniper";
    $WeaponsHudData[62, visible] = "true";



    //$WeaponsHudData[15, bitmapName] = "gui/hud_targetlaser";
    //$WeaponsHudData[15, itemDataName] = "VehLaser";
    //$WeaponsHudData[15, reticle] = "gui/hud_ret_targlaser";
    //$WeaponsHudData[15, visible] = "false";


    // TR2 weapons
    //$WeaponsHudData[15, bitmapName] = "gui/hud_disc";
    //$WeaponsHudData[15, itemDataName] = "TR2Disc";
    //$WeaponsHudData[15, ammoDataName] = "TR2DiscAmmo";
    //$WeaponsHudData[15, reticle] = "gui/ret_disc";
    //$WeaponsHudData[15, visible] = "true";

    //$WeaponsHudData[16, bitmapName] = "gui/hud_grenlaunch";
    //$WeaponsHudData[16, itemDataName] = "TR2GrenadeLauncher";
    //$WeaponsHudData[16, ammoDataName] = "TR2GrenadeLauncherAmmo";
    //$WeaponsHudData[16, reticle] = "gui/ret_grenade";
    //$WeaponsHudData[16, visible] = "true";

    //$WeaponsHudData[17, bitmapName] = "gui/hud_chaingun";
    //$WeaponsHudData[17, itemDataName] = "TR2Chaingun";
    //$WeaponsHudData[17, ammoDataName] = "TR2ChaingunAmmo";
    //$WeaponsHudData[17, reticle] = "gui/ret_chaingun";
    //$WeaponsHudData[17, visible] = "true";

    //$WeaponsHudData[18, bitmapName] = "gui/hud_targetlaser";
    //$WeaponsHudData[18, itemDataName] = "TR2GoldTargetingLaser";
    //$WeaponsHudData[18, reticle] = "gui/hud_ret_targlaser";
    //$WeaponsHudData[18, visible] = "false";

    //$WeaponsHudData[19, bitmapName] = "gui/hud_targetlaser";
    //$WeaponsHudData[19, itemDataName] = "TR2SilverTargetingLaser";
    //$WeaponsHudData[19, reticle] = "gui/hud_ret_targlaser";
    //$WeaponsHudData[19, visible] = "false";

    //$WeaponsHudData[20, bitmapName] = "gui/hud_shocklance";
    //$WeaponsHudData[20, itemDataName] = "TR2ShockLance";
    //$WeaponsHudData[20, reticle] = "gui/hud_ret_shocklance";
    //WeaponsHudData[20, visible] = "false";

    //$WeaponsHudData[21, ] = "gui/hud_mortor";
    //$WeaponsHudData[21, itebitmapNamemDataName] = "TR2Mortar";
    //$WeaponsHudData[21, ammoDataName] = "TR2MortarAmmo";
    //$WeaponsHudData[21, reticle] = "gui/ret_mortor";
    //$WeaponsHudData[21, visible] = "true";

    $WeaponsHudCount = 63;

    And just to re-view the problem, the reticles arent missing, it's the little weapon icons at the right corner of the HUD that show the number of ammo you have left below them (although 1 or 2 are missing reticles aswell).
  • I gave you enough initiative to solve this problem here:

    http://www.public.phantomgamesdevelopment.com/SMF/index.php/topic,368.0.html

    Give that a try to see if that way works.
Sign In or Register to comment.