Haiii, So peeps was talking about the toggleable hp/mp text thingy so I decided to make a tutorial on how to properly add it in
Start by navigating to com > company > assembleegameclient > parameters > Parameters.as
When you're in the file look for this line
Code:
if (!data_.hasOwnProperty("needs
Right above it you should have
Code:
_iw("clickForGold", false);
Add in the following between the "clickForGold" and the if (!data_...
Code:
_iw("toggleBarText", false);
Then you're going to navigate to _0C_P_ > Options.as
When you're inside of that file look for this line
Code:
this._yZ_(new _0I_j("showGuildInvitePopup", new <String>["On", "Off"], [true, false], "Show Guild Invite Panel", "This toggles whether to show guild invites in the lower-right panel or just in chat.", null));
Below that line add this
Code:
this._yZ_(new _0I_j("toggleBarText", new <String>["On", "Off"], [true, false], "Toggle HP/MP Text", "Always show text values for remaining HP/MP", this._eY_));
Then you need to add this function
Code:
private function _eY_():void {
_0M_Y_.options_.dispatch(Parameters.data_.toggleBarText);
}
above this function
Code:
private function _Y_V_():void {
this._yZ_(new _0I_j("playMusic", new <String>["On", "Off"], [true, false], "Play Music", "This toggles whether music is played", this._05z));
this._yZ_(new Sprite());
this._yZ_(new _0I_j("playSFX", new <String>["On", "Off"], [true, false], "Play Sound Effects", "This toggles whether sound effects are played", this._super));
this._yZ_(new Sprite());
this._yZ_(new _0I_j("playPewPew", new <String>["On", "Off"], [true, false], "Play Weapon Sounds", "This toggles whether weapon sounds are played", null));
}
When that's done, Navigate to com > company > assembleegameclient > ui > _0M_Y_.as
Now when you have entered this file you want to add this line
Code:
public static var options_:_aJ_ = new _aJ_(Boolean);
Between this
Code:
public class _0M_Y_ extends Sprite {
and this
Code:
public function _0M_Y_(_arg1:int, _arg2:int, _arg3:uint, _arg4:uint, _arg5:String = null) {
Note: Remove space before "ROLL_OUT" and "ROLL_OVER"
above the following function
Code:
private function _0F__(_arg1:Event):void {
Now you should be done. Just compile your client and take a lookie inside of the "Graphics" tab on the options menu and you should have your toggleable HP/MP bar working with automatic render update