- 好友
- 5
- 在线时间
- 0 小时
- 最后登录
- 2024-12-10
见习骑士
- UID
- 3304622
- 第纳尔
- 690
- 精华
- 0
- 互助
- 26
- 荣誉
- 3
- 贡献
- 0
- 魅力
- 158
- 注册时间
- 2021-12-28
鲜花( 31) 鸡蛋( 0)
|
发表于 2023-10-12 10:12:35
|
显示全部楼层
打开header_operations
# [ Z00 ] Introduction and Credits.
# [ Z01 ] Operation Modifiers.
# [ Z02 ] Flow Control.
# [ Z03 ] Mathematical Operations.
# [ Z04 ] Script/Trigger Parameters and Results.
# [ Z05 ] Keyboard and Mouse Input.
# [ Z06 ] World Map.
# [ Z07 ] Game Settings.
# [ Z08 ] Factions.
# [ Z09 ] Parties and Party Templates.
# [ Z10 ] Troops.
# [ Z11 ] Quests.
# [ Z12 ] Items.
# [ Z13 ] Sounds and Music Tracks.
# [ Z14 ] Positions.
# [ Z15 ] Game Notes.
# [ Z16 ] Tableaus and Heraldics.
# [ Z17 ] String Operations.
# [ Z18 ] Output And Messages.
# [ Z19 ] Game Control: Screens, Menus, Dialogs and Encounters.
# [ Z20 ] Scenes and Missions.
# [ Z21 ] Scene Props and Prop Instances.
# [ Z22 ] Agents and Teams.
# [ Z23 ] Presentations.
# [ Z24 ] Multiplayer And Networking.
# [ Z25 ] Remaining Esoteric Stuff.
# [ Z26 ] Hardcoded Compiler-Related Code.
通过注解,明白 [Z10] Troops部分针对士兵单位类型使用的OP操作。使用查找Z10快速定位,如下几个OP应该是你需要的
troop_raise_attribute = 1520 # (troop_raise_attribute, <troop_id>, <attribute_id>, <value>),#属性
troop_raise_skill = 1521 # (troop_raise_skill, <troop_id>, <skill_id>, <value>),#技能
troop_raise_proficiency = 1522 # (troop_raise_proficiency, <troop_id>, <proficiency_no>, <value>),#数量度
使用示例
(troop_raise_attribute, "trp_player",ca_strength,30),
(troop_raise_skill, "trp_player",skl_surgery,10),
(troop_raise_proficiency, "trp_player",wpt_one_handed_weapon,100), |
评分
-
查看全部评分
|