骑砍战团MOD开发(21)-module_mission_templates预制常量

发布时间:2023年12月17日

?一.mission类型

#常规模式,可和人物对话
mtf_default             = 0x00000000

#战斗模式 无对话选项
mtf_arena_fight         = 0x00000001 #identify enemies through team_no
mtf_team_fight          = 0x00000001 #identify enemies through team_no
mtf_battle_mode         = 0x00000002 #No inventory access

#退出任务后HP不重置
mtf_commit_casualties   = 0x00000010
mtf_no_blood            = 0x00000100

#进入任务后同步物品栏
mtf_synch_inventory     = 0x00010000 #Make a backup of player inventory and restore it at mission end.

二.进入mission后装备/骑马状态

#进入任务后不携带武器装备
af_override_weapons         = 0x0000000f
af_override_weapon_0        = 0x00000001
af_override_weapon_1        = 0x00000002
af_override_weapon_2        = 0x00000004
af_override_weapon_3        = 0x00000008

#进入任务后不携带盔甲
af_override_head            = 0x00000010
af_override_body            = 0x00000020
af_override_foot            = 0x00000040
af_override_gloves          = 0x00000080

#进入任务后不携带马匹
af_override_horse           = 0x00000100
af_override_fullhelm        = 0x00000200

af_require_civilian         = 0x10000000

三.出生点过滤选项(敌军/友军/数量)

#守城弓箭/弩手初始化
mtef_infantry_first      = 0x00010000
mtef_archers_first       = 0x00020000
mtef_cavalry_first       = 0x00040000

#友军/敌军/中立/对话
mtef_enemy_party         = 0x00000001
mtef_ally_party          = 0x00000002
mtef_scene_source        = 0x00000004
mtef_conversation_source = 0x00000008
mtef_visitor_source      = 0x00000010
mtef_defenders           = 0x00000040
mtef_attackers           = 0x00000080
mtef_no_leader           = 0x00000100
mtef_no_companions       = 0x00000200
mtef_no_regulars         = 0x00000400
mtef_team_0              = 0x00001000
mtef_team_1              = 0x00002000
mtef_team_2              = 0x00003000
mtef_team_3              = 0x00004000
mtef_team_4              = 0x00005000
mtef_team_5              = 0x00006000
mtef_team_member_2       = 0x00008000



mtef_no_auto_reset       = 0x00080000 
mtef_reverse_order       = 0x01000000
mtef_use_exact_number    = 0x02000000

文章来源:https://blog.csdn.net/qq_35829452/article/details/135040650
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。