Page 1 of 1

How to?....

Posted: Thu Sep 11, 2014 6:37 pm
by bloodfox
Heya guys!

How can you edit the ammo indicator and the health indicator?

Re: How to?....

Posted: Fri Sep 12, 2014 3:55 pm
by Roman_rus
bloodfox wrote:
Heya guys!

How can you edit the ammo indicator and the health indicator?
there is no way to edit it with scripts. i think...

Re: How to?....

Posted: Tue Dec 02, 2014 4:09 pm
by Chameleon
There is a variable called "Ammo" in View.as files, which represents the bullet count in current magazine.
So: "if (Ammo == 30) { renderer.AddModel(model30, param); }" would render "model30" when you have 30 bullets in magazine.
*that script lacks declaration of "model30" and proper name for "renderer.AddModel", also the name for variable "Ammo" might be "ammo".