Author Topic: Tweaks for Viking Conquest (one for 2.028, others for 2.021, 2.012, 2.010 etc)  (Read 320670 times)

0 Members and 2 Guests are viewing this topic.

kraggrim

  • Marquis
  • *
    • View Profile
  • Faction: Neutral
  • WBM&BWF&SNWVC
Re: Tweaks for Viking Conquest 1.04 (some for 1.03/1.03beta/Reforged beta)
« Reply #180 on: July 16, 2015, 02:05:18 PM »
Hi boriss, did you try this one? It might be adaptable for the current version, give it a shot.

boriss

  • Recruit
  • *
    • View Profile
  • Faction: Neutral
Re: Tweaks for Viking Conquest 1.04 (some for 1.03/1.03beta/Reforged beta)
« Reply #181 on: July 16, 2015, 02:08:17 PM »
kraggrim
Just checked, yes i had this one changed also.

kraggrim

  • Marquis
  • *
    • View Profile
  • Faction: Neutral
  • WBM&BWF&SNWVC
Re: Tweaks for Viking Conquest 1.04 (some for 1.03/1.03beta/Reforged beta)
« Reply #182 on: July 16, 2015, 02:16:38 PM »
Ah well, must be the same as villages now where the recruits are designated individually in their own slots.  After the VC source code is released we can probably work up a tweak that switches these automatically when a centre changes hands, but for now you'll have to use the save editor.

Jeebus68

  • Recruit
  • *
    • View Profile
  • Faction: Neutral
Re: Some small tweaks for Viking Conquest (1.03 beta)
« Reply #183 on: July 17, 2015, 01:15:27 AM »
Does replacing the unhappiness checker still work?  I swear it was working until the last update for the Viking conquest DLC/Mod.  After the update every companion is getting pissed and threatening to leave.  Even after re-editing my triggers file. 

Change time between companions trying to leave:

Tired of constantly reminding your companions that nobody gets to leave the party? Use this!

Make a backup of triggers.txt, then open it and search for
Code: [Select]
0.000000 0.000000 24 There are four three instances, the one nearest the top of the file is the one you want. Change that 24 to a higher number, 99999 worked for me.

Please note, if it's the same as Brytenwalda this trigger contains a few different companion conflict related things (see the spoiler below). I would advise only using this if you have your party as you'd like to have it for the rest of the game. Do not use during story mode, I don't know for sure but would probably **** things up.

(click to show/hide)

You can see what is probably the :grievance_divisor", 100 in the text file just along from the 24.0000.  Changing that might be a more elegant way of doing this, not tried it though.

EDIT: tested from a new game in 1.04 sandbox, companions will complain about and praise each other after battle but never try to leave, so should be fine to have on from the start.

EDIT 2: This will affect companions sent off on missions, so you'll need to reset it when you want them back.

kraggrim

  • Marquis
  • *
    • View Profile
  • Faction: Neutral
  • WBM&BWF&SNWVC
Re: Tweaks for Viking Conquest 1.04 (some for 1.03/1.03beta/Reforged beta)
« Reply #184 on: July 20, 2015, 01:58:37 AM »
Alternate Crown Model (probably any version, though only tested in reforged beta)
(click to show/hide)

In your resources folder make a copy of vc_hoods.brf, then download this one and swap it in. It just uses existing materials and textures so no need to worry about that stuff. Will replace the existing one for the player (if they have one) and all kings.

Edit: Updated link with slightly tweaked version that should look a bit better, plus another couple of variants included in the brf.
(click to show/hide)
(click to show/hide)
If you want to change it open the file up using a program called OpenBRF and rename whichever one you like to 'Crown' and rename the current one to something else.
« Last Edit: February 14, 2016, 07:06:32 AM by kraggrim »

kraggrim

  • Marquis
  • *
    • View Profile
  • Faction: Neutral
  • WBM&BWF&SNWVC
Re: Tweaks for Viking Conquest 1.04 (some for 1.03/1.03beta/Reforged beta)
« Reply #185 on: July 23, 2015, 02:03:26 AM »
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:
Quote
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:
Quote
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.

kraggrim

  • Marquis
  • *
    • View Profile
  • Faction: Neutral
  • WBM&BWF&SNWVC
Re: Tweaks for Viking Conquest 1.04 (some for 1.03/1.03beta/Reforged beta)
« Reply #186 on: July 23, 2015, 01:28:03 PM »
Troll or child sized characters (male only for now, tested in 2.005 should be any version)

Make a backup of your saves and then download the save-game editor. Import your save and open the 'troops' section (should be near the bottom), the player character should be at the very top of the list. Open the player troop and find the 'flags' entry, then replace whatever's there with one of these numbers:

Male
268435478   (child)
268435476   (short)
268435472   (normal)
268435474   (tall)
268435480   (troll)

Export the save, and that should be it.
(click to show/hide)
Tall on the left, then troll and child.
« Last Edit: August 30, 2015, 04:24:13 PM by kraggrim »

kraggrim

  • Marquis
  • *
    • View Profile
  • Faction: Neutral
  • WBM&BWF&SNWVC
Re: Tweaks for Viking Conquest 1.04 (some for 1.03/1.03beta/Reforged beta)
« Reply #187 on: July 26, 2015, 02:45:47 PM »
Add Morrigan back to your party as a companion again tested in Reforged/2.0 but probably any version

I would advise against using this in storyline mode as companions play an integral part. Wait until you've finished the main quest.

Irish questline spoilers:
(click to show/hide)
For this make sure you have a companion you don't want that you can swap out for her in your party (remember to remove any equipment you want to keep). Make a backup of your saves and then download the save-game editor. Import your save and open the 'party_records' section (should be about 3/4 of the way down), the player character's party should be #0 at the very top of the list. Find the 'stacks' section and in this find the companion you want to swap out. Their troop_id should be:

(click to show/hide)
Change that number to 1298. Now go to the 'troops' section (about 6 lines under party records), open it and find the companion that you swapped out. Open their 'slots' tab and reset 'slot_troop_occupation (2)' to 0. You also want to set their 'slot_troop_cur_center (12)' to a number between 21 and 50. This is the town they'll be in, you can look which number corresponds to which city under the party_records tab if there's a specific one you want.

If you want it to be like you never met them there's probably a bunch of other slots you want to reset to 0, like slot_troop_met_previously (80), slot_troop_first_encountered (59), slot_troop_present_at_event (9), slot_troop_courtship_state (5), slot_troop_last_talk_time (4). Dunno how important these are really.

Not designed for getting adventuring or lord companions back into your party. I've posted a possible guide for that here, though it's untested. If you try it out let me know if it works or not.

NOTE: QWW has created a mod that allows her to stay. I've not tested it but you're probably better using that if she's not left the party yet.
« Last Edit: November 10, 2015, 12:38:38 PM by kraggrim »

kraggrim

  • Marquis
  • *
    • View Profile
  • Faction: Neutral
  • WBM&BWF&SNWVC
Recruitable ship-viking parties Reforged/2.0

In conversation.txt find this bit:
Quote
dlga_start:battle_reason_stated 4095 0  6 31 2 144115188075856100 2 2202 1 72057594037927941 1609 2 72057594037927943 72057594037927941 1073741855 2 72057594037927943 576460752303423496 1073741855 2 72057594037927943 576460752303423497 31 2 72057594037927943 576460752303423502 I_will_drink_from_your_skull!  3527  1 600 1 1152921504606847115 NO_VOICEOVER
and replace it with this:
Quote
dlga_start:battle_reason_stated 4095 0  10 31 2 144115188075856100 2 2202 1 72057594037927941 1609 2 72057594037927943 72057594037927941 1073741855 2 72057594037927943 576460752303423496 1073741855 2 72057594037927943 576460752303423566 1073741855 2 72057594037927943 576460752303423567 1073741855 2 72057594037927943 576460752303423568 1073741855 2 72057594037927943 576460752303423569 1073741855 2 72057594037927943 576460752303423497 31 2 72057594037927943 576460752303423502 I_will_drink_from_your_skull!  3527  1 600 1 1152921504606847115 NO_VOICEOVER

The 6 is replaced with a 10 (signifies number of parts to this section) and the blue parts are added in to enable this for the extra party templates:
Danish vikingr (78)       566
Vikingr (79)                  567
Norwegian vikingr (80) 568
Swedish vikingr (81)     569

Remember you need space in your fleet for all their soldiers and prisoners, and need enough money to recruit all of them.

kuplas

  • Recruit
  • *
    • View Profile
  • Faction: Neutral
Re: Tweaks for Viking Conquest 1.04 (some for 1.03/1.03beta/Reforged beta)
« Reply #189 on: July 28, 2015, 12:23:20 PM »
Add a certain character back to your party as a companion again Reforged/2.0

Irish questline spoilers:
(click to show/hide)
For this make sure you have a companion you don't want that you can swap out for her in your party (remember to remove any equipment you want to keep). Make a backup of your saves and then download the save-game editor. Import your save and open the 'party_records' section (should be about 3/4 of the way down), the player character's party should be #0 at the very top of the list. Find the 'stacks' section and in this find the companion you want to swap out. Their troop_id should be:

(click to show/hide)
Change that number to 1298. Now go to the 'troops' section (about 6 lines under party records), open it and find the companion that you swapped out. Open their 'slots' tab and reset 'slot_troop_occupation (2)' to 0. You also want to set their 'slot_troop_cur_center (12)' to a number between 21 and 50. This is the town they'll be in, you can look which number corresponds to which city under the party_records tab if there's a specific one you want.

If you want it to be like you never met them there's probably a bunch of other slots you want to reset to 0, like slot_troop_met_previously (80), slot_troop_first_encountered (59), slot_troop_present_at_event (9), slot_troop_courtship_state (5), slot_troop_last_talk_time (4). Dunno how important these are really.

Not designed for getting adventuring or lord companions back into your party. That would be more complex, but you could probably do it with a similar process and by comparing their slots with those of a current companion.

hello i tried ur method i got back morrigan(thanks for that) but i tried to find helgi(the 1 i replaced) so i followed this
(click to show/hide)
so i changed it the occupation to 0 and the town respawn is 45 which is Aileach i went there but i didnt saw helgi is there something i did wrong? and i wanna try Companions: change time between attempts to leave the party(are they gonna stay forever in my party?)
« Last Edit: July 28, 2015, 12:27:22 PM by kuplas »

Dracosoara

  • Recruit
  • *
    • View Profile
  • Faction: Neutral
  • WBVC
Good day, I have just bought Viking Conquest after the RE came out. I jumped into tweaking right away. So far, my (mis)adventure has yielded the right results (though I am not too sure what was I looking at :lol:). But one big obstacle remains:

I want to modify the interval / time between recruiting prisoners. I have done that in other mods a number of times by going to menus.txt, finding the line containing "mno_camp_recruit_prisoners" and searching from there. But in Viking Conquest, I can't find this line, or any similar numeric strings at all! I tested and the time seemed to be 24 hours as before, but I cannot find 24 in any relevant line as well.

Another thing is that, since the factors that affect the prisoner limit is now replaced by renown and party size (I believe), should I go test and try changing the values in the line game_get_party_prisoner_limit in script.txt or should I look somewhere else? I can deal with save game editing as well if need be. Thanks kindly for any help!

kraggrim

  • Marquis
  • *
    • View Profile
  • Faction: Neutral
  • WBM&BWF&SNWVC
kuplas, 45 is Aileach so it might be he'd moved on to another town by the time you got there. Try using the save editor to check his current town and see if he's there. If that doesn't work I'd try starting anew game, saving, then compare that save with your current one in the editor and reset all helgi's slots to what they were in the new game save. Hopefully it will be like you'e never met him and he'll show up now.

'Companions: change time between attempts to leave the party' hasn't been tested in the full reforged release but yes it should stop them trying to leave if you set the number high enough. It does stop them coming back if you send them on missions or lose them for whatever reason. I would recommend this one instead, just keep your morale up for a couple of days as it gradually comes into effect.


Dracosoara, I think prisoner recruitment feature might be in presentations.txt now, have a look there. I'm not sure about the prisoner limit one, I'll have a wee look.

Dracosoara

  • Recruit
  • *
    • View Profile
  • Faction: Neutral
  • WBVC
Thank you! I have found the relevant lines in presentations.txt. For anyone who would like to make the prisoner recruitment interval tweak, below are the steps.

(click to show/hide)

Thanks again!

Edit: I have also found the way to change prisoner limit as well. First go to game_get_party_prisoner_limit in script.txt.

To change the base limit:

(click to show/hide)

In VC, the prisoner limit is increased by 1 when there is an increase of 4 in numbers of troops. To change that number:

(click to show/hide)

I haven't found the renown one yet though, if it exists, but those should suffice for the moment.
« Last Edit: July 28, 2015, 05:05:02 PM by Dracosoara »

kuplas

  • Recruit
  • *
    • View Profile
  • Faction: Neutral
kuplas, 45 is Aileach so it might be he'd moved on to another town by the time you got there. Try using the save editor to check his current town and see if he's there. If that doesn't work I'd try starting anew game, saving, then compare that save with your current one in the editor and reset all helgi's slots to what they were in the new game save. Hopefully it will be like you'e never met him and he'll show up now.

'Companions: change time between attempts to leave the party' hasn't been tested in the full reforged release but yes it should stop them trying to leave if you set the number high enough. It does stop them coming back if you send them on missions or lose them for whatever reason. I would recommend this one instead, just keep your morale up for a couple of days as it gradually comes into effect.


Dracosoara, I think prisoner recruitment feature might be in presentations.txt now, have a look there. I'm not sure about the prisoner limit one, I'll have a wee look.

thanks to u im loving it i got helgi back i wanna collect all the companions btw what slot is the current town they are in i still need to find alichu and caelwin

« Last Edit: July 28, 2015, 05:25:02 PM by kuplas »

Carrion

  • Regular
  • *
    • View Profile
  • Faction: Neutral
Re: Some small tweaks for Viking Conquest 1.03/1.03beta (some for 1.04)
« Reply #194 on: July 28, 2015, 06:02:15 PM »
Player towns/castles generate garrison automatically like AI lords (1.04)

In simple_triggers.txt (make a backup) find this section:

Quote
1.400000  147 2136 3 1224979098644774912 648518346341351445 648518346341351564 2147484189 3 1224979098644774912 7 360287970189639680 1651 2 1224979098644774913 1224979098644774912 7 3 1224979098644774914 0 1224979098644774913 1656 3 1224979098644774915 1224979098644774912 1224979098644774914 2147485155 1 1224979098644774915 1657 3 1224979098644774916 1224979098644774912 1224979098644774914 32 2 1224979098644774916 0 2136 3 1224979098644774917 10 60 2107 2 1224979098644774916 1224979098644774917 2108 2 1224979098644774916 100 4 0 31 2 1224979098644774916 0 2105 2 1224979098644774916 1 3 0 521 3 1224979098644774918 1224979098644774912 49 2122 3 1224979098644774919 1224979098644774916 20 2105 2 1224979098644774918 1224979098644774919 501 3 1224979098644774912 49 1224979098644774918 1616 3 1224979098644774912 1224979098644774915 1224979098644774916 3 0 266 1 1224979098644774920 2133 2 1224979098644774921 1 4 0 31 2 1224979098644774920 0 2133 2 1224979098644774921 3 5 0 31 2 1224979098644774920 1 2133 2 1224979098644774921 2 5 0 31 2 1224979098644774920 2 2133 2 1224979098644774921 1 3 0 2107 2 1224979098644774921 480 521 3 1224979098644774918 1224979098644774912 49 521 3 1224979098644774922 1224979098644774912 50 2133 2 1224979098644774923 1 4 0 1073742385 3 1224979098644774912 400 2 561 3 1224979098644774912 54 1 2133 2 1224979098644774923 0 3 0 4 0 31 2 1224979098644774923 1 2147483680 2 1224979098644774922 72 2122 3 1224979098644774924 1224979098644774922 1224979098644774922 5 0 31 2 1224979098644774923 1 2122 3 1224979098644774924 1224979098644774922 73 5 0 31 2 1224979098644774923 0 2123 3 1224979098644774925 1224979098644774922 2 2122 3 1224979098644774924 1224979098644774925 1224979098644774925 3 0 4 0 561 3 1224979098644774912 7 1 2105

Change 147 to 146 and remove the red 2147484189 3 1224979098644774912 7 360287970189639680 section. The red section seems to be the player exception bit.

I think what will happen is it will automatically sell prisoners from the center and add money to it, then spend that center's money on new troops to add, and maybe upgrade some (this could be a different trigger though). Or it might do 1 of these things, or none, it's an adventure! I'd backup your saves either way and maybe store prisoners you want to keep in a refuge or troop camp.


Towns/castles with no lord fill with troops (1.04 untested)

If you want centers with no assigned Lord to fill their garrison then delete the blue 561 3 1224979098644774912 7 1. Reduce the 147 (or 146 if you have both tweaks) to 146 (145 with both).

This is untested but theoretically should work. If anyone tests it can you please let me know the outcome.

In referance to the first of the two tweeks behaviour, how does this work for AI lords, does it cost them money? I would like the player and AI metagame to behave the same way, it's unfair if they get  free spontaneous garrisons while I have to run around for 2 weeks recruiting.

How do AI normally find troups, do they recruit like the player? Can someone elaborate on the differences between ai and player recruiting?
« Last Edit: July 28, 2015, 06:19:34 PM by Carrion »