Compilation of 82 little tweaks to the text files to change your gameplay(links)

Users who are viewing this thread

ramhad said:
Hardrada said:
Alright ramhad, changing my faction's name is something I've wanted to do on occasion, so I worked out how to do it.

Open up menus.txt and search for Choose_an_action, is should look like this:
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 144115188075856030 4 0 32 2 144115188075856030 0 2133 2 144115188075856028 0 2133 2 144115188075856029 0 2133 2 144115188075856030 0 3 0  Recruit_some_of_your_prisoners_to_your_party.  1 2060 1 864691128455135254  .  mno_action_read_book  0  Select_a_book_to_read.  1 2060 1 864691128455135256  .  mno_action_modify_banner  1 31 2 144115188075856014 1  Cheat:_Modify_your_banner.  1 900 1 1513209474796486657  .  mno_action_retire  0  Retire_from_adventuring.  1 2060 1 864691128455135258  .  mno_camp_action_4  0  Back_to_camp_menu.  1 2060 1 864691128455135251  .

Change it to this:
menu_camp_action 0 Choose_an_action: none 0 6
mno_camp_recruit_prisoners  10 105 1 1 2270 1 1224979098644774912 2106 2 1224979098644774912 24 32 2 1224979098644774912 144115188075856030 4 0 32 2 144115188075856030 0 2133 2 144115188075856028 0 2133 2 144115188075856029 0 2133 2 144115188075856030 0 3 0  Recruit_some_of_your_prisoners_to_your_party.  1 2060 1 864691128455135254  .  mno_action_read_book  0  Select_a_book_to_read.  1 2060 1 864691128455135256  .  mno_action_change_name  2 522 3 1224979098644774912 432345564227567629 21 31 2 1224979098644774912 0  Change_the_name_of_your_realm.  3 2322 2 2 360287970189639680 1275 2 432345564227567629 1585267068834414902 1106 1 1585267068834414903  .  mno_action_modify_banner  1 31 2 144115188075856014 1  Cheat:_Modify_your_banner.  1 900 1 1513209474796486657  .  mno_action_retire  0  Retire_from_adventuring.  1 2060 1 864691128455135258  .  mno_camp_action_4  0  Back_to_camp_menu.  1 2060 1 864691128455135251  .

This will appear in the camp menu under "take an action" if you have your own faction, and will set your character name at the time as your faction name.

As to your second question, it should be possible but I suggest you learn how to use the module system rather than trying to do it with the text files.

rasz:  That error appears when you don't update the numbers at the start of the scripts I highlighted in red.

THX a lot!!

Oh, damnit. Got a little problem. When I choosed to rename my realm, it renamed it and then im am in faction ,,You flip through the pages about Kingdom of Glory, but you find the text....."(dont remember it all)
I guess its not so easy, as it looks like...can you tell me, how to fix it? Maybe i did something wrong...
 
ramhad said:
ramhad said:
Hardrada said:
Change it to this:
menu_camp_action 0 Choose_an_action: none 0 6
mno_camp_recruit_prisoners  10 105 1 1 2270 1 1224979098644774912 2106 2 1224979098644774912 24 32 2 1224979098644774912 144115188075856030 4 0 32 2 144115188075856030 0 2133 2 144115188075856028 0 2133 2 144115188075856029 0 2133 2 144115188075856030 0 3 0  Recruit_some_of_your_prisoners_to_your_party.  1 2060 1 864691128455135254  .  mno_action_read_book  0  Select_a_book_to_read.  1 2060 1 864691128455135256  .  mno_action_change_name  2 522 3 1224979098644774912 432345564227567629 21 31 2 1224979098644774912 0  Change_the_name_of_your_realm.  3 2322 2 2 360287970189639680 1275 2 432345564227567629 1585267068834414902 1106 1 1585267068834414903  .  mno_action_modify_banner  1 31 2 144115188075856014 1  Cheat:_Modify_your_banner.  1 900 1 1513209474796486657  .  mno_action_retire  0  Retire_from_adventuring.  1 2060 1 864691128455135258  .  mno_camp_action_4  0  Back_to_camp_menu.  1 2060 1 864691128455135251  .

I note in the line above that there should be a menu option to change your banner... but it also mentions "cheat"... how does one activate this?
 
Here's a quick & simple fix for "Surrender or die" dialog which appears when you talk to a custom/new/additional/extra troop garrisoned in a castle or town.

(This is a fix for "Native").

In module_dialogs.py...

Original script:

Code:
  [anyone,"start", [(eq, "$talk_context", 0),
                    (is_between,"$g_talk_troop",regular_troops_begin, regular_troops_end),
                    (party_slot_eq,"$current_town",slot_town_lord, "trp_player"),
                     ], "Yes {sir/madam}?", "player_castle_guard_talk",[]],
  [anyone|plyr,"player_castle_guard_talk", [], "How goes the watch, soldier?", "player_castle_guard_talk_2",[]],
  [anyone,"player_castle_guard_talk_2", [], "All is quiet {sir/madam}. Nothing to report.", "player_castle_guard_talk_3",[]],
  [anyone|plyr,"player_castle_guard_talk_3", [], "Good. Keep your eyes open.", "close_window",[]],

Modified script:

Code:
  [anyone,"start", [(eq, "$talk_context", 0),
                    (this_or_next|is_between,"$g_talk_troop",regular_troops_begin, regular_troops_end),
                    (             gt,"$g_talk_troop", trp_log_array_faction_object),
                    (party_slot_eq,"$current_town",slot_town_lord, "trp_player"),
                     ], "Yes {sir/madam}?", "player_castle_guard_talk",[]],
  [anyone|plyr,"player_castle_guard_talk", [], "How goes the watch, soldier?", "player_castle_guard_talk_2",[]],
  [anyone,"player_castle_guard_talk_2", [], "All is quiet {sir/madam}. Nothing to report.", "player_castle_guard_talk_3",[]],
  [anyone|plyr,"player_castle_guard_talk_3", [], "Good. Keep your eyes open.", "close_window",[]],

You may ignore the scripts above if you're not familiar with the module system.

Now, here's what to change...

1. Open conversation.txt using a text editor.

2. Find this line

dlga_start:player_castle_guard_talk 4095 0  3 31 2 144115188075856039 0 33 3 144115188075855885 360287970189639689 360287970189639805 541 3 144115188075856057 7 360287970189639680 Yes_{sir/madam}?  871  0

and replace it with this line

dlga_start:player_castle_guard_talk 4095 0  4 31 2 144115188075856039 0 1073741857 3 144115188075855885 360287970189639689 360287970189639805 32 2 144115188075855885 618 541 3 144115188075856057 7 360287970189639680 Yes_{sir/madam}?  871  0


 
Apologies if this has been asked before.  Currently when you take land you have the options of:

Request castle (get castle / get 900 coin)
Decline castle (get nothing)

Is it possible to switch these so that you can:

Request castle (get castle / get nothing)
Decline castle (get 900 coin)

I enjoy taking castles but I usually don't want to keep them.  I think it would be more interesting if there was more of a gamble here.  "Alright contestant, you can take the guaranteed cash prize... OR you can take what's behind door #1!  Is it title to a brand new castle, complete with air conditioning and tinted windows, or is it a bale of moldy hay?"

I would like it if it could be switched around so that requesting a castle either gets you the castle or nothing, while declining the castle always gets you coin.
 
Sir Devlyn said:
Is it possible to switch these so that you can:

Request castle (get castle / get nothing)
Decline castle (get 900 coin)

How about something like this?

Request castle (get castle / get 900)
Decline castle (get 900 coin)

If you replace these two lines...

menu_castle_taken_2 512 {s3}_has_fallen_to_your_troops,_and_you_now_have_full_control_of_the_castle._It_is_time_to_send_word_to_{s9}_about_your_victory._{s5} none 13 2330 2 3 144115188075856111 2319 1 5 522 3 1224979098644774912 144115188075856123 10 2322 2 9 1224979098644774912 4 0 31 2 144115188075855930 0 2133 2 72057594037927944 0 4 0 541 2 144115188075856111 3 2133 2 72057594037927944 1 3 0 2320 2 5 1585267068834414950 3 0 2
mno_castle_taken_claim  1 31 2 144115188075855930 1  Request_that_{s3}_be_awarded_to_you.  4 501 3 144115188075856111 28 360287970189639680 2133 2 144115188075856074 144115188075856057 2133 2 144115188075855963 144115188075856111 2040 0  .  mno_castle_taken_no_claim  0  Ask_no_rewards.  3 501 3 144115188075856111 28 -1 2133 2 144115188075855963 144115188075856111 2040 0  .

with these ones...

menu_castle_taken_2 512 {s3}_has_fallen_to_your_troops,_and_you_now_have_full_control_of_the_castle._It_is_time_to_send_word_to_{s9}_about_your_victory._{s5} none 14 2133 2 72057594037927942 900 2330 2 3 144115188075856111 2319 1 5 522 3 1224979098644774912 144115188075856123 10 2322 2 9 1224979098644774912 4 0 31 2 144115188075855930 0 2133 2 72057594037927944 0 4 0 541 2 144115188075856111 3 2133 2 72057594037927944 1 3 0 2320 2 5 1585267068834414950 3 0 2
mno_castle_taken_claim  1 31 2 144115188075855930 1  Request_that_{s3}_be_awarded_to_you.  5 501 3 144115188075856111 28 360287970189639680 2133 2 144115188075856074 144115188075856057 2133 2 144115188075855963 144115188075856111 2133 2 72057594037927942 0 2040 0  .  mno_castle_taken_no_claim  0  Reject_{s3}_and_request_{reg6}_denars_for_your_expenses.  4 501 3 144115188075856111 28 -1 2133 2 144115188075855963 144115188075856111 1 3 936748722493063468 360287970189639680 72057594037927942 2040 0  .

you'll get 900 denars when you reject a castle/town. You may change the money you get by modifying the red 900.

 
ramhad said:
ramhad said:
Hardrada said:
Alright ramhad, changing my faction's name is something I've wanted to do on occasion, so I worked out how to do it.

Open up menus.txt and search for Choose_an_action, is should look like this:
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 144115188075856030 4 0 32 2 144115188075856030 0 2133 2 144115188075856028 0 2133 2 144115188075856029 0 2133 2 144115188075856030 0 3 0  Recruit_some_of_your_prisoners_to_your_party.  1 2060 1 864691128455135254  .  mno_action_read_book  0  Select_a_book_to_read.  1 2060 1 864691128455135256  .  mno_action_modify_banner  1 31 2 144115188075856014 1  Cheat:_Modify_your_banner.  1 900 1 1513209474796486657  .  mno_action_retire  0  Retire_from_adventuring.  1 2060 1 864691128455135258  .  mno_camp_action_4  0  Back_to_camp_menu.  1 2060 1 864691128455135251  .

Change it to this:
menu_camp_action 0 Choose_an_action: none 0 6
mno_camp_recruit_prisoners  10 105 1 1 2270 1 1224979098644774912 2106 2 1224979098644774912 24 32 2 1224979098644774912 144115188075856030 4 0 32 2 144115188075856030 0 2133 2 144115188075856028 0 2133 2 144115188075856029 0 2133 2 144115188075856030 0 3 0  Recruit_some_of_your_prisoners_to_your_party.  1 2060 1 864691128455135254  .  mno_action_read_book  0  Select_a_book_to_read.  1 2060 1 864691128455135256  .  mno_action_change_name  2 522 3 1224979098644774912 432345564227567629 21 31 2 1224979098644774912 0  Change_the_name_of_your_realm.  3 2322 2 2 360287970189639680 1275 2 432345564227567629 1585267068834414902 1106 1 1585267068834414903  .  mno_action_modify_banner  1 31 2 144115188075856014 1  Cheat:_Modify_your_banner.  1 900 1 1513209474796486657  .  mno_action_retire  0  Retire_from_adventuring.  1 2060 1 864691128455135258  .  mno_camp_action_4  0  Back_to_camp_menu.  1 2060 1 864691128455135251  .

This will appear in the camp menu under "take an action" if you have your own faction, and will set your character name at the time as your faction name.

As to your second question, it should be possible but I suggest you learn how to use the module system rather than trying to do it with the text files.

rasz:  That error appears when you don't update the numbers at the start of the scripts I highlighted in red.

THX a lot!!

Oh, damnit. Got a little problem. When I choosed to rename my realm, it renamed it and then im am in faction ,,You flip through the pages about Kingdom of Glory, but you find the text....."(dont remember it all)
I guess its not so easy, as it looks like...can you tell me, how to fix it? Maybe i did something wrong...

I get a text about paying my troops... not sure it works...

 
Sorry guys, I thought everything was in one file, but you need to modify two.  I've edited my post to fix it.  Note that a couple of numbers in the original change in menus.txt had to be modified so you'll have to update that too.

Thales said:
I note in the line above that there should be a menu option to change your banner... but it also mentions "cheat"... how does one activate this?

This is dead easy.  Find mno_action_modify_banner in menus.txt, it should look like this:
mno_action_modify_banner  1 31 2 144115188075856014 1  Cheat:_Modify_your_banner.  1 900 1 1513209474796486657  . 
Change it to this:
mno_action_modify_banner  0  Modify_your_banner.  1 900 1 1513209474796486657  . 
This simply removes the cheat mode check and removes Cheat: from the title.
 
Hardrada said:
rasz:  That error appears when you don't update the numbers at the start of the scripts I highlighted in red.

ah, the red numbers, there was nothing about changing them so I ignored them :smile: thanks
 
Haven't seen it mentioned anywhere here... :

Change speed of AI vs AI battles by modifying damage each side takes each "round"
by vonmistont in his "Sword of Damocles - Invasion" thread

scripts.txt
game_event_simulate_battle -1
204 21 1 1224979098644774912 22 1 1224979098644774913 4 0 2204 2 1224979098644774914 1224979098644774912 2204 2 1224979098644774915 1224979098644774913 2147483679 2 1224979098644774914 432345564227567629 2147483679 2 1224979098644774915 432345564227567629 2190 3 1224979098644774916 1224979098644774914 1224979098644774915 30 2 1224979098644774916 0 2075 1 1 5 0 2133 2 1224979098644774917 0 4 0 1073741855 2 144115188075856084 1224979098644774912 31 2 144115188075856084 1224979098644774913 2133 2 144115188075856084 -1 2133 2 144115188075855963 144115188075856085 2133 2 1224979098644774917 1 5 0 4 0 1073742365 3 1224979098644774912 2 1 541 3 1224979098644774913 2 1 2133 2 1224979098644774917 1 3 0 501 3 1224979098644774913 2 0 1662 2 1224979098644774912 648518346341351440 1662 2 1224979098644774913 648518346341351439 1 3 936748722493063209 648518346341351440 0 2133 2 1224979098644774918 72057594037927936 1 3 936748722493063209 648518346341351439 0 2133 2 1224979098644774919 72057594037927936 2123 3 1224979098644774918 1224979098644774918 1 2110 2 1224979098644774918 500 2111 2 1224979098644774918 10 2123 3 1224979098644774919 1224979098644774919 1 2110 2 1224979098644774919 500 2105 2 1224979098644774919 10

" First 1 500 10 relates to defender, second 1 500 10 relates to attacker. Default settings are 20 50 1. First number divides party strength, second is minimal strength used to calculate damage after division and third value is added to strength (thinking of it now i don't know why i set third value so low). I'm not sure if my description of this numbers is 100% correct but all in all it does what it should. "


Haven't tested this in an unmodded game, but the function doesn't look any different ... so we might want to add this to the tweaks ?!
 
wow why cant i change anything :evil: i try but when i do it says no path or if i change the name in save as it says save so i say ok then it says you dont have permission from Administrator
 
Dtay08 said:
wow why cant i change anything :evil: i try but when i do it says no path or if i change the name in save as it says save so i say ok then it says you dont have permission from Administrator
Let me guess  - you're using Vista and you've installed the game to C:\program files\ ... ?
In short .. Vista -nice as it is- tries to hide the real folder names from you, redirects the savegame folder for you and keeps someone unauthorised (yes, YOU, the owner!) from fiddling with program files (saves ..) to prevent something bad from happening (after all, all windows users are idiots!).

You might have more luck if you run the Windows Explorer with admin rights and open the files from there .. for the specifics use google ... .

 
Marksman said:
Dtay08 said:
wow why cant i change anything :evil: i try but when i do it says no path or if i change the name in save as it says save so i say ok then it says you dont have permission from Administrator
Let me guess  - you're using Vista and you've installed the game to C:\program files\ ... ?
In short .. Vista -nice as it is- tries to hide the real folder names from you, redirects the savegame folder for you and keeps someone unauthorised (yes, YOU, the owner!) from fiddling with program files (saves ..) to prevent something bad from happening (after all, all windows users are idiots!).

You might have more luck if you run the Windows Explorer with admin rights and open the files from there .. for the specifics use google ... .
The easiest thing to do is to download Notepad++, that way you can change them.

Or you could set the path to:
C:\Users\Blah Blah\AppData\Local\VirtualStore\Program Files\Mount&Blade\Modules\Native
And save it there, that works too.
 
is there a way to combine those two ?
Make the amount you get for prisoners vary based upon the level of the prisoner.
Dialog to make tavern keepers buy prisoners from you.
Tavern keeper pays 50 like Ramun :sad:

I compared the lines

Code:
dlga_ramun_talk:                ramun_sell_prisoners 65664 27   2 2159 1 72057594037927936 30 2 72057594037927936 1 I've_brought_you_some_prisoners,_Ramun._Would_you_like_a_look?  28  0 
dlga_ransom_broker_talk:ransom_broker_sell_prisoners 69631 625  2 2159 1 72057594037927936 30 2 72057594037927936 1 Then_you'd_better_bring_your_purse._I_have_got_prisoners_to_sell.  626  0 
dlga_tavernkeeper_talk: ransom_broker_sell_prisoners 69631 610  2 2159 1 72057594037927936 30 2 72057594037927936 1 I_have_prisoners_to_sell.  626  0

and it looks like tavern keeper should have same dialog as ransom brokers, but he keeps paying 50 while brokers pay according to level.
 
I can't get Tavern Keepers to sell prisoners at all, can anyone help with this pls? Tried following the eg. earlier in thread but it doesn't work, all other tweaks I've tried work fine
 
hotmitts said:
I can't get Tavern Keepers to sell prisoners at all, can anyone help with this pls? Tried following the eg. earlier in thread but it doesn't work, all other tweaks I've tried work fine

I just came here to complaint about same thing :smile: it works in Reyvadin and Sargoth, but doesnt work in suno, very weird. Its like Teeper in Suno is using another dialog file.
 
Any changes you make to conversation.txt will not show up in game if your languages folder contains a file for the language of your game.  I was trying to play a Chinese mod that had an /en language file, which my English game version used to override conversation.txt and undo my tweaks.
 
Marksman said:
Haven't seen it mentioned anywhere here... :

Change speed of AI vs AI battles by modifying damage each side takes each "round"
by vonmistont in his "Sword of Damocles - Invasion" thread

(...)

Haven't tested this in an unmodded game, but the function doesn't look any different ... so we might want to add this to the tweaks ?!

I already posted it somewhere around page 59. And I changed the numbers to native ones. Thanks for good intentions though.

Here is another one:

If you want your kingdom to spawn caravans open triggers.txt and change this line:
1.000000 0.000000 0.000000  0  9 6 3 1224979098644774912 432345564227567629 432345564227567635 542 3 1224979098644774912 21 0 2147483679 2 1224979098644774912 432345564227567629 4 0 2136 3 1224979098644774913 0 100 2147483678 2 1224979098644774913 10 1 3 936748722493063294 1224979098644774912 11 3 0 3 0
to this line:
1.000000 0.000000 0.000000  0  8 6 3 1224979098644774912 432345564227567629 432345564227567635 542 3 1224979098644774912 21 0 4 0 2136 3 1224979098644774913 0 100 2147483678 2 1224979098644774913 10 1 3 936748722493063294 1224979098644774912 11 3 0 3 0
 
Back
Top Bottom