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!

Resource icon

[2.x] PVP / PVM or PK / NONPK Role Play system 2.3x 2.1

No permission to download

Mortis

Knight
Have been away for a while. Just read the newer post. Will look into all and get back to you. No time now as I am about to leave for work.
 

Mortis

Knight
Wicked2006. I will look into this and add it as a bool to set true or false. That way it will b an option.
 

Mortis

Knight
Just change the OnDoubleclick method in Scripts/Engines/ Factions/Items/JoinStone.cs

To
Code:
        public override void OnDoubleClick( Mobile from )
        {

            if ( m_Faction == null )
                return;

            if ( !from.InRange( GetWorldLocation(), 2 ) )
                from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 1019045 ); // I can't reach that.
            else if ( FactionGump.Exists( from ) )
                from.SendLocalizedMessage( 1042160 ); // You already have a faction menu open.
            else if ( from is PlayerMobile && ((PlayerMobile)from).NONPK == NONPK.NONPK || ((PlayerMobile)from).NONPK == NONPK.NONPKinEvent )//Added for NONPK
                from.SendMessage( 32, " You are NONPK and can not join a faction." );//Added for NONPK
            else if ( Faction.Find( from ) == null && from is PlayerMobile )
                from.SendGump( new JoinStoneGump( (PlayerMobile) from, m_Faction ) );
        }
 

Mortis

Knight
Zoul, from what you describe it sounds like it's working just as it should. The PvP gate allows PvP actions to be taken against that character. It's not going to make them red as it does nothing with their murder count. The system simply allows a player to be attacked and/or attack other PvP flagged players.

Also, mortis is referring to events in general. Mainly, events that require PvP (arenas, deathmatches, etc.). The purpose of those gates is so non PvP flagged characters can participate in those events (where PvP is going to take place) and then get set back to nonPvP after the event to return to the normal game.

Exactly.
The NONPKEvent moongate is only to allow NONPK characters to be able to participate in PVP events set up on the server and return to NONPK status when it is over.
Choosing PK or NONPK does not change murder count or criminal actions and does not restrict the character from becoming criminal or a murderer. Those options should be in the event scripts you make or have. If not edit that there.
 
Top