How to?....

OpenSpades is an open source alternative client for AoS Classic and beyond! Runs on Windows, Mac, and Linux. Created by yvt.
Compatible with AoS Classic.
3 posts Page 1 of 1 First unread post
bloodfox
Post Demon
Post Demon
Posts: 2206
Joined: Mon Oct 21, 2013 4:32 pm


Heya guys!

How can you edit the ammo indicator and the health indicator?
Roman_rus
Deuced Up
Posts: 33
Joined: Mon Feb 17, 2014 5:57 pm


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...
Chameleon
Modder
Modder
Posts: 601
Joined: Thu Nov 22, 2012 6:41 pm


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".
3 posts Page 1 of 1 First unread post
Return to “OpenSpades Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests