[Req] Npc Boss HP Bar
<span style='color:green'>Hello, I would like to know if someone can post how to set up (or how you think it should be made) a HP bar like this, from Ultima-Alianza server:
<a href='http://imageshack.us' target='_blank'></a>
Something I've found out is that It's a sprite with only the HP bar, not added with the Boss sprite, and that the monster HP may have some commands related with the magic Scan, but trully I don't have a clue of how they made it work.
Thanks in advance!.</span>
<a href='http://imageshack.us' target='_blank'></a>
Something I've found out is that It's a sprite with only the HP bar, not added with the Boss sprite, and that the monster HP may have some commands related with the magic Scan, but trully I don't have a clue of how they made it work.
Thanks in advance!.</span>
<a href='http://imageshack.us' target='_blank'><img src='http://img224.imageshack.us/img224/2738/screenqu8.jpg' border='0' alt='user posted image' /></a><br>drajwer draw<br><a href='index.php?showtopic=7299' target='_blank'>index.php?showtopic=7299</a>
-
- Loyal fan
- Posts: 391
- Joined: Sat Mar 26, 2005 12:41 am
all monsters have a Sting in code for when your mouse is on them showing there name, i dont know how HB did there progress bar but i guess u can just copy progress bar of your HP and add it to the NPC, im sure somewere in Npc info it has there Helth, cuz how els would it tell its alive or dead
<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
<span style='color:green'>This is how the sprite looks like the name is 'New Buffer':
<a href='http://imageshack.us' target='_blank'></a>
A full bar and an empty bar, post some ideas like before
Many Thanks.</span>
<a href='http://imageshack.us' target='_blank'></a>
A full bar and an empty bar, post some ideas like before
Many Thanks.</span>
<a href='http://imageshack.us' target='_blank'><img src='http://img224.imageshack.us/img224/2738/screenqu8.jpg' border='0' alt='user posted image' /></a><br>drajwer draw<br><a href='index.php?showtopic=7299' target='_blank'>index.php?showtopic=7299</a>
<span style='color:green'>How come the client knows when some npc dies then?.</span>
<a href='http://imageshack.us' target='_blank'><img src='http://img224.imageshack.us/img224/2738/screenqu8.jpg' border='0' alt='user posted image' /></a><br>drajwer draw<br><a href='index.php?showtopic=7299' target='_blank'>index.php?showtopic=7299</a>
this is how the client knows its dead
Code: Select all
SendEventToNearClient_TypeA(iNpcH, DEF_OWNERTYPE_NPC, MSGID_EVENT_MOTION, DEF_OBJECTDYING, sDamage, sAttackerWeapon, NULL);
m_pMapList[m_pNpcList[iNpcH]->m_cMapIndex]->ClearOwner(10, iNpcH, DEF_OWNERTYPE_NPC, m_pNpcList[iNpcH]->m_sX, m_pNpcList[iNpcH]->m_sY);
m_pMapList[m_pNpcList[iNpcH]->m_cMapIndex]->SetDeadOwner(iNpcH, DEF_OWNERTYPE_NPC, m_pNpcList[iNpcH]->m_sX, m_pNpcList[iNpcH]->m_sY);
m_pNpcList[iNpcH]->m_cBehavior = DEF_BEHAVIOR_DEAD;
-><-
<span style='color:green'>Where is Shetar, he could do this easily .</span>
<a href='http://imageshack.us' target='_blank'><img src='http://img224.imageshack.us/img224/2738/screenqu8.jpg' border='0' alt='user posted image' /></a><br>drajwer draw<br><a href='index.php?showtopic=7299' target='_blank'>index.php?showtopic=7299</a>
me tooBlizaga wrote: <span style='color:green'>Where is Shetar, he could do this easily .</span>
<img src='http://drazzt.iespana.es/Drazzt/logo2.jpg' border='0' alt='user posted image' />
<span style='color:green'>You are not going to post it.</span>
<a href='http://imageshack.us' target='_blank'><img src='http://img224.imageshack.us/img224/2738/screenqu8.jpg' border='0' alt='user posted image' /></a><br>drajwer draw<br><a href='index.php?showtopic=7299' target='_blank'>index.php?showtopic=7299</a>
<span style='color:red'>biatch!!</span>
<a href='http://imageshack.us' target='_blank'><img src='http://img224.imageshack.us/img224/2738/screenqu8.jpg' border='0' alt='user posted image' /></a><br>drajwer draw<br><a href='index.php?showtopic=7299' target='_blank'>index.php?showtopic=7299</a>
Stop spamm Blizaga.
Drazz if you can do it , do it.
Drazz if you can do it , do it.
<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />
<span style='color:green'>He's ultima alianza coder, he won't give it away.</span>Tafka12 wrote: Stop spamm Blizaga.
Drazz if you can do it , do it.
<a href='http://imageshack.us' target='_blank'><img src='http://img224.imageshack.us/img224/2738/screenqu8.jpg' border='0' alt='user posted image' /></a><br>drajwer draw<br><a href='index.php?showtopic=7299' target='_blank'>index.php?showtopic=7299</a>
-
- just visiting
- Posts: 5
- Joined: Sun Jan 01, 2006 7:24 pm