本帖最后由 殇垣 于 2026-8-7 11:35 编辑
要使之生效,需在进游戏前,启动器勾选 “打开作弊选项”。
放在战触MT里,module_mission_templates.py
Flyeyes_time_slowmo = [#苍蝇眼瞄准慢放 3触发器 按住SHIFT且装备弓弩时,据熟练度调整时间流速
(0, 0, 0,#否决模块,用于退出慢放 复原模块
[
(neg | game_in_multiplayer_mode), #单机
(set_fixed_point_multiplier, 100),
(eq, "$cam_mode", 0),#检查慢镜头死亡,避免冲突
(eq, "$g_slowmo_continue", 0), #检查慢镜头死亡,避免冲突
(eq, "$slowmo_timer_on", 0), #CCCCCCCC
(eq, "$flyeyes_slowmo_on", 1),# 前提条件:慢放系统已激活# 检测SHIFT或鼠标左键是否松开!!!!!!
(mission_get_time_speed, ":time_speedddddddddd"),
(neq, ":time_speedddddddddd", 100),
#(eq, "$g_slowmo_dying", 0), #检查慢镜头濒死,避免冲
(neg | key_is_down, key_left_mouse_button), # 检测鼠标左键是否松开
],
[
(mission_set_time_speed, 100),
(assign, "$flyeyes_slowmo_on", 0),# 重置慢放激活标记
]),
(0, 0, 0, [ #前提条件块
(neg | game_in_multiplayer_mode), #单机
(neg | main_hero_fallen),
(key_is_down, key_left_mouse_button), #检查玩家是否正在长按鼠标左键举武器,不可用 gk_attack
(key_is_down, key_left_shift), #检查玩家是否正在shift长按放大瞄准
(eq, "$cam_mode", 0),#检查慢镜头死亡系统是否正在运行,避免冲突
(eq, "$g_slowmo_continue", 0), #检查慢镜头死亡系统是否正在运行,避免冲突
(eq, "$g_slowmo_dying", 0), #检查慢镜头濒死系统是否正在运行,避免冲突
(eq, "$player_crisis_on", 0),#CCCCC玩家危急0
],
[ # ========== 执行块 ==========
(assign, ":continue", 0),
(assign, ":have_wp", 0),
(try_begin),
(get_player_agent_no, ":player_agent"),
(agent_is_alive, ":player_agent"), #活着
(agent_get_wielded_item, ":wield_right_wp", ":player_agent", 0), ## 获取玩家右手持武器
(try_begin),
(ge, ":wield_right_wp", 0),
(item_get_type, ":item_type", ":wield_right_wp"),# 判断主手是否为远程武器 # 检查是否为弓弩
#(this_or_next | eq, ":item_type", itp_type_musket),
(this_or_next | eq, ":item_type", itp_type_bow),
(eq, ":item_type", itp_type_crossbow),
(assign, ":have_wp", 1),
(try_end),
(try_begin),
(eq, ":have_wp", 1),
(agent_get_troop_id, ":agents_troop", ":player_agent"),
(try_begin),# 弓
(eq, ":item_type", itp_type_bow),
(store_proficiency_level, ":archery_proficiency", ":agents_troop", wpt_archery),
(ge, ":archery_proficiency", 100),
(assign, ":continue", 1),
(else_try),# 弩
(eq, ":item_type", itp_type_crossbow),
(store_proficiency_level, ":crossbow_proficiency", ":agents_troop", wpt_crossbow),
(ge, ":crossbow_proficiency", 100),
(assign, ":continue", 1),
#(else_try),# 火枪
#(eq, ":item_type", itp_type_musket),
# (store_proficiency_level, ":firearm_proficiency", ":agents_troop", wpt_firearm),
# (ge, ":firearm_proficiency", 100),
# (assign, ":continue", 1),
(try_end),
(try_end),
(try_begin),
(eq, ":have_wp", 1),
(eq, ":continue", 1),
(mission_set_time_speed, 40), # 用降速肾上腺专注时间缓流
(assign, "$flyeyes_slowmo_on", 1),
(else_try),
(mission_set_time_speed, 100), ## 应用原速
(assign, "$flyeyes_slowmo_on", 0),
(try_end),
(try_end),
]),
]
然后在战触 MT 需要的地方,加入
(通常是野战,架梯攻城,推塔车攻城,访问城镇,访问城堡庭院,进攻强盗,掠夺村庄,进攻匪巢 等等……)
注意这种集合包的形式,要加在“方括号”之后,最后的圆括号之前。
] + Flyeyes_time_slowmo, # 蝇眼时间
),
拒绝任何潘德的预言相关mod及其改版使用
|