UOGamers Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • To obtain new Razor updates, please reinstall Razor from our new website.

[COMPLETE] Animal Form Menu

Status
Not open for further replies.

I.P.Knightly

Sorceror
[COMPLETE] Animal Form Menu

Behavior on Demise Does not look the same as the one on OSI
Behavior on OSI:The animal form menu looks the same as the selection menu for the poly-morph spell.
Supporting Documentation (URLs):
Changes needed:
Code (optional):

Noticed this on OSI while I was testing the FC speed of ninjitsu spells
 

Copern

Sorceror
Re: [CODER NEEDED] Animal Form Menu

Oops, I just did this too. Even added in the missing animal form particles.

Edit: And I forgot a "}", doah. Reuploaded. But have tested and it works fine.
 

Attachments

  • copernanimalform.patch
    4.1 KB · Views: 1

Copern

Sorceror
Re: [TESTING] Animal Form Menu

Noticed a problem where canceling/closing the menu caused a fizzle. I forgot a check. Fixed and uploaded.
 

Attachments

  • copernanimalform.patch
    4.2 KB · Views: 1

MalGanis

Sorceror
Re: [TESTING] Animal Form Menu

You also need to change item offsets (so called width and height, but those names are actually wrong) in AddImageTiledButton, so animal images are nice and centered:

Code:
Rectangle2D b = ItemBounds.Table[ entries[ i ].ItemID ];

AddImageTiledButton( x, y, 0x918, 0x919, i + 1, GumpButtonType.Reply, 0, entries[i].ItemID, 0x0, 40 - b.Width / 2 - b.X, 30 - b.Height / 2 - b.Y, entries[i].Tooltip );
 

Copern

Sorceror
Re: [TESTING] Animal Form Menu

Thanks MalGanis, I failed to notice the off center images. Re-uploaded.
 

Attachments

  • animalform.patch
    4.3 KB · Views: 7

Athena

Account Terminated
Re: [TESTING] Animal Form Menu

I've tested this patch and compared it to OSI's animal form gump and it all matches, the spell works as it should.
 
Status
Not open for further replies.
Top