Rysiull Posted June 13, 2014 Share Posted June 13, 2014 what I need to change or add if I want to stripe HP lines were equal for each tank (picture 2) now have different (picture 1) "extraFieldsLeft": [ "<img src=xvm://res/icons/pPhp/panel-bg-l.png' width='100' height='1'>", "<img src='xvm://res/icons/pPhp/_bg.png' width='{{hp-max:100}}' height='1'>", "<img src='xvm://res/icons/pPhp/_ally-{{alive|dead}}.png' width='{{hp:100}}' height='1'>], "extraFieldsRight": [ "<img src=xvm://res/icons/pPhp/panel-bg-r.png' width='100' height='1'>", "<img src='xvm://res/icons/pPhp/_bg.png' width='{{hp-max:100}}' height='1'>", "<img src='xvm://res/icons/pPhp/_enemy-{{alive|dead}}.png' width='{{hp:100}}' height='1'>],"width": 60 @ Quote Link to comment Short link Share on other sites More sharing options...
TornadoCat Posted June 13, 2014 Share Posted June 13, 2014 @Rysiull, I know exactly you're using my config . You can't do it, 'cause every stripe has own scale, balanced for {{hp-max:100}} @ Quote Link to comment Short link Share on other sites More sharing options...
Rysiull Posted June 13, 2014 Author Share Posted June 13, 2014 yes its your :)but i sow this and have the same length i need make my on healthbars or what i make this and its working"extraFieldsLeft": [ { "x": 20, "y": 25, "h": 2, "w": 70, "src": "xvm://res/icons/pPhp/_bg.png"}, { "x": 20, "y": 25, "h": 2, "w": "{{hp-ratio:72}}", "src": "xvm://res/icons/pPhp/_ally-{{alive|dead}}.png" }, { "x": 20, "y": 0, "alpha": "{{alive?100|10}}", "shadow": {} }, {} ], "extraFieldsRight": [ { "x": 40, "y": 25, "h": 2, "w": 70, "src": "xvm://res/icons/pPhp/_bg.png"}, { "x": 40, "y": 25, "h": 2, "w": "{{hp-ratio:72}}", "src": "xvm://res/icons/pPhp/_enemy-{{alive|dead}}.png" }, { "x": 40, "y": 0, "alpha": "{{alive?100|10}}", "shadow": {} }, {} ], @ 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.