- 好友
- 58
- 在线时间
- 12930 小时
- 最后登录
- 2024-2-26
男爵[离任版主]
自由骑士 战团ID:jygliujx
  
- UID
- 157003
- 第纳尔
- 2791
- 精华
- 1
- 互助
- 127
- 荣誉
- 43
- 贡献
- 15
- 魅力
- 1035
- 注册时间
- 2009-9-21
![骑士美德之仁慈勋章[杰出会员互助勋章]](static/image/common/medal12.gif) ![骑士美德之英勇勋章[杰出会员活跃勋章]](static/image/common/medal11.gif) ![骑士美德之谦恭勋章[杰出会员财富勋章]](static/image/common/medal21.gif) ![骑士美德之大无畏勋章[杰出会员高级活跃勋章]](static/image/common/medal5.gif) ![骑士美德之公正勋章[杰出会员高级财富勋章]](static/image/common/medal10.gif)  

 鲜花( 69)  鸡蛋( 0)
|

楼主 |
发表于 2010-4-14 09:02:44
|
显示全部楼层
本帖最后由 jygliujx 于 2010-6-7 09:13 编辑
这里就作为txt修改的专用楼了
由于各mod代码上略有差异,所以在前人的基础上,整合出下面汉匈的专属txt修改合集
++++++++++++++++++++++++++++分割线++++++++++++++++++++++++++++++++++
领主战败逃跑几率
scripts.txt
先找game_event_simulate_battle -1再找2343 2 3 1224979098644774932 4 0 30 2 1224979098644774931 80 1652 3 1224979098644774933
80是指领主和非玩家战斗逃跑率为80%
打开MOD下的scripts.txt查找下面这段先找cf_check_hero_can_escape_from_player -1再找1224979098644774913 0 2136 3 1224979098644774914 0 100 2147483678 2 1224979098644774914 80
最后这个80就是领主和玩家战斗失败后的逃跑率为80%
注意修改范围范围0到100
++++++++++++++++++++++++++++分割线++++++++++++++++++++++++++++++++++
酒馆喝酒周期,酒钱及提升友好度
conversation.txt
dlga_tavernkeeper_talk:tavernkeeper_buy_drinks 69631 629 3 2270 1 1224979098644774912 2106 2 1224979098644774912 24 32 2 1224979098644774912 144115188075855984 I'd_like_to_buy_every_man_who_comes_in_here_tonight_a_jar_of_your_best_wine. 634 0
dlga_tavernkeeper_buy_drinks:tavernkeeper_buy_drinks_2 4095 634 0 Of_course,_{my_lord/my_lady}._I_reckon_{reg5}_denars_should_be_enough_for_that._What_should_I_tell_the_lads? 635 2 2133 2 144115188075855901 1000 2133 2 72057594037927941 144115188075855901
dlga_tavernkeeper_buy_drinks_2:tavernkeeper_buy_drinks_end 69631 635 3 2149 2 1224979098644774912 360287970189639680 30 2 1224979098644774912 144115188075855901 2330 2 10 144115188075856068 Let_everyone_know_of_the_generosity_of_{playername}_to_the_people_of_{s10}. 636 0
dlga_tavernkeeper_buy_drinks_end:tavernkeeper_pretalk 4095 636 0 Don't_worry_{sir/madam}._Your_name_will_be_cheered_and_toasted_here_all_night. 631 4 1529 2 360287970189639680 144115188075855901 1 3 936748722493063323 144115188075856068 1 2270 1 1224979098644774912 2133 2 144115188075855984 1224979098644774912
dlga_tavernkeeper_buy_drinks_2:tavernkeeper_pretalk 69631 635 0 Actually,_cancel_that_order. 631 0
dlga_tavernkeeper_talk:ransom_broker_sell_prisoners 69631 629 2 2159 1 72057594037927936 30 2 72057594037927936 1 I_have_got_prisoners_to_sell. 637 0
dlga_tavernkeeper_talk:close_window 69631 629 0 I_guess_I_should_leave_now. 6 0
第一个24是刷任务时间
第二个1000是请客的酒钱
第三个1是提升的好感
++++++++++++++++++++++++++++分割线++++++++++++++++++++++++++++++++++
招降俘虏间隔时间
menus.txt
先找menu_camp_action 0 Choose_an_action: none 0 5
再找mno_camp_recruit_prisoners 10 105 1 1 2270 1 1224979098644774912 2106 2 1224979098644774912 24 32 2 1224979098644774912 144115188075856036 4 0 32 2
24是可以招俘虏的周期
俘虏是有一定几率同意加入,玩家的说服力可以提高几率
++++++++++++++++++++++++++++分割线++++++++++++++++++++++++++++++++++
统御
scripts.txt
先找game_get_party_companion_limit -1
18 2133 2 1224979098644774912 360287970189639680 2133 2 1224979098644774913 10 4 0 1 1 936748722493063545 2105 2 1224979098644774913 100 3 0 520 3 1224979098644774914 1224979098644774912 7 2123 3 1224979098644774915 1224979098644774914 80 2170 3 1224979098644774916 1369094286720630785 1224979098644774912 2172 3 1224979098644774917 1224979098644774912 3 2107 2 1224979098644774916 5 2105 2 1224979098644774913 1224979098644774916 2105 2 1224979098644774913 1224979098644774917 520 3 1224979098644774914 1224979098644774912 7 2123 3 1224979098644774915 1224979098644774914 25 2105 2 1224979098644774913 1224979098644774915 2133 2 72057594037927936 1224979098644774913 2075 1 72057594037927936
第一个10是你队伍的基础人数
第二个5每级统御增加的部队上限的人数
第三个25点声望增加部队上限1人
这里说明一下
对于基础人数、统御和声望对队伍上限的影响上,在个人属性页面不起作用(他还会告诉你1统御加5上限)
在报告里的行伍上限上,也对前三个不起任何作用但请大家注意最后的“总计”,这里就体现出修改后的效果了
部队栏里(非战斗地图外快捷键P)也可以看出来
接下来找get_player_party_morale_values -1
再找360287970189639680 2122 3 144115188075856575 1224979098644774921 7 2133 2 1224979098644774922 144115188075856575
7是每点统御带来的士气加成
++++++++++++++++++++++++++++分割线++++++++++++++++++++++++++++++++++
俘虏
scripts.txt
先找game_get_party_prisoner_limit -1
6 2133 2 1224979098644774912 360287970189639680 2133 2 1224979098644774913 0 2170 3 1224979098644774914 1369094286720630786 1224979098644774912 2122 3 1224979098644774913 1224979098644774914 10 2133 2 72057594037927936 1224979098644774913 2075 1 72057594037927936
10是每级俘虏管理增加的可带俘虏上限的人数
++++++++++++++++++++++++++++分割线++++++++++++++++++++++++++++++++++
战场支援次数
mission_templates.txt
先找mst_lead_charge lead_charge 2 8
再找
1.000000 0.000000 5.000000 5 2147483678 2 144115188075856218 2 2370 1 1224979098644774912 30 2 1224979098644774912 10 2385 2 1224979098644774913 0 2147483678 2 1224979098644774913 6 2 1930 2 0 7 2105 2 144115188075856218 1
1.000000 0.000000 5.000000 5 2147483678 2 144115188075856219 2 2370 1 1224979098644774912 30 2 1224979098644774912 10 2385 2 1224979098644774913 1 2147483678 2 1224979098644774913 6 2 1930 2 3 7 2105 2 144115188075856219 1
两个2改成你想要的数字就行了
攻城(普通)支援次数
mission_templates.txt
先找mst_castle_attack_walls_ladder castle_attack_walls_ladder 2 -1
You_attack_the_walls_of_the_castle...
再找3.000000 0.000000 5.000000 0 19 2147483678 2 144115188075856218 7 2370 1 1224979098644774912 30 2 1224979098644774912 10 2385 2 1224979098644774913 0 2147483678 2 1224979098644774913 10 1930 2 4 7 2105 2 144115188075856218 1 4 0 30 2 144115188075856218 2 1107 1 0 1790 3 144115188075856270 0 2 1790 3 144115188075856272 0 2 1107 1 1 30 2 144115188075856218 4 1107 1 0 1790 3 144115188075856270 10 2 1790 3 144115188075856272 10 2 1107 1 1 3 0
2.000000 0.000000 0.000000 1 32 2 144115188075856218 0 1 1 1 936748722493063408
1.000000 0.000000 5.000000 5 2147483678 2 144115188075856219 5 2370 1 1224979098644774912 30 2 1224979098644774912 10 2385 2 1224979098644774913 1 2147483678 2 1224979098644774913 6 2 1930 2 1 8 2105 2 144115188075856219 1
第一个7为守城方增援次数
第二个5为攻城方增援次数
村庄战支援次数
mission_templates.txt
先找mst_village_raid village_raid 2 8
You_lead_your_men_to_battle.
再找
1.000000 0.000000 5.000000 5 2147483678 2 144115188075856218 2 2370 1 1224979098644774912 30 2 1224979098644774912 10 2385 2 1224979098644774913 0 2147483678 2 1224979098644774913 6 2 1930 2 0 6 2105 2 144115188075856218 1
1.000000 0.000000 5.000000 5 2147483678 2 144115188075856219 2 2370 1 1224979098644774912 30 2 1224979098644774912 10 2385 2 1224979098644774913 1 2147483678 2 1224979098644774913 6 2 1930 2 3 6 2105 2 144115188075856219 1
两个2改成你想要的数字就行了
++++++++++++++++++++++++++++分割线++++++++++++++++++++++++++++++++++
好感与荣誉
放俘虏
conversation.txt
dlga_defeat_lord_answer:defeat_lord_answer_2 69631 155 0 You_have_fought_well._You_are_free_to_go. 157 3 1 3 936748722493063322 144115188075855887 5 1 2 936748722493063329 3 1 6 936748722493063515 13 360287970189639680 -1 144115188075855887 144115188075855889
第一个5是增加的好感
第二个3是增加的荣誉
救俘虏
conversation.txt
dlga_freed_lord_answer:freed_lord_answer_2 69631 152 0 You_are_free_to_go_wherever_you_want,_sir. 154 3 1 3 936748722493063322 144115188075855887 7 1 2 936748722493063329 2 1 3 936748722493063326 144115188075855889 2
第一个7是增加的好感
第二个2是增加的荣誉
抓俘虏
conversation.txt
dlga_defeat_lord_answer:defeat_lord_answer_1 69631 155 0 You_are_my_prisoner_now. 156 6 500 3 144115188075855887 8 648518346341351424 1614 3 648518346341351424 144115188075855887 1 1 3 936748722493063322 144115188075855887 -10 1 3 936748722493063326 144115188075855889 -3 1 2 936748722493063484 144115188075855887 1 6 936748722493063515 12 360287970189639680 -1 144115188075855887 144115188075855889
第一个-10是减少的领主好感
第二个-3是减少的国家关系
俘虏到俘虏
conversation.txt
dlga_freed_lord_answer:freed_lord_answer_1 69631 152 1 2147483678 2 144115188075855891 0 You're_not_going_anywhere,_'friend'._You're_my_prisoner_now. 153 5 500 3 144115188075855887 8 648518346341351424 1614 3 648518346341351424 144115188075855887 1 1 3 936748722493063322 144115188075855887 -30 1 3 936748722493063326 144115188075855889 -2 1 2 936748722493063484 144115188075855887
第一个-30是减少的领主好感
第二个-2是减少的国家关系
ps:好多的俘虏
从酒馆救村庄
menus.txt先找menu_village_infestation_removed 512
In_a_battle_worthy_of_song,_you_and_your_men_drive_the_bandits_out_of_the_village,_making_it_safe_once_more._The_villagers_have_little_left_in_the_way_of_wealth_after_their_ordeal,_but_they_offer_you_all_they_can_find. none 25 521 3 1224979098644774912 144115188075856138 39 501 3 144115188075856138 39 0 1617 1 648518346341351425 1610 3 648518346341351425 1224979098644774912 144115188075856099 2133 2 144115188075856117 50 1 2 936748722493063214 648518346341351425 4 0 200 1 504403158265495589 546 3 504403158265495589 1 144115188075856138 1 2 936748722493063433 504403158265495589 1 3 936748722493063323 144115188075856138 5 5 0 200 1 504403158265495556 546 3 504403158265495556 1 144115188075856138 1 2 936748722493063430 504403158265495556 1 3 936748722493063323 144115188075856138 3 5 0 1 3 936748722493063323 144115188075856138 4 3 0 521 3 1224979098644774913 144115188075856068 25 6 3 1224979098644774914 10 74 2136 3 1224979098644774915 0 100 2147483678 2 1224979098644774915 70 1543 3 1224979098644774913 1224979098644774914 -1 3 0 2
mno_village_bandits_defeated_accept 0 Take_it_as_your_just_due. 4 2060 1 864691128455135314 521 3 1224979098644774912 144115188075856068 25 1511 1 1224979098644774912 2041 1 1224979098644774912 . mno_village_bandits_defeated_cont 0 Refuse,_stating_that_they_need_these_items_more_than_you_do. 2 1 3 936748722493063323 144115188075856138 3 2060 1 864691128455135314 .
第一个5是击退强盗以后增加的友好度
第二个3是不要东西后增加的友好度
++++++++++++++++++++++++++++分割线++++++++++++++++++++++++++++++++++
招兵买马
城镇招人人数
scripts.txt
update_mercenary_units_of_towns -1
6 6 3 1224979098644774912 648518346341351443 648518346341351461 2136 3 1224979098644774913 360287970189639706 360287970189639713 501 3 1224979098644774912 90 1224979098644774913 2136 3 1224979098644774914 3 8 501 3 1224979098644774912 91 1224979098644774914 3 0
3为下限8为上限
村庄招人人数
scripts.txt
先找update_volunteer_troops_in_village -1
34 23 2 1224979098644774912 1 521 3 1224979098644774913 1224979098644774912 26 2133 2 1224979098644774914 360287970189640510 2133 2 1224979098644774915 1 2123 3 1224979098644774916 1224979098644774913 10 6 3 1224979098644774917 0 1224979098644774916 2136 3 1224979098644774918 0 100 2147483678 2 1224979098644774918 10 2136 3 1224979098644774918 0 2 1561 3 1224979098644774919 1224979098644774914 1224979098644774918 4 0 2147483680 2 1224979098644774919 0 1561 3 1224979098644774919 1224979098644774914 0 3 0 32 2 1224979098644774919 0 2105 2 1224979098644774915 1 2133 2 1224979098644774914 1224979098644774919 3 0 2133 2 1224979098644774920 7 4 0 30 2 1224979098644774913 5 2133 2 1224979098644774920 1224979098644774913 2108 2 1224979098644774920 2 2105 2 1224979098644774920 10 5 0 2147483678 2 1224979098644774913 0 2133 2 1224979098644774920 0 3 0 2107 2 1224979098644774920 3 2120 3 1224979098644774921 2 1224979098644774915 2108 2 1224979098644774920 1224979098644774921 2136 3 1224979098644774922 0 1224979098644774920 501 3 1224979098644774912 92 1224979098644774914 501 3 1224979098644774912 93 1224979098644774922
由于这里并未研究透彻,各个数字是什么含义,所以请大家按比例扩大上面的7 5 2
++++++++++++++++++++++++++++分割线++++++++++++++++++++++++++++++++++
城市、村子、城堡的繁荣度及税收
这里需要先说明一下,很多东西自己实验起来很困难,而且极大的参考了原版里的设置,并对照了原版py及前人的成果,所以这里用起来要慎之又慎,一定要备份!!!
商队交易
scripts.txt
do_merchant_town_trade -1
20 21 1 1224979098644774912 22 1 1224979098644774913 1 4 936748722493063423 1224979098644774912 1224979098644774913 20 2133 2 1224979098644774914 72057594037927936 2108 2 1224979098644774914 2 2330 2 1 1224979098644774912 2330 2 2 1224979098644774913 2133 2 72057594037927937 1224979098644774914 521 3 1224979098644774915 1224979098644774913 48 521 3 1224979098644774916 1224979098644774913 50 2120 3 1224979098644774917 1224979098644774916 10 2107 2 1224979098644774917 1224979098644774914 2108 2 1224979098644774917 2200 2105 2 1224979098644774915 1224979098644774917 501 3 1224979098644774913 48 1224979098644774915 4 0 2136 3 1224979098644774918 0 100 2147483678 2 1224979098644774918 35 1 3 936748722493063468 1224979098644774913 1 3 0
(10 + 繁荣度) / 110 * 5% 商队收益(这什么?)
这里110*%5在代码里是2200(为什么,求大牛解释)
每次商队交易有35%的几率繁荣度+1
村民交易
simple_triggers.txt
8.000000 66 11 1 1224979098644774912 541 3 1224979098644774912 0 15 131 1 1224979098644774912 521 3 1224979098644774913 1224979098644774912 123 1665 2 1224979098644774914 1224979098644774912 2133 2 1224979098644774915 1 4 0 33 3 1224979098644774914 648518346341351443 648518346341351508 2147484189 3 1224979098644774914 54 -1 2133 2 1224979098644774915 0 3 0 31 2 1224979098644774915 1 4 0 31 2 1224979098644774914 1224979098644774913 4 0 2136 3 1224979098644774916 0 100 2147483678 2 1224979098644774916 5 1 4 936748722493063423 1224979098644774912 1224979098644774913 50 2133 2 1224979098644774917 72057594037927936 521 3 1224979098644774918 1224979098644774913 50 2105 2 1224979098644774918 30 2107 2 1224979098644774917 1224979098644774918 2108 2 1224979098644774917 2600 521 3 1224979098644774919 1224979098644774913 48 2105 2 1224979098644774919 1224979098644774917 501 3 1224979098644774913 48 1224979098644774919 521 3 1224979098644774920 1224979098644774913 121 501 3 1224979098644774912 5 1224979098644774920 501 3 1224979098644774912 4 13 1640 2 1224979098644774912 1 1641 2 1224979098644774912 1224979098644774920 3 0 5 0 4 0 521 3 1224979098644774921 1224979098644774912 5 31 2 1224979098644774914 1224979098644774921 1 4 936748722493063423 1224979098644774912 1224979098644774921 10 2133 2 1224979098644774917 72057594037927936 521 3 1224979098644774918 1224979098644774921 50 2105 2 1224979098644774918 30 2107 2 1224979098644774917 1224979098644774918 2108 2 1224979098644774917 2600 521 3 1224979098644774919 1224979098644774921 48 2105 2 1224979098644774919 1224979098644774917 501 3 1224979098644774921 48 1224979098644774919 521 3 1224979098644774919 1224979098644774913 48 2105 2 1224979098644774919 1224979098644774917 501 3 1224979098644774913 48 1224979098644774919 521 3 1224979098644774922 1224979098644774921 53 1 2 936748722493063301 1224979098644774921 2133 2 1224979098644774923 72057594037927936 2105 2 1224979098644774922 1000 2110 2 1224979098644774922 1224979098644774923 501 3 1224979098644774921 53 1224979098644774922 4 0 2136 3 1224979098644774924 0 100 2147483678 2 1224979098644774924 35 1 3 936748722493063468 1224979098644774913 1 3 0 3 0 501 3 1224979098644774912 5 1224979098644774913 501 3 1224979098644774912 4 13 1640 2 1224979098644774912 1 1641 2 1224979098644774912 1224979098644774913 3 0 3 0
(30 + 繁荣度) / 130 * 5% 村民收益(这什么?)
这里130*%5在代码里是2600(为什么,还出来两遍,求大牛解释)
村民与城市交易有35%的几率繁荣度+1
税收
simple_triggers.txt
168.000000 72 6 3 1224979098644774912 648518346341351443 648518346341351598 521 3 1224979098644774913 1224979098644774912 47 2133 2 1224979098644774914 0 4 0 541 3 1224979098644774912 0 4 4 0 541 3 1224979098644774912 35 0 2133 2 1224979098644774914 500 3 0 5 0 541 3 1224979098644774912 0 2 2133 2 1224979098644774914 250 5 0 541 3 1224979098644774912 0 3 2133 2 1224979098644774914 1000 3 0 521 3 1224979098644774915 1224979098644774912 50 2120 3 1224979098644774916 10 1224979098644774915 2107 2 1224979098644774914 1224979098644774916 2108 2 1224979098644774914 110 2105 2 1224979098644774913 1224979098644774914 501 3 1224979098644774912 47 1224979098644774913 3 0 2133 2 1224979098644774917 0 6 3 1224979098644774912 648518346341351443 648518346341351598 521 3 1224979098644774918 1224979098644774912 7 4 0 33 3
168.000000明摆着的,收税周期
村子:500 * (10+繁荣度)/110+(30 + 繁荣度) / 130 * 5%村民与城市交易的收入
城市:1000 * (10+繁荣度)/110+(10 + 繁荣度) / 110 * 5%商队交易的收入
城堡:250 * (10+繁荣度)/110
村庄建设周期
menus.txt
menu_center_improve 0 {s19}_As_the_party_member_with_the_highest_engineer_skill_({reg2}),_{reg3?you_reckon:{s3}_reckons}_that_building_the_{s4}_will_cost_you_{reg5}_denars_and_will_take_{reg6}_days._Improvement_will_increase_5_prosperity_and_5_relation. none 22 1 2 936748722493063462 144115188075856118 2133 2 1224979098644774912 72057594037927936 2320 2 4 0 2320 2 19 1 1 2 936748722493063460 1369094286720630792 2133 2 1224979098644774913 72057594037927936 2133 2 1224979098644774914 72057594037927937 2133 2 72057594037927938 1224979098644774913 2121 3 1224979098644774915 20 1224979098644774913 2107 2 1224979098644774912 1224979098644774915 2108 2 1224979098644774912 20 2123 3 1224979098644774916 1224979098644774912 400 2105 2 1224979098644774916 3 2133 2 72057594037927941 1224979098644774912 2133 2 72057594037927942 1224979098644774916 4 0 31 2 1224979098644774914 360287970189639680 2133 2 72057594037927939 1 5 0 2133 2 72057594037927939 0 2322 2 3 1224979098644774914 3 0 3
400即为时间周期,公式。。。忘了,数字越小,建设周期越大
++++++++++++++++++++++++++++分割线++++++++++++++++++++++++++++++++++
战斗所得金钱
scripts.txt
party_give_xp_and_gold -1
1224979098644774922 0 3 0 2136 3 1224979098644774927 50 100 2107 2 1224979098644774922 1224979098644774927 2108 2 1224979098644774922
越小所得越高,具体公式不详
骑兵工资(非NPC)
scripts.txt
game_get_troop_wage -1
2107 2 1224979098644774914 5 2108 2 1224979098644774914 3 3 0 4 0 33 3 1224979098644774912
5/3=1.667意为骑兵工资是同等级步兵的1.6667倍(修改时最好还是骑兵工资高,否则bug未知)
++++++++++++++++++++++++++++分割线++++++++++++++++++++++++++++++++++
支援范围
scripts.txt
let_nearby_parties_join_current_battle -1
78 23 2 1224979098644774912 1 23 2 1224979098644774913 2 2133 2 1224979098644774914 4 4 0 2273 0 2133 2 1224979098644774914 1 3 0 11 1
第一个4为白天范围
第二个1为晚上支援范围
在添一句,对比原版py,那么这里的py应该是
module_scripts.py里的
# script_let_nearby_parties_join_current_battle
# Input: arg1 = besiege_mode, arg2 = dont_add_friends
# Output: none ("let_nearby_parties_join_current_battle",
[ (store_script_param, ":besiege_mode", 1),
(store_script_param, ":dont_add_friends", 2),
(assign, ":join_distance", 4),
(try_begin),
(is_currently_night),
(assign, ":join_distance", 1),
++++++++++++++++++++++++++++分割线++++++++++++++++++++++++++++++++++
战场声望
scripts.txt
calculate_renown_value -1
5 2110 2 144115188075856593 2500 2130 1 144115188075856593
这个2500即为上限(计算公式未知)
++++++++++++++++++++++++++++分割线++++++++++++++++++++++++++++++++++
还不全,以后会尽量补上
++++++++++++++++++++++++++++分割线++++++++++++++++++++++++++++++++++
剩下的想起来更新 |
鲜花鸡蛋woqinimo 在2017-1-19 14:47 送朵鲜花 并说:我非常同意你的观点,送朵鲜花鼓励一下
|