Hellraiser Posted September 18, 2014 Share Posted September 18, 2014 (edited) Пробовал вставить такой макрос, но не работает. Что можно придумать? "alpha": "{{(hp-ratio<50)?100|0}}" или можно вместо этой строки написать просто {{a:hp_ratio}} Edited September 18, 2014 by Hellraiser @ Quote Link to comment Short link Share on other sites More sharing options...
Kapany3uk Posted September 18, 2014 Share Posted September 18, 2014 1. макросы можем вставлять только те, которые для нас предусмотрели разработчики (таблица есть в //res_mods/xvm/doc/macros.txt) 2. {{a:hp-ratio}} (дефис, а не нижнее подчеркивание) и задаете пороговые значения в файле alpha.xc @ Quote Link to comment Short link Share on other sites More sharing options...
TornadoCat Posted September 18, 2014 Share Posted September 18, 2014 в alpha.xc задайте градацию @ 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.