102 lines
2.3 KiB
Lua
102 lines
2.3 KiB
Lua
GlobalConfigs = GlobalConfigs or {}
|
|
|
|
GlobalConfigs.DsDoOnce = true;
|
|
GlobalConfigs.IsDebug = true;
|
|
|
|
--- 游戏模式设置
|
|
GlobalConfigs.GameModeSetting = {
|
|
--- 队伍模式
|
|
TeamModeType = CustomEnum.ETeamMode.TeamSports;
|
|
--- 队伍所需玩家数
|
|
TeamNeedPlayerNum = 8;
|
|
--- 队伍数量
|
|
TeamNum = 2;
|
|
--- 最大玩家数量
|
|
MaxPlayerNum = 16;
|
|
--- 最小可玩人数
|
|
MinPlayerNum = 2;
|
|
|
|
}
|
|
|
|
|
|
--- 游戏设置
|
|
GlobalConfigs.GameSetting = {
|
|
-- 启用补人
|
|
EnablePlayerJoin = true,
|
|
-- 是否在游戏开始后还补人,延迟关闭补人
|
|
DelayClosePlayerJoin = 60;
|
|
|
|
|
|
|
|
-- 等待及选地图时间
|
|
WaitTime = 40;
|
|
-- 游戏时长
|
|
GameTime = 1200;
|
|
-- GameTime = 20;
|
|
-- 回合时间
|
|
RoundTime = 420;
|
|
--RoundTime = 40;
|
|
-- 最大回合数
|
|
MaxRound = 2;
|
|
-- 回合准备时间
|
|
RoundReadyTime = -1;
|
|
-- 目标比分
|
|
TargetTeamScore = 100;
|
|
|
|
|
|
|
|
|
|
-- 启用飘字
|
|
EnableInexactEnunciation = true;
|
|
-- 玩家重生时间
|
|
RespawnTime = 3.;
|
|
-- 无敌时间
|
|
InvincibleTime = 3.;
|
|
-- 自动返回大厅的时间
|
|
DelayReturnToLobbyTime = 20.;
|
|
-- 友伤比例
|
|
FriendlyInjuryRatio = 0.;
|
|
-- 启用自己的伤害如手雷、火箭筒
|
|
bEnableSelfHarm = true;
|
|
-- 对自己的伤害比例
|
|
SelfHarmInjuryRatio = 1.;
|
|
-- 近战伤害比例
|
|
MeleeDamageScale = 3.2;
|
|
-- 启用掉落伤害
|
|
bEnableDropDamage = true;
|
|
|
|
-- 启用死亡视角
|
|
EnableLerpCamera = false;
|
|
|
|
|
|
|
|
-- 等待客户端地图加载时间
|
|
ClientLoadMapTime = 2.;
|
|
-- 地图结束投票时随机滚动选择投票地图是时间
|
|
RollMapTime = 4.;
|
|
-- 武器选择时间
|
|
WeaponSelectTime = 30;
|
|
-- 重选武器显示的时间
|
|
ReselectWeapon = 15;
|
|
|
|
-- 可以自定义武器
|
|
CanCustomWeapon = true;
|
|
|
|
-- 启用全局呼吸回血
|
|
EnableGlobalRespiratoryRegurgitation = true;
|
|
}
|
|
|
|
-- 工程内的设置
|
|
GlobalConfigs.ProjectSetting = {
|
|
-- 突围次数
|
|
BreakThroughMaxCount = 8;
|
|
--BreakThroughMaxCount = 2;
|
|
-- 防线路径
|
|
LineOfDefensePath = UGCGameSystem.GetUGCResourcesFullPath('Asset/Blueprint/SceneActor/PlaceMode/BP_LineOfDefense.BP_LineOfDefense_C');
|
|
-- 显示进攻方距离的范围 m
|
|
ShowAttackerRange = 30;
|
|
-- 突围冷却时间
|
|
BreakThroughCoolingTime = 5;
|
|
}
|
|
|
|
return GlobalConfigs |