- 好友
- 0
- 在线时间
- 0 小时
- 最后登录
- 2026-7-31
扈从
 
- UID
- 3319238
- 第纳尔
- 681
- 精华
- 0
- 互助
- 2
- 荣誉
- 1
- 贡献
- 10
- 魅力
- 230
- 注册时间
- 2022-1-28
 鲜花( 18)  鸡蛋( 0)
|
本帖最后由 殇垣 于 2026-7-31 19:28 编辑
放在战触MT里,module_mission_templates.py
Flyeyes_time_slowmo = [#苍蝇眼瞄准慢放 3触发器 按住SHIFT且装备弓弩时,据熟练度调整时间流速
(0, 0, 0,#否决模块,用于退出慢放 复原模块
[
# (neg | game_in_multiplayer_mode), #单机
(eq, "$flyeyes_slowmo_on", 1),# 前提条件:慢放系统已激活# 检测SHIFT或鼠标左键是否松开!!!!!!
(eq, "$cam_mode", 0),#检查慢镜头死亡,避免冲突
(eq, "$g_slowmo_continue", 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), #检查慢镜头死亡系统是否正在运行,避免冲突
(assign, "$flyeyes_slowmo_on", 0),
(assign, ":continue", 0),
(try_begin),
(get_player_agent_no, ":player_agent"),
(agent_get_wielded_item, ":wield_right_wp", ":player_agent", 0), ## 获取玩家右手持武器
(ge, ":wield_right_wp", 0),
(item_get_type, ":item_type", ":wield_right_wp"),# 判断主手是否为远程武器 # 检查是否为弓弩
(this_or_next | eq, ":item_type", itp_type_bow),
(this_or_next | eq, ":item_type", itp_type_crossbow),
(eq, ":item_type", itp_type_musket),
(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),
(eq, ":continue", 1),
(mission_set_time_speed, 35), # 用降速肾上腺专注时间缓流
(assign, "$flyeyes_slowmo_on", 1),
(else_try),
(mission_set_time_speed, 100), ## 应用原速
(assign, "$flyeyes_slowmo_on", 0),
(try_end),
]),
]
然后在战触 MT 需要的地方,加入
(通常是野战,架梯攻城,推塔车攻城,访问城镇,访问城堡庭院,进攻强盗,掠夺村庄,进攻匪巢 等等……)
Flyeyes_time_slowmo,# 蝇眼时间
拒绝任何潘德的预言相关mod及其改版使用
|
|