Interface changes for UI mod authorsBased on SkyrimUI SDK by Mardoxx: https://github.com/Mardoxx/skyrimuiFlash CS4/6:statsmenu.swfDuplicate Shape 25 and Sprite 26 Change the color of duplicated Shape 25 then link it to duplicate of Sprite 26Copy the first frame (labeled as "Full") of ShortBar then paste it after last (200th) Right click on 201th frame and "Swap symbol" to new SpriteGive the 201th frame label "Cap"trainingmenu.swfDuplicate Shape XX and Sprite XX Change the color of duplicated Shape XX then link it to duplicate of Sprite XXCopy the first frame (labeled as "Full") of ShortBar then paste it after last (200th) Right click on 201th frame and "Swap symbol" to new SpriteGive the 201th frame label "Cap"ActionScript:Meter.asvar Capped: Number; // new property function Meter(aMovieClip: MovieClip){ /* existing code */ this.meterMovieClip.gotoAndStop("Cap"); // new line this.Capped = meterMovieClip._currentframe; // new line}function SetCapped(): Void // new function{ this.meterMovieClip.gotoAndStop(this.Capped); // if you can compile from Flash this.meterMovieClip.gotoAndStop(201); // if you are editing in JPEXS}function SetPercent(aPercent){ if(aPercent < 0) { // Set capped and keep both percents same negative value to keep "Update" function from uncapping it this.SetCapped(); this.CurrentPercent = -1; this.TargetPercent = -1; } else { // Original logic this.CurrentPercent = Math.min(100,Math.max(aPercent,0)); this.TargetPercent = this.CurrentPercent; var _loc3_ = Math.floor(Shared.GlobalFunc.Lerp(this.Empty,this.Full,0,100,this.CurrentPercent)); this.meterMovieClip.gotoAndStop(_loc3_); }}function SetTargetPercent(aPercent){ if(aPercent < 0) { // Set Capped and make TargetPercent negative this.SetCapped(); this.TargetPercent = -1; } else { // Original Logic this.TargetPercent = Math.min(100,Math.max(aPercent,0)); }}AnimatedSkillText.asRemove any changes in this file that was made for Experience mod as the legendary system will work like vanilla now
0 comments