hisherwin Posted December 27, 2012 Author Share Posted December 27, 2012 I'm trying to make a Target HP bar , but it seems that i cant complete it , does anyone know how to make it? Link to comment Share on other sites More sharing options...
highonpaint Posted December 27, 2012 Share Posted December 27, 2012 Take a look at rob james custom version I believe he has it maybe you could either rip it or learn from it Link to comment Share on other sites More sharing options...
hisherwin Posted December 27, 2012 Author Share Posted December 27, 2012 > Take a look at rob james custom version I believe he has it maybe you could either rip it or learn from itDoes it use Dx7? i use Dx7 Link to comment Share on other sites More sharing options...
Rob Janes Posted December 27, 2012 Share Posted December 27, 2012 My custom version uses DX8 but the idea is the same, it's a bit more complicated than it sounds, but essentially, on your GameLoop, loop through and see if you have a target, and if you have a target, make the bar (use a picture box, or render the DDS texture for D3D7). One thing you notice though, is that you'll need to add a new function that sends a player or NPCs vital change to the entire map, that way anyone who has that NPC or Player targetted, see's the new HP bar change.The best thing to do is check out my custom version and pick it apart. Link to comment Share on other sites More sharing options...
hisherwin Posted December 27, 2012 Author Share Posted December 27, 2012 Solved Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now