Skip to content

Commit

Permalink
24-5月版本 Test Beta 1.0上线
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasylidong committed May 4, 2024
1 parent 3165813 commit 718376c
Show file tree
Hide file tree
Showing 20 changed files with 61 additions and 16 deletions.
4 changes: 4 additions & 0 deletions addons/sourcemod/configs/annehappy.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
{
"message" "最新版本"
}
"exec vote/Anne/Anne23-1.cfg"
{
"message" "23-1月版本"
}
"exec vote/Anne/Anne22-12.cfg"
{
"message" "22-12月版本"
Expand Down
11 changes: 11 additions & 0 deletions addons/sourcemod/configs/annehappy_hardcore.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@
"message" "服务器端重启"
}
}
"Anne版本选择"
{
"sm_fm AnneHappy"
{
"message" "最新版本"
}
"exec vote/Anne/Anne23-1.cfg"
{
"message" "23-1月版本"
}
}
"特感数量"
{
"exec vote/normal/AnneHappy1.cfg"
Expand Down
11 changes: 11 additions & 0 deletions addons/sourcemod/configs/multiplayermode.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@
"message" "服务器端重启"
}
}
"Anne版本选择"
{
"sm_fm AnneHappy"
{
"message" "最新版本"
}
"exec vote/Anne/Anne23-1.cfg"
{
"message" "23-1月版本"
}
}
"多人运动"
{
"exec sourcemod/duoren_off.cfg"
Expand Down
Binary file modified addons/sourcemod/plugins/optional/AnneHappy/infected_control.smx
Binary file not shown.
Binary file not shown.
18 changes: 9 additions & 9 deletions addons/sourcemod/scripting/AnneHappy/infected_control.sp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public void OnPluginStart()
g_hEnableSIoption = CreateConVar("inf_EnableSIoption", "63", "启用生成的特感类型,1 smoker 2 boomer 4 hunter 8 spitter 16 jockey 32 charger,把你想要生成的特感值加起来", CVAR_FLAG, true, 0.0, true, 63.0);
g_hAllChargerMode = CreateConVar("inf_AllChargerMode", "0", "是否是全牛模式", CVAR_FLAG, true, 0.0, true, 1.0);
g_hAllHunterMode = CreateConVar("inf_AllHunterMode", "0", "是否是全猎人模式", CVAR_FLAG, true, 0.0, true, 1.0);
g_hAntiBaitMode = CreateConVar("inf_AntiBaitMode", "1", "是否开启诱饵模式", CVAR_FLAG, true, 0.0, true, 1.0);
g_hAntiBaitMode = CreateConVar("inf_AntiBaitMode", "0", "是否开启诱饵模式", CVAR_FLAG, true, 0.0, true, 1.0);
g_hBaitFlow = CreateConVar("inf_BaitFlow", "3.0", "一个刷特回合推进进度如果小于这个数值会被判定为消极定点对抗(无tank)情况,可设置值为(1-10)", CVAR_FLAG, true, 0.0, true, 10.0);
//g_hSIAttackIntent = CreateConVar("inf_SIAttackIntent", "0.48", "如果生还者紧张度低于这个值,没有特殊情况下会提前刷新特感", CVAR_FLAG, true, 0.0, true, 10.0);
g_hAutoSpawnTimeControl = CreateConVar("inf_EnableAutoSpawnTime", "1", "是否开启自动设置增加时间", CVAR_FLAG, true, 0.0, true, 1.0);
Expand Down Expand Up @@ -1127,10 +1127,10 @@ Action CheckShouldSpawnOrNot(Handle timer)
}
else
SpawnCommonInfect(20);
UnPauseTimer(g_fSiInterval / 2);
UnPauseTimer(RoundToFloor(g_fSiInterval / 3) + 2.0);
g_iLadderBaitTimeCheckTime = -1;
#if TESTBUG
Debug_Print("靠近梯子Bait检测,刷尸潮,%d秒后刷特", RoundToFloor(g_fSiInterval / 2));
Debug_Print("靠近梯子Bait检测,刷尸潮,%d秒后刷特", RoundToFloor((g_fSiInterval / 3) + 2));
#endif
}
}
Expand All @@ -1141,27 +1141,27 @@ Action CheckShouldSpawnOrNot(Handle timer)
#if TESTBUG
Debug_Print("停刷,但是开始偷偷刷小僵尸,当前是第%d次检测", g_iBaitTimeCheckTime);
#endif
if(g_iBaitTimeCheckTime < RoundToFloor(g_fSiInterval / 3) + 2)
if(g_iBaitTimeCheckTime < RoundToFloor(g_fSiInterval / 2) + 2)
{
if(g_hSpawnProcess != INVALID_HANDLE)
PauseTimer();
SpawnCommonInfect(3);
SpawnCommonInfect(2);
}
else
{
UnPauseTimer(g_fSiInterval / 2);
SpawnCommonInfect(20);
UnPauseTimer((g_fSiInterval / 3) + 2.0);
SpawnCommonInfect(10);
#if TESTBUG
Debug_Print("停刷,停刷超过%ds, 偷刷10个小僵尸,继续刷特", g_iBaitTimeCheckTime);
#endif
g_iBaitTimeCheckTime = -1;
}
}
}
//超过设定射箭3/2,强制4秒后刷特
//超过设定射箭1.8倍,强制2秒后刷特
if(g_iLastSpawnTime >= RoundToFloor(g_fSiInterval * 1.8) && g_hSpawnProcess == INVALID_HANDLE)
{
UnPauseTimer(4.0);
UnPauseTimer(2.0);
}
// 如果有停刷值大于0,而且刷特进程等于无效句柄,就继续检测,停刷
if((g_iBaitTimeCheckTime > 0 || g_iLadderBaitTimeCheckTime > 0 ) && g_hSpawnProcess == INVALID_HANDLE)return Plugin_Continue;
Expand Down
2 changes: 1 addition & 1 deletion cfg/cfgogl/allcharger/confogl_plugins.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ sm_cvar z_mob_spawn_max_size 15
exec vote/normal/AnneHappy6.cfg
exec vote/duoren/duoren4.cfg
sm_cvar ai_Tank_Bhop 1
sm_cvar AnnePluginVersion 2023-01
sm_cvar AnnePluginVersion 2024-05
sm_cvar inf_EnableAutoSpawnTime 1 //是否开启自动设置增加时间
sm_cvar versus_round_restarttimer 2
sm_cvar versus_round_restarttimer_finale 2
Expand Down
1 change: 1 addition & 0 deletions cfg/cfgogl/allcharger/shared_settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ confogl_addcvar inf_IgnoreIncappedSurvivorSight 1 //关闭高特或者多人运
confogl_addcvar inf_AddDamageToSmoker 0
confogl_addcvar inf_TeleportDistance 600.0
//confogl_addcvar l4d_infected_limit 6
confogl_addcvar inf_AntiBaitMode 1

//[l4d2_ai_damagefix.smx]
confogl_addcvar sm_aidmgfix_enable 3
Expand Down
2 changes: 1 addition & 1 deletion cfg/cfgogl/alone/confogl_plugins.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ exec vote/normal/AnneHappy4.cfg
exec vote/Anneduoren/duoren1.cfg
sm_cvar inf_SpawnDistanceMin 600
sm_cvar ai_Tank_Bhop 0
sm_cvar AnnePluginVersion 2023-01
sm_cvar AnnePluginVersion 2024-05
sm_cvar inf_EnableAutoSpawnTime 1 //是否开启自动设置增加时间
sm_cvar versus_round_restarttimer 2
sm_cvar versus_round_restarttimer_finale 2
Expand Down
1 change: 1 addition & 0 deletions cfg/cfgogl/alone/shared_settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ confogl_addcvar inf_IgnoreIncappedSurvivorSight 1 //关闭高特或者多人运
confogl_addcvar inf_AddDamageToSmoker 1
confogl_addcvar inf_TeleportDistance 600.0
//confogl_addcvar l4d_infected_limit 6
confogl_addcvar inf_AntiBaitMode 0

//[l4d2_ai_damagefix.smx]
confogl_addcvar sm_aidmgfix_enable 3
Expand Down
2 changes: 1 addition & 1 deletion cfg/cfgogl/annehappy/confogl_plugins.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ sm_cvar z_mob_spawn_max_size 15
exec vote/normal/AnneHappy6.cfg
exec vote/Anneduoren/duoren4.cfg
sm_cvar ai_Tank_Bhop 1
sm_cvar AnnePluginVersion 2023-01
sm_cvar AnnePluginVersion 2024-05
sm_cvar inf_EnableAutoSpawnTime 1 //是否开启自动设置增加时间
sm_cvar versus_round_restarttimer 2
sm_cvar versus_round_restarttimer_finale 2
Expand Down
1 change: 1 addition & 0 deletions cfg/cfgogl/annehappy/shared_settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ confogl_addcvar inf_IgnoreIncappedSurvivorSight 1 //关闭高特或者多人运
confogl_addcvar inf_AddDamageToSmoker 0
confogl_addcvar inf_TeleportDistance 600.0
//confogl_addcvar l4d_infected_limit 6
confogl_addcvar inf_AntiBaitMode 1

//[l4d2_ai_damagefix.smx]
confogl_addcvar sm_aidmgfix_enable 3
Expand Down
2 changes: 1 addition & 1 deletion cfg/cfgogl/annehappy_hardcore/confogl_plugins.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ sm_cvar z_mob_spawn_max_size 15
exec vote/hardcore/AnneHappy6.cfg
exec vote/Anneduoren/duoren4.cfg
sm_cvar ai_Tank_Bhop 1
sm_cvar AnnePluginVersion 2023-01
sm_cvar AnnePluginVersion 2024-05
sm_cvar inf_EnableAutoSpawnTime 1 //是否开启自动设置增加时间
sm_cvar versus_round_restarttimer 2
sm_cvar versus_round_restarttimer_finale 2
Expand Down
1 change: 1 addition & 0 deletions cfg/cfgogl/annehappy_hardcore/shared_settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ confogl_addcvar inf_IgnoreIncappedSurvivorSight 1 //关闭高特或者多人运
confogl_addcvar inf_AddDamageToSmoker 0
confogl_addcvar inf_TeleportDistance 600.0
//confogl_addcvar l4d_infected_limit 6
confogl_addcvar inf_AntiBaitMode 1

//[l4d2_ai_damagefix.smx]
confogl_addcvar sm_aidmgfix_enable 3
Expand Down
2 changes: 1 addition & 1 deletion cfg/cfgogl/hunters/confogl_plugins.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ exec vote/shove/Zonemod.cfg
sm_cvar versus_special_respawn_interval 16
exec vote/normal/AnneHappy2.cfg
sm_cvar inf_SpawnDistanceMin 600
sm_cvar AnnePluginVersion 2023-01
sm_cvar AnnePluginVersion 2024-05
sm_cvar inf_EnableAutoSpawnTime 1 //是否开启自动设置增加时间
sm_cvar versus_round_restarttimer 2
sm_cvar versus_round_restarttimer_finale 2
Expand Down
1 change: 1 addition & 0 deletions cfg/cfgogl/hunters/shared_settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ confogl_addcvar inf_IgnoreIncappedSurvivorSight 1 //关闭高特或者多人运
confogl_addcvar inf_AddDamageToSmoker 0
confogl_addcvar inf_TeleportDistance 600.0
//confogl_addcvar l4d_infected_limit 6
confogl_addcvar inf_AntiBaitMode 0

//[l4d2_hunter_patch.smx]
//confogl_addcvar l4d2_hunter_patch_convert_leap 1
Expand Down
2 changes: 1 addition & 1 deletion cfg/cfgogl/witchparty/confogl_plugins.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ sm_cvar z_mob_spawn_max_size 15
exec vote/normal/AnneHappy6.cfg
exec vote/duoren/duoren4.cfg
sm_cvar ai_Tank_Bhop 1
sm_cvar AnnePluginVersion 2023-01
sm_cvar AnnePluginVersion 2024-05
sm_cvar inf_EnableAutoSpawnTime 1 //是否开启自动设置增加时间
sm_cvar versus_round_restarttimer 2
sm_cvar versus_round_restarttimer_finale 2
Expand Down
2 changes: 1 addition & 1 deletion cfg/cfgogl/witchparty/shared_settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ confogl_addcvar inf_IgnoreIncappedSurvivorSight 1 //关闭高特或者多人运
confogl_addcvar inf_AddDamageToSmoker 0
confogl_addcvar inf_TeleportDistance 600.0
//confogl_addcvar l4d_infected_limit 6

confogl_addcvar inf_AntiBaitMode 1


//[ai_tank_2.smx]
Expand Down
13 changes: 13 additions & 0 deletions cfg/vote/Anne/Anne23-1.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
exec vote/Anne/unloadall.cfg
sm plugins load optional/AnneHappy/infected_control23-1.smx
sm_cvar AnnePluginVersion 2023-01
sm plugins load optional/AnneHappy/ai_smoker_new.smx
sm plugins load optional/AnneHappy/ai_hunter_new.smx
sm plugins load optional/AnneHappy/ai_jockey_new.smx
sm plugins load optional/AnneHappy/ai_spitter_new.smx
sm plugins load optional/AnneHappy/ai_charger_2.smx
sm plugins load optional/AnneHappy/ai_boomer_new.smx
sm plugins load optional/AnneHappy/AI_HardSI_2.smx
sm plugins load optional/AnneHappy/ai_tank_2.smx
sm plugins load_lock
sm_restartmap
1 change: 1 addition & 0 deletions cfg/vote/Anne/unloadall.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ sm plugins unload optional/AnneHappy/infected_control22-9.smx
sm plugins unload optional/AnneHappy/infected_control22-10.smx
sm plugins unload optional/AnneHappy/infected_control22-11.smx
sm plugins unload optional/AnneHappy/infected_control22-12.smx
sm plugins unload optional/AnneHappy/infected_control23-1.smx
sm plugins unload optional/AnneHappy/ai_charger_boomer.smx
sm plugins unload optional/AnneHappy/l4d2_asiai.smx
sm plugins unload optional/AnneHappy/l4d2_tank_throw.smx
Expand Down

0 comments on commit 718376c

Please sign in to comment.