StorN Posted January 24, 2011 Share Posted January 24, 2011 I have the same problem as the fellow above, does anyone have advice? Link to comment Share on other sites More sharing options...
Helladen Posted January 25, 2011 Share Posted January 25, 2011 You need to set the srect and drect correctly, old directdraw edits will need to be adjusted. Because they work differently in EO 1.3.1. Link to comment Share on other sites More sharing options...
marcelol Posted January 25, 2011 Share Posted January 25, 2011 How to do it? Link to comment Share on other sites More sharing options...
leopoldobb Posted January 30, 2011 Share Posted January 30, 2011 @DishWasher:> I just try on 1.3 but there's a strange problem with the npc hp bar> it is too large> > the piece is here but I cant find what is the problem> > >! Call DDS_BackBuffer.DrawBox(ConvertMapX(X), ConvertMapY(Y), ConvertMapX(X + Int(((MapNpc(Index).Vital(Vitals.HP) / 32) / (Npc(NpcNum).HP / 32)) * 32)), ConvertMapY(Y + 4))> > here is what looks like ![](http://img411.imageshack.us/img411/500/screenhunter02jan210202.png)> > the back bar(black) works perfectly.Anyone can help?'='> > edit: /450000Me too.I'm using EO1.3.1 Link to comment Share on other sites More sharing options...
Rob Janes Posted January 31, 2011 Share Posted January 31, 2011 Having this feature is excellent through it will drastically cut your FPS if you show them all the time for every NPC due to it rendering so many (I have 10 Attackable NPCs on a 30x30 map fps ~ 30 down from 500). It's really only useful at the moment to ensure you're only showing health bars on attackable NPCs and only ones with less than Full HP. Else your FPS will suffer. I'm sure theres a work around, haven't thought of one at the moment though!Awesome tutorial though, works great! Link to comment Share on other sites More sharing options...
leopoldobb Posted January 31, 2011 Share Posted January 31, 2011 Someone can help with this visual error?Thanks. Link to comment Share on other sites More sharing options...
thezeus Posted January 31, 2011 Share Posted January 31, 2011 Couldn't you add an if npchealth = maxnpc health on the display to modify it? 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