Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changed the Item IMG Ranger
#1
Where, and how, would you change the Item Range. I see that the Item system in MSE1 only goes obtains image's down 1 column. My item set has 6 column's, and I do want to use as many item image's as possible.....

Help as soon as possible would be great Smile

Thanks
Reply
#2
What do you mean? do want to be able to choose items to the right and not only down?
Reply
#3
William Wrote:What do you mean? do want to be able to choose items to the right and not only down?

Yea, yea Smile How can that be done?
Reply
#4
Well currently the item uses a
Code:
Item(index).Pic
to declare what image it is. You will have to change it to:
Code:
Item(index).PicX
Item(index).PicY
And when blitting the image, its not just the Y that has the Pix variable, but also the X. Its not that difficult.

You basicly save them as .Pic is done and find the places they are drawn and change the x and y.
Reply
#5
O.k...but, I can't seem to find:

Code:
Item(index).Pic

Where is it in MSE1? I've searched both Client and Server :?
Reply
#6
Because index isn't the variable it uses when it blits the item's picture.


Also, all GFX are done Client side, don't worry about the server too much.
Reply
#7
index was just an example. It probably uses EditorIndex on some places and other vars on other places. search for .Pic and change the itemrecs only.
Reply
#8
It uses the MapItem rec for blitting to the map, I had to edit it once.
Reply
#9
Just make sure to backup your source.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)