Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Chat Bubble Eclipse Reborn


ramoneknot
 Share

Recommended Posts

I don't have access to the code right now due to not having vb6 but look at the DrawPlayerName sub and see how it's Y positioning is based off of the sprite height. Then modify the code used for speech bubble positioning based off of that code so it appears above the name.
Link to comment
Share on other sites

Hi,

Sorry, my first reply was pretty irrelevant. that's tiredness for you. ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)

Anyway in the sub DrawChatBubble replace this line:

Y = ConvertMapY((Player(.target).Y * 32) + Player(.target).yOffset) - 32

with this line:

Y = ConvertMapY((Player(.target).Y * 32) + Player(.target).yOffset) - (D3DT_TEXTURE(Tex_Char(GetPlayerSprite(.target))).height / 4) + 4

I tested it on my pc and it worked, so hopefully it will work for you. ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...