Author Topic: [MB Warband Japan OSP] Map Icons Animation (ModMerger Kit)  (Read 3676 times)

0 Members and 1 Guest are viewing this topic.

Shcherbyna

  • Sergeant
  • *
    • YouTube - https://www.youtube.com/channel/UCacNK79Fo2tcT1HgMpQQc7A
    • View Profile
    • Profile
  • Faction: Bandit
[MB Warband Japan OSP] Map Icons Animation (ModMerger Kit)
« on: January 28, 2014, 06:39:24 PM »
[MB Warband Japan OSP] Map Icons Animation (ModMerger Kit)




(click to show/hide)

Update v1.3:
+ Changing ModMerger pack structure.

v1.2:----------------------------------------------------
+ Changing ModMerger pack structure.
v1.1:----------------------------------------------------
+ Cheking and updating AI-party icons during the game.
v1.0:----------------------------------------------------
+ Each faction has its own color units. Icons will vary depending on the size of the party:
    Numbers 0-99 - icon rider;
                   100-199 - icon rider+ashigaru;
                   200 and more - icon lord+riders.
+ Mechanism for changing icons player, depending on gender and equiped items:
    for example, the icon player - ronin;
                      put on itm_robe - icon monk;
                      put on itm_black_hood - icon shinobi;
                      if the player girl - female icon.
+ Merchant caravans - icon palanquin;
+ Man Hunters - shinobi;
+ Deserters;
+ Peasants.


download page:  [Japan OSP] Map Icons Anim v1.3 (Modmerger pack).rar (~5,5Mb)

Video Tutorials:
[MB Warband] Map Icons Animation (Part 1) - Creating new animation
[MB Warband] Map Icons Animation (Part 2) - UV REmapping

home: http://shcherbyna.my-board.org/en/mb_warband_japan_osp
ru-board: http://rusmnb.ru/index.php?topic=18547.0
« Last Edit: June 04, 2017, 04:57:25 PM by Shcherbyna »

DerGreif

  • Sergeant Knight
  • *
    • View Profile
  • Faction: Neutral
  • WBVC
Re: [MB Warband Japan OSP] Map Icons Animation (ModMerger Kit)
« Reply #1 on: January 28, 2014, 07:20:40 PM »
Simply amazing! Great work!
   

cwr

  • so how did that fuckin go then?
  • Count
  • *
    • Steam - cwr1
    • YouTube - UC-L6PNU39-gVmlS_1Wkr0ng
    • View Profile
  • Faction: Vaegir
  • M&BWB
Re: [MB Warband Japan OSP] Map Icons Animation (ModMerger Kit)
« Reply #2 on: January 28, 2014, 08:41:21 PM »
Very cool. :)

Dragon Caliph

  • Sergeant Knight at Arms
  • *
    • Steam - eho25
    • View Profile
  • Faction: Khergit
  • MP nick: OrJiNaL_CaLiPh2552
  • WBNW
Re: [MB Warband Japan OSP] Map Icons Animation (ModMerger Kit)
« Reply #3 on: August 23, 2014, 01:59:21 PM »
Good!

Shcherbyna

  • Sergeant
  • *
    • YouTube - https://www.youtube.com/channel/UCacNK79Fo2tcT1HgMpQQc7A
    • View Profile
    • Profile
  • Faction: Bandit
Re: [MB Warband Japan OSP] Map Icons Animation (ModMerger Kit)
« Reply #4 on: October 31, 2015, 08:59:18 AM »
Quote
...how to make player use the faction icon where he's in. For example if player is a vassal of Jerusalem he would use Jerusalem icon, is this possible? Thanks a lot in advanced.

You have to change active_parties_simple_triggers.py. For example:
Quote
replace_block = (0,
   [(troop_get_inventory_slot, ":cur_horse", "trp_player", 8 ), #horse slot
    (store_faction_of_troop, ":player_faction", "trp_player"), # get player's faction
    (assign, ":new_icon", -1),
    (try_begin),
      (eq, "$g_player_icon_state", pis_normal),
      (try_begin),
        (ge, ":cur_horse", 0), # case1: if player has a horse
      (try_begin),
         (eq, ":cur_horse", "itm_palanquin"),
         (assign, ":new_icon", "icon_palanquin"),
      (else_try),
         (assign, ":new_icon", "icon_player_horseman"),
      (try_end),

         (try_begin),
             (eq, ":player_faction", "fac_kingdom_1"),
             (assign, ":new_icon", "icon_player_horseman_fac1"), # set horseman faction1 icon ...
         (else_try),
             (eq, ":player_faction", "fac_kingdom_2"),
             (assign, ":new_icon", "icon_player_horseman_fac2"), # set horseman faction2 icon ...
         (else_try),
             ....
         (try_end),

      (else_try),
      ...
      ...

Of course for this code you must have custom faction player's icons.
« Last Edit: October 31, 2015, 09:23:12 AM by Shcherbyna »