Zzbrandon Posted October 22, 2012 Author Share Posted October 22, 2012 You know when you equip an item it appears in pic character well the image is not where I want it when i equip the item the icon is way below how do I change where the image shows up for wearing a weapon, Helmet, Armor or shield? Link to comment Share on other sites More sharing options...
or3o Posted October 22, 2012 Share Posted October 22, 2012 Mod Graphics sub draw equipment. Client side of course.```With rec_pos .top = EqTop .Bottom = .top + PIC_Y .Left = EqLeft + ((EqOffsetX + 32) * (((i - 1) Mod EqColumns))) .Right = .Left + PIC_X End With``` Link to comment Share on other sites More sharing options...
Zzbrandon Posted October 22, 2012 Author Share Posted October 22, 2012 Doesnt seem to be doing anything dont I edit the numbers for .top and .bottom .right .left?```If itemnum > 0 Then itempic = Item(itemnum).Pic With rec .Top = 0 .Bottom = 64 .Left = 32 .Right = 64 End With With rec_pos .Top = EqTop .Bottom = .Top + PIC_Y .Left = EqLeft + ((EqOffsetX + 32) * (((i - 1) Mod EqColumns))) .Right = .Left + PIC_X End With``` Link to comment Share on other sites More sharing options...
Zzbrandon Posted October 22, 2012 Author Share Posted October 22, 2012 I edited that also Oreo and it doesnt move the blackbox where the items appear instead it just leaves it where it is and if I edit .top .bottom .left and .right it just move the image of the item inside the box??I want to change where the item icon appears because I edited the Gui and it is a little more above where the item icons are supposed to appear. Thanks Link to comment Share on other sites More sharing options...
abhi2011 Posted October 22, 2012 Share Posted October 22, 2012 Change rec_pos to suitable values. Link to comment Share on other sites More sharing options...
Zzbrandon Posted October 22, 2012 Author Share Posted October 22, 2012 I do I need teamviewer help im guessing it aint doing anything ![:(](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/sad.png) Link to comment Share on other sites More sharing options...
Ertzel Posted October 22, 2012 Share Posted October 22, 2012 ```Public Const EqTop As Long = 224Public Const EqLeft As Long = 18Public Const EqOffsetX As Long = 10Public Const EqColumns As Long = 4```handles the starting position used for drawing equipment. If you want to move everything then edit those. If it's only certain items you want to move, follow what oero said. Link to comment Share on other sites More sharing options...
Zzbrandon Posted October 22, 2012 Author Share Posted October 22, 2012 Thank you ertzel it is odd how all my questions are usually answered by you or oreo or abhi2011 Link to comment Share on other sites More sharing options...
Zzbrandon Posted October 22, 2012 Author Share Posted October 22, 2012 So if I want to move a seperate box I use oreo's way?The thing is so im guessing .left is a box .right is a box etc? Link to comment Share on other sites More sharing options...
Ertzel Posted October 22, 2012 Share Posted October 22, 2012 You'd have to find out which equipment number it comes up as in the```For I = 1 To Equipment.Equipment_Count - 1```loop and then change the placement of that item based on the code oreo outlined. Link to comment Share on other sites More sharing options...
Zzbrandon Posted October 22, 2012 Author Share Posted October 22, 2012 Ok so ur talking about the item icon appearing in the blackbox or the whole blackbox itself for an items icon to show up in? Link to comment Share on other sites More sharing options...
or3o Posted October 22, 2012 Share Posted October 22, 2012 we are talking about moving where the icons show up in the black box. Link to comment Share on other sites More sharing options...
abhi2011 Posted October 23, 2012 Share Posted October 23, 2012 They are talking about where the equipment is drawn with respect to picCharacter. Link to comment Share on other sites More sharing options...
or3o Posted October 23, 2012 Share Posted October 23, 2012 exactly. Link to comment Share on other sites More sharing options...
Zzbrandon Posted October 23, 2012 Author Share Posted October 23, 2012 Alright solved thanks guys Link to comment Share on other sites More sharing options...
abhi2011 Posted October 23, 2012 Share Posted October 23, 2012 Glad that you fixed it.Close topic [Resolved] Link to comment Share on other sites More sharing options...
or3o Posted October 23, 2012 Share Posted October 23, 2012 what Abhi is saying is when your question gets answerd its customary to go back and edit your original post and addd {resolved} to the title Link to comment Share on other sites More sharing options...
abhi2011 Posted October 23, 2012 Share Posted October 23, 2012 Thanks for restating it properly. 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