Possible to make companions not hate each other?

正在查看此主题的用户

mdk31

Sergeant Knight
Is it possible to make companions not hate each other, regardless of which ones I have in my party? Tired of dealing with their shit.
 
oh that disable complain will just stop them from commenting about the companion but their morale will gradually drop. you can't change that unless you edit the module_script.py i also hate it when my companions hate each other so i tweaked the kingsupportopponent and other feature
 
I do indeed have the module_script.py but I'm not sure what variable to modify to make them bugger off and stop whining. Or at least, make it so that their whines do no damage to their morale.
 
normally you'd get trashed by other mods for not reading the tutorials like how some troll mods did to me but since im new im enthusiastic about this so i'll tell you how i do it.

make 2 dummy npc companions that will take all the hate of the other npc companions
but one of the dummy you can still make use of him/her as your Minister if you plan to start a faction

go to your mod sys
edit module_scripts.py
ctrl+F: (find) "trp_npc1" its gonna lead you to #borcha

插入代码块:
#NPC companion changes begin
  ("initialize_npcs",
    [

# set strings

        (troop_set_slot, "trp_npc1", slot_troop_morality_type, tmt_aristocratic),  #borcha
        (troop_set_slot, "trp_npc1", slot_troop_morality_value, 4),  #borcha
        (troop_set_slot, "trp_npc1", slot_troop_2ary_morality_type, tmt_aristocratic),  #borcha
        (troop_set_slot, "trp_npc1", slot_troop_2ary_morality_value, -1),
        (troop_set_slot, "trp_npc1", slot_troop_personalityclash_object, "trp_npc2"),  #borcha - deshavi
        (troop_set_slot, "trp_npc1", slot_troop_personalityclash2_object, "trp_npc2"),  #borcha - klethi
        (troop_set_slot, "trp_npc1", slot_troop_personalitymatch_object, "trp_npc7"),  #borcha - marnid
        (troop_set_slot, "trp_npc1", slot_troop_home, "p_village_25"), #Dashbiga
        (troop_set_slot, "trp_npc1", slot_troop_payment_request, 300),  
		(troop_set_slot, "trp_npc1", slot_troop_kingsupport_argument, argument_ruler),
		(troop_set_slot, "trp_npc1", slot_troop_kingsupport_opponent, "trp_npc2"), #lezalit
		(troop_set_slot, "trp_npc1", slot_troop_town_with_contacts, "p_town_17"), #ichamur
		(troop_set_slot, "trp_npc1", slot_troop_original_faction, 0), #ichamur
		(troop_set_slot, "trp_npc1", slot_lord_reputation_type, lrep_roguish), #
		
		
		
        (troop_set_slot, "trp_npc2", slot_troop_morality_type, tmt_humanitarian), #marnid
        (troop_set_slot, "trp_npc2", slot_troop_morality_value, 2),  
        (troop_set_slot, "trp_npc2", slot_troop_2ary_morality_type, tmt_honest),  
        (troop_set_slot, "trp_npc2", slot_troop_2ary_morality_value, 1),
        (troop_set_slot, "trp_npc2", slot_troop_personalityclash_object, "trp_npc1"), #marnid - beheshtur
        (troop_set_slot, "trp_npc2", slot_troop_personalityclash2_object, "trp_npc1"), #marnid - alayen
        (troop_set_slot, "trp_npc2", slot_troop_personalitymatch_object, "trp_npc5"),  #marnid - borcha
        (troop_set_slot, "trp_npc2", slot_troop_home, "p_town_1"), #Sargoth
        (troop_set_slot, "trp_npc2", slot_troop_payment_request, 0), 
		(troop_set_slot, "trp_npc2", slot_troop_kingsupport_argument, argument_victory),
		(troop_set_slot, "trp_npc2", slot_troop_kingsupport_opponent, "trp_npc1"), #klethi
		(troop_set_slot, "trp_npc2", slot_troop_town_with_contacts, "p_town_1"), #Sargoth
		(troop_set_slot, "trp_npc2", slot_troop_original_faction, 0), #ichamur
		(troop_set_slot, "trp_npc2", slot_lord_reputation_type, lrep_custodian), #

#
        (troop_set_slot, "trp_npc3", slot_troop_morality_type, tmt_aristocratic), #Ymira
        (troop_set_slot, "trp_npc3", slot_troop_morality_value, 4),  
        (troop_set_slot, "trp_npc3", slot_troop_2ary_morality_type, tmt_aristocratic), 
        (troop_set_slot, "trp_npc3", slot_troop_2ary_morality_value, -1),
        (troop_set_slot, "trp_npc3", slot_troop_personalityclash_object, "trp_npc1"), #Ymira - artimenner
        (troop_set_slot, "trp_npc3", slot_troop_personalityclash2_object, "trp_npc2"), #Ymira - matheld
        (troop_set_slot, "trp_npc3", slot_troop_personalitymatch_object, "trp_npc9"), #Ymira - alayen
        (troop_set_slot, "trp_npc3", slot_troop_home, "p_town_3"), #Veluca
        (troop_set_slot, "trp_npc3", slot_troop_payment_request, 0), 
		(troop_set_slot, "trp_npc3", slot_troop_kingsupport_argument, argument_lords),
		(troop_set_slot, "trp_npc3", slot_troop_kingsupport_opponent, "trp_npc1"), #klethi
		(troop_set_slot, "trp_npc3", slot_troop_town_with_contacts, "p_town_15"), #yalen
		(troop_set_slot, "trp_npc3", slot_troop_original_faction, 0), #ichamur
		(troop_set_slot, "trp_npc3", slot_lord_reputation_type, lrep_benefactor), #

		
		
        (troop_set_slot, "trp_npc4", slot_troop_morality_type, tmt_aristocratic), #Rolf
        (troop_set_slot, "trp_npc4", slot_troop_morality_value, 4),  
        (troop_set_slot, "trp_npc4", slot_troop_2ary_morality_type, tmt_honest), 
        (troop_set_slot, "trp_npc4", slot_troop_2ary_morality_value, -1),
        (troop_set_slot, "trp_npc4", slot_troop_personalityclash_object, "trp_npc1"), #Rolf - bunduk
        (troop_set_slot, "trp_npc4", slot_troop_personalityclash2_object, "trp_npc2"), #Rolf - deshavi
        (troop_set_slot, "trp_npc4", slot_troop_personalitymatch_object, "trp_npc5"), #Rolf - beheshtur
        (troop_set_slot, "trp_npc4", slot_troop_home, "p_village_34"), #Ehlerdah
        (troop_set_slot, "trp_npc4", slot_troop_payment_request, 300), 
		(troop_set_slot, "trp_npc4", slot_troop_kingsupport_argument, argument_claim),
		(troop_set_slot, "trp_npc4", slot_troop_kingsupport_opponent, "trp_npc1"), #firentis
		(troop_set_slot, "trp_npc4", slot_troop_town_with_contacts, "p_town_3"), #veluca
		(troop_set_slot, "trp_npc4", slot_troop_original_faction, 0), #ichamur
		(troop_set_slot, "trp_npc4", slot_lord_reputation_type, lrep_cunning), #

		
        (troop_set_slot, "trp_npc5", slot_troop_morality_type, tmt_aristocratic),  #beheshtur
        (troop_set_slot, "trp_npc5", slot_troop_morality_value, 3),  #beheshtur
        (troop_set_slot, "trp_npc5", slot_troop_2ary_morality_type, -1),
        (troop_set_slot, "trp_npc5", slot_troop_2ary_morality_value, 0),
        (troop_set_slot, "trp_npc5", slot_troop_personalityclash_object, "trp_npc2"),  #beheshtur - marnid
        (troop_set_slot, "trp_npc5", slot_troop_personalityclash2_object, "trp_npc1"),  #beheshtur- katrin
        (troop_set_slot, "trp_npc5", slot_troop_personalitymatch_object, "trp_npc4"),  #beheshtur - rolf
        (troop_set_slot, "trp_npc5", slot_troop_home, "p_town_14"), #Halmar
        (troop_set_slot, "trp_npc5", slot_troop_payment_request, 400),
		(troop_set_slot, "trp_npc5", slot_troop_kingsupport_argument, argument_ruler),
		(troop_set_slot, "trp_npc5", slot_troop_kingsupport_opponent, "trp_npc1"), #firentis
		(troop_set_slot, "trp_npc5", slot_troop_town_with_contacts, "p_town_10"), #tulga
		(troop_set_slot, "trp_npc5", slot_troop_original_faction, "fac_kingdom_3"), #khergit
		(troop_set_slot, "trp_npc5", slot_lord_reputation_type, lrep_cunning), #
this is pretty much self explanatory

what i did is make borcha the npc1 and marnid the npc2 take all the hate of other npc
you only need to change the lines slot_troop_personalityclash_object, slot_troop_personalityclash_object2 and slot_troop_kingsupport_opponent just put their npc ID tags on those lines and thats it.
just use mine as reference if you want something different

you can also edit the module_trigger to work on their hate properties but editing 2 scripts will just make things complex right? so i just told you about module_scripts to make things easier.

i really know how you feel about getting companions leveling them up then they betray you of leaving the party lol were probably rpg gamers that hates that

btw if you plan for that npc to hold your fief and become your vasal i suggest you change their personality to tmt_aristocratic so the other faction lords will not comment about your peerless companions not being noble
 
Alundra 说:
make 2 dummy npc companions that will take all the hate of the other npc companions
but one of the dummy you can still make use of him/her as your Minister if you plan to start a faction


There is no need to make a dummy companion. You can use Xerina, Dranton, Kradus, or likely any other NPC.

I use trp_Dranton.


As for other complaints change them as appropriate for your style of play, here is what the different types complain about:

humanitarian = loot village, attack villagers, steal from villagers, rob caravan, sell people into slavery.

egalitarian = run out of food, not be able to pay the men, get slaughtered, excessive casualties.

honest = fail quest".

aristocratic = pay off bandits, surrender, run from battle

Aristocratic does nothing once they become lords, only the "lrep" control how they behave as lords, and whether they are noble or common.


As for Lord Reputation, I recommend lrep_martial, lrep_cunning, lrep_goodnatured, and lrep_upstanding 
Cunning makes the best leaders if you ask me, but goodnatured is the most loyal (upstanding if you have really high honor).

Roguish , benefactor, and custodian are commoners, so if you want to make them lords change it to one of the above. 
 
后退
顶部 底部