Author Topic: [Tutorial] Make your own Companions  (Read 20851 times)

0 Members and 1 Guest are viewing this topic.

Malik Faris

  • Squire
  • *
  • Has over 9000 companions
    • View Profile
    • Lots of Companions for Warband.
  • Faction: Sarranid
  • MP nick: Malik_Faris
  • WBWF&S
[Tutorial] Make your own Companions
« on: August 17, 2010, 01:02:59 AM »
How to Make Your Own Companions:
The Tutorial:
Part Eight:
The Revenge of Count Gutlans:
The Reckoning

With special thanks to iggorbb for showing me how to make my own companions.

You will need:
Python 2.7
32bit: http://www.python.org/ftp/python/2.7/python-2.7.msi
64bit: http://www.python.org/ftp/python/2.7/python-2.7.amd64.msi

To install Python, refer to section 1.2 of this topic:
http://forums.taleworlds.com/index.php/topic,5408.0.html
^You must do this otherwise you won't be able to open the .py(python) files.

Mount & Blade Modsystem:
http://173.192.225.169/mb_warband_module_system_1127.zip
(This is a direct link to the 1.127 version when that goes out of date, goto: http://www.taleworlds.com/main.aspx select downloads from the left of the screen, and under the "other downloads" section will be the new "module system")

You can extract the modsystem files anywhere really, but preferably in their own folder. Maybe make a new folder on your desktop called "My M&B Mod." Or you could extract it into its own folder in the M&B modules folder, that's what i did because i was constantly switching between the two.

And a clean copy of Native, if you used any mods on your native folder like tweakmb your gonna want to get a clean install, which you can get from http://www.taleworlds.com/main.aspx under downloads, latest version.

While your at it, make a copy of your native fold and rename it so you don't screw up your native files, while making your companions.


The only 4 files you need to edit:

These four files are module_info.py, module_scripts.py, module_strings.py and module_troops.py
(click to show/hide)
If you have installed python properly, to open them, right click on them and choose "Edit with IDLE" (right under open).
(click to show/hide)

Step 1: Setting the build_module export directory.

The first file you need to edit is module_info.py, it only has 4 lines of text, and you only need to change one of them.
Quote from: This One
export_dir = "C:/Program Files/Mount&Blade/Modules/Native/"
Quicknote: any line with # in front of it and colored red is a "note" meaning it doesn't do anything, the devs put it there as an instruction or reference. You will see these alot in strings and scripts.
(click to show/hide)
Copy the file path that goes to your copy of the native folder and paste it over the file path next to "export_dir =" , WITH quotes ( " " ) around it. Your also going to have to turn all the backslashes ( \ ) into forward slashes ( / ), and make sure there is a forward slash at the end of whatever your folder is called i.e. "/Native Copy/"

If there isnt it just spits it out into the folder before it (like modules).

After you have done this, click File -> Save.

Now your done with info.py

Step 2: "Designing" your new companion.

One thing that is gonna be helpful/necessary when making your new companions is making the faces. To do this you can use the warband game create a character/face editor.

Quote from: sirinan
Just a quick tip: Going into multiplayer and editing your profile gives quicker access to facecodes. If you play multiplayer, you might want to create a new profile though, so you don't overwrite your favorite face.

You need to have edit mode enabled first off, you can do this from the configuration window on the warband launcher under advanced. It will also help to have warband running in a window instead of fullscreen, you can edit that in configurations too.
(click to show/hide)

Then you can start up warband and either create a new character or load a game, goto your character screen, and click on your picture to open the face editor.
Design the face you want your new companion to have, then press Ctrl+E,
And a box will appear above the face:
(click to show/hide)

We'll be using that crazy string of numbers in just a second.

Open module_troops.py (right click, edit with IDLE).

Make sure you have the window that just popped up selected, and press Ctrl+F.
(click to show/hide)
This will open the Find window (ctrl+f works for a ton of other programs too like IE, Firefox, Word, Excel) type in "npc16" and press find.

This will take you to Klethi's troop entry:
(click to show/hide)
(click to show/hide)
Put a space between Klethi's info and #npc system. Then, copy her info and paste it right underneath her.
(click to show/hide)

Change the copies "npc16" to "npc17" and you can edit the other two names (first one is singular, second one is plural, like the difference between man and men, First one affects what their name shows up as in taverns and such, second one kinda seems like what they put "lord/lady" in front of, so you can have your companions first name be like "John, the knight" and the second name be "John" and when he's given a fief and made a lord he will be "Lord John" instead of "Lord John, the knight")
(click to show/hide)

For testing purposes, at this time, DO NOT change anything else about this new companion, follow the steps down to scripts and strings, just COPYING and pasting what klethi has, and changing the numbers. once you have copied klethi's(npc16) scripts & strings, save the files, run build_module.bat, and as long as it doesnt give you any errors, go in game, START A NEW GAME, and use cheats to teleport to all the cities, and go in every tavern looking for "newcompanion" once you find it, you now know that your new companion "works" and exists, now you can edit it to make it a real "person" not just a clone.

Now let me explain these tags after the names:
tf_hero means they show up in the Notes: Characters
tf_female means their female.
tf_unmovable_in_party_window means you cant like garrison them, or "disband" them
tf_guarantee_ranged means they start assigned to archers as opposed to infantry
to have them start in the cavalry group you need both tf_guarantee_horse and tf_mounted, they dont work separately.
Each of those needs to be separated by a " | " (shift+\)

The only one you really need to touch is tf_female, delete if your companion is male, put it in if it is a female.

dont know what "0, reserved, " does, but we dont need to touch it either. same with "fac_commoners".

after those is the hero's items, you can find the other items in the game in the module_items.py, make sure each new item you add has "itm_" infront of it.
(click to show/hide)
Next come the stats:
   str_7|agi_11|int_8|cha_7|level(2),wp(80),knows_tracker_npc|
Pretty self exlpantory there.
wp is weapon proficiency, this is for ALL types of weapons, for varying proficiencies:
Quote from: Ashmond
For weapon points, you may adjust them individually, even for npcs, for example:

wp(100)|wp_firearm(120|wp_one_handed(40)  - syntax and usage starts at line 52 of the troops module.

If you want your npcs to not have extra points/ have the same amount of stat/skill points you have as a player, follow this formula when you assign skills/stats:
Quote from: skills and stats formula
22=statpoints lvl1, everyone starts with 4str|4agi|4int|4cha so level 1 characters have 22 points to spend to increase these beyond 4.
+1 stat point per level

15=skillpoints lvl 1, start with no skills
+1 skill point per point in intelligence beyond 4
+1 skill point per level

The knows_tracker_npc is a random set skill/stat table that is used to randomize set their skills/stats every time you start a new game. your three choices for companions include and the skills they grant:
knows_tracker_npc:knows_riding_2|knows_trade_3|knows_inventory_management_3
knows_warrior_npc:knows_weapon_master_2|knows_ironflesh_1|knows_athletics_1|knows_power_strike_2|knows_riding_2|knows_shield_1|knows_inventory_management_2
knows_merchant_npc:knows_weapon_master_1|knows_athletics_2|knows_spotting_2|knows_pathfinding_2|knows_tracking_2|knows_ironflesh_1|knows_inventory_management_2


That's pretty self explanatory as well.
Now we come to the skills:
   knows_power_throw_3|knows_athletics_2|knows_power_strike_1,

you can find the other skills in module_skills.py.
(click to show/hide)
you can change these to whatever you want, as long as they are in the right format and are real skills, and you can probably have as many as you want, just separate them with a ( | ).

underneath the skills, is the companions face:
0x0000000f000015c836db6db6db6db6db00000000001db6db0000000000000000

the crazy string of numbers, remember the one that showed up when you were designing the characters face after you press ctrl+e?
Well now all you have to do is click on the box the numbers were in and it is copied to your clip board, so highlight the copy of klethi's face and paste the one you designed over it.

Now the companion is "designed"

Step 3: module_scripts.py
now we do the same thing for finding klethi/npc16 as we did in troops.py, ctrl+f and search for npc16, but the first thing it will find is borcha, but he is companion #1 so you can scroll down or keep ctrl+f-ing.

When you get to klethi, copy her whole thing, with some of the spaces below it:
(click to show/hide)
(click to show/hide)
and again, paste it right underneath her entry, and change all the trp_npc16 to trp_npc17. a quick way to do this is change the first one double click it, which will select only trp_npc17, copy it, then double click the trp_npc16 below it and paste, repeat.

The first two things we can edit about our new companion is their two morality types and values, companions can also only have one morality if you choose, (look at nizar for an example).
This post best explains the morality types:
http://forums.taleworlds.com/index.php/topic,113974.msg2748380.html#msg2748380
and this post seems to kinda explain the morality values:
http://forums.taleworlds.com/index.php/topic,108837.msg2654420.html#msg2654420

Although neither of them really explain clearly how they both work. And I'm still murky on getting them right.

Next we get to their personality clashes and personality matches, you can see klethi dislikes artimenner and borcha, while liking deshavi.

You can change these to other trp_npcs or make your companion have their own rivals/friends from other new companions you make. If you don't want your companion to interact with anyone, you can set these fields to trp_dranton there are other options available, but they dont make a difference, you have probably encountered dranton in the arena, he is a npc who will never be in your party, so your companions can't get mad at him.

Then comes the companions home, when you get near their home, in klethi's case uslum, they will tell you about it based on whats written in module_strings.py (which we will get to in the next part) you can find the towns (at least) number and name in scripts.py as wel under "initialize_trade_routes" (keep using ctrl+f on p_town_1 till you get to it) i dont know of a good list of castles and villages yet.

Quote from: Ashmond
You should check the module_parties.py  It has a list of all towns, castles and villages. 

now their payment_request, klethi's is 200, which means she wants 200 denars when you recruit her in a tavern, you can change this to whatever you want your new companion to cost or you can set it to 0 if you want them to be free, like jeremus.

I have no idea what the kingsupport_argument, choices do, they dont seem to matter alot though.

kingsupport_opponent, is the npc who pops up and says "i heard you sent so-and-so off to blah blah blah... i dont approve"

town_with_contacts, is where they go when you ask them if they have any useful connections, and they bring back intel.

lord_reputation_type, is how they act when they are lords.  This excerpt best explains the different reputation types:
(click to show/hide)


now this is the last thing but its very important we do this before going onto the next part. A little under your new companion is this line:
Quote
        (store_sub, "$number_of_npc_slots", slot_troop_strings_end, slot_troop_intro),

        (try_for_range, ":npc", companions_begin, companions_end),


            (try_for_range, ":slot_addition", 0, "$number_of_npc_slots"),
                (store_add, ":slot", ":slot_addition", slot_troop_intro),

                (store_mul, ":string_addition", ":slot_addition", 16),

change the 16 to a 17 and we're done.
(click to show/hide)
now save and close scripts.py and were onto the second to last part.

Step 4: strings.py, or the hard part


use ctrl+f on npc16 takes us to the start of what your new companion says when you talk to them. scroll down to "npc16_intro" copy it, paste it below it, change 16 to 17, and change what klethi says.
(click to show/hide)
then scroll down to "npc16_intro_response_1", this is what YOU the player say as an option when you meet her, "npc16_intro_response_2" is what you say when you dont want to talk to them. copy,paste,change.

You can see what each line is for by reading what the other companions are saying.

you have to do keep doing this for EVERY SINGLE LINE until you get to "npc16_turn_against", this is the last line you have to copy,paste and change.
(click to show/hide)
save and close strings.py.

Step 5: build_module.bat and meeting your new companion

Now that that is over, double click on build_module.bat and let it run until it says:
Quote
Script processing  has ended.
Press any key to exit. . .
(click to show/hide)
if you saw any "errors" come up like:
Quote
NameError: name 'knows_weapon_master_11' is not defined
then its because you did something like set weapon master to 11 which you cant do.
Here is a screenshot of what my native build_module tells me whenever i run it:
(click to show/hide)
(click to show/hide)

You'll notice i get these warnings about tutorial things not being "used", so far, this hasnt cause any problems, so if you see it, dont worry. but then again, i havent tried the tutorial again since the first day i played M&B:W.

it will also tell you the files locations/name like module_troops.py and which line is broken, so just go back and change it.

Example Errors + Solutions:
(click to show/hide)

Now start up warband, select your copy of native module from the drop-down list, create a character, and start going to all the taverns (probably with cheats enables and ctrl+left click) and eventually you will find your new companion in one of the taverns.

Now you just have to repeat this process and eventually you will have 45 76 companions like me  :oops:

(click to show/hide)

Advanced Companion Changes:
Giving Companions Custom Lord Titles like "Tribune Bunduk"
(click to show/hide)

Edited:
Added in some tips i received
Added screen shots of the python files.
Added skill/stat formula for troops.
« Last Edit: September 09, 2010, 10:56:48 PM by Malik Faris »

sirinan

  • Regular
  • *
    • View Profile
  • Faction: Neutral
Re: [Tutorial] Make your own Companions
« Reply #1 on: August 17, 2010, 08:24:29 AM »
Just a quick tip: Going into multiplayer and editing your profile gives quicker access to facecodes. If you play multiplayer, you might want to create a new profile though, so you don't overwrite your favourite face. :)

Now you just have to repeat this process and eventually you will have 45 companions like me

I admire your patience. I got thoroughly sick of editing the dialogues after I'd done 4...  :roll:

Malik Faris

  • Squire
  • *
  • Has over 9000 companions
    • View Profile
    • Lots of Companions for Warband.
  • Faction: Sarranid
  • MP nick: Malik_Faris
  • WBWF&S
Re: [Tutorial] Make your own Companions
« Reply #2 on: August 17, 2010, 08:32:29 AM »
thanks for the tip, and yeah, the amount of dialog i still have to add for all those companions is astounding... and i still have more ideas for companions on the way T_T

eventually my mod is gonna have to be called "OVER 9000! new companions for warband"

Archevious

  • Master Knight
  • *
  • Become one with Mother Russia, da?
    • View Profile
  • Faction: Neutral
  • MP nick: TBD_Archevious
  • M&BWB
Re: [Tutorial] Make your own Companions
« Reply #3 on: August 17, 2010, 12:30:47 PM »
thanks for the tip, and yeah, the amount of dialog i still have to add for all those companions is astounding... and i still have more ideas for companions on the way T_T

eventually my mod is gonna have to be called "OVER 9000! new companions for warband"

OVER 9000! :o

boogie85

  • Squire
  • *
    • View Profile
    • Dutch site for WW2. Not finished yet, but there is information
  • Faction: Neutral
  • MP nick: BanaanBert
  • M&BWB
Re: [Tutorial] Make your own Companions
« Reply #4 on: August 18, 2010, 06:07:47 PM »
I did all the things you said. module_bat gave no errors and still my new companion isn't there.

So i thought, maybe I should change the txt files too. If so wich do I have to edit?

Edit: I'm doing this with your mod, merged with diplomacy(maybe the process is different then??). I placed Diplomacy - Companions in Module_info.py. Then did all your steps. Tried changing 'npc17' to 'npc34'. didn't  work unfortunately.
« Last Edit: August 18, 2010, 07:06:27 PM by boogie85 »

Malik Faris

  • Squire
  • *
  • Has over 9000 companions
    • View Profile
    • Lots of Companions for Warband.
  • Faction: Sarranid
  • MP nick: Malik_Faris
  • WBWF&S
Re: [Tutorial] Make your own Companions
« Reply #5 on: August 18, 2010, 07:31:09 PM »
I did all the things you said. module_bat gave no errors and still my new companion isn't there.

So i thought, maybe I should change the txt files too. If so wich do I have to edit?

Edit: I'm doing this with your mod, merged with diplomacy(maybe the process is different then??). I placed Diplomacy - Companions in Module_info.py. Then did all your steps. Tried changing 'npc17' to 'npc34'. didn't  work unfortunately.

1. you dont need to edit the text files.

2. did you download my uploaded version of diplomacy and companions merged? because you cant add on to that. because its just a text files version so people can play with it.

3. if you want to add on to the companions that i already made, you need to get the source for diplomacy AND the source of my new companions, (source being the python files) from which you can just copy my/your new companions into the diplomacy source files.

you cant just download the "playable" version of mods and edit them with python, you need the mod makers python files.

edit: also anything new you or i add, wont work with saved games, you have to start a new game.

and are you sure you did this step in scripts.py:
Quote
now this is the last thing but its very important we do this before going onto the next part. A little under your new companion is this line:
                 (store_mul, ":string_addition", ":slot_addition", 16),
change the 16 to a 17 and we're done.
« Last Edit: August 18, 2010, 07:33:14 PM by Malik Faris »

boogie85

  • Squire
  • *
    • View Profile
    • Dutch site for WW2. Not finished yet, but there is information
  • Faction: Neutral
  • MP nick: BanaanBert
  • M&BWB
Re: [Tutorial] Make your own Companions
« Reply #6 on: August 18, 2010, 10:49:30 PM »
1. ok

2. I downloaded it from MBrepository. I saw a topic there and I could use some other lords. So I wanted to download your mod and on MBrepository I saw your mod with diplomacy. Downloaded that and installed it. Everything was fine;)

3. So if I understand it I can only add companions to Native.

@ edit: And I started a new game but my new npc wasn't there. And yes, i'm very sure I changed that.

But now I'm waiting for your mod with the 45 companions. Hope that will be merged with Diplomacy too. Would be great:) It will take some time. But I can understand. It took me +2 hours, but you are more experienced now;)

p.s. 9000 companions would be awesomexD

Malik Faris

  • Squire
  • *
  • Has over 9000 companions
    • View Profile
    • Lots of Companions for Warband.
  • Faction: Sarranid
  • MP nick: Malik_Faris
  • WBWF&S
Re: [Tutorial] Make your own Companions
« Reply #7 on: August 18, 2010, 10:58:53 PM »
1. ok

2. I downloaded it from MBrepository. I saw a topic there and I could use some other lords. So I wanted to download your mod and on MBrepository I saw your mod with diplomacy. Downloaded that and installed it. Everything was fine;)

3. So if I understand it I can only add companions to Native.

@ edit: And I started a new game but my new npc wasn't there. And yes, i'm very sure I changed that.

But now I'm waiting for your mod with the 45 companions. Hope that will be merged with Diplomacy too. Would be great:) It will take some time. But I can understand. It took me +2 hours, but you are more experienced now;)

p.s. 9000 companions would be awesomexD

3. yeah, this guide only teaches how to add companions to native, you can basically follow these same steps and add to the diplomacy source here this is diplomacy's pyhton files, and waithi didnt add any companions, so my tutorial will work for that too.

4. did you check every single tavern, in every single city? if you want you can put your the stuff you added in spoiler boxes and i can look at it to see if there is anything wrong.

boogie85

  • Squire
  • *
    • View Profile
    • Dutch site for WW2. Not finished yet, but there is information
  • Faction: Neutral
  • MP nick: BanaanBert
  • M&BWB
Re: [Tutorial] Make your own Companions
« Reply #8 on: August 18, 2010, 11:13:06 PM »
3. I am going to try add some npc to this source. Will it automatically change the txt files from diplomacy?

4. I tried this all with module_info on Diplomacy - Companions. Maybe if I change that to native it will work. Haven't really tried that because I never play Native. If you want the edited things I will search for them and sent them to you by message;) In spoiler if you want.
« Last Edit: August 18, 2010, 11:44:00 PM by boogie85 »

Malik Faris

  • Squire
  • *
  • Has over 9000 companions
    • View Profile
    • Lots of Companions for Warband.
  • Faction: Sarranid
  • MP nick: Malik_Faris
  • WBWF&S
Re: [Tutorial] Make your own Companions
« Reply #9 on: August 19, 2010, 08:51:26 PM »

p.s. 9000 companions would be awesomexD

yeah except every time you entered a tavern, the game would crash because you would run out of memory because there would be like 500+ people in there.

I'm probably going to get really close to, or slightly over, 100 companions though. then I'll start dividing them up into packs, so other mods can only add say 6 or 12 new companions, or only female or male.

and maybe release my companions as individualed sources, so any mod could copy and paste them into theirs and just change what their npc# was.

boogie85

  • Squire
  • *
    • View Profile
    • Dutch site for WW2. Not finished yet, but there is information
  • Faction: Neutral
  • MP nick: BanaanBert
  • M&BWB
Re: [Tutorial] Make your own Companions
« Reply #10 on: August 19, 2010, 09:47:49 PM »
You're right there. But It would be fun to see such a tavern once:)

But 100 companions is much tooxD then my whole army would be companions. Not saying that isn't fun but maybe too much.
But I think if you would part them into around 10 per part it would be a must:P

King Yngvar

  • Sergeant
  • *
    • View Profile
  • Faction: Nord
  • WB
Re: [Tutorial] Make your own Companions
« Reply #11 on: August 20, 2010, 02:28:29 AM »
Quote
        (troop_set_slot, "trp_npc17", slot_troop_morality_type, tmt_aristocratic), #magnus
        (troop_set_slot, "trp_npc17", slot_troop_morality_value, 3),  #beheshtur
        (troop_set_slot, "trp_npc17", slot_troop_2ary_morality_type, -1),
        (troop_set_slot, "trp_npc17", slot_troop_2ary_morality_value, 0),
        (troop_set_slot, "trp_npc17", slot_troop_personalityclash_object, "trp_npc12"), #nizar
        (troop_set_slot, "trp_npc17", slot_troop_personalitymatch_object, "trp_npc8"), #matheld
        (troop_set_slot, "trp_npc17", slot_troop_personalitymatch2_object, "trp_npc18"),  #sigurd
        (troop_set_slot, "trp_npc17", slot_troop_home, "p_town_12"), #Wercheg
        (troop_set_slot, "trp_npc17", slot_troop_payment_request, 1500),
      (troop_set_slot, "trp_npc17", slot_troop_kingsupport_argument, argument_lords),
      (troop_set_slot, "trp_npc17", slot_troop_kingsupport_opponent, "trp_npc12"), #nizar
      (troop_set_slot, "trp_npc17", slot_troop_town_with_contacts, "p_town_12"), #wercheg
      (troop_set_slot, "trp_npc17", slot_troop_original_faction, "fac_kingdom_4"), #nords
      (troop_set_slot, "trp_npc17", slot_lord_reputation_type, lrep_martial), #

I am trying to understand this text. This is copied from Matheld since she gets nord troops, and I have slightly edited it.

        (troop_set_slot, "trp_npc17", slot_troop_morality_value, 3),  #beheshtur
Why does it say behestur here? And more importantly, what is the effect of the 3 value?

        (troop_set_slot, "trp_npc17", slot_troop_home, "p_town_12"), #Wercheg
Well, I set Wercheg because I don't have the full list of what the numbers stand for, like p_town_12, what would for example be the codes for Sargoth and Tihr?

        (troop_set_slot, "trp_npc17", slot_troop_2ary_morality_type, -1),
        (troop_set_slot, "trp_npc17", slot_troop_2ary_morality_value, 0),
And these mean?

        (troop_set_slot, "trp_npc17", slot_troop_personalityclash_object, "trp_npc12"), #nizar
        (troop_set_slot, "trp_npc17", slot_troop_personalitymatch_object, "trp_npc8"), #matheld
        (troop_set_slot, "trp_npc17", slot_troop_personalitymatch2_object, "trp_npc18"),  #sigurd
Can I do what I did here? Set two matches and one clash instead of the other way around?

And - Does it have to be reciprocated? Meaning, do I now have to put in
        (troop_set_slot, "trp_npc18", slot_troop_personalitymatch2_object, "trp_npc17"),  #magnus
on the other end?

Archevious

  • Master Knight
  • *
  • Become one with Mother Russia, da?
    • View Profile
  • Faction: Neutral
  • MP nick: TBD_Archevious
  • M&BWB
Re: [Tutorial] Make your own Companions
« Reply #12 on: August 20, 2010, 06:14:09 AM »

p.s. 9000 companions would be awesomexD

yeah except every time you entered a tavern, the game would crash because you would run out of memory because there would be like 500+ people in there.

I'm probably going to get really close to, or slightly over, 100 companions though. then I'll start dividing them up into packs, so other mods can only add say 6 or 12 new companions, or only female or male.

and maybe release my companions as individualed sources, so any mod could copy and paste them into theirs and just change what their npc# was.

Maybe put each companion in set locations? Some could become townwalkers, others, in villages etc. I dont have the code on me so I can't explain farther.

Malik Faris

  • Squire
  • *
  • Has over 9000 companions
    • View Profile
    • Lots of Companions for Warband.
  • Faction: Sarranid
  • MP nick: Malik_Faris
  • WBWF&S
Re: [Tutorial] Make your own Companions
« Reply #13 on: August 20, 2010, 06:40:45 AM »
(click to show/hide)

1. behesthur is a typo of bahestur and means nothing, its a note left by the devs, doesnt mean anything to us though.

2. the 3 is the value of how much that morality types will effect relation, a "postive" value, means you take a hit if you say loot a village with a someone whose morality is set off by looting villages, if it was a negative value like -1 it will INCREASE your relation with that morality type when you loot a village, setting it to 0 would mean it doesnt have any relationship effect, but that they still talk about whatever affects that morality type, like looting a village, you would have to edit their strings dialog to say "i'm okay with xxx"

3. in modules_parties.py there is a comprehensive list of towns/castles/vilalges.

4. companions can have up to 2 morality types, setting a morality TYPE to -1 means like, they dont have one.

5. i doubt it, up to 2 hates and only 1 like, you can make 1 of the hates a npc/trp you will never meet, i go over this in that section of my tutorial. you would also have to add new lines somewhere that i have no clue about to call for the strings.... or find the already existing ones for the personality match and copy and edit them a bit, again, i have no idea where they exist.

6. it does not have to be reciprocated.

Malik Faris

  • Squire
  • *
  • Has over 9000 companions
    • View Profile
    • Lots of Companions for Warband.
  • Faction: Sarranid
  • MP nick: Malik_Faris
  • WBWF&S
Re: [Tutorial] Make your own Companions
« Reply #14 on: August 21, 2010, 08:27:17 PM »
Added how to give companions custom lord titles at the bottom of the tutorial. Thanks to Somebody for explaining it.