Companions speech question.

Users who are viewing this thread

Memphis

Ok so I have added 2 new companions and I have just finished editing what they say in module_strings.
I have checked everything about a dozen times (including module_scripts and module_troops) and the module itself builds correctly.
Yet in-game all the companions say random lines from  different companions and don't make any sense.
This is every companion and it doesn't matter if it's the recruiting speech, home speech or whatever.
This is getting really annoying so any ideas/thoughts are welcome.
Thnx very much in advance
 
Thnx for your reply mate. You mentioned "Constants_py" You couldn't be more specific could you please?
I looked in that file but I could not find anything obvious.
To be honest, this is my first attempt at modding warband (although I do have experience of modding others).
And where companions are concerned, I just followed this:
http://forums.taleworlds.com/index.php/topic,130815.0.html
If I'm missing something though it would be good to know what.
Many thnx again for taking the time to help me with this
 
Double check that you've added all the necessary dialogues. Missing any of them can cause what you are experiencing.
 
Thnx very much for all your help guys.
My typical luck, I search for hours and can't find a solution, so I post my question online.
Within a few hours of posting, I accidentally stumble across the solution!
What I had done is forgot to increase the total number of companions from 16 to 18 (I added 2) in module_scripts line 33230.
-looks like this: (store_mul, ":string_addition", ":slot_addition", 1:cool:,
So I guess the game was trying to fit 18 dialogues into 16 NPC's.
My bad.
Thnx once again for all of your help guys
 
It's a baad-baad-baad programming to have this as a number somewhere in scripts. It better be constant defined in module_constants, or even better, calculated by (store_sub, ":value", "trp_next_troop_after_last_companion", "trp_first_companion"),
 
GetAssista said:
It's a baad-baad-baad programming to have this as a number somewhere in scripts. It better be constant defined in module_constants, or even better, calculated by (store_sub, ":value", "trp_next_troop_after_last_companion", "trp_first_companion"),

Tell it brother! I said it was something in constants.py...
 
Back
Top Bottom