Go Back   RunUO - Ultima Online Emulation > RunUO > Script Support

Script Support Get support for modifying RunUO Scripts, or writing your own!

Reply
 
Thread Tools Display Modes
Old 10-28-2006, 07:44 PM   #1 (permalink)
Forum Novice
 
Join Date: Dec 2005
Location: Tulsa Oklahoma
Age: 26
Posts: 131
Default Dual Weapon Skill

I would like to make a new skill that allows the use of certain weapons in tandem. I am new to c# and any advice on how and where to start would be great. I would also Like to modify the timer on healing with bandages.
thanks in advance.
Bad Mojo is offline   Reply With Quote
Old 10-29-2006, 12:00 AM   #2 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,753
Send a message via Yahoo to Lord_Greywolf
Default

the timer on bandages is in its own script - easy to find

by weapons in tandem you mean 2 weapons at once? or 2 skills for the weapons?

if you mean 2 different weapons at once - that is a major overhaul
1) you would need to make new graphics and animations for the weapons in the off hand
2) make a core change to allow weapons on the off hand
3) rewrite the whole attack scripts to have it check for off hand weapons
4) etc
I do not know if it can be done with out a total rewrite of the whole combat, base weapons, etc scripts - if it can be done would be a mojor task
or simular to below

if you mean 2 of the same weapon (or as above)
1) redo graphics to show the dual weapons (simular to some of the oriental ones now)(or the 2 different "paired weapons" like a sword & dagger)
2) modify the3 scripts for them to do a possible 2nd attack, etc
2a) if 2 different weapons together as above with the on equip to check for a "paired" weapon graphic and switch it out, etc
modify the disarm to handle both weapons, etc

either case - lots of work

or if you mean 2 skills - not sure how to do that with out a total rewrite of the combat system

or might be able to adjust base weapons so all would use 2 skills averaged or what ever - but still would be tricky

or if just a few weapons maybe make the skill in there for extra damage, or to equipe it, etc (and lower down the normal damage, etc)
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is online now   Reply With Quote
Old 10-29-2006, 01:58 AM   #3 (permalink)
Forum Expert
 
Kenko's Avatar
 
Join Date: Dec 2004
Location: Land of the Poor
Posts: 1,828
Send a message via MSN to Kenko
Default

mm I just came up with a brilliant idea.. what about having the two required skills variables (e.g skillone skilltwo, being them sword and fencing, for example), and modify the required skill (the distro one) to be Math.Min( skillone.Base, skilltwo.Base ); that wouldn't cause many problems, would it?
Kenko is offline   Reply With Quote
Old 10-29-2006, 10:44 AM   #4 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,753
Send a message via Yahoo to Lord_Greywolf
Default

yes -
because you would also have to modify:

1) the baseweapons, etc for where they display the skill required to now list 2 skills instead of 1 (it is loking for a skill name - and will probaly crash the server with that formula in there)

2) Skillcheck.cs for training in the skills - normaly only 1 is passed to it

3) Use Best Weapon skill parts

4) all critters that might use that weapon to have both skills

5) one other major one - but my brain just went into a blank on it - was there and now gone

probably more also

but i did just think of something else

since it is 2 skills required

there is a skill system in the script submission area or the archives
that adds on to the current system
you might be able to use it and make a new skill for them to use
and this skill is the average of those 2 skills
that way you are only modding that skill system
and you would then have a new skill "peircing swords" or what ever that these weapons would use, etc
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is online now   Reply With Quote
Old 10-29-2006, 04:45 PM   #5 (permalink)
Forum Novice
 
Join Date: Dec 2005
Location: Tulsa Oklahoma
Age: 26
Posts: 131
Default

Awesome thanks for the help. I am totally new to c# and everything helps. I am not afraid of doing a major overhaul but I still have a lot of learning to do. maybe someday you guys can play on my shard and get owned with 2 weapons at once :P
Bad Mojo is offline   Reply With Quote
Old 04-19-2007, 08:15 PM   #6 (permalink)
Forum Newbie
 
Join Date: Apr 2007
Posts: 2
Default dumbasses

i hope you kno you can dual wield without skills or scripts/ ist about layering. you dont need graphic chips or n e thin all ya need is layers. just set weapons to dif layers
and use like a staff and a sword
and youll get dua wield
buddy.vile is offline   Reply With Quote
Old 04-20-2007, 02:22 AM   #7 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,753
Send a message via Yahoo to Lord_Greywolf
Default

can not equpe 2 weapons that way -if 1 is set for two weapon layer - it will not allow a 1 handed weapon on there, even if it is 1 handed weapon
and same goes if the 1 handed weapon is put on 1st

and they both would still show up in the same hand anyways, even if the could because the graphics are to that spot
and about only way is to take a shield and make it look like a weapon, then could maybe have both equiped, but then like i said - on top of each other
and only the actualy weapon (not shield) would be swinging
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is online now   Reply With Quote
Old 04-28-2007, 02:08 PM   #8 (permalink)
Forum Newbie
 
Join Date: Apr 2007
Posts: 2
Default

Quote:
Originally Posted by Lord_Greywolf View Post
can not equpe 2 weapons that way -if 1 is set for two weapon layer - it will not allow a 1 handed weapon on there, even if it is 1 handed weapon
and same goes if the 1 handed weapon is put on 1st

and they both would still show up in the same hand anyways, even if the could because the graphics are to that spot
and about only way is to take a shield and make it look like a weapon, then could maybe have both equiped, but then like i said - on top of each other
and only the actualy weapon (not shield) would be swinging


i am sorry i wasnt clear enough thank you grey ass umm yes you can wield two swords. the animation on the paperdoll is ganna show the weapon is in the same hand but if you look on the actual character he is holding the weapons in both hands thank you very much. smart ass
buddy.vile is offline   Reply With Quote
Old 04-28-2007, 09:56 PM   #9 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,753
Send a message via Yahoo to Lord_Greywolf
Default

unless you change the animations around and suff, it will still only show in the 1 hand when animated

and the system will still only use 1 weapon to do damage with, the one that is actualy on either layer 1 handed or layer 2 handed

and as i said - can not place a weapon on the 2 handed layer and 1 handed layer at the same time - the system will not allow it - you can place a non-weapon on the 2nd hand layer and make it look like a weapon, but it will not be a weapon or will it do damage then
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is online now   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5