QUOTE |
Server.Commands.Register( "PointsLanguage", AccessLevel.Player, new CommandEventHandler( Language_OnCommand ) ); Server.Commands.Register( "Challenge", AccessLevel.Player, new CommandEventHandler( Challenge_OnCommand ) ); Server.Commands.Register( "LMSChallenge", AccessLevel.Player, new CommandEventHandler( LMSChallenge_OnCommand ) ); Server.Commands.Register( "TeamLMSChallenge", AccessLevel.Player, new CommandEventHandler( TeamLMSChallenge_OnCommand ) ); Server.Commands.Register( "Deathmatch", AccessLevel.Player, new CommandEventHandler( Deathmatch_OnCommand ) ); Server.Commands.Register( "TeamDeathmatch", AccessLevel.Player, new CommandEventHandler( TeamDeathmatch_OnCommand ) ); Server.Commands.Register( "DeathBall", AccessLevel.Player, new CommandEventHandler( DeathBall_OnCommand ) ); Server.Commands.Register( "KingOfTheHill", AccessLevel.Player, new CommandEventHandler( KingOfTheHill_OnCommand ) ); Server.Commands.Register( "TeamDeathBall", AccessLevel.Player, new CommandEventHandler( TeamDeathBall_OnCommand ) ); Server.Commands.Register( "TeamKotH", AccessLevel.Player, new CommandEventHandler( TeamKotH_OnCommand ) ); Server.Commands.Register( "CTFChallenge", AccessLevel.Player, new CommandEventHandler( CTFChallenge_OnCommand ) ); Server.Commands.Register( "SystemBroadcastKills", AccessLevel.GameMaster, new CommandEventHandler( SystemBroadcastKills_OnCommand ) ); Server.Commands.Register( "SeeKills", AccessLevel.Player, new CommandEventHandler( SeeKills_OnCommand ) ); Server.Commands.Register( "BroadcastKills", AccessLevel.Player, new CommandEventHandler( BroadcastKills_OnCommand ) ); Server.Commands.Register( "CheckPoints", AccessLevel.Player, new CommandEventHandler( CheckPoints_OnCommand ) ); Server.Commands.Register( "TopPlayers", AccessLevel.Player, new CommandEventHandler( TopPlayers_OnCommand ) ); Server.Commands.Register( "AddAllPoints", AccessLevel.Administrator, new CommandEventHandler( AddAllPoints_OnCommand ) ); Server.Commands.Register( "RemoveAllPoints", AccessLevel.Administrator, new CommandEventHandler( RemoveAllPoints_OnCommand ) ); Server.Commands.Register( "LeaderboardSave", AccessLevel.Administrator, new CommandEventHandler( LeaderboardSave_OnCommand ) ); |
QUOTE |
if (from.AccessLevel >= AccessLevel.GameMaster) { // add the last man standing challenge button AddLabel(x2 + 30, 190, 55, a.Text(200230)); // "LMS" AddButton(x2, 190, 0xFAB, 0xFAD, 401, GumpButtonType.Reply, 0); // add the deathmatch challenge button AddLabel(x3 + 30, 190, 55, a.Text(200231)); // "Deathmatch" AddButton(x3, 190, 0xFAB, 0xFAD, 403, GumpButtonType.Reply, 0); // add the kingofthehill challenge button AddLabel(x1 + 30, 215, 55, a.Text(200232)); // "KotH" AddButton(x1, 215, 0xFAB, 0xFAD, 404, GumpButtonType.Reply, 0); // add the deathball challenge button AddLabel(x2 + 30, 215, 55, a.Text(200233)); // "DeathBall" AddButton(x2, 215, 0xFAB, 0xFAD, 405, GumpButtonType.Reply, 0); // add the teamlms challenge button AddLabel(x3 + 30, 215, 55, a.Text(200234)); // "Team LMS" AddButton(x3, 215, 0xFAB, 0xFAD, 406, GumpButtonType.Reply, 0); // add the team deathmatch challenge button AddLabel(x1 + 30, 240, 55, a.Text(200235)); // "Team DMatch" AddButton(x1, 240, 0xFAB, 0xFAD, 407, GumpButtonType.Reply, 0); // add the team deathball challenge button AddLabel(x2 + 30, 240, 55, a.Text(200236)); // "Team DBall" AddButton(x2, 240, 0xFAB, 0xFAD, 408, GumpButtonType.Reply, 0); // add the team KotH challenge button AddLabel(x3 + 30, 240, 55, a.Text(200237)); // "Team KotH" AddButton(x3, 240, 0xFAB, 0xFAD, 409, GumpButtonType.Reply, 0); // add the CTF challenge button AddLabel(x1 + 30, 265, 55, a.Text(200238)); // "CTF" AddButton(x1, 265, 0xFAB, 0xFAD, 410, GumpButtonType.Reply, 0); } |
QUOTE (ArteGordon @ Jan 5 2006, 02:48 PM) |
yeah, control over starting and ending positions is on the list of things to do. Also, being able to disable spells, etc. by having regions settings that can be set by the game is on the list. You can easily change access to the games from player to staff only by changing the accesslevels on the commands in xmlpoints.cs |
QUOTE (ArteGordon @ Jan 5 2006, 08:48 PM) |
You can easily change access to the games from player to staff only by changing the accesslevels on the commands in xmlpoints.cs |
QUOTE (Messiah @ Jan 6 2006, 08:57 AM) | ||
I knew that I can do this way, but I thought, that maybe there is some sort of "1 variable control". It would be a sound idea to make 1 variable control of AccessLevel. You can include that in your next release, if you want... |
QUOTE (Messiah @ Jan 5 2006, 08:18 PM) |
Is it possible to set starting and ending points for teams in team match? And, I think, it would be great to randomize each player position within arena region (if set) in solo matches (deathmatch, etc.). |