![]() |
|
[Request] Change weapon names - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: [Request] Change weapon names (/Thread-Request-Change-weapon-names.html) |
Change weapon names - iAegle - 03-06-2011 I want to change the weapon name (displayed @ ammo hud thingy) like: PHP Code: doWeaponNames()
{
self.WeaponName = CreateFontString("objective", 1);
self.WeaponName setpoint("RIGHT", "BOTTOM", 0, 0);
self.WeaponName setText(" ");
self.WeaponName.alpha = 0;
self thread WeaponNames();
wait 1;
self.WeaponName.alpha = 1;
for(i=self.weaponnumber;i>-1;i--)
{
if(self getCurrentWeapon() == self.wep[i])
{
self.WeaponName setText(self.weaponNameID[i]);
}
}
}
WeaponNames()
{
self.weaponnumber = 5;
self.wep = [];
self.wep[0] = "mp5k_mp";
self.wep[1] = "ak74u_mp";
self.weaponNameID = [];
self.weaponNameID[0] = "Blabla name";
self.weaponNameID[1] = "AK74 F#@K U!";
}
but i dont want the real names to show up ![]() edit: yes i know that this text is not in the right position
RE: Change weapon names - Nekochan - 03-07-2011 only with CSV files, or wait ModTools RE: Change weapon names - SuperNovaAO - 03-07-2011 (03-07-2011, 10:07)Se7en Wrote: only with CSV files, or wait ModTools Probably not. Isn't the HUD also drawn with GSC? If yes, you can just edit it there. RE: Change weapon names - 4FunPlayin - 03-09-2011 .. level.hardcoreMode = 1; |