mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-04-29 07:25:25 +00:00
Annotations update
This commit is contained in:
parent
3c4bb7ac87
commit
ac20f70b98
9 changed files with 87 additions and 56 deletions
|
|
@ -1,7 +1,13 @@
|
||||||
// Amount of players needed on server for CloakPack to be banned/unbanned
|
// AntiCloak Script
|
||||||
//
|
//
|
||||||
|
// Amount of players needed on server for CloakPack to be banned/unbanned
|
||||||
|
// This is useful for low numbers
|
||||||
|
//
|
||||||
|
// Enable/Disable the feature
|
||||||
// $Host::AntiCloakEnable = 1;
|
// $Host::AntiCloakEnable = 1;
|
||||||
|
// When you would like for it to deactivate
|
||||||
// $Host::AntiCloakPlayerCount = 6;
|
// $Host::AntiCloakPlayerCount = 6;
|
||||||
|
//
|
||||||
|
|
||||||
// Called in GetCounts.cs
|
// Called in GetCounts.cs
|
||||||
function ActivateAntiCloak( %game )
|
function ActivateAntiCloak( %game )
|
||||||
|
|
@ -54,7 +60,7 @@ function ActivateAntiCloak( %game )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//So if the player is able to get a cloakpack, he cant use it
|
// So if the player is able to get a cloakpack, he cant use it
|
||||||
package DisableCloakPack
|
package DisableCloakPack
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
// AntiTurret Script
|
||||||
|
//
|
||||||
|
// Turrets are disabled until threshold is reached
|
||||||
|
//
|
||||||
// Amount of players on a team to enable turrets
|
// Amount of players on a team to enable turrets
|
||||||
// $Host::EnableTurretPlayerCount = 10;
|
// $Host::EnableTurretPlayerCount = 10;
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,67 +1,72 @@
|
||||||
//Random Set Next Mission maps
|
// Get Random Maps Script
|
||||||
//Runs for SetNextMisssion (Random) and Map Repetition Checker
|
//
|
||||||
|
// Used by the Set Next Mission feature
|
||||||
|
//
|
||||||
|
// Random Set Next Mission maps
|
||||||
|
// Runs for SetNextMisssion (Random) and Map Repetition Checker
|
||||||
|
// Randomizes the maps available in the admin menu
|
||||||
//
|
//
|
||||||
|
|
||||||
//This file is present
|
// This file is present
|
||||||
$GetRandomMapsLoaded = true;
|
$GetRandomMapsLoaded = true;
|
||||||
|
|
||||||
//Map pool
|
// Map pool
|
||||||
//
|
//
|
||||||
//CTF
|
// CTF
|
||||||
//
|
//
|
||||||
//1-5
|
// 1-5
|
||||||
$RandomMapPick1 = "SmallCrossing"; $RandomMapPick2 = "OasisIntensity"; $RandomMapPick3 = "Blink"; $RandomMapPick4 = "SmallTimeCTF"; $RandomMapPick5 = "ArenaDome";
|
$RandomMapPick1 = "SmallCrossing"; $RandomMapPick2 = "OasisIntensity"; $RandomMapPick3 = "Blink"; $RandomMapPick4 = "SmallTimeCTF"; $RandomMapPick5 = "ArenaDome";
|
||||||
//6-10
|
// 6-10
|
||||||
$RandomMapPick6 = "HighOctane"; $RandomMapPick7 = "S5_Damnation"; $RandomMapPick8 = "TWL_Feign"; $RandomMapPick9 = "TWL2_Skylight"; $RandomMapPick10 = "Prismatic";
|
$RandomMapPick6 = "HighOctane"; $RandomMapPick7 = "S5_Damnation"; $RandomMapPick8 = "TWL_Feign"; $RandomMapPick9 = "TWL2_Skylight"; $RandomMapPick10 = "Prismatic";
|
||||||
//11-15
|
// 11-15
|
||||||
$RandomMapPick11 = "Dire"; $RandomMapPick12 = "TWL2_JaggedClaw"; $RandomMapPick13 = "TWL2_Hildebrand"; $RandomMapPick14 = "TWL_WilderZone"; $RandomMapPick15 = "TWL_Stonehenge";
|
$RandomMapPick11 = "Dire"; $RandomMapPick12 = "TWL2_JaggedClaw"; $RandomMapPick13 = "TWL2_Hildebrand"; $RandomMapPick14 = "TWL_WilderZone"; $RandomMapPick15 = "TWL_Stonehenge";
|
||||||
//16-20
|
// 16-20
|
||||||
$RandomMapPick16 = "TWL2_Ocular"; $RandomMapPick17 = "S8_Opus"; $RandomMapPick18 = "Mirage"; $RandomMapPick19 = "DangerousCrossing_nef"; $RandomMapPick20 = "S5_Massive";
|
$RandomMapPick16 = "TWL2_Ocular"; $RandomMapPick17 = "S8_Opus"; $RandomMapPick18 = "Mirage"; $RandomMapPick19 = "DangerousCrossing_nef"; $RandomMapPick20 = "S5_Massive";
|
||||||
//21-25
|
// 21-25
|
||||||
$RandomMapPick21 = "TheFray"; $RandomMapPick22 = "RoundTheMountain"; $RandomMapPick23 = "S5_Mordacity"; $RandomMapPick24 = "TWL2_CanyonCrusadeDeluxe"; $RandomMapPick25 = "Signal";
|
$RandomMapPick21 = "TheFray"; $RandomMapPick22 = "RoundTheMountain"; $RandomMapPick23 = "S5_Mordacity"; $RandomMapPick24 = "TWL2_CanyonCrusadeDeluxe"; $RandomMapPick25 = "Signal";
|
||||||
//26-30
|
// 26-30
|
||||||
$RandomMapPick26 = "S8_Cardiac"; $RandomMapPick27 = "CirclesEdge"; $RandomMapPick28 = "S5_Icedance"; $RandomMapPick29 = "Bulwark"; $RandomMapPick30 = "Discord";
|
$RandomMapPick26 = "S8_Cardiac"; $RandomMapPick27 = "CirclesEdge"; $RandomMapPick28 = "S5_Icedance"; $RandomMapPick29 = "Bulwark"; $RandomMapPick30 = "Discord";
|
||||||
//31-35
|
// 31-35
|
||||||
$RandomMapPick31 = "MoonDance"; $RandomMapPick32 = "Rollercoaster_nef"; $RandomMapPick33 = "Logans_Run"; $RandomMapPick34 = "TWL_BeachBlitz"; $RandomMapPick35 = "TWL2_FrozenGlory";
|
$RandomMapPick31 = "MoonDance"; $RandomMapPick32 = "Rollercoaster_nef"; $RandomMapPick33 = "Logans_Run"; $RandomMapPick34 = "TWL_BeachBlitz"; $RandomMapPick35 = "TWL2_FrozenGlory";
|
||||||
//36-40
|
// 36-40
|
||||||
$RandomMapPick36 = "CircleofStones"; $RandomMapPick37 = "TitanV"; $RandomMapPick38 = "TWL_Katabatic"; $RandomMapPick39 = "TWL2_Magnum"; $RandomMapPick40 = "Fenix";
|
$RandomMapPick36 = "CircleofStones"; $RandomMapPick37 = "TitanV"; $RandomMapPick38 = "TWL_Katabatic"; $RandomMapPick39 = "TWL2_Magnum"; $RandomMapPick40 = "Fenix";
|
||||||
//
|
//
|
||||||
//LakRabbit
|
// LakRabbit
|
||||||
//
|
//
|
||||||
//1-3
|
// 1-3
|
||||||
$LakRandomMapPick1 = "VaubanLak"; $LakRandomMapPick2 = "MiniSunDried"; $LakRandomMapPick3 = "TitaniaLak";
|
$LakRandomMapPick1 = "VaubanLak"; $LakRandomMapPick2 = "MiniSunDried"; $LakRandomMapPick3 = "TitaniaLak";
|
||||||
//4-6
|
// 4-6
|
||||||
$LakRandomMapPick4 = "DesertofDeathLak"; $LakRandomMapPick5 = "Sundance"; $LakRandomMapPick6 = "SunDriedLak";
|
$LakRandomMapPick4 = "DesertofDeathLak"; $LakRandomMapPick5 = "Sundance"; $LakRandomMapPick6 = "SunDriedLak";
|
||||||
//7-9
|
// 7-9
|
||||||
$LakRandomMapPick7 = "SkinnyDipLak"; $LakRandomMapPick8 = "LushLak"; $LakRandomMapPick9 = "InfernusLak";
|
$LakRandomMapPick7 = "SkinnyDipLak"; $LakRandomMapPick8 = "LushLak"; $LakRandomMapPick9 = "InfernusLak";
|
||||||
//10-12
|
// 10-12
|
||||||
$LakRandomMapPick10 = "Arrakis"; $LakRandomMapPick11 = "BoxLak"; $LakRandomMapPick12 = "TreasureIslandLak";
|
$LakRandomMapPick10 = "Arrakis"; $LakRandomMapPick11 = "BoxLak"; $LakRandomMapPick12 = "TreasureIslandLak";
|
||||||
//13-15
|
// 13-15
|
||||||
$LakRandomMapPick13 = "Raindance_nefLak"; $LakRandomMapPick14 = "SaddiesHill"; $LakRandomMapPick15 = "TWL_BeachBlitzLak";
|
$LakRandomMapPick13 = "Raindance_nefLak"; $LakRandomMapPick14 = "SaddiesHill"; $LakRandomMapPick15 = "TWL_BeachBlitzLak";
|
||||||
//16-18
|
// 16-18
|
||||||
$LakRandomMapPick16 = "PhasmaDustLak"; $LakRandomMapPick17 = "TibbawLak"; $LakRandomMapPick18 = "HavenLak";
|
$LakRandomMapPick16 = "PhasmaDustLak"; $LakRandomMapPick17 = "TibbawLak"; $LakRandomMapPick18 = "HavenLak";
|
||||||
//19-21
|
// 19-21
|
||||||
$LakRandomMapPick19 = "Crater71Lak"; $LakRandomMapPick20 = "SolsDescentLak"; $LakRandomMapPick21 = "FrozenFuryLak";
|
$LakRandomMapPick19 = "Crater71Lak"; $LakRandomMapPick20 = "SolsDescentLak"; $LakRandomMapPick21 = "FrozenFuryLak";
|
||||||
//22-24
|
// 22-24
|
||||||
$LakRandomMapPick22 = "CankerLak"; $LakRandomMapPick23 = "S8_GeothermalLak"; $LakRandomMapPick24 = "DustRunLak";
|
$LakRandomMapPick22 = "CankerLak"; $LakRandomMapPick23 = "S8_GeothermalLak"; $LakRandomMapPick24 = "DustRunLak";
|
||||||
//
|
//
|
||||||
//LCTF
|
// LCTF
|
||||||
//
|
//
|
||||||
//1-5
|
// 1-5
|
||||||
$LCTFRandomMapPick1 = "BastardForgeLT"; $LCTFRandomMapPick2 = "FirestormLT"; $LCTFRandomMapPick3 = "DangerousCrossingLT"; $LCTFRandomMapPick4 = "S5_DamnationLT"; $LCTFRandomMapPick5 = "TenebrousCTF";
|
$LCTFRandomMapPick1 = "BastardForgeLT"; $LCTFRandomMapPick2 = "FirestormLT"; $LCTFRandomMapPick3 = "DangerousCrossingLT"; $LCTFRandomMapPick4 = "S5_DamnationLT"; $LCTFRandomMapPick5 = "TenebrousCTF";
|
||||||
//6-10
|
// 6-10
|
||||||
$LCTFRandomMapPick6 = "SmallCrossingLT"; $LCTFRandomMapPick7 = "CirclesEdgeLT"; $LCTFRandomMapPick8 = "TheFray"; $LCTFRandomMapPick9 = "SignalLT"; $LCTFRandomMapPick10 = "StarFallLT";
|
$LCTFRandomMapPick6 = "SmallCrossingLT"; $LCTFRandomMapPick7 = "CirclesEdgeLT"; $LCTFRandomMapPick8 = "TheFray"; $LCTFRandomMapPick9 = "SignalLT"; $LCTFRandomMapPick10 = "StarFallLT";
|
||||||
//11-15
|
// 11-15
|
||||||
$LCTFRandomMapPick11 = "DireLT"; $LCTFRandomMapPick12 = "S5_Icedance"; $LCTFRandomMapPick13 = "TWL2_HildebrandLT"; $LCTFRandomMapPick14 = "TWL2_CanyonCrusadeDeluxeLT"; $LCTFRandomMapPick15 = "TWL2_FrozenHopeLT";
|
$LCTFRandomMapPick11 = "DireLT"; $LCTFRandomMapPick12 = "S5_Icedance"; $LCTFRandomMapPick13 = "TWL2_HildebrandLT"; $LCTFRandomMapPick14 = "TWL2_CanyonCrusadeDeluxeLT"; $LCTFRandomMapPick15 = "TWL2_FrozenHopeLT";
|
||||||
//16-20
|
// 16-20
|
||||||
$LCTFRandomMapPick16 = "RoundTheMountainLT"; $LCTFRandomMapPick17 = "Blink"; $LCTFRandomMapPick18 = "TWL2_SkylightLT"; $LCTFRandomMapPick19 = "TWL_BeachBlitzLT"; $LCTFRandomMapPick20 = "S5_MassiveLT";
|
$LCTFRandomMapPick16 = "RoundTheMountainLT"; $LCTFRandomMapPick17 = "Blink"; $LCTFRandomMapPick18 = "TWL2_SkylightLT"; $LCTFRandomMapPick19 = "TWL_BeachBlitzLT"; $LCTFRandomMapPick20 = "S5_MassiveLT";
|
||||||
//21-25
|
// 21-25
|
||||||
$LCTFRandomMapPick21 = "S5_Mimicry"; $LCTFRandomMapPick22 = "S5_SilenusLT"; $LCTFRandomMapPick23 = "S5_Mordacity"; $LCTFRandomMapPick24 = "S5_Woodymyrk"; $LCTFRandomMapPick25 = "S8_Cardiac";
|
$LCTFRandomMapPick21 = "S5_Mimicry"; $LCTFRandomMapPick22 = "S5_SilenusLT"; $LCTFRandomMapPick23 = "S5_Mordacity"; $LCTFRandomMapPick24 = "S5_Woodymyrk"; $LCTFRandomMapPick25 = "S8_Cardiac";
|
||||||
//26-30
|
// 26-30
|
||||||
$LCTFRandomMapPick26 = "S8_Opus"; $LCTFRandomMapPick27 = "TWL2_Celerity"; $LCTFRandomMapPick28 = "TWL2_Crevice"; $LCTFRandomMapPick29 = "S5_HawkingHeat"; $LCTFRandomMapPick30 = "TWL2_MidnightMayhemDeluxe";
|
$LCTFRandomMapPick26 = "S8_Opus"; $LCTFRandomMapPick27 = "TWL2_Celerity"; $LCTFRandomMapPick28 = "TWL2_Crevice"; $LCTFRandomMapPick29 = "S5_HawkingHeat"; $LCTFRandomMapPick30 = "TWL2_MidnightMayhemDeluxe";
|
||||||
//31-35
|
// 31-35
|
||||||
$LCTFRandomMapPick31 = "Discord"; $LCTFRandomMapPick32 = "Bulwark"; $LCTFRandomMapPick33 = "ArenaDome"; $LCTFRandomMapPick34 = "SmallTimeLT"; $LCTFRandomMapPick35 = "RaindanceLT";
|
$LCTFRandomMapPick31 = "Discord"; $LCTFRandomMapPick32 = "Bulwark"; $LCTFRandomMapPick33 = "ArenaDome"; $LCTFRandomMapPick34 = "SmallTimeLT"; $LCTFRandomMapPick35 = "RaindanceLT";
|
||||||
//36-40
|
// 36-40
|
||||||
$LCTFRandomMapPick36 = "TWL_OsIris"; $LCTFRandomMapPick37 = "TWL_Damnation"; $LCTFRandomMapPick38 = "Headstone"; $LCTFRandomMapPick39 = "BeggarsRunLT"; $LCTFRandomMapPick40 = "Berlard";
|
$LCTFRandomMapPick36 = "TWL_OsIris"; $LCTFRandomMapPick37 = "TWL_Damnation"; $LCTFRandomMapPick38 = "Headstone"; $LCTFRandomMapPick39 = "BeggarsRunLT"; $LCTFRandomMapPick40 = "Berlard";
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,12 @@
|
||||||
//Enable or Disable
|
// No Base Rape Notify Script
|
||||||
//$Host::EnableNoBaseRapeNotify = 1;
|
//
|
||||||
|
// Notifys clients if NoBase rape is on or off.
|
||||||
|
//
|
||||||
|
// Enable or Disable
|
||||||
|
// $Host::EnableNoBaseRapeNotify = 1;
|
||||||
//
|
//
|
||||||
|
|
||||||
//Notifys the user if NoBase rape is on or off.
|
// Called in GetTeamCounts.cs
|
||||||
function NBRStatusNotify( %game )
|
function NBRStatusNotify( %game )
|
||||||
{
|
{
|
||||||
if( $CurrentMissionType $= "CTF" && $Host::EnableNoBaseRapeNotify && !$Host::TournamentMode && $Host::EvoNoBaseRapeEnabled )
|
if( $CurrentMissionType $= "CTF" && $Host::EnableNoBaseRapeNotify && !$Host::TournamentMode && $Host::EvoNoBaseRapeEnabled )
|
||||||
|
|
@ -28,16 +32,16 @@ function NBRStatusNotify( %game )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//This function is at DefaultGame::gameOver(%game) CTFGame.cs
|
// This function is at DefaultGame::gameOver(%game) CTFGame.cs
|
||||||
//Resets the client NotifyCount when the mission ends
|
// Resets the client NotifyCount when the mission ends
|
||||||
function ResetNBRNotify()
|
function ResetNBRNotify()
|
||||||
{
|
{
|
||||||
$NoBaseRapeNotifyCount = -1;
|
$NoBaseRapeNotifyCount = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
//This function is at StaticShapeData::damageObject(%data, %targetObject, %sourceObject, %position, %amount, %damageType)
|
// This function is at StaticShapeData::damageObject(%data, %targetObject, %sourceObject, %position, %amount, %damageType)
|
||||||
//In the staticshape.ovl in evoClassic.vl2
|
// In the staticshape.ovl in evoClassic.vl2
|
||||||
//Plays a sound when a player hits a protected asset
|
// Plays a sound when a player hits a protected asset
|
||||||
function NBRAssetSound( %game, %sourceObject )
|
function NBRAssetSound( %game, %sourceObject )
|
||||||
{
|
{
|
||||||
%client = %sourceObject;
|
%client = %sourceObject;
|
||||||
|
|
@ -51,7 +55,7 @@ function NBRAssetSound( %game, %sourceObject )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Cool down between messeges
|
// Cool down between messages
|
||||||
function ResetNBRAssetSound( %client )
|
function ResetNBRAssetSound( %client )
|
||||||
{
|
{
|
||||||
%client.NBRAssetSoundMsgPlayed = false;
|
%client.NBRAssetSoundMsgPlayed = false;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
// Made as a preventitive measure to ensure no rapid observer/spawning
|
// Observer Cooldown Script
|
||||||
//
|
//
|
||||||
|
// Made as a preventative measure to ensure no rapid observer/spawning
|
||||||
|
// Limits how fast a client can spawn and go to observer
|
||||||
//
|
//
|
||||||
|
|
||||||
package ObserverTimeout
|
package ObserverTimeout
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
//Various Overrides
|
// Taco Overrides Script
|
||||||
|
//
|
||||||
|
// Various Overrides
|
||||||
//
|
//
|
||||||
|
|
||||||
package TacoOverrides
|
package TacoOverrides
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,14 @@
|
||||||
//Timed Server reset
|
// Timed Server Reset Script
|
||||||
//Reset Server after a certain time
|
|
||||||
//
|
//
|
||||||
//Time in Minutes
|
// Reset Server after a certain time
|
||||||
|
// after the last client leaves
|
||||||
|
//
|
||||||
|
// Time in Minutes
|
||||||
// $Host::EmptyServerResetTime = 120;
|
// $Host::EmptyServerResetTime = 120;
|
||||||
//To control whether the server auto resets when empty
|
// To control whether the server auto resets when empty
|
||||||
// $Host::EmptyServerReset = 1;
|
// $Host::EmptyServerReset = 1;
|
||||||
|
|
||||||
//Changed in evo Server.ovl
|
// Changed in evo Server.ovl
|
||||||
//
|
//
|
||||||
//function GameConnection::onDrop(%client, %reason)
|
//function GameConnection::onDrop(%client, %reason)
|
||||||
//{
|
//{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,10 @@
|
||||||
|
// Vote OverTime Script
|
||||||
|
//
|
||||||
|
// Dont allow the match to end if a time vote is pending
|
||||||
|
|
||||||
|
|
||||||
//Changes were also made in the Evo Admin.ovl and DefaultGame.ovl
|
//Changes were also made in the Evo Admin.ovl and DefaultGame.ovl
|
||||||
//DefaultGame::voteChangeMission, DefaultGame::voteChangeTimeLimit, serverCmdStartNewVote
|
//DefaultGame::voteChangeMission, DefaultGame::voteChangeTimeLimit, serverCmdStartNewVote
|
||||||
|
|
||||||
package VoteOverTime
|
package VoteOverTime
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,12 @@
|
||||||
//Make a sound every so seconds to make sure everyone votes
|
// VoteSound Script
|
||||||
//
|
//
|
||||||
//Enable or Disable VoteSound
|
// Make a sound every so seconds to make sure everyone votes
|
||||||
//$Host::EnableVoteSound = 1;
|
|
||||||
//
|
//
|
||||||
//%VotesoundRandom must match $VoteSoundRandom to prevent duplicate messages
|
// Enable or Disable VoteSound
|
||||||
//$VoteSoundRandom is generated everytime a vote starts and if it doesnt match an ongoing schedule does not play.
|
// $Host::EnableVoteSound = 1;
|
||||||
|
//
|
||||||
|
// %VotesoundRandom must match $VoteSoundRandom to prevent duplicate messages
|
||||||
|
// $VoteSoundRandom is generated everytime a vote starts and if it doesnt match an ongoing schedule does not play.
|
||||||
|
|
||||||
function VoteSound( %game, %typename, %arg1, %arg2, %VoteSoundRandom )
|
function VoteSound( %game, %typename, %arg1, %arg2, %VoteSoundRandom )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue