 |
 |
 |
 |
| Author |
Message |
Aeros
Joined: 24 Apr 2006 Posts: 69
|
Posted: Wed May 31, 2006 5:04 pm Post subject: Bushido, Ninjitsu and Spellweaving |
|
|
Hi guys,
Thanks for these great additions to RC2. However, the following observations:
1) For bushido and ninjitsu, the books are empty. I then assumed you need scrolls to fill them, and proceed to go through InsideUO to find these scrolls. However, I found no instances of these scrolls. For both books, I have the following settings in the itemdescs (Do note, these books are ALL defined as Spellbook in my itemdescs):
For Bushido:
and for Ninjitsu:
2) For the Spellweaving book, I can't drag any of its scrolls into the book. It keeps telling me the item is too heavy for the container.
The spelltype entry for the spellweaving book:
| Code: |
SpellType Spellweaving
|
And the itemdesc entry for one of the scrolls:
| Code: |
Item 0x2D51
{
Name arcanecirclescroll
Desc Arcane Circle scroll
Script spellweavingscroll
CProp Spellid i601
VendorBuysFor 6
VendorSellsFor 12
Weight 1/10
}
|
Also tried the following as an itemdesc entry for a scroll:
| Code: |
Item 0x2970
{
Name arcanecirclescroll
Desc Arcane Circle scroll
Graphic 0x2D51
Script spellweavingscroll
CProp Spellid i601
VendorBuysFor 6
VendorSellsFor 12
Weight 1/10
}
|
0x2D51 being the InsideUO graphic number for the scroll, 0x2970 being my internal objtype for the scroll. Neither entry worked, still got the same error - object too heavy for the container.
I should also mention here that I used the exact same methods with the Chivalry and Necromancy books, and they worked there. So I assume something changed, or something may be wrong by how core controls the Bushido, Ninjitsu and Spellweaving books. |
|
 |
|
|
 |
 |
| Author |
Message |
MuadDib POL Developer
Joined: 13 Feb 2006 Posts: 830 Location: Indiana, USA
|
Posted: Wed May 31, 2006 6:54 pm Post subject: |
|
|
Unsure if you have looked into the 096 Distro any yet, so will post it here just so others can see it too.
Itemdesc.cfg entry for a spellbook/ninjitsu.etc using the new systems.
| Code: |
Spellbook 0xEFA
{
Name Spellbook
Desc spellbook
Gump 0xFFFF
MinX 40
MaxX 60
MinY 20
MaxY 80
SpellType Magic
Newbie 1
BlocksCastingIfInHand 0
RequiresAttention 0
VendorSellsFor 22
VendorBuysFor 11
Weight 1
CanRemoveScript spellBook/canRemove
}
|
Notice the way SpellID is, and SpellType. They are entries, not cprops, old container info, etc etc.
Also, for spell scroll's itemdesc, you MUST list spelltype there also, so the core knows WHICH book it is for. I would suggest making your system use SpellID as an entry also, instead of a cprop. You can see Distro 096 SVN for how we are doing magery there, for any extra help.
Also, bear in mind, the spell scroll IDs are hardcoded, via being the same objtype as in the UO files (using InsideUO to get their id).
Now, that info is for Spellweaving. Give me a bit on the Bushido and Ninjitsu, as it appears, while on OSI they are identical to the other books (Paladin, Necro, and magery), they come with the spells already inside them when you create a char, AND buy them (fully loaded with all the moves). This might require some hardcoding in the core since it uses the same packet stuff, but, they are spawned on OSI with all the stuff in them.
And yes, I too am not finding "scrolls" in the client for these 2 books, very very odd since it uses the same book system. But I will keep you posted on my progress. |
|
 |
|
|
 |
 |
| Author |
Message |
MuadDib POL Developer
Joined: 13 Feb 2006 Posts: 830 Location: Indiana, USA
|
Posted: Wed May 31, 2006 7:09 pm Post subject: |
|
|
Oh yeah, forgot, they don't have "scrolls", but they use the "icons" from the tiledata instead.
If you search for their names in InsideUO you will find them, right after the bushido book, and ninjitsu book, respectively. I have now added those objtype id's to the core for the next release. (RC3 or Re-publish of RC2 and in Final).
Remember, you MUST use these objtypes!! You CAN change the graphic iirc, to that of anything you wish (correct me if wrong anyone). I'll send you a test core to work with on testing this if you wish. No biggie for me. |
|
 |
|
|