[WB] Better startup merchants mini-mod

nemchenk

Recruit
Best answers
0
I felt that the merchants who give the player their first quest in Warband were not particularly believable, so I tweaked their faces and equipment to improve things. It's really a very small mod, but I feel that the first NPC they meet in Warband is important to get the player into the game :wink:

Latest: v1.1

Screenshots:
Jelkala

Before: this is the merchant which started it all :grin: I mean, what the hell?! A black dude with terrible hair, wearing cheap leather armour and blue hose with pointy shoes? And an invisible Great Sword?


After: I went with a sort of "Merchant of Venice" theme for my Merchant of Jelkala. He is well-dressed head to toe, carries an expensive short-sword for self-defence (but nothing that might threaten someone during a trade deal), and clearly takes his grooming seriously.

Praven

Before: this one is actually not too bad, but I think we can do better...


After: my Merchant of Praven takes the Gauls as his inspiration, hence the prominent proboscis and droopy moustache :wink: Once again, he is dressed richly and carries an expensive side-arm, and clearly pays attention to personal grooming.

Reyvadin

Before: not terrible, but doesn't really say "Vaegir" to me. Plus, he looks far too under-dressed for Reyvadin's climate!


After: now we are talking -- a fur jacket and hat, and stout fur boots. A short Nordic sword is present for protection, and I tried to make sure the merchant's face had more-obviously "Russian" features.

Sargoth

Before: the boots are good, but the peasant outfit is surely too lowly for a merchant from a "prominent house".


After: the Kingdom of the Nords is a bit less "genteel" than Rhodoks or Swadia, so the merchant's outfit may be a little less fine. However, it is still of a high quality, and the Nordic short-sword the merchant carries for protection is well-forged. I've also tried to make his face look more like the face of a Viking.

Shariz

Before: very odd. A typically European face with ginger hair, and a top-knot?


After: I've gone for a Moorish inspiration for my Merchant of Shariz -- he is dressed in an intricate robe, turban, and expensive pointy-toed boots, and carries an elaborate scimitar for self-defense.

Tulga

Before: the Peasant Top and furry boots don't really say "Khergit" to me, and the face is that of a European prisoner or castaway who hasn't shaved for 6 months  :razz:


After: my inspiration were the Mongols -- my Merchant of Tulga is clearly a Khergit, wears expensive-yet-practical nomad furs, and carries a Sabre for self-defense.
Installation:
Open up troops.txt and search for "trp_swadian_merchant". Replace the troop entries up to "trp_startup_merchants_end" with the following:
Code:
trp_swadian_merchant Merchant_of_Praven {!}Prominent 0 32784 0 0 18 0 0
  581 0 571 0 438 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 
  7 5 4 4 2
 20 20 20 20 20 20 0
274 131072 0 1 0 0 
  43638599761 3867590877472644452 1989419 0 43638599761 3867590877472644452 1989419 0 

trp_vaegir_merchant Merchant_of_Reyvadin {!}Prominent 0 32784 0 0 19 0 0
  309 0 204 0 160 0 169 0 443 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 
  7 5 4 4 2
 20 20 20 20 20 20 0
274 131072 0 1 0 0 
  48301867727 5252494337367996324 1951413 0 48301867727 5252494337367996324 1951413 0 

trp_khergit_merchant Merchant_of_Tulga {!}Prominent 0 32784 0 0 15 0 0
  179 0 160 0 251 0 310 0 448 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 
  7 5 4 4 2
 20 20 20 20 20 20 0
274 131072 0 1 0 0 
  38219559821 1521560588190313080 1987307 0 38219559821 1521560588190313080 1987307 0 

trp_nord_merchant Merchant_of_Sargoth {!}Prominent 0 32784 0 0 16 0 0
  443 0 160 0 581 0 580 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 
  7 5 4 4 2
 20 20 20 20 20 20 0
274 131072 0 1 0 0 
  39074140943 2531961610005854429 2013532 0 39074140943 2531961610005854429 2013532 0 

trp_rhodok_merchant Merchant_of_Jelkala {!}Prominent 0 32784 0 0 17 0 0
  179 0 200 0 438 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 
  7 5 4 4 2
 20 20 20 20 20 20 0
274 131072 0 1 0 0 
  37363654853 7292538193076954923 1952553 0 37363654853 7292538193076954923 1952553 0 

trp_sarranid_merchant Merchant_of_Shariz {!}Prominent 0 32784 0 0 20 0 0
  386 0 181 0 285 0 306 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 
  7 5 4 4 2
 20 20 20 20 20 20 0
274 131072 0 1 0 0 
  39711699392 3993762832607495974 1978393 0 39711699392 3993762832607495974 1978393 0
The above is known to work with Warband 1.134, and was created using Morgh's WB Tool
Python source code:
The best way to install this is via the patch for the 1.134 Module System.

Alternatively, if you want to install this mod by hand, open up module_troops.py, and search for "swadian_merchant". Replace all entries up to "startup_merchants_end" with the following:
Code:
  ["swadian_merchant", "Merchant of Praven", "{!}Prominent", tf_hero, 0, reserved, fac_kingdom_4, [itm_light_leather_boots, itm_rich_outfit, itm_sword_medieval_c_small], def_attrib|level(2),wp(20),knows_common, 0x0000000a2910305135ac7169644c5d6400000000001e5b2b0000000000000000, 0x0000000a2910305135ac7169644c5d6400000000001e5b2b0000000000000000],
  ["vaegir_merchant", "Merchant of Reyvadin", "{!}Prominent", tf_hero, 0, reserved, fac_kingdom_5, [itm_fur_hat, itm_leather_jacket, itm_leather_gloves, itm_hide_boots, itm_sword_viking_2_small], def_attrib|level(2),wp(20),knows_common, 0x0000000b3f0402cf48e49bc55b91f7a400000000001dc6b50000000000000000, 0x0000000b3f0402cf48e49bc55b91f7a400000000001dc6b50000000000000000],
  ["khergit_merchant", "Merchant of Tulga", "{!}Prominent", tf_hero, 0, reserved, fac_kingdom_1, [itm_khergit_leather_boots, itm_leather_gloves, itm_nomad_vest, itm_nomad_cap, itm_sword_khergit_3], def_attrib|level(2),wp(20),knows_common, 0x00000008e610338d151dab4b1b516a7800000000001e52eb0000000000000000, 0x00000008e610338d151dab4b1b516a7800000000001e52eb0000000000000000],
  ["nord_merchant", "Merchant of Sargoth", "{!}Prominent", tf_hero, 0, reserved, fac_kingdom_2, [itm_sword_viking_2_small, itm_leather_gloves, itm_light_leather_boots, itm_light_leather], def_attrib|level(2),wp(20),knows_common, 0x000000091900130f232355ab5d5338dd00000000001eb95c0000000000000000, 0x000000091900130f232355ab5d5338dd00000000001eb95c0000000000000000],
  ["rhodok_merchant", "Merchant of Jelkala", "{!}Prominent", tf_hero, 0, reserved, fac_kingdom_3, [itm_khergit_leather_boots, itm_courtly_outfit, itm_sword_medieval_c_small], def_attrib|level(2),wp(20),knows_common, 0x00000008b30c20c565344cd95d52272b00000000001dcb290000000000000000, 0x00000008b30c20c565344cd95d52272b00000000001dcb290000000000000000],
  ["sarranid_merchant", "Merchant of Shariz", "{!}Prominent", tf_hero, 0, reserved, fac_kingdom_6, [itm_scimitar, itm_sarranid_boots_b, itm_sarranid_cavalry_robe, itm_headcloth], def_attrib|level(2),wp(20),knows_common, 0x000000093f0071c0376cb222eaba472600000000001e30190000000000000000, 0x000000093f0071c0376cb222eaba472600000000001e30190000000000000000], 
This code works with Native in Warband 1.134. I can also supply a patch-compatible diff, if that would help.
Changelog:
v1.1
  • Merchant of Praven now has short hair again, and is using a paler skin
  • Back-ported to Python source code
v1.0
  • Merchant of Praven now with long hair
  • Merchant of Reyvadin now has a nordic short-sword not a sabre, as the sabre was too long and was having clipping issues with the walls of his house
  • Merchant of Reyvadin now has light-brown hair instead of blonde -- the blonde was clashing with the furs of his outfit
  • Merchant of Reyvadin now has a longer, thinner, flatter face with more accentuated cheekbones and narrower eyes
  • Merchant of Sargoth now has a neater haircut
v0.1
  • First version, not released to the public
License:
- Feel free to use this mod, but don't forget to give credit when you do.
 

Zephilinox

Knight
WB
Best answers
0
nemchenk said:
I felt that the merchants who give the player their first quest in Warband were not particularly believable, so I tweaked their faces and equipment to improve things. It's really a very small mod, but I feel that the first NPC they meet in Warband is important to get the player into the game :wink:

Screenshots:
The forum won't show my screenshots yet as I'm very much still a newb, but here are some descriptions to whet your appetites :smile:

Jelkala

Before: this is the merchant which started it all :grin: I mean, what the hell?! A black dude with terrible hair, wearing cheap leather armour and blue hose with pointy shoes? And an invisible Great Sword?


After: I went with a sort of "Merchant of Venice" theme for my Merchant of Jelkala. He is well-dressed head to toe, carries an expensive short-sword for self-defence (but nothing that might threaten someone during a trade deal), and clearly takes his grooming seriously.

Praven

Before: this one is actually not too bad, but I think we can do better...


After: my Merchant of Praven takes the Gauls as his inspiration, hence the prominent proboscis and droopy muostache :wink: Once again, he is dressed richly and carries an expensive side-arm, and clearly pays attention to personal grooming.

Reyvadin

Before: not terrible, but doesn't really say "Vaegir" to me. Plus, he looks far too under-dressed for Reyvadin's climate!


After: now we are talking -- a fur jacket and hat, and stout fur boots. A short Nordic sword is present for protection, and I tried to make sure the merchant's face had more-obviously "Russian" features.

Sargoth

Before: the boots are good, but the peasant outfit is surely too lowly for a merchant from a "prominent house".


After: the Kingdom of the Nords is a bit less "genteel" than Rhodoks or Swadia, so the merchant's outfit may be a little less fine. However, it is still of a high quality, and the Nordic short-sword the merchant carries for protection is well-forged. I've also tried to make his face look more like the face of a Viking.

Shariz

Before: very odd. A typically European face with ginger hair, and a top-knot?


After: I've gone for a Moorish inspiration for my Merchant of Shariz -- he is dressed in an intricate robe, turban, and expensive pointy-toed boots, and carries an elaborate scimitar for self-defense.

Tulga

Before: the Peasant Top and furry boots don't really say "Khergit" to me, and the face is that of a European prisoner or castaway who hasn't shaved for 6 months  :razz:


After: my inspiration were the Mongols -- my Merchant of Tulga is clearly a Khergit, and carries a Sabre for self-defense.

Installation:
Open up troops.txt and search for "trp_swadian_merchant". Replace the troop entries up to "trp_startup_merchants_end" with the following:
trp_swadian_merchant Merchant_of_Praven {!}Prominent 0 32784 0 0 18 0 0
  581 0 438 0 571 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0
  7 5 4 4 2
20 20 20 20 20 20 0
274 131072 0 1 0 0
  43739258959 3867590877472644452 1989419 0 43739258959 3867590877472644452 1989419 0

trp_vaegir_merchant Merchant_of_Reyvadin {!}Prominent 0 32784 0 0 19 0 0
  309 0 204 0 160 0 169 0 443 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0
  7 5 4 4 2
20 20 20 20 20 20 0
274 131072 0 1 0 0
  48301867727 5252494337367996324 1951413 0 48301867727 5252494337367996324 1951413 0

trp_khergit_merchant Merchant_of_Tulga {!}Prominent 0 32784 0 0 15 0 0
  179 0 160 0 251 0 310 0 448 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0
  7 5 4 4 2
20 20 20 20 20 20 0
274 131072 0 1 0 0
  38219559821 1521560588190313080 1987307 0 38219559821 1521560588190313080 1987307 0

trp_nord_merchant Merchant_of_Sargoth {!}Prominent 0 32784 0 0 16 0 0
  443 0 160 0 581 0 580 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0
  7 5 4 4 2
20 20 20 20 20 20 0
274 131072 0 1 0 0
  39074140943 2531961610005854429 2013532 0 39074140943 2531961610005854429 2013532 0

trp_rhodok_merchant Merchant_of_Jelkala {!}Prominent 0 32784 0 0 17 0 0
  179 0 438 0 200 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0
  7 5 4 4 2
20 20 20 20 20 20 0
274 131072 0 1 0 0
  37363654853 7292538193076954923 1952553 0 37363654853 7292538193076954923 1952553 0

trp_sarranid_merchant Merchant_of_Shariz {!}Prominent 0 32784 0 0 20 0 0
  386 0 181 0 285 0 306 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0
  7 5 4 4 2
20 20 20 20 20 20 0
274 131072 0 1 0 0
  39711699392 3993762832607495974 1978393 0 39711699392 3993762832607495974 1978393 0
The above is known to work with Warband 1.134
it's a.. decent idea, however  it will really only benefit new players in their first game, and it is very unlikely they will look at mods before they start their first game, especially a thread in "mods under construction", also the images don't work because you are not using the correct url, in the future I recommend uploading it to imgur.com however for now I edited the quote of your post with the correct links.
 

nemchenk

Recruit
Best answers
0
Thanks :smile:

The images don't work because the forum isn't showing them :smile: The images are here: http: // img13. imageshack. us/ g/jelkala.jpg/ (had to put spaces in the link as the forum won't let me post links, either!)

I agree that this is only really useful to players starting Warband Native, and they probably won't look at mods initially (although I did :wink: ) But this is mostly an excersise in learning the M&B modding tools, and I thought there's no sense in not making the results available to the community in general once I did the work :smile:

Besides, I'm planning to mod the faces of troops next, so that recruited troops actually have the correct facial features...


PS. Interestingly, the images are showing in your quote of my post -- seems the forum trusts you enough to show the images I posted! :lol: Might be worth pointing this out to the mods... Also, it doesn't let me use [ code] , so I had to use [ quote]...
 

Ikaguia

Grandmaster Knight
WBWF&SNW
Best answers
0
i don't know what is rustle, but can't you just post it here in the forum? just post like
[codee]["trp_x", "merchant" "merchants" 1, 7, itm_x|itm_y, skl_x_1, skl_y_5, lvl(27), 0x4rf8308ds0876[/codee]
Code:
["trp_x", "merchant" "merchants" 1, 7, itm_x|itm_y, skl_x_1, skl_y_5, lvl(27), 0x4rf8308ds0876
obs: its code instead of codee.
 

Zephilinox

Knight
WB
Best answers
0
nemchenk said:
Thanks :smile:

The images don't work because the forum isn't showing them :smile: The images are here: http: // img13. imageshack. us/ g/jelkala.jpg/ (had to put spaces in the link as the forum won't let me post links, either!)

I agree that this is only really useful to players starting Warband Native, and they probably won't look at mods initially (although I did :wink: ) But this is mostly an excersise in learning the M&B modding tools, and I thought there's no sense in not making the results available to the community in general once I did the work :smile:

Besides, I'm planning to mod the faces of troops next, so that recruited troops actually have the correct facial features...


PS. Interestingly, the images are showing in your quote of my post -- seems the forum trusts you enough to show the images I posted! :lol: Might be worth pointing this out to the mods... Also, it doesn't let me use [ code] , so I had to use [ quote]...
It has nothing to do with "trust", it's the link you put in between the IMG tags, they don't work. I replaced it in my quote of your first post, if you quote my first post in this thread you can see my quote of your quote along with the modified url in between the IMG tags, here's an example:

Your post:
Code:
[IMG]http://img13.imageshack.us/i/jelkala.jpg/[/IMG]
My post of an edited version of your post inside the quote:
Code:
[IMG]http://img13.imageshack.us/img13/2248/jelkala.jpg[/IMG]
Like I said, use imgur.com, can't make any mistakes with that.

Anyway, back to the point of the thread. I hope you manage to learn what you're hoping to by making this minimod.

__

Ikaguia, basically rustle means "to make", "I'll rustle up a sandwich for you" = "I'll make you a sandwich", although in nemchenk's post he meant "find" or "gather".

in other words he is looking for the code now and will post it as soon as possible.
 

nemchenk

Recruit
Best answers
0
Zephilinox said:
It has nothing to do with "trust", it's the link you put in between the IMG tags, they don't work.
Good spot -- thanks for that.

Ideally I would have posted thumbs linking to the full images, but you see as a "Recruit" the forum complains about external links in my posts. And it seems to consider [ code] tags as external links as well, probably due to a misconfiguration. Hence, not a giant leap to think that it would also consider tags to be out of bounds, but then show the images anyway once a post had been quoted by another user. Us software developers can sometimes over-think these things, however ;)

Python source will be coming shortly -- I used Morgh's editor for this, so will need to back-port the changes into the py source first, to make this more useful to other module developers.
 

nemchenk

Recruit
Best answers
0
Ok, as promised, here is the Python code for Native 1.134:
Open up module_troops.py, and search for "swadian_merchant". Replace all entries up to "startup_merchants_end" with the following:
Code:
  ["swadian_merchant", "Merchant of Praven", "{!}Prominent", tf_hero, 0, reserved, fac_kingdom_4, [itm_light_leather_boots, itm_rich_outfit, itm_sword_medieval_c_small], def_attrib|level(2),wp(20),knows_common, 0x0000000a2910305135ac7169644c5d6400000000001e5b2b0000000000000000, 0x0000000a2910305135ac7169644c5d6400000000001e5b2b0000000000000000],
  ["vaegir_merchant", "Merchant of Reyvadin", "{!}Prominent", tf_hero, 0, reserved, fac_kingdom_5, [itm_fur_hat, itm_leather_jacket, itm_leather_gloves, itm_hide_boots, itm_sword_viking_2_small], def_attrib|level(2),wp(20),knows_common, 0x0000000b3f0402cf48e49bc55b91f7a400000000001dc6b50000000000000000, 0x0000000b3f0402cf48e49bc55b91f7a400000000001dc6b50000000000000000],
  ["khergit_merchant", "Merchant of Tulga", "{!}Prominent", tf_hero, 0, reserved, fac_kingdom_1, [itm_khergit_leather_boots, itm_leather_gloves, itm_nomad_vest, itm_nomad_cap, itm_sword_khergit_3], def_attrib|level(2),wp(20),knows_common, 0x00000008e610338d151dab4b1b516a7800000000001e52eb0000000000000000, 0x00000008e610338d151dab4b1b516a7800000000001e52eb0000000000000000],
  ["nord_merchant", "Merchant of Sargoth", "{!}Prominent", tf_hero, 0, reserved, fac_kingdom_2, [itm_sword_viking_2_small, itm_leather_gloves, itm_light_leather_boots, itm_light_leather], def_attrib|level(2),wp(20),knows_common, 0x000000091900130f232355ab5d5338dd00000000001eb95c0000000000000000, 0x000000091900130f232355ab5d5338dd00000000001eb95c0000000000000000],
  ["rhodok_merchant", "Merchant of Jelkala", "{!}Prominent", tf_hero, 0, reserved, fac_kingdom_3, [itm_khergit_leather_boots, itm_courtly_outfit, itm_sword_medieval_c_small], def_attrib|level(2),wp(20),knows_common, 0x00000008b30c20c565344cd95d52272b00000000001dcb290000000000000000, 0x00000008b30c20c565344cd95d52272b00000000001dcb290000000000000000],
  ["sarranid_merchant", "Merchant of Shariz", "{!}Prominent", tf_hero, 0, reserved, fac_kingdom_6, [itm_scimitar, itm_sarranid_boots_b, itm_sarranid_cavalry_robe, itm_headcloth], def_attrib|level(2),wp(20),knows_common, 0x000000093f0071c0376cb222eaba472600000000001e30190000000000000000, 0x000000093f0071c0376cb222eaba472600000000001e30190000000000000000], 
I can also supply a patch-compatible diff, if that would help.
I'll keep updating the first post in this thread with the latest changes.

An open question: now that I've nerfed the merchants by taking away their invisible two-handed swords and replacing them with short-swords, should I bump their stats a bit so that they are still useful in the final street-fight?
 

Zephilinox

Knight
WB
Best answers
0
nemchenk said:
Zephilinox said:
It has nothing to do with "trust", it's the link you put in between the IMG tags, they don't work.
Good spot -- thanks for that.

Ideally I would have posted thumbs linking to the full images, but you see as a "Recruit" the forum complains about external links in my posts. And it seems to consider [ code] tags as external links as well, probably due to a misconfiguration. Hence, not a giant leap to think that it would also consider tags to be out of bounds, but then show the images anyway once a post had been quoted by another user. Us software developers can sometimes over-think these things, however ;)

Python source will be coming shortly -- I used Morgh's editor for this, so will need to back-port the changes into the py source first, to make this more useful to other module developers.
[/quote]

I can understand that, however the simpler your conclusions the more likely they are, and I don't see why the [code][code][/code] tags aren't working for you, they work for me just fine and I'm a recruit.

I don't think the merchant's really make much of a difference in the battle against the garrison guard or whoever it was, so if you do or don't decide to upgrade his stats it's likely that it won't change the outcome.

for that matter what happens if you do lose?
 

nemchenk

Recruit
Best answers
0
Zephilinox said:
I can understand that, however the simpler your conclusions the more likely they are
Sometimes. I've been a software developer for over 15 years however, and I assure you that isn't always the case :wink:

Zephilinox said:
I don't see why the [ code] tags aren't working for you, they work for me just fine and I'm a recruit.

It clearly doesn't work for new users as the link-blocker is also reacting to the [ code] tags. I'll see if I can get a form admin to take a look...

Zephilinox said:
I don't think the merchant's really make much of a difference in the battle against the garrison guard or whoever it was, so if you do or don't decide to upgrade his stats it's likely that it won't change the outcome.

for that matter what happens if you do lose?
Nothing much -- "friendly hands pick you up" and all that. Probably not all that important :smile: I'll play through the starting quest and see if the merchants make a complete embarassment of themselves, and maybe bump their stats if they do.
 

Jacomus

Sergeant at Arms
Best answers
0
While digging around found this and I like!  Granted this only changes that first impression but what an impression!! Very good!  Used your other Ethic mod also!  Thank you for this mini-mod
 

nemchenk

Recruit
Best answers
0
Thanks, Jacomus! :smile: Glad you are enjoying my mini-mods.

I've had to take some time off M&B, but plan to make a comeback soon with a couple more mini-mods... one which I've been calling "no more Bent Crossbows"...

Watch this space!  :razz:
 
Top