RMA Posted August 5, 2016 Share Posted August 5, 2016 (edited) Есть вот такое hp команд. Вероятно, самая верхняя панель установилась с модпаком джова, а под ней цифры, появились после установки xvm. В файле xvm.py, находящимся в \res_mods\configs\xvm\py_macro\, в коде @xvm.export('xvm.total_hp.ally', deterministic=False) def total_hp_ally(): return total_hp.ally() @xvm.export('xvm.total_hp.enemy', deterministic=False) def total_hp_enemy(): return total_hp.enemy() @xvm.export('xvm.total_hp.color', deterministic=False) def total_hp_color(): return total_hp.color() @xvm.export('xvm.total_hp.sign', deterministic=False) def total_hp_sign(): return total_hp.sign() @xvm.export('xvm.total_hp.text', deterministic=False) def total_hp_text(): return total_hp.text() заменил все возвраты на ноль: @xvm.export('xvm.total_hp.ally', deterministic=False) def total_hp_ally(): return 0 @xvm.export('xvm.total_hp.enemy', deterministic=False) def total_hp_enemy(): return 0 @xvm.export('xvm.total_hp.color', deterministic=False) def total_hp_color(): return 0 @xvm.export('xvm.total_hp.sign', deterministic=False) def total_hp_sign(): return 0 @xvm.export('xvm.total_hp.text', deterministic=False) def total_hp_text(): return 0 И теперь, как снизу на фото, там красуется '0'. Как его убрать вообще / выключить мод ? Edited August 5, 2016 by RMA @ Quote Link to comment Short link Share on other sites More sharing options...
konrad509 Posted August 5, 2016 Share Posted August 5, 2016 battleLabelsTemplates.xc->totalHP->enabled set to false if you just want to disable displaying team hp. No need to edit python code ;) 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Kapany3uk Posted August 5, 2016 Share Posted August 5, 2016 И теперь, как снизу на фото, там красуется '0'. Как его убрать вообще / выключить мод ? не надо было лезть в ру-файлы, незачем - это все отключается в конфиге, выше написано в каком файле. Если не поможет - ищи в настройках ПМода секцию "ХП команд" и ее тоже выключай (тут где-то писали, что это оттуда вылезает) 1 @ Quote Link to comment Short link Share on other sites More sharing options...
RMA Posted August 5, 2016 Author Share Posted August 5, 2016 Всё прекрасно работает, спасибо большое за ответы! Everything is working fine, thanks to all so much for answers! @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.