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

New Equipment Slots [Eclipse Advanced]


dif78qps
 Share

Recommended Posts

Please anyone can help me? i need a tutorial to add more equipment slots in the custom version Eclipse Advanced v3.0.15

I've tryed to use the tutorial by Mortal Angels ( [EO 3.0 - Event System] How to add new equipment slots ) but dont work with this version and the author of Eclipse Advanced dont send me a reply.

Tutorial link of mortal angels : [Link](http://www.touchofdeathforums.com/community/index.php?/topic/127979-eo-30-event-systemhow-to-add-new-equipment-slots/)

Pleaase guys Help mee
Link to comment
Share on other sites

Well why not just add new variables to the enumeratio….oh right they arn't doing something that would be efficient and easy to edit.

But in all seriousness I find that tutorial to go against my coding laws. Equipment types should be an enumeration so you can loop through it and make drawing on the UI and other code easier, an example of this would be like:

Sub DrawEquipment()

Dim Columns as Byte, Row as Byte, Column as Byte

Columns = 4

For i = 1 to Equipment.Count

Row = i / Columns

Column = i mod Columns

X = Column * Pic_X

Y = Row * Pic_Y

Next

End Sub

Again that is only an example but you should get the point.
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...