Go Back   RunUO - Ultima Online Emulation > RunUO > General Discussion

General Discussion General discussion for the RunUO community, all off-topic posts will be deleted. This forum is NOT FOR SUPPORT!

Reply
 
Thread Tools Display Modes
Old 05-15-2004, 07:08 AM   #1 (permalink)
shadeuo
Guest
 
Posts: n/a
Default OK getting a little old

Been around for over a year now and the one thing that boggles me is aos resists I have tried various ways to enable aos and still have old school like armors. Now I have been told it can be done. the question is how large of a procedure is it and what files do i start with? due to the fact that I think I am not the only one that is wanting this I think maybe a simple on/off swith in destro would be a cool add on. the other question is will this require a core edit? the reason I am asking is the possibility of runuo going open source. anyone who agrees with this possiblity please step up and let it be known.
  Reply With Quote
Old 05-15-2004, 07:23 AM   #2 (permalink)
Account Terminated
 
Join Date: May 2004
Posts: 1,161
Default

Quote:
Originally Posted by shadeuo
Been around for over a year now and the one thing that boggles me is aos resists I have tried various ways to enable aos and still have old school like armors. Now I have been told it can be done. the question is how large of a procedure is it and what files do i start with? due to the fact that I think I am not the only one that is wanting this I think maybe a simple on/off swith in destro would be a cool add on. the other question is will this require a core edit? the reason I am asking is the possibility of runuo going open source. anyone who agrees with this possiblity please step up and let it be known.
Edit BaseArmor and take the checks out.
Jason is offline   Reply With Quote
Old 05-15-2004, 01:23 PM   #3 (permalink)
Forum Expert
 
Join Date: Jan 2004
Posts: 1,377
Default

Or edit AOS.cs Damage method?

Or PlayerMobile.cs...
__________________
Dracarys
retired - consider me dead to these boards
Dracarys is offline   Reply With Quote
Old 05-16-2004, 06:53 AM   #4 (permalink)
shadeuo
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jason
Edit BaseArmor and take the checks out.
nope wont work all the monsters have armor too in non aos and not many wear armor so no this wont work
Quote:
Originally Posted by Dracarys
Or edit AOS.cs Damage method?

Or PlayerMobile.cs....
PlayerMobile does not control Base Creature so this will not work either Aos damage method couldnt see how this could work virtual armor its just not in that file
  Reply With Quote
Old 05-16-2004, 09:02 AM   #5 (permalink)
Forum Expert
 
Join Date: Jan 2004
Posts: 1,377
Default

AOS/Damage should still work... I think virtual armor gets treated like normal resistances...
__________________
Dracarys
retired - consider me dead to these boards
Dracarys is offline   Reply With Quote
Old 05-16-2004, 02:03 PM   #6 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

VirtualArmor is only used for Pre-AOS. And it acts as if they are wearing armor.
XxSP1DERxX is offline   Reply With Quote
Old 05-16-2004, 05:36 PM   #7 (permalink)
shadeuo
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by XxSP1DERxX
VirtualArmor is only used for Pre-AOS. And it acts as if they are wearing armor.
yep spider knows what im talking about
  Reply With Quote
Old 05-16-2004, 05:55 PM   #8 (permalink)
Forum Expert
 
Join Date: Jan 2004
Posts: 1,377
Default

I thought I knew that too.

If you have AOS enabled, AOS::Damage is called for all damaging actions. Virtual Armor will not be used. So if you edit AOS::Damage, you can edit the calculation for damage vs. resists.
__________________
Dracarys
retired - consider me dead to these boards
Dracarys is offline   Reply With Quote
Old 05-17-2004, 02:33 AM   #9 (permalink)
shadeuo
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Dracarys
I thought I knew that too.

If you have AOS enabled, AOS:amage is called for all damaging actions. Virtual Armor will not be used. So if you edit AOS:amage, you can edit the calculation for damage vs. resists.
for damage vs. resists? thats the problem I dont want resists if I want to play with resists Ill pull out the pokemon cards lol. no really ill check that out and see what I can do.
  Reply With Quote
Old 05-17-2004, 05:26 PM   #10 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

If you have AOS enabled, chances are, you will not be able to quit using resistances. If you don't have AOS enabled.. then do a search for where VirtualArmor is used (I dont know where.. but it may be in BaseCreature.cs).
XxSP1DERxX is offline   Reply With Quote
Old 05-17-2004, 05:32 PM   #11 (permalink)
shadeuo
Guest
 
Posts: n/a
Default

OK we must of lost topic after all the discussion. but heres what I want to do. set core aos enabled but use the old virtual armor system for armor.
  Reply With Quote
Old 05-17-2004, 05:43 PM   #12 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

Thats fine.. you will still have to look for where VirtualArmor is checked and used in BaseCreature.cs and change that to work with AOS. And go into AOS.cs and change how the Damage method works.
XxSP1DERxX is offline   Reply With Quote
Old 05-17-2004, 05:50 PM   #13 (permalink)
shadeuo
Guest
 
Posts: n/a
Default

this little peice of code looks like it might do a little something for using the old system am I correct?
Code:
			if ( !Core.AOS )
			{
				m.Damage( damage, from );
				return damage;
			}
this is line 68 - 72 in AOS.cs
  Reply With Quote
Old 05-17-2004, 06:55 PM   #14 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

Yeah, but that is done after the VirtualArmor is taken into effect. The VirtualArmor is done in BaseCreature.cs.
XxSP1DERxX is offline   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