| Mirage Source http://www.miragesource.net/forums/ |
|
| Changed the Item IMG Ranger http://www.miragesource.net/forums/viewtopic.php?f=201&t=2097 |
Page 1 of 1 |
| Author: | Tayuke [ Mon Jun 18, 2007 6:16 am ] |
| Post subject: | Changed the Item IMG Ranger |
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 Thanks |
|
| Author: | William [ Mon Jun 18, 2007 1:54 pm ] |
| Post subject: | Re: Changed the Item IMG Ranger |
What do you mean? do want to be able to choose items to the right and not only down? |
|
| Author: | Tayuke [ Mon Jun 18, 2007 9:22 pm ] |
| Post subject: | Re: Changed the Item IMG Ranger |
William wrote: What do you mean? do want to be able to choose items to the right and not only down? Yea, yea |
|
| Author: | William [ Mon Jun 18, 2007 10:09 pm ] |
| Post subject: | Re: Changed the Item IMG Ranger |
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. |
|
| Author: | Tayuke [ Mon Jun 18, 2007 10:16 pm ] |
| Post subject: | Re: Changed the Item IMG Ranger |
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 |
|
| Author: | Rezeyu [ Mon Jun 18, 2007 10:17 pm ] |
| Post subject: | Re: Changed the Item IMG Ranger |
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. |
|
| Author: | William [ Tue Jun 19, 2007 9:33 am ] |
| Post subject: | Re: Changed the Item IMG Ranger |
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. |
|
| Author: | Rezeyu [ Tue Jun 19, 2007 9:54 am ] |
| Post subject: | Re: Changed the Item IMG Ranger |
It uses the MapItem rec for blitting to the map, I had to edit it once. |
|
| Author: | William [ Tue Jun 19, 2007 10:08 am ] |
| Post subject: | Re: Changed the Item IMG Ranger |
Just make sure to backup your source. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|