騎馬與砍殺 0.90X原版中修改主角出生時所帶的兵的方法

要修改得有menus.txt文件,位置是Mount&Blade>Modules>Native>menus.txt。

建完人物進入游戲後,有個選項「在旅途中,你遇到一群尋找領袖的人。你會……」,當你選擇「許以榮耀和財富,勸誘他們跟隨你。」後,會有5個農民加入,如果要修改,則可以在menus.txt查找並得到

1610 3 648518346341351424 360287970189639693 5

紅色的360287970189639693是農民的menus.txt中兵種的代碼,藍色的5為加入的農民的數量,
如要改成10個職業殺手,則把360287970189639693改成360287970189639698,把5改成10即可

同理,在menus.txt查找並得到

1610 3 648518346341351424 360287970189639696 3

1610 3 648518346341351424 360287970189639697 4

第一列為當你選擇富商的兒子時自帶的3個鏢師,
第二列為當你選擇貴族的兒子時自帶的4個雇傭兵,
修改方法同上。

==============================================================

而在menus.txt里兵種編碼有點特殊,簡單的說,如果要替換menus中兵種的編號採用的計算方法是:360287970189639680+兵種id(BY kanesunny ),如0.90X中農民的兵種ID為13,加360287970189639680後就成了360287970189639693。0.90X原兵種編碼我發在下面了

==============================================================

到目前還沒發現錯誤。 估計以後的版本也能用類似的方法查找並修改。其他MOD沒玩過,估計差不多。

—————————————————-

0.90X原版兵種編碼:

trp_player = 0
trp_temp_troop = 1
trp_game = 2
trp_unarmed_troop = 3
trp_random_town_sequence = 4
trp_tutorial_maceman = 5
trp_tutorial_archer = 6
trp_tutorial_swordsman = 7
trp_novice_fighter = 8
trp_regular_fighter = 9
trp_veteran_fighter = 10
trp_champion_fighter = 11
trp_cattle = 12
trp_farmer = 13
trp_townsman = 14
trp_watchman = 15
trp_caravan_guard = 16
trp_mercenary = 17
trp_hired_blade = 18
trp_mercenaries_end = 19
trp_swadian_recruit = 20
trp_swadian_militia = 21
trp_swadian_footman = 22
trp_swadian_infantry = 23
trp_swadian_sergeant = 24
trp_swadian_skirmisher = 25
trp_swadian_crossbowman = 26
trp_swadian_sharpshooter = 27
trp_swadian_man_at_arms = 28
trp_swadian_knight = 29
trp_swadian_messenger = 30
trp_swadian_deserter = 31
trp_swadian_prison_guard = 32
trp_swadian_castle_guard = 33
trp_vaegir_recruit = 34
trp_vaegir_footman = 35
trp_vaegir_skirmisher = 36
trp_vaegir_archer = 37
trp_vaegir_marksman = 38
trp_vaegir_veteran = 39
trp_vaegir_infantry = 40
trp_vaegir_guard = 41
trp_vaegir_horseman = 42
trp_vaegir_knight = 43
trp_vaegir_messenger = 44
trp_vaegir_deserter = 45
trp_vaegir_prison_guard = 46
trp_vaegir_castle_guard = 47
trp_khergit_tribesman = 48
trp_khergit_skirmisher = 49
trp_khergit_horseman = 50
trp_khergit_horse_archer = 51
trp_khergit_veteran_horse_archer = 52
trp_khergit_lancer = 53
trp_khergit_messenger = 54
trp_khergit_deserter = 55
trp_khergit_prison_guard = 56
trp_khergit_castle_guard = 57
trp_nord_recruit = 58
trp_nord_footman = 59
trp_nord_trained_footman = 60
trp_nord_warrior = 61
trp_nord_veteran = 62
trp_nord_champion = 63
trp_nord_messenger = 64
trp_nord_deserter = 65
trp_nord_prison_guard = 66
trp_nord_castle_guard = 67
trp_rhodok_tribesman = 68
trp_rhodok_spearman = 69
trp_rhodok_trained_spearman = 70
trp_rhodok_veteran_spearman = 71
trp_rhodok_sergeant = 72
trp_rhodok_crossbowman = 73
trp_rhodok_trained_crossbowman = 74
trp_rhodok_veteran_crossbowman = 75
trp_rhodok_sharpshooter = 76
trp_rhodok_messenger = 77
trp_rhodok_deserter = 78
trp_rhodok_prison_guard = 79
trp_rhodok_castle_guard = 80
trp_river_pirate = 81
trp_bandit = 82
trp_brigand = 83
trp_mountain_bandit = 84
trp_forest_bandit = 85
trp_sea_raider = 86
trp_steppe_bandit = 87
trp_black_khergit_horseman = 88

trp_manhunter = 89
trp_slave_driver = 90
trp_slave_hunter = 91
trp_slave_crusher = 92
trp_slaver_chief = 93
trp_follower_woman = 94
trp_hunter_woman = 95
trp_fighter_woman = 96
trp_sword_sister = 97
trp_refugee = 98
trp_peasant_woman = 99
trp_dark_knight = 100
trp_dark_hunter = 101
trp_caravan_master = 102
trp_kidnapped_girl = 103
trp_town_walker_1 = 104
trp_town_walker_2 = 105
trp_tournament_master = 106
trp_trainer = 107
trp_constable_hareck = 108
trp_ramun_the_slave_trader = 109
trp_xerina = 110
trp_dranton = 111
trp_kradus = 112
trp_tutorial_trainer = 113
trp_galeas = 114
trp_farmer_from_bandit_village = 115
trp_ransom_broker_1 = 116
trp_ransom_broker_2 = 117
trp_ransom_broker_3 = 118
trp_ransom_broker_4 = 119
trp_tavern_traveler_1 = 120
trp_tavern_traveler_2 = 121
trp_tavern_bookseller_1 = 122
trp_tavern_bookseller_2 = 123
trp_tavern_minstrel_1 = 124
trp_borcha = 125
trp_marnid = 126
trp_ymira = 127
trp_rolf = 128
trp_kingdom_1_lord = 129
trp_kingdom_2_lord = 130
trp_kingdom_3_lord = 131
trp_kingdom_4_lord = 132
trp_kingdom_5_lord = 133
trp_knight_1_1 = 134
trp_knight_1_2 = 135
trp_knight_1_3 = 136
trp_knight_1_4 = 137
trp_knight_1_5 = 138
trp_knight_1_6 = 139
trp_knight_1_7 = 140
trp_knight_1_8 = 141
trp_knight_1_9 = 142
trp_knight_1_0 = 143
trp_knight_2_1 = 144
trp_knight_2_2 = 145
trp_knight_2_3 = 146
trp_knight_2_4 = 147
trp_knight_2_5 = 148
trp_knight_2_6 = 149
trp_knight_2_7 = 150
trp_knight_2_8 = 151
trp_knight_2_9 = 152
trp_knight_2_0 = 153
trp_knight_3_1 = 154
trp_knight_3_2 = 155
trp_knight_3_3 = 156
trp_knight_3_4 = 157
trp_knight_3_5 = 158
trp_knight_3_6 = 159
trp_knight_3_7 = 160
trp_knight_3_8 = 161
trp_knight_3_9 = 162
trp_knight_3_0 = 163
trp_knight_4_1 = 164
trp_knight_4_2 = 165
trp_knight_4_3 = 166
trp_knight_4_4 = 167
trp_knight_4_5 = 168
trp_knight_4_6 = 169
trp_knight_4_7 = 170
trp_knight_4_8 = 171
trp_knight_4_9 = 172
trp_knight_4_0 = 173
trp_knight_5_1 = 174
trp_knight_5_2 = 175
trp_knight_5_3 = 176
trp_knight_5_4 = 177
trp_knight_5_5 = 178
trp_knight_5_6 = 179
trp_knight_5_7 = 180
trp_knight_5_8 = 181
trp_knight_5_9 = 182
trp_knight_5_0 = 183

trp_heroes_end = 184
trp_kingdom_1_lord_wife = 185
trp_kingdom_2_lord_wife = 186
trp_kingdom_3_lord_wife = 187
trp_kingdom_4_lord_wife = 188
trp_kingdom_5_lord_wife = 189
trp_kingdom_1_lord_daughter = 190
trp_kingdom_2_lord_daughter = 191
trp_kingdom_3_lord_daughter = 192
trp_kingdom_4_lord_daughter = 193
trp_kingdom_5_lord_daughter = 194
trp_kingdom_1_lady_a = 195
trp_kingdom_1_lady_b = 196
trp_kingdom_2_lady_a = 197
trp_kingdom_2_lady_b = 198
trp_kingdom_3_lady_a = 199
trp_kingdom_3_lady_b = 200
trp_kingdom_4_lady_a = 201
trp_kingdom_4_lady_b = 202
trp_town_1_seneschal = 203
trp_town_2_seneschal = 204
trp_town_3_seneschal = 205
trp_town_4_seneschal = 206
trp_town_5_seneschal = 207
trp_town_6_seneschal = 208
trp_town_7_seneschal = 209
trp_town_8_seneschal = 210
trp_town_9_seneschal = 211
trp_town_10_seneschal = 212
trp_town_11_seneschal = 213
trp_town_12_seneschal = 214
trp_town_13_seneschal = 215
trp_town_14_seneschal = 216
trp_castle_1_seneschal = 217
trp_castle_2_seneschal = 218
trp_castle_3_seneschal = 219
trp_castle_4_seneschal = 220
trp_castle_5_seneschal = 221
trp_castle_6_seneschal = 222
trp_castle_7_seneschal = 223
trp_castle_8_seneschal = 224
trp_castle_9_seneschal = 225
trp_castle_10_seneschal = 226
trp_castle_11_seneschal = 227
trp_town_1_arena_master = 228
trp_town_2_arena_master = 229
trp_town_3_arena_master = 230
trp_town_4_arena_master = 231
trp_town_5_arena_master = 232
trp_town_6_arena_master = 233
trp_town_7_arena_master = 234
trp_town_8_arena_master = 235
trp_town_9_arena_master = 236
trp_town_10_arena_master = 237
trp_town_11_arena_master = 238
trp_town_12_arena_master = 239
trp_town_13_arena_master = 240
trp_town_14_arena_master = 241
trp_zendar_armorer = 242
trp_town_1_armorer = 243
trp_town_2_armorer = 244
trp_town_3_armorer = 245
trp_town_4_armorer = 246
trp_town_5_armorer = 247
trp_town_6_armorer = 248
trp_town_7_armorer = 249
trp_town_8_armorer = 250
trp_town_9_armorer = 251
trp_town_10_armorer = 252
trp_town_11_armorer = 253
trp_town_12_armorer = 254
trp_town_13_armorer = 255
trp_town_14_armorer = 256
trp_zendar_weaponsmith = 257
trp_town_1_weaponsmith = 258
trp_town_2_weaponsmith = 259
trp_town_3_weaponsmith = 260
trp_town_4_weaponsmith = 261
trp_town_5_weaponsmith = 262
trp_town_6_weaponsmith = 263
trp_town_7_weaponsmith = 264
trp_town_8_weaponsmith = 265
trp_town_9_weaponsmith = 266
trp_town_10_weaponsmith = 267
trp_town_11_weaponsmith = 268
trp_town_12_weaponsmith = 269
trp_town_13_weaponsmith = 270
trp_town_14_weaponsmith = 271
trp_zendar_tavernkeeper = 272
trp_town_1_tavernkeeper = 273
trp_town_2_tavernkeeper = 274
trp_town_3_tavernkeeper = 275
trp_town_4_tavernkeeper = 276
trp_town_5_tavernkeeper = 277
trp_town_6_tavernkeeper = 278
trp_town_7_tavernkeeper = 279
trp_town_8_tavernkeeper = 280
trp_town_9_tavernkeeper = 281
trp_town_10_tavernkeeper = 282
trp_town_11_tavernkeeper = 283
trp_town_12_tavernkeeper = 284
trp_town_13_tavernkeeper = 285
trp_town_14_tavernkeeper = 286

trp_zendar_merchant = 287
trp_town_1_merchant = 288
trp_town_2_merchant = 289
trp_town_3_merchant = 290
trp_town_4_merchant = 291
trp_town_5_merchant = 292
trp_town_6_merchant = 293
trp_town_7_merchant = 294
trp_town_8_merchant = 295
trp_town_9_merchant = 296
trp_town_10_merchant = 297
trp_town_11_merchant = 298
trp_town_12_merchant = 299
trp_town_13_merchant = 300
trp_town_14_merchant = 301
trp_salt_mine_merchant = 302
trp_zendar_horse_merchant = 303
trp_town_1_horse_merchant = 304
trp_town_2_horse_merchant = 305
trp_town_3_horse_merchant = 306
trp_town_4_horse_merchant = 307
trp_town_5_horse_merchant = 308
trp_town_6_horse_merchant = 309
trp_town_7_horse_merchant = 310
trp_town_8_horse_merchant = 311
trp_town_9_horse_merchant = 312
trp_town_10_horse_merchant = 313
trp_town_11_horse_merchant = 314
trp_town_12_horse_merchant = 315
trp_town_13_horse_merchant = 316
trp_town_14_horse_merchant = 317
trp_town_1_mayor = 318
trp_town_2_mayor = 319
trp_town_3_mayor = 320
trp_town_4_mayor = 321
trp_town_5_mayor = 322
trp_town_6_mayor = 323
trp_town_7_mayor = 324
trp_town_8_mayor = 325
trp_town_9_mayor = 326
trp_town_10_mayor = 327
trp_town_11_mayor = 328
trp_town_12_mayor = 329
trp_town_13_mayor = 330
trp_town_14_mayor = 331
trp_village_1_elder = 332
trp_village_2_elder = 333
trp_village_3_elder = 334
trp_village_4_elder = 335
trp_village_5_elder = 336
trp_village_6_elder = 337
trp_village_7_elder = 338
trp_village_8_elder = 339
trp_village_9_elder = 340
trp_village_10_elder = 341
trp_village_11_elder = 342
trp_village_12_elder = 343
trp_village_13_elder = 344
trp_village_14_elder = 345
trp_village_15_elder = 346
trp_village_16_elder = 347
trp_village_17_elder = 348
trp_village_18_elder = 349
trp_village_19_elder = 350
trp_village_20_elder = 351
trp_village_21_elder = 352
trp_village_22_elder = 353
trp_village_23_elder = 354
trp_village_24_elder = 355
trp_village_25_elder = 356
trp_village_26_elder = 357
trp_village_27_elder = 358
trp_village_28_elder = 359
trp_village_29_elder = 360
trp_village_30_elder = 361
trp_village_31_elder = 362
trp_village_32_elder = 363
trp_village_33_elder = 364
trp_village_34_elder = 365
trp_village_35_elder = 366
trp_village_36_elder = 367
trp_village_37_elder = 368
trp_village_38_elder = 369
trp_village_39_elder = 370
trp_village_40_elder = 371
trp_village_41_elder = 372
trp_village_42_elder = 373
trp_village_43_elder = 374
trp_village_44_elder = 375
trp_village_45_elder = 376
trp_village_46_elder = 377
trp_village_47_elder = 378
trp_village_48_elder = 379
trp_village_49_elder = 380
trp_village_50_elder = 381
trp_village_51_elder = 382
trp_village_52_elder = 383
trp_village_53_elder = 384
trp_village_54_elder = 385
trp_village_55_elder = 386
trp_village_56_elder = 387
trp_village_57_elder = 388
trp_village_58_elder = 389
trp_village_59_elder = 390
trp_village_60_elder = 391
trp_merchants_end = 392
trp_zendar_chest = 393
trp_tutorial_chest_1 = 394
trp_tutorial_chest_2 = 395
trp_bonus_chest_1 = 396
trp_bonus_chest_2 = 397
trp_bonus_chest_3 = 398
trp_temp_array_a = 399
trp_temp_array_b = 400
trp_local_merchant = 401
trp_tax_rebel = 402
trp_fugitive = 403
trp_quick_battle_6_player = 404

來源:遊星空