The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wrestling weapon types
Author Message
BladeCraft
Apprentice
*

Posts: 42
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 2



Post: #1
Wrestling weapon types
I made "fist" weapons long ago for wrestling weapons and at that time, I used a type=t_weapon_mace_sharp to get the type to trigger the proper combat triggers. Using t_normal makes it default to punching without any of the @hit and damage calculations from the item itself.

Recently I noticed this creates some "odd" results with my other scripts. First, they think my Fist wrestling weapon is a macefighting weapon when I check for types. Secondly, the effect/sound a swiong makes is if I was holding a mace, not punching.

The question: Do we have any typedefs (or a way to soft code one) that will make the holder punch but will also still look at the weapon in the hand for damage calculationss? Something like a t_weapon_wrestling or t_weapon_generic?

[Image: topsitesbanner4.gif]
03-05-2013 12:15 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Wrestling weapon types
for the sounds you can use
TAG.OVERRIDE.SOUND_HIT Overrides the hit sound for a weapon. Take notice that there is an underscore in this TAG's name.
TAG.OVERRIDE.SOUND_MISS Overrides the miss sound for a weapon. Take notice that there is an underscore in this TAG's name.
03-05-2013 06:24 PM
Find all posts by this user Like Post Quote this message in a reply
BladeCraft
Apprentice
*

Posts: 42
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 2



Post: #3
RE: Wrestling weapon types
So to act as an equipped weapon, the item type of the item in layer1 must be a hardcoded combat type?

Can a dev confirm that for me please. If there is anyway to use a different type, I would prefer it greatly. Using a mace type on a wrestling weapon messes with my scripts checking for weapon type to determine what skill to bonus @equip and it just doesn't seem right... there should be a WEAPON flag or something available out there and it defaults to wrestling sounds unless otherwise noted

[Image: topsitesbanner4.gif]
03-07-2013 09:37 AM
Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #4
RE: Wrestling weapon types
If you are using a weapon... you are not wrestling.
03-08-2013 07:42 AM
Find all posts by this user Like Post Quote this message in a reply
UltimaAku
Journeyman
*

Posts: 125
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 1



Post: #5
RE: Wrestling weapon types
I get what he's saying, like a fist based weapon your trying to work with the skill "Wrestling". I would use the tag overrides, thees no default wrestling type weapon as the skill was made for those who dont use weapons.

try this:

Code:
[ITEMDEF i_punchy_weapon]
ID=whatever weapon your using
Name=Punchy Weapon
TYPE=t_weapon_sword
TAG.OVERRIDE.SOUND_HIT={309 330}
TAG.OVERRIDE.SOUND_MISS={568 570}
DAM=0,10
SPEED=80
SKILL=Wrestling
REQSTR=10
TWOHANDS=Y
WEIGHT=4

ON=@CREATE
HITPOINTS={50 60}

Just an example, havn't actually tried it Tongue
03-10-2013 11:46 PM
Find all posts by this user Like Post Quote this message in a reply
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #6
RE: Wrestling weapon types
why not making a new typedef for wrestling weapon?
03-12-2013 07:22 PM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #7
RE: Wrestling weapon types
Wrestling involves grabbing hold of your opponent and attempting to throw him to the ground and pin him...
Not sure what kind of weapon that would be. That said wrestling in UO should not be called wrestling at all since that is clearly not what happens, it's closer to boxing.

I'm not sure that it is enough to just change the skill associated with a weapon since it will still inflict a slashing/piercing damage type if it is a sword/fencing type.

So as to not tread on Macefighting as a skill the only weapon really that would make sense to me at least to turn into a wrestling weapon would be gloves, gauntlets e.t.c.. which really should not be that difficult to do

Just my 2 cents

[Image: 2nis46r.jpg]
03-12-2013 11:53 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #8
RE: Wrestling weapon types
(03-08-2013 07:42 AM)RanXerox Wrote:  If you are using a weapon... you are not wrestling.

Apparently I didn't make this clear, so let me rephrase this answer...

If you are not fighting with a weapon, you are wrestling.
03-13-2013 06:05 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #9
RE: Wrestling weapon types
You were clear.. they just seem hell bent, which is why i suggested gloves Tongue

[Image: 2nis46r.jpg]
03-13-2013 06:22 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
UltimaAku
Journeyman
*

Posts: 125
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 1



Post: #10
RE: Wrestling weapon types
i get what hes talking about and Mordaunt is spot on, Wrestling is an uninteresting skill which scales of the character's STR with the base damage as 0. He wants to give wrestling it's own use by turning it into a melee-capable weapon. I see no harm in that.

The only way to make sense of this, is to make hand-based weapons rather than swords, daggers ect. UO has alot of upsides but some of the skills are dauntingly usless and Wrestling is one of them as a combat skill. (don't deny it, not many GM the skill camping Tongue)
04-11-2013 10:14 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)