Tweaks for Viking Conquest (one for 2.028, others for 2.021, 2.012, 2.010 etc)

BoomBap

Recruit
Best answers
0
kraggrim said:
Crown-stealing from captured kings re-enabled reforged beta

If you want to be able to take crowns from captured kings then open conversation.txt and find this section:
dlga_prisoner_chat_noble_arm3:prisoner_chat_noble_arm3a 69631 3463  6 1541 3 1224979098644774912 144115188075855902 4 32 2 1224979098644774912 0 2147483679 2 1224979098644774912 288230376151712503 2703 2 1224979098644774913 1224979098644774912 32 2 1224979098644774913 35 2325 2 13 1224979098644774912 I'd_like_to_try_on_your_{s13}.  3464  3 2133 2 144115188075856105 4 1541 3 1224979098644774912 144115188075855902 4 2133 2 144115188075855915 1224979098644774912 NO_VOICEOVER
Swap it for this:
dlga_prisoner_chat_noble_arm3:prisoner_chat_noble_arm3a 69631 3463  3 1541 3 1224979098644774912 144115188075855902 4 32 2 1224979098644774912 0 2325 2 13 1224979098644774912 I'd_like_to_try_on_your_{s13}.  3464  3 2133 2 144115188075856105 4 1541 3 1224979098644774912 144115188075855902 4 2133 2 144115188075855915 1224979098644774912 NO_VOICEOVER
Note: There will be a bug where after taking the crown you can then also choose to take 5 normal helmets from the king.
Got it to work on 2.050

Use this line instead: dlga_prisoner_chat_noble_arm3:prisoner_chat_noble_arm3a 69631 3441  3 1541 3 1224979098644774912 144115188075855902 4 32 2 1224979098644774912 0 2325 2 13 1224979098644774912 I'd_like_to_try_on_your_{s13}.  3442  3 2133 2 144115188075856105 4 1541 3 1224979098644774912 144115188075855902 4 2133 2 144115188075855915 1224979098644774912 NO_VOICEOVER
 

BeardsleysWrap

Recruit
Best answers
0
kraggrim said:
Stop other kingdoms declaring war to curb your realm's power (2.021)

Ok, backup scripts.txt and then find this bit:

npc_decision_checklist_peace_or_war -1
445
Change the 445 to 427

then remove this whole section from that script:
5 0 31 2 1224979098644774951 1224979098644774913 31 2 1224979098644774920 0 1073741854 2 1224979098644774932 -1 2147483678 2 1224979098644774960 1440 2133 2 1224979098644774966 0 6 3 1224979098644774967 432345564227567631 432345564227567653 2147483679 2 1224979098644774967 1224979098644774912 2147483679 2 1224979098644774967 1224979098644774913 542 3 1224979098644774967 21 0 2190 3 1224979098644774968 1224979098644774967 1224979098644774913 2147483678 2 1224979098644774968 0 2133 2 1224979098644774966 1 3 0 31 2 1224979098644774966 1 2133 2 1224979098644774961 -1 2106 2 1224979098644774961 1224979098644774939 2133 2 1224979098644774962 216172782113786260
I think that will mean no more declaring war to curb power, if I'm reading it right. Your existing wars will still be ongoing, and they might declare war for other reasons. Not tested it myself but apparently it works.
This seems to have all changed. Does anyone know if it still works/how to enter it in version 2.050?
 

kalarhan

Python Saint
Count
WBNWVCWF&S
Best answers
31
BeardsleysWrap said:
This seems to have all changed. Does anyone know if it still works/how to enter it in version 2.050?
numbers change with the version (2.021 to 2.050). You can either check [VC Tweaks Tool] or the game source code to apply this tweak on your own customizable version.

the tool has this for reference: TWEAK_STOP_AI_DECLARING_WAR_IF_YOU_ARE_TOO_STRONG

how to apply it (tool, base source or .txt) is up to you, either works.
 

BeardsleysWrap

Recruit
Best answers
0
kalarhan said:
BeardsleysWrap said:
This seems to have all changed. Does anyone know if it still works/how to enter it in version 2.050?
numbers change with the version (2.021 to 2.050). You can either check [VC Tweaks Tool] or the game source code to apply this tweak on your own customizable version.

the tool has this for reference: TWEAK_STOP_AI_DECLARING_WAR_IF_YOU_ARE_TOO_STRONG

how to apply it (tool, base source or .txt) is up to you, either works.
I have no idea what I'm doing.
 

AfLIcTeD

Veteran
Best answers
0
The easiest way I did it was to find this bit in scripts.
npc_decision_checklist_peace_or_war -1
454 23 2 1224979098644774912 1 23 2 1224979098644774913 2 23 2 1224979098644774914
Increase this number by one.
Then find this next bit.

2133 2 1224979098644774962 216172782113786259 5 0 31 1 1 31 2 1224979098644774951 1224979098644774913 31 2 1224979098644774920 0 1073741854 2 1224979098644774932 -1 2147483678 2 1224979098644774960 1440 2133 2 1224979098644774966 0
Then add this bit. Easiest way to find this part is to search for 1440.
 

BeardsleysWrap

Recruit
Best answers
0
AfLIcTeD said:
The easiest way I did it was to find this bit in scripts.
npc_decision_checklist_peace_or_war -1
454 23 2 1224979098644774912 1 23 2 1224979098644774913 2 23 2 1224979098644774914
Increase this number by one.
Then find this next bit.

2133 2 1224979098644774962 216172782113786259 5 0 31 1 1 31 2 1224979098644774951 1224979098644774913 31 2 1224979098644774920 0 1073741854 2 1224979098644774932 -1 2147483678 2 1224979098644774960 1440 2133 2 1224979098644774966 0
Then add this bit. Easiest way to find this part is to search for 1440.
Done that, it seems to be working. The game loads and nobody's declared war on me in the last 30 seconds.

Thanks man!
 

kalarhan

Python Saint
Count
WBNWVCWF&S
Best answers
31
AfLIcTeD said:
5 0 31 1 1
to add a switch OFF you need a " 31 2 1 0 ", which means

Code:
(eq, 1, 0),
Code:
eq                         = 31      # (eq, <value1>, <value2>),
                                     # Checks that value1 == value2
else_try                =    5  # (else_try),
                                # If conditional operations in the conditional block fail, this block of code will be executed.
in other words: if 1 is equal to 0 (which is not, so always FALSE)

remember the .txt is generated using the format: [operation ID] [number of parameters] [parameter 1] ... [parameter n]
 

BeardsleysWrap

Recruit
Best answers
0
So should I change the 31 1 1 to 31 2 1 0?

Also, the number under  npc_decision_checklist_peace_or_war -1 was 453 so I changed it to 454.

Just double checking I've got all of this right.
 

Forest S.

Recruit
Best answers
0
kraggrim said:
Stop your wife cheating (2.012)

Back up simple_triggers.txt then find this bit:
168.000000  67 520 3 1224979098644774912 360287970189639680 7 2123 3 1224979098644774913 1224979098644774912 200 2106 2 1224979098644774912 1224979098644774913 500 3 360287970189639680 7 1224979098644774912 6 3 1224979098644774914 360287970189640150 360287970189640256 4 0 540 3 1224979098644774914 41 -1 540 3 1224979098644774914 42 2 500 3 1224979098644774914 42 1 3 0 520 3 1224979098644774915 1224979098644774914 41 30 2 1224979098644774915 0 2133 2 1224979098644774916 1 4 0 31 2 1224979098644774915 360287970189639680 2133 2 1224979098644774917 144115188075857137 2105 2 1224979098644774916 100 2106 2 1224979098644774916 1224979098644774917 5 0 1073742364 3 1224979098644774915 52 6 1073742364 3 1224979098644774915 52 7 540 3 1224979098644774915 52 10 2105 2 1224979098644774916 10 5 0 1073742364 3 1224979098644774915 52 1 1073742364 3 1224979098644774915 52 3 540 3 1224979098644774915 52 8 2105 2 1224979098644774916 15 5 0 2105 2 1224979098644774916 17 3 0 2136 3 1224979098644774918 1 350 4 0 2147483678 2 1224979098644774918 1224979098644774916 520 3 1224979098644774919 1224979098644774914 30 30 2 1224979098644774919 0 2133 2 1224979098644774920 0 4 0 31 2 1224979098644774919 360287970189639680 2270 1 1224979098644774921 520 3 1224979098644774922 1224979098644774914 169 2106 2 1224979098644774921 1224979098644774922 2147483678 2 1224979098644774921 720 2133 2 1224979098644774920 1 3 0 31 2 1224979098644774920 0 1 4 936748722493063755 1224979098644774915 1224979098644774919 -40 1 4 936748722493063755 1224979098644774914 1224979098644774919 -40 4 0 31 2 1224979098644774919 360287970189639680 2322 2 33 1224979098644774915 1120 2 1585267068834417124 1585267068834417125 3 0 4 0 31 2 1224979098644774915 360287970189639680 500 3 1224979098644774914 42 1 3 0 520 3 1224979098644774923 1224979098644774915 153 2105 2 1224979098644774923 8 500 3 1224979098644774915 153 1224979098644774923 520 3 1224979098644774924 1224979098644774919 7 2105 2 1224979098644774924 -10 500 3 1224979098644774919 7 1224979098644774924 500 3 1224979098644774914 43 1 500 3 1224979098644774914 41 -1 3 0 3 0

If you want to stop her cheating completely then change both the -40s to -0 and change the 1120 to 1104.

Another option is that you can change the 169 into 4, then there will only be a chance of her cheating if you've not talked to her in a month. Tested and this works.
I can't find it, can you tell me in which line it is?
 

kalarhan

Python Saint
Count
WBNWVCWF&S
Best answers
31
Forest S. said:
kraggrim said:
Stop your wife cheating (2.012)

If you want to stop her cheating completely then change both the -40s to -0 and change the 1120 to 1104.
...
I can't find it, can you tell me in which line it is?
removed with VC 2.025. As in, this mechanic/feature no longer exists. No need to tweak it.
 

Forest S.

Recruit
Best answers
0
kalarhan said:
Forest S. said:
kraggrim said:
Stop your wife cheating (2.012)

If you want to stop her cheating completely then change both the -40s to -0 and change the 1120 to 1104.
...
I can't find it, can you tell me in which line it is?
removed with VC 2.025. As in, this mechanic/feature no longer exists. No need to tweak it.
Really? I didn't know that, thanks:grin:
 

AfLIcTeD

Veteran
Best answers
0
BeardsleysWrap said:
So should I change the 31 1 1 to 31 2 1 0?

Also, the number under  npc_decision_checklist_peace_or_war -1 was 453 so I changed it to 454.

Just double checking I've got all of this right.
I think 31 2 1 0 is the correct way to do it, but I put 31 1 1, as I didn't fully understand it when I copied it from the tweak tool. I basically ingnored that 0. I put "(eq, 1)," for all the switch off tweaks and they all work.
 

Zergkaninchen

Recruit
Best answers
0
Hi,

I got two requests:

1) I'm pretty sure that there was a tweak to define the earliest point enemies try to flee a battle in seconds (think I set mine to 200 seconds), but for the life of me I can't find it again, although I'd really like to set it higher since I hate running after fleeing combatants (alternative would be to idle around, which isn't exactly thrilling either).

2) I would love to always be on horse in towns/farms. I know there is a tweak in the VC_Tweaks tool, but as I understand it, it would undo all the other changes I made and even if not, I tried it and it messed up my whole game (to be fair, the readme said to not load a game, but start a new one, but that's out of the question. I'll give it another shot, when I start a new game some day).

Does anyone know these tweaks?

Thanks

Edit: 3) Also if there were a tweak to prevent horses from dying, that would be awesome (not making them invincible, but preventing them from completely disappearing from your inventory)

Another edit: 4) "Join either side in an ongoing battle Reforged/2.0" tweak is reported as broken, any chance someone can fix this?^^
 

kalarhan

Python Saint
Count
WBNWVCWF&S
Best answers
31
Zergkaninchen said:
it would undo all the other changes I made and even if not
suggestion: what you can do is use the game source code and/or Tweaks Tool on another module, apply the new tweaks you want and compare the before/after on the .txt and see if you can then apply those changes to your own mod. Learning the basics of how those numbers work and what they do would give you the freedom for more.

updates for old tweaks and/or new ones published here are unlikely are this point (most players moved on already).
 

Zergkaninchen

Recruit
Best answers
0
kalarhan said:
Zergkaninchen said:
it would undo all the other changes I made and even if not
suggestion: what you can do is use the game source code and/or Tweaks Tool on another module, apply the new tweaks you want and compare the before/after on the .txt and see if you can then apply those changes to your own mod. Learning the basics of how those numbers work and what they do would give you the freedom for more.

updates for old tweaks and/or new ones published here are unlikely are this point (most players moved on already).
Good idea (honestly), though it would probably help if I knew which file handles the the chance of riding your horse into town (+ it would probably be a lot easier if I would do this with a vanilla file),
but the other changes aren't in the vc_tweak tool, so that wouldn't work.

Also, I guessed that new tweaks probably wouldn't be made, I just hoped someone here knew already existing tweaks which aren't listed here (for some reason).
Anyways, had a look at those other tweak threads (as recommended in the initial post) and found some other nice things I could figure out how to apply to vc which is nice. yay.)
 

Zergkaninchen

Recruit
Best answers
0
Zergkaninchen said:
1) I'm pretty sure that there was a tweak to define the earliest point enemies try to flee a battle in seconds (think I set mine to 200 seconds), but for the life of me I can't find it again, although I'd really like to set it higher since I hate running after fleeing combatants (alternative would be to idle around, which isn't exactly thrilling either).
Found it, sort of. It is a tweak in TweakMB, but it is disabled for Viking Conquest.
I then opened the "Native" module and looked the tweak up in the TweakMB's Tweak Viewer where I think I found it (and it seems to work with no unwanted side effects).

In scripts.txt search for "decide_run_away_or_not -1"

Maybe better don't use the value below, something's not quite right yet!
decide_run_away_or_not -1
60 23 2 1224979098644774912 1 23 2 1224979098644774913 2 2133 2 1224979098644774914 0 1770 2 1224979098644774915 1224979098644774912 1773 2 1224979098644774916 1224979098644774912 4 0 2147483678 2 1224979098644774916 9 1785 3 1224979098644774917 1224979098644774915 1224979098644774916 31 2 1224979098644774917 14 2133 2 1224979098644774914 1 3 0 525 3 1224979098644774918 1224979098644774912 15 4 0 31 2 1224979098644774918 0 4 0 31 2 1224979098644774914 1 1735 1 1224979098644774912 1751 1 1224979098644774912 505 3 1224979098644774912 15 1 5 0 30 2 1224979098644774913 45 525 3 1224979098644774919 1224979098644774912 16 1720 2 1224979098644774920 1224979098644774912 2107 2 1224979098644774920 4 4 0 1706 1 1224979098644774912 2106 2 1224979098644774920 100 3 0 2107 2 1224979098644774920 10 2121 3

Change the 45 to a value of your liking, I chose 1200, which translates to 1200 seconds, meaning no enemy can flee before the battle lasted at least 1200 seconds, more than enough time to kill them all.

Edit: Okay, scratch that. Either there is another factor forcing the enemy to flee or it's just the wrong value xD. Anyways, somewhere there might be the solution to my problem. Hm, I wonder what I've changed there?! At first it seemed to work, but just now I had a battle where the enemy tried to flee, so...
 

Zergkaninchen

Recruit
Best answers
0
Zergkaninchen said:
Zergkaninchen said:
1) I'm pretty sure that there was a tweak to define the earliest point enemies try to flee a battle in seconds (think I set mine to 200 seconds), but for the life of me I can't find it again, although I'd really like to set it higher since I hate running after fleeing combatants (alternative would be to idle around, which isn't exactly thrilling either).
Found it, sort of. It is a tweak in TweakMB, but it is disabled for Viking Conquest.
I then opened the "Native" module and looked the tweak up in the TweakMB's Tweak Viewer where I think I found it (and it seems to work with no unwanted side effects).

In scripts.txt search for "decide_run_away_or_not -1"

Maybe better don't use the value below, something's not quite right yet!
decide_run_away_or_not -1
60 23 2 1224979098644774912 1 23 2 1224979098644774913 2 2133 2 1224979098644774914 0 1770 2 1224979098644774915 1224979098644774912 1773 2 1224979098644774916 1224979098644774912 4 0 2147483678 2 1224979098644774916 9 1785 3 1224979098644774917 1224979098644774915 1224979098644774916 31 2 1224979098644774917 14 2133 2 1224979098644774914 1 3 0 525 3 1224979098644774918 1224979098644774912 15 4 0 31 2 1224979098644774918 0 4 0 31 2 1224979098644774914 1 1735 1 1224979098644774912 1751 1 1224979098644774912 505 3 1224979098644774912 15 1 5 0 30 2 1224979098644774913 45 525 3 1224979098644774919 1224979098644774912 16 1720 2 1224979098644774920 1224979098644774912 2107 2 1224979098644774920 4 4 0 1706 1 1224979098644774912 2106 2 1224979098644774920 100 3 0 2107 2 1224979098644774920 10 2121 3

Change the 45 to a value of your liking, I chose 1200, which translates to 1200 seconds, meaning no enemy can flee before the battle lasted at least 1200 seconds, more than enough time to kill them all.

Edit: Okay, scratch that. Either there is another factor forcing the enemy to flee or it's just the wrong value xD. Anyways, somewhere there might be the solution to my problem. Hm, I wonder what I've changed there?! At first it seemed to work, but just now I had a battle where the enemy tried to flee, so...
small update: since i changed the value above, it doesn't stop enemy troops completely from running away, but it definitely reduced it. ¯\_(ツ)_/¯