Lokai
Knight
[RunUO 2.0]Shard Event with AP Event Gate
* ShardEvent.cs
*
* Description: Event system using AP_EventGate (formerly AdvancedPlayerGate.)
* System includes Invitations, 9 new commands, ability to adjust
* player stats, skills, etc., give items, and remove all Event items,
* skill and stat adjustments, hue, name and title changes, when
* the Event is finished.
*
* Installation: Drop in Custom folder. No Distro changes needed.
*
* Use: GMs+ can create an Event using the 'EventNew' command. Players can join
* an open Event or by Invitation. Events can be limited to certain numbers
* of players. The following is the complete command list:
*
* - EventNew: creates a ShardEvent item in the GM's pack. Begins the Event planning stage.
* - EventJoin: players use this to attempt to join an Event in progress.
* - EventInvite: Host uses this to place invitations in a person's pack (or use 'all' argument for all users.)
* - EventI: - same as EventInvite -
* - EventMark: Host uses this to move the join location to his current location and map.
* - EventOpen: Sets the Event to Open access. Anyone can join without an Invitation.
* - EventMax: Sets the Max number of players permitted. If no parameter given, uses default number.
* - EventShut: Closes access to the Event. Status is set to 'Shut'.
* - EventEnd: Sets the Status of the Event to 'Finished'.
* - EventFinish: - same as ClearGates -
* - ClearGates: Removes all Event items, including Temporary gates, Invitations, temp Items given, and restores users
* to their state before they entered any Temporary AP_EventGate
*
* AP_EventGate: The new AP_EventGate will do the following when used (when BOOL is true - misc.):
*
* - Teleports the user to the location and map set on the Moongate. (m_DoesTeleport)
* - Renames the user (m_DoesRename - m_NameGiven)
* - May only allow certain number of players (m_PlayerCountMax) to use the gate (m_PlayerCountLimited - m_PlayerCountExeededMessage)
* - Changes the player's Title (m_TitleAdds - m_TitleToAdd)
* - Resurrects the player (m_DoesResurrect)
* - Alters the player's skills (m_ChangesSkills) and stats (m_ChangesStats)
* - Changes the player's Hue (m_ChangesHue - uses the Hue of the Gate)
* - Gives Items based on Skill levels given (m_SkillsGiveItems - when skill value >= m_SkillsItemsMin)
*
* TempGateItem: When a player uses an AP_EventGate, with the TempGate option set to 'true', the player will
* receive a TempGateItem, which stores their current stats, skills, name, title, hue, and a list of
* the items given when using the gate. At the end of the Event, when the item is deleted, it will be
* Activated, restoring the player to their former state.
*
In case there are still troubles with downloading zip files from here, I will also host the file online here:
http://www.frontiernet.net/~tvbowman/lokai/ShardEvent with AP_EventGate.zip
* ShardEvent.cs
*
* Description: Event system using AP_EventGate (formerly AdvancedPlayerGate.)
* System includes Invitations, 9 new commands, ability to adjust
* player stats, skills, etc., give items, and remove all Event items,
* skill and stat adjustments, hue, name and title changes, when
* the Event is finished.
*
* Installation: Drop in Custom folder. No Distro changes needed.
*
* Use: GMs+ can create an Event using the 'EventNew' command. Players can join
* an open Event or by Invitation. Events can be limited to certain numbers
* of players. The following is the complete command list:
*
* - EventNew: creates a ShardEvent item in the GM's pack. Begins the Event planning stage.
* - EventJoin: players use this to attempt to join an Event in progress.
* - EventInvite: Host uses this to place invitations in a person's pack (or use 'all' argument for all users.)
* - EventI: - same as EventInvite -
* - EventMark: Host uses this to move the join location to his current location and map.
* - EventOpen: Sets the Event to Open access. Anyone can join without an Invitation.
* - EventMax: Sets the Max number of players permitted. If no parameter given, uses default number.
* - EventShut: Closes access to the Event. Status is set to 'Shut'.
* - EventEnd: Sets the Status of the Event to 'Finished'.
* - EventFinish: - same as ClearGates -
* - ClearGates: Removes all Event items, including Temporary gates, Invitations, temp Items given, and restores users
* to their state before they entered any Temporary AP_EventGate
*
* AP_EventGate: The new AP_EventGate will do the following when used (when BOOL is true - misc.):
*
* - Teleports the user to the location and map set on the Moongate. (m_DoesTeleport)
* - Renames the user (m_DoesRename - m_NameGiven)
* - May only allow certain number of players (m_PlayerCountMax) to use the gate (m_PlayerCountLimited - m_PlayerCountExeededMessage)
* - Changes the player's Title (m_TitleAdds - m_TitleToAdd)
* - Resurrects the player (m_DoesResurrect)
* - Alters the player's skills (m_ChangesSkills) and stats (m_ChangesStats)
* - Changes the player's Hue (m_ChangesHue - uses the Hue of the Gate)
* - Gives Items based on Skill levels given (m_SkillsGiveItems - when skill value >= m_SkillsItemsMin)
*
* TempGateItem: When a player uses an AP_EventGate, with the TempGate option set to 'true', the player will
* receive a TempGateItem, which stores their current stats, skills, name, title, hue, and a list of
* the items given when using the gate. At the end of the Event, when the item is deleted, it will be
* Activated, restoring the player to their former state.
*
In case there are still troubles with downloading zip files from here, I will also host the file online here:
http://www.frontiernet.net/~tvbowman/lokai/ShardEvent with AP_EventGate.zip