Search results for query: *

  1. Diplomacy mod for module version 1.168 help ???

    On my own, I recently went through the Diplomacy 4.3 module source and updated it for the 1.166 module system changes, but honestly almost nothing changed. Diplomacy 4.3 should definitely work fine with v1.168, despite any warnings.
  2. SP Native Respec Mod and NPC Import & Export Mod for Warband 1.168

    Thanks for posting the source tweaks for the simple import/export of companions. As an exercise in using modmerger, I created the following code for a mini-mod. Save the below code as exportcomp_dialogs.py modmerger and add exportcomp to your modmerger_options file. You will need  Caba`drin extensions to modmerger from here.

    Code:
    # -*- coding: cp1254 -*-
    from header_common import *
    from header_dialogs import *
    from header_operations import *
    from header_parties import *
    from header_item_modifiers import *
    from header_skills import *
    from header_triggers import *
    from ID_troops import *
    from ID_party_templates import *
    from module_constants import *
    
    from util_wrappers import *
    
    def modmerge_dialogs(orig_dialogs):
        # Start - Allow export and import of companions
    
        # Set troop back to player before opening equipment
        dialog = FindDialog(orig_dialogs, ststate="member_trade",
                            endstate="do_member_trade")
        cons_block = dialog.GetConsequenceBlock()
        pos = cons_block.FindLineMatching((change_screen_equip_other))
        cons_block.InsertBefore(pos, [(set_player_troop, "trp_player")])
    
        # Set troop back to player when ending conversation
        dialog = FindDialog(orig_dialogs, ststate="member_talk",
                            endstate="close_window")
        cons_block = dialog.GetConsequenceBlock()
        pos = cons_block.FindLastLine()
        cons_block.InsertAfter(pos, [(set_player_troop, "trp_player")])
    
        # Set player troop to companion we are talking with for stats screen
        dialog = FindDialog(orig_dialogs, ststate="view_member_char_requested",
                            endstate="do_member_view_char")
        cons_block = dialog.GetConsequenceBlock()
        pos = cons_block.FindLineMatching((change_screen_view_character))
        cons_block.InsertBefore(pos, [(set_player_troop, "$g_talk_troop")])
    
        # End - Allow export and import of companions
    
    
    def modmerge(var_set):
       try:
          orig_dialogs = var_set["dialogs"]
          modmerge_dialogs(orig_dialogs)
       except KeyError:
          raise ValueError("Variable set missing dialogs")

    Happy New Year,
    CyberSoul
  3. TweakMB (With Fire & Sword support!) [v5.09; updated 12.29.13]

    Just in case it helps anyone. I was able to run this on Linux through Wine using version 1.6.2 using a new 32-bit prefix with the following winetricks installed:
    corefonts
    dotnet40
    jet40
    mdac27
    msvcirt
    msxml3

    Overall, it works well using the Native 1.158 profile even though I am running Warband version 1.168 from steam.
Back
Top Bottom