1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Medic Promotion Visualization

Discussion in 'Civ4 - Mod Components' started by SaibotLieh, Oct 24, 2012.

  1. SaibotLieh

    SaibotLieh Emperor

    Joined:
    Sep 25, 2009
    Messages:
    1,491
    This modcomp changes the units Infantry, Marines and Mechanized Infantry so that they now display red cross symbols as soon as they get the Medic 2 promotion. For this to work, the entry for the Medic 2 is also altered, but this change does not affect other units in any way. There are also female versions for the Infantry and Marines included in the download.
    Spoiler :



    There are no SDK or Python changes involved. The mod is mostly modular. All files in the zip-file are already put into the necessary folders, unzipping it directly in the Mods folder of BtS should result into a working mod. The only reason that this modcomp is not completely modular is that the CIV4PromotionInfos.xml file can not be made modular. However, only the LayerAnimationPath entry is changed and therefore merging of this mod should be quick and easy.

    Download link: http://forums.civfanatics.com/downloads.php?do=file&id=20312

    Enjoy! :)
     
  2. The_J

    The_J Say No 2 Net Validations Retired Moderator Supporter

    Joined:
    Oct 22, 2008
    Messages:
    32,158
    Location:
    DE/NL/FR
    ...mhh....mmhh....interesting.
    That means...it would theoretically be possible to have units with changing civ insignia over time, right?
    (...if somebody took up the work...)
    Interesting. And a very good idea with the medic, looks nice on the images :).
     
  3. hrochland

    hrochland Prince

    Joined:
    Apr 9, 2006
    Messages:
    2,163
    Location:
    Czech Kingdom
    Very interesting. It could have wider use ... Downloading and explore :)
     
  4. SaibotLieh

    SaibotLieh Emperor

    Joined:
    Sep 25, 2009
    Messages:
    1,491
    Thanks. :)
    Only when you create automatic promotions for different eras. What you could do is create a promotion for each civ and use this to let the unit sport a civ specific symbol. However, I guess the possibilities of the civ4civilizationinfos.xml file are already sufficient for that.
    As far as I know yet the LayerAnimationPath entry can be used to make previous invisible meshes visible and vice versa or make changes to a mesh that are not modified again by another animation (resizing should work most of the time for example). So one could create a swordmen that starts with just a sword, but with each Combat promotion he gets more equipment (shield, helmet, armor, bigger sword and so on). Or one could create a airplane that gets some bombs or an extra fuel tank attached with the fitting promotions.

    By the way, the Gravebringer from the Afterworld scenario makes quite some use of the LayerAnimationPath entries. From this example I learned how to do this myself.

    The nice part is that one does not have to fiddle with Python or the SDK to get this to work. On the other hand, one has to modify some more xml files, create a kf file for the extra animation and change the kfm of the unit accordingly. I guess it is a matter of taste. :)
     
  5. platyping

    platyping Sleeping Dragon

    Joined:
    Oct 22, 2010
    Messages:
    4,626
    Location:
    Emerald Dreams
    Ah I was right, promotions cannot work in modular form, dacubz bluffed me lol :D
     
  6. modifieda4

    modifieda4 Chief Time Waster

    Joined:
    Sep 3, 2006
    Messages:
    385
    Location:
    Gold Coast
    i like this mod. nice work :)
     
  7. smeagolheart

    smeagolheart Monarch

    Joined:
    Sep 4, 2007
    Messages:
    924
    Location:
    Phoenix, AZ
    As always you come up with some great stuff Saibotlieh
     
  8. SaibotLieh

    SaibotLieh Emperor

    Joined:
    Sep 25, 2009
    Messages:
    1,491
    Thanks guys. :)
     
  9. Dumanios

    Dumanios MLG

    Joined:
    Oct 24, 2008
    Messages:
    4,882
    I love these doctors! :D
     

Share This Page