RunUO 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!

How to make Humans wearing winged Gargoyle equipment

ft2085267

Sorceror
I try to modify tiledata.mul, but did not find a way to achieve. People who want to wear in the future will be displayed.
Client version 7.0.10.3
Help me. Very grateful!:)
 

ThatDudeJBob

Sorceror
I try to modify tiledata.mul, but did not find a way to achieve. People who want to wear in the future will be displayed.
Client version 7.0.10.3
Help me. Very grateful!:)

PHP:
using System;
using Server.Items;
 
namespace Server.Items
{
    [FlipableAttribute( 0x457E, 0x4575 )]   
    public class GargishPlateWingArmor : BaseArmor
    {
        public override int BasePhysicalResistance{ get{ return 2; } }
        public override int BaseFireResistance{ get{ return 4; } }
        public override int BaseColdResistance{ get{ return 3; } }
        public override int BasePoisonResistance{ get{ return 3; } }
        public override int BaseEnergyResistance{ get{ return 4; } }
 
        public override int InitMinHits{ get{ return 35; } }
        public override int InitMaxHits{ get{ return 45; } }
 
        public override int AosStrReq{ get{ return 35; } }
        public override int OldStrReq{ get{ return 35; } }
 
        public override int ArmorBase{ get{ return 16; } }
 
        public override ArmorMaterialType MaterialType{ get{ return ArmorMaterialType.Plate; } }
 
        //public override Race RequiredRace{ get { return Race.Gargoyle; } }
        public override bool CanBeWornByGargoyles{ get{ return true; } }
 
        [Constructable]
        public GargishPlateWingArmor() : base( 0x457E )
        {
            Weight = 4.0;
            Layer = Layer.Cloak;
        }
 
        public GargishPlateWingArmor( Serial serial ) : base( serial )
        {
        }
       
        public override void Serialize( GenericWriter writer )
        {
            base.Serialize( writer );
            writer.Write( (int) 0 );
        }
       
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize( reader );
            int version = reader.ReadInt();
        }
    }
}

Commenting this line out will make it so human race can wear it also.
PHP:
//public override Race RequiredRace{ get { return Race.Gargoyle; } }

It doesn't look that great in my opinion but this will make it so everyone can wear.
To make it like that on all the gargish winged armor you will have to go into the scripts and comment out that line.
 

ft2085267

Sorceror
PHP:
using System;
using Server.Items;
 
namespace Server.Items
{
    [FlipableAttribute( 0x457E, 0x4575 )] 
    public class GargishPlateWingArmor : BaseArmor
    {
        public override int BasePhysicalResistance{ get{ return 2; } }
        public override int BaseFireResistance{ get{ return 4; } }
        public override int BaseColdResistance{ get{ return 3; } }
        public override int BasePoisonResistance{ get{ return 3; } }
        public override int BaseEnergyResistance{ get{ return 4; } }
 
        public override int InitMinHits{ get{ return 35; } }
        public override int InitMaxHits{ get{ return 45; } }
 
        public override int AosStrReq{ get{ return 35; } }
        public override int OldStrReq{ get{ return 35; } }
 
        public override int ArmorBase{ get{ return 16; } }
 
        public override ArmorMaterialType MaterialType{ get{ return ArmorMaterialType.Plate; } }
 
        //public override Race RequiredRace{ get { return Race.Gargoyle; } }
        public override bool CanBeWornByGargoyles{ get{ return true; } }
 
        [Constructable]
        public GargishPlateWingArmor() : base( 0x457E )
        {
            Weight = 4.0;
            Layer = Layer.Cloak;
        }
 
        public GargishPlateWingArmor( Serial serial ) : base( serial )
        {
        }
     
        public override void Serialize( GenericWriter writer )
        {
            base.Serialize( writer );
            writer.Write( (int) 0 );
        }
     
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize( reader );
            int version = reader.ReadInt();
        }
    }
}

Commenting this line out will make it so human race can wear it also.
PHP:
//public override Race RequiredRace{ get { return Race.Gargoyle; } }

It doesn't look that great in my opinion but this will make it so everyone can wear.
To make it like that on all the gargish winged armor you will have to go into the scripts and comment out that line.

Thank you very much.:)
 
Top