Alex21
Sorceror
Simple Player Dueling.
Description:
This system allows players to organize highly customizable duels with out admin assistance, these duels can have up to 4 teams with a maximum of 6 players per team. Using a easy to use gump interface the player can quickly and easily set up very specific duel rules which will affect what players can and can't do in the duel. "Buy In's" can also be set which allow players to effectively "duel for cash".
How It Works:
Basically this is what a player will do when they organize a duel:
1) Say in game "i wish to duel" and receive the gump interface
2) Set up duel teams, participants, buy in and of course extensive rules
3) Once finished customizing the duel the player then uses the interface to attempt to start the duel
4) A gump allowing a player to view the duel rules and either accept/decline them, will be sent to all players
5) If all players accept the rules the duel will begin counting to a set count before attempting to start
6) If there is an arena available and all players are in correct condition's the duel will start
7) All players will be moved to the available arena and will be frozen for a short period
8) Players will begin to fight limited by the duel rules
9) After all players/all except of one team are dead the duel will end hopefully resulting in a winning team
Installation:
1) Place the dueling folder into your scripts folder
2) In Misc/Notoriety.cs Make the following modification
At the top under the line, or similar
Place the line
3) In Misc/Notoriety.cs Make the following modification
Find and copy the method
Then paste it beneath itself renaming it MobileNotoriety2
4) In Misc/Notoriety.cs Make the following modification
In the method
At the very top add this code
6) In Dueling/Base/DuelConfig.cs
Find and edit as you wish this section
Setting Up A Duel Arena/Region:
1) Add a DuelController in game next to where you wish the region to be
2) Use the command [props to configure the DuelController to create the region
3) Restart the server and as configured the DuelController will create the region
Screen Shots:
[URL=http://img25.imageshack.us/my.php?image=41310779.jpg] [/URL]
Hope you enjoy.
This System Has Been Through About 3 Completely Different Versions, So Many Of The Post's In This Thread Are Not Valid.
Simple Player Dueling
Simple Player Dueling
Description:
This system allows players to organize highly customizable duels with out admin assistance, these duels can have up to 4 teams with a maximum of 6 players per team. Using a easy to use gump interface the player can quickly and easily set up very specific duel rules which will affect what players can and can't do in the duel. "Buy In's" can also be set which allow players to effectively "duel for cash".
How It Works:
Basically this is what a player will do when they organize a duel:
1) Say in game "i wish to duel" and receive the gump interface
2) Set up duel teams, participants, buy in and of course extensive rules
3) Once finished customizing the duel the player then uses the interface to attempt to start the duel
4) A gump allowing a player to view the duel rules and either accept/decline them, will be sent to all players
5) If all players accept the rules the duel will begin counting to a set count before attempting to start
6) If there is an arena available and all players are in correct condition's the duel will start
7) All players will be moved to the available arena and will be frozen for a short period
8) Players will begin to fight limited by the duel rules
9) After all players/all except of one team are dead the duel will end hopefully resulting in a winning team
Installation:
1) Place the dueling folder into your scripts folder
2) In Misc/Notoriety.cs Make the following modification
At the top under the line, or similar
Code:
using Server.Factions;
Place the line
Code:
using Server.Dueling;
3) In Misc/Notoriety.cs Make the following modification
Find and copy the method
Code:
public static int MobileNotoriety( Mobile source, Mobile target )
Then paste it beneath itself renaming it MobileNotoriety2
4) In Misc/Notoriety.cs Make the following modification
In the method
Code:
public static int MobileNotoriety( Mobile source, Mobile target )
At the very top add this code
Code:
if (source is PlayerMobile && target is PlayerMobile)
{
if (Duel_Config.InADuel((PlayerMobile)source) && Duel_Config.InADuel((PlayerMobile)target))
return DuelController.NotoHandler(source, target);
}
6) In Dueling/Base/DuelConfig.cs
Find and edit as you wish this section
Code:
// Suggested User Configured Variables
public static bool Enabled = true;
public static bool AllowSameIPDuels = true;
public static int DuelStartDelay = 10;
public static bool AllowFactionersToDuel = false;
//End of Suggested User Configured Variables
Setting Up A Duel Arena/Region:
1) Add a DuelController in game next to where you wish the region to be
2) Use the command [props to configure the DuelController to create the region
3) Restart the server and as configured the DuelController will create the region
Screen Shots:
[URL=http://img25.imageshack.us/my.php?image=41310779.jpg] [/URL]
Hope you enjoy.