This commit is contained in:
parent
de2394bdc3
commit
2ec9c45a27
5 changed files with 26 additions and 65 deletions
39
.gitignore
vendored
39
.gitignore
vendored
|
|
@ -1,8 +1,6 @@
|
||||||
### Scala template
|
|
||||||
*.class
|
*.class
|
||||||
*.log
|
*.log
|
||||||
|
|
||||||
# sbt specific
|
|
||||||
.cache
|
.cache
|
||||||
.history
|
.history
|
||||||
.lib/
|
.lib/
|
||||||
|
|
@ -13,84 +11,51 @@ src_managed/
|
||||||
project/boot/
|
project/boot/
|
||||||
project/plugins/project/
|
project/plugins/project/
|
||||||
|
|
||||||
# Scala-IDE specific
|
|
||||||
.scala_dependencies
|
.scala_dependencies
|
||||||
.worksheet
|
.worksheet
|
||||||
### JetBrains template
|
|
||||||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio
|
|
||||||
|
|
||||||
*.iml
|
*.iml
|
||||||
|
|
||||||
## Directory-based project format:
|
|
||||||
.idea/
|
.idea/
|
||||||
# if you remove the above rule, at least ignore the following:
|
|
||||||
|
|
||||||
# User-specific stuff:
|
|
||||||
# .idea/workspace.xml
|
|
||||||
# .idea/tasks.xml
|
|
||||||
# .idea/dictionaries
|
|
||||||
|
|
||||||
# Sensitive or high-churn files:
|
|
||||||
# .idea/dataSources.ids
|
|
||||||
# .idea/dataSources.xml
|
|
||||||
# .idea/sqlDataSources.xml
|
|
||||||
# .idea/dynamic.xml
|
|
||||||
# .idea/uiDesigner.xml
|
|
||||||
|
|
||||||
# Gradle:
|
|
||||||
# .idea/gradle.xml
|
|
||||||
# .idea/libraries
|
|
||||||
|
|
||||||
# Mongo Explorer plugin:
|
|
||||||
# .idea/mongoSettings.xml
|
|
||||||
|
|
||||||
## File-based project format:
|
|
||||||
*.ipr
|
*.ipr
|
||||||
*.iws
|
*.iws
|
||||||
|
|
||||||
## Plugin-specific files:
|
|
||||||
|
|
||||||
# IntelliJ
|
|
||||||
/out/
|
/out/
|
||||||
|
|
||||||
# mpeltonen/sbt-idea plugin
|
|
||||||
.idea_modules/
|
.idea_modules/
|
||||||
|
|
||||||
# JIRA plugin
|
|
||||||
atlassian-ide-plugin.xml
|
atlassian-ide-plugin.xml
|
||||||
|
|
||||||
# Crashlytics plugin (for Android Studio and IntelliJ)
|
|
||||||
com_crashlytics_export_strings.xml
|
com_crashlytics_export_strings.xml
|
||||||
crashlytics.properties
|
crashlytics.properties
|
||||||
crashlytics-build.properties
|
crashlytics-build.properties
|
||||||
### Java template
|
|
||||||
*.class
|
*.class
|
||||||
|
|
||||||
# Mobile Tools for Java (J2ME)
|
|
||||||
.mtj.tmp/
|
.mtj.tmp/
|
||||||
|
|
||||||
# Package Files #
|
|
||||||
*.jar
|
*.jar
|
||||||
*.war
|
*.war
|
||||||
*.ear
|
*.ear
|
||||||
|
|
||||||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
|
||||||
hs_err_pid*
|
hs_err_pid*
|
||||||
### Linux template
|
|
||||||
*~
|
*~
|
||||||
|
|
||||||
# KDE directory preferences
|
|
||||||
.directory
|
.directory
|
||||||
|
|
||||||
# Linux trash folder which might appear on any partition or disk
|
|
||||||
.Trash-*
|
.Trash-*
|
||||||
|
|
||||||
# Created by .ignore support plugin (hsz.mobi)
|
|
||||||
.scalafmt.conf
|
.scalafmt.conf
|
||||||
|
|
||||||
#vscode settings
|
|
||||||
.vscode/
|
.vscode/
|
||||||
|
|
||||||
|
server.env
|
||||||
|
|
||||||
app
|
app
|
||||||
db
|
db
|
||||||
node_modules
|
node_modules
|
||||||
15
compose.yml
Normal file
15
compose.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
services:
|
||||||
|
sandstorm:
|
||||||
|
image: andrewmhub/insurgency-sandstorm:latest
|
||||||
|
container_name: sandstorm
|
||||||
|
restart: "no"
|
||||||
|
env_file:
|
||||||
|
- server.env
|
||||||
|
volumes:
|
||||||
|
- ./server-config/MapCycle.txt:/home/steam/steamcmd/sandstorm/Insurgency/Config/Server/MapCycle.txt:ro
|
||||||
|
- ./server-config/Game.ini:/home/steam/steamcmd/sandstorm/Insurgency/Saved/Config/LinuxServer/Game.ini:ro
|
||||||
|
ports:
|
||||||
|
- "192.168.1.112:10128:10128/udp"
|
||||||
|
- "192.168.1.112:10128:10128/tcp"
|
||||||
|
- "192.168.1.112:10142:10142/udp"
|
||||||
|
- "192.168.1.112:10142:10142/tcp"
|
||||||
|
|
@ -12,14 +12,8 @@ SupplyGainFrequency=99999
|
||||||
[/Script/Engine.GameNetworkManager]
|
[/Script/Engine.GameNetworkManager]
|
||||||
bMovementTimeDiscrepancyDetection=False
|
bMovementTimeDiscrepancyDetection=False
|
||||||
bMovementTimeDiscrepancyResolution=False
|
bMovementTimeDiscrepancyResolution=False
|
||||||
;There is a config option for “ClientAuthorativePosition” on the GameNetworkManager that changes the rules: the server will accept client movement as authoritative and not force a correction if it’s within a squared distance (MAXPOSITIONERRORSQUARED) from where the server last saw it.
|
|
||||||
;So in this case, the server would warp the character to where the client tried to move, and the client’s position is the authority. The server can still replicate movement to the client normally, this just handles rogue client movements.
|
|
||||||
;Can set True on COOP servers
|
|
||||||
ClientAuthorativePosition=True
|
ClientAuthorativePosition=True
|
||||||
;Average size of replicated move packet (ServerMove() packet size) in bytes from player contains client movement and view info
|
|
||||||
MoveRepSize=512.0f
|
MoveRepSize=512.0f
|
||||||
;is the bandwidth cost in bytes of sending a client adjustment update. 180 is greater than the actual cost, but represents a tweaked value reserving enough bandwidth for other updates sent to the client.
|
|
||||||
;Increase this value to reduce client adjustment update frequency, or if the amount of data sent in the clientadjustment() call increases
|
|
||||||
CLIENTADJUSTUPDATECOST=512.0f
|
CLIENTADJUSTUPDATECOST=512.0f
|
||||||
|
|
||||||
[/Script/Engine.GameSession]
|
[/Script/Engine.GameSession]
|
||||||
|
|
@ -29,60 +23,44 @@ MaxSpectators=0
|
||||||
[/Script/Insurgency.INSCoopMode]
|
[/Script/Insurgency.INSCoopMode]
|
||||||
MinimumEnemies=3
|
MinimumEnemies=3
|
||||||
MaximumEnemies=24
|
MaximumEnemies=24
|
||||||
|
EnemyBotDifficulty=0.7
|
||||||
|
|
||||||
MaxPlayersToScaleEnemyCount=10
|
MaxPlayersToScaleEnemyCount=10
|
||||||
bBotsUseHumanLoadouts=False
|
bBotsUseHumanLoadouts=False
|
||||||
bRestrictClassByPlayerLevel=True
|
bRestrictClassByPlayerLevel=True
|
||||||
|
|
||||||
[/ScaleBotAmount/Mutators/ScaleBotAmount.ScaleBotAmount_C]
|
[/ScaleBotAmount/Mutators/ScaleBotAmount.ScaleBotAmount_C]
|
||||||
;Enable enemy bot scale for bBots
|
|
||||||
bScaleBot=True
|
bScaleBot=True
|
||||||
|
|
||||||
;;Enemy bot scale base on your friendly bot too. Otherwise, just players
|
|
||||||
bScaleWithFriendlyBot=False
|
bScaleWithFriendlyBot=False
|
||||||
|
|
||||||
;;Your team will lose only if your whole team is dead (including friendly bot) with no reinforcement wave left
|
|
||||||
;;You will still lose if enemy recap your checkpoint because that part of the gamemode
|
|
||||||
bLoseWhenWholeTeamDead=True
|
bLoseWhenWholeTeamDead=True
|
||||||
|
|
||||||
[/AdvancedSupplyPoints/Mutators/AdvancedSupplyPoints.AdvancedSupplyPoints_C]
|
[/AdvancedSupplyPoints/Mutators/AdvancedSupplyPoints.AdvancedSupplyPoints_C]
|
||||||
;Players that captured the objective will get this amount of supply as a reward
|
|
||||||
ObjectiveCapturedSupply=7
|
ObjectiveCapturedSupply=7
|
||||||
;
|
|
||||||
;;Players that destroyed the objective will get this amount of supply as a reward
|
|
||||||
ObjectiveDestroyedSupply=7
|
ObjectiveDestroyedSupply=7
|
||||||
;
|
|
||||||
;;Everytime a round end, players in losing team will get this amount of supply point
|
|
||||||
RoundEndSupply=12
|
RoundEndSupply=12
|
||||||
;
|
|
||||||
;;Everytime a round end, players in winning team will get this amount of supply point
|
|
||||||
RoundEndWinningTeamSupply=7
|
RoundEndWinningTeamSupply=7
|
||||||
|
|
||||||
[/ImprovedAI/Mutators/ImprovedAI.ImprovedAI_C]
|
[/ImprovedAI/Mutators/ImprovedAI.ImprovedAI_C]
|
||||||
bEnableBotSkillCfg=True
|
bEnableBotSkillCfg=True
|
||||||
|
|
||||||
;Distance from this sound that we confirm our target is an enemy
|
|
||||||
HearAwareDistanceRadial=3000.0
|
HearAwareDistanceRadial=3000.0
|
||||||
HearAwareDistanceGunshot=5000.0
|
HearAwareDistanceGunshot=5000.0
|
||||||
HearAwareDistanceSprintFootstep=2000.0
|
HearAwareDistanceSprintFootstep=2000.0
|
||||||
|
|
||||||
;Distance from this sound that we can hear the target
|
|
||||||
HearDistanceFootstepsSprinting=2500.0
|
HearDistanceFootstepsSprinting=2500.0
|
||||||
HearDistanceFootstepsRunning=1000.0
|
HearDistanceFootstepsRunning=1000.0
|
||||||
|
|
||||||
;Time before we start attacking at close targets
|
|
||||||
AttackDelayClose=0.3
|
AttackDelayClose=0.3
|
||||||
|
|
||||||
;Time before we start attacking at distant targets
|
|
||||||
AttackDelayDistant=1.0
|
AttackDelayDistant=1.0
|
||||||
|
|
||||||
;Multiplier applied to spotting chance
|
|
||||||
ChanceSprintMultiplier=2.0
|
ChanceSprintMultiplier=2.0
|
||||||
ChangeMovingMultiplier=1.20
|
ChangeMovingMultiplier=1.20
|
||||||
|
|
||||||
AccuracyMultiplier=1.25
|
AccuracyMultiplier=1.25
|
||||||
|
|
||||||
;Multiply our spread by this much when fully suppressed
|
|
||||||
SuppressionAccuracyMultiplier=0.7
|
SuppressionAccuracyMultiplier=0.7
|
||||||
|
|
||||||
bFindCover=True
|
bFindCover=True
|
||||||
|
|
@ -93,16 +71,11 @@ bCustomBotNames=True
|
||||||
BotNameList=Mikee,Arc,DaraDef,AniCator,Guinevere,sswires,Circleus,John Doe,Jeroen,fatherHank
|
BotNameList=Mikee,Arc,DaraDef,AniCator,Guinevere,sswires,Circleus,John Doe,Jeroen,fatherHank
|
||||||
|
|
||||||
[/WelcomeMessage/Mutators/WelcomeMessage.WelcomeMessage_C]
|
[/WelcomeMessage/Mutators/WelcomeMessage.WelcomeMessage_C]
|
||||||
;Message to display to the client when they first spawn in
|
|
||||||
WelcomeMessage=%name%, Welcome to my server!/nEnjoy and have fun!
|
WelcomeMessage=%name%, Welcome to my server!/nEnjoy and have fun!
|
||||||
|
|
||||||
[/JoinLeaveMessage/Mutators/JoinLeaveMessage.JoinLeaveMessage_C]
|
[/JoinLeaveMessage/Mutators/JoinLeaveMessage.JoinLeaveMessage_C]
|
||||||
;Enable or disable join message
|
|
||||||
bEnableJoinMessage=True
|
bEnableJoinMessage=True
|
||||||
;;Message to appear when a player joins
|
|
||||||
JoinMessage=%name% has joined the game.
|
JoinMessage=%name% has joined the game.
|
||||||
|
|
||||||
;;Enable or disable leave message
|
|
||||||
bEnableLeaveMessage=True
|
bEnableLeaveMessage=True
|
||||||
;;Message to appear when a player leaves
|
|
||||||
LeaveMessage=%name% has left the game.
|
LeaveMessage=%name% has left the game.
|
||||||
|
|
|
||||||
3
server-config/Game.ini
Normal file
3
server-config/Game.ini
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
[/Script/Insurgency.INSMultiplayerMode]
|
||||||
|
bUseMapCycle=True
|
||||||
|
bMapVoting=True
|
||||||
5
server-config/MapCycle.txt
Normal file
5
server-config/MapCycle.txt
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
Scenario_Gap_Survival
|
||||||
|
Scenario_Forest_Survival
|
||||||
|
Scenario_Gap_Outpost
|
||||||
|
Scenario_Bab_Survival
|
||||||
|
Scenario_Bab_Outpost
|
||||||
Loading…
Reference in a new issue