Could someone point me in the right direction in making a custom teleport scroll? i'm using Arcturus and i can't find it anywhere in the STB's where i actually tell it where to teleport you to. thanks.
Could someone point me in the right direction in making a custom teleport scroll? i'm using Arcturus and i can't find it anywhere in the STB's where i actually tell it where to teleport you to. thanks.
Open LIST_USEITEM.STB with an STB editor
Find one of teh teleport scrolls such as Zant return scroll ( item number 351)
Now look along the row and towards the right hand side of the row ( column V in my editor. heading = "amount" ) you will find a value 3151 or something similar. This may not be quite the same number in all clients but don't worry about that.
The point is that this is actually a reference value to a SKILL. Yup return scrolls are SKILLs so make a note of the number in that column then open LIST_SKILL.STB and go to row 3151 (or whatever the value was in your client)
you should see something like this
See those numbers to the right?
1 525 525
1 is the map ID
the other two are coordinates divided by 10 so 525 becomes 5250
That's all there is to it.
Make a new entry in LIST_SKILL.STB. Copy the entire row and change the map id and coordinates then save the STB and load it into both client and server
Now make a new entry in LIST_USEITEM.STB that points at your new skill entry. Give it a unique STL reference too (last column)
Finally make a new entry in LIST_USEITEM_S.STL with the name and description of your new use item.
Put these files into your client and server (don't think the server needs the STL)
And there you have it. Brand new teleport scroll.
If you are using open source servers it is a bit more complicated. you would have to modify the server code a little too. Nothing major though.
that helps a lot thanks!