This repository has been archived by the owner on Nov 24, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
start.bat
82 lines (76 loc) · 3.34 KB
/
start.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
@echo off
::Map list
set strMapList[0]=Canyon?Scenario=Scenario_Crossing_Checkpoint_Insurgents
set strMapList[1]=Canyon?Scenario=Scenario_Crossing_Checkpoint_Security
set strMapList[2]=Farmhouse?Scenario=Scenario_Farmhouse_Checkpoint_Insurgents
set strMapList[3]=Farmhouse?Scenario=Scenario_Farmhouse_Checkpoint_Security
set strMapList[4]=Mountain?Scenario=Scenario_Summit_Checkpoint_Insurgents
set strMapList[5]=Mountain?Scenario=Scenario_Summit_Checkpoint_Security
set strMapList[6]=OilField?Scenario=Scenario_Refinery_Checkpoint_Insurgents
set strMapList[7]=OilField?Scenario=Scenario_Refinery_Checkpoint_Security
set strMapList[8]=Precinct?Scenario=Scenario_Precinct_Checkpoint_Insurgents
set strMapList[9]=Precinct?Scenario=Scenario_Precinct_Checkpoint_Security
set strMapList[10]=Town?Scenario=Scenario_Hideout_Checkpoint_Insurgents
set strMapList[11]=Town?Scenario=Scenario_Hideout_Checkpoint_Security
set strMapList[12]=Compound?Scenario=Scenario_Outskirts_Checkpoint_Insurgents
set strMapList[13]=Compound?Scenario=Scenario_Outskirts_Checkpoint_Security
set strMapList[14]=Ministry?Scenario=Scenario_Ministry_Checkpoint_Insurgents
set strMapList[15]=Ministry?Scenario=Scenario_Ministry_Checkpoint_Security
set strMapList[16]=Sinjar?Scenario=Scenario_Hillside_Checkpoint_Insurgents
set strMapList[17]=Sinjar?Scenario=Scenario_Hillside_Checkpoint_Security
set strMapList[18]=PowerPlant?Scenario=Scenario_PowerPlant_Checkpoint_Insurgents
set strMapList[19]=PowerPlant?Scenario=Scenario_PowerPlant_Checkpoint_Security
::Gamemode (Please pick the right gamemode for the right map and comment out the rest with :: Some will only work with specific map)
::set strGameMode=Firefight
::set strGameMode=Frontline
::set strGameMode=Occupy
::set strGameMode=Skirmish
::set strGameMode=CaptureTheBase
::set strGameMode=TeamDeathmatch
::set strGameMode=Filming
::set strGameMode=Mission
set strGameMode=Checkpoint
::set strGameMode=CheckpointHardcore
::set strGameMode=CheckpointTutorial
::set strGameMode=Operations
::set strGameMode=Outpost
::set strGameMode=Domination
::Mutator list
::AllYouCanEat
::AntiMaterielRiflesOnly
::BoltActionsOnly
::Broke
::BulletSponge
::Competitive
::CompetitiveLoadouts
::FastMovement
::Frenzy
::Guerrillas
::Hardcore
::HeadshotOnly
::HotPotato
::LockedAim
::NoAim
::PistolsOnly
::ShotgunsOnly
::SlowCaptureTimes
::SlowMovement
::SoldierOfFortune
::SpecialOperations
::Strapped
::Ultralethal
::Vampirism
::Warlords
::Ruleset (Please pick one only and comment out the rest with :: Some might not work)
::Using Ruleset will override some of your game.ini config. Expect some config not to work
::set strRuleSet=CheckpointFrenzy
::set strRuleSet=CompetitiveFirefight
::set strRuleSet=CompetitiveTheater
::set strRuleSet=MatchmakingCasual
::set strRuleSet=OfficialRules
::RNG to pick random map
set /A nRng=%RANDOM% %%19
setlocal enableDelayedExpansion
set strMap=!strMapList[%nRng%]!
::GSLTToken from https://steamcommunity.com/dev/managegameservers with App ID 581320
Insurgency\Binaries\Win64\InsurgencyServer-Win64-Shipping.exe %strMap%?port=27102?queryport=27131?MaxPlayers=10?game=%strGameMode% -mutators=Hardcore,FastMovement -LogCmds="LogGameplayEvents Log" -log -AdminList=Admins -MapCycle=MapCycle -GameStats -GSLTToken=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX -EnableCheats -NoEAC -Mods ModList=Mods.txt