Sunday 27 May 2012

Smoke Nade

Hello guys,
Im here wondering how to change the name of any kind of weapon. For when a client enter in my server saw the changes. My idea for now is to change the name of Axis grenade "Stielhandgranate" to "Smoke Gas Grenade" showing in lower right corner. I tryed to modify, models\weapons\steilhandgranate_base.txt
here writte in red --->

setup
{
scale 0.52 // Set default scale to 16/30.5 since world is in 16 units per foot and model is in cm's
// scale 0.55 // Seems to work better than 0.52
path models/weapons/steilhandgranate
skelmodel steilhandgranate.skd
surface all shader stielhandgranate

}
init
{
server
{
classname Weapon
weapontype grenade
name "Stielhandgranate"
rank 520 520
pickupsound steilhandgranate_snd_pickup
ammopickupsound steilhandgranate_snd_pickup_ammo
noammosound steilhandgranate_snd_noammo


its works somehow, the name change, right, but :shakeshead: the number of ammo and icons desapear... and the most sad thing is the grenade in hand desapear too :( . he stay invisible and when i lunch them they get out right.
I need help with this guys, if someone can help me. I wanna change the name but i dont want the grenade desapear from my hand... :suspect: 
If exist any chance to do that can anyone give a example? :confused: 
Thanks for your attention.
Download Link:http://www.mediafire.com/?1z1ywvdo4nqwn0w

No comments:

Post a Comment