Results 1 to 12 of 12

Thread: How can I edit unit Hit Points [HP] In Shogun 2

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Goutlard's Avatar Janissary
    Join Date
    Dec 2010
    Location
    France / Turkey
    Posts
    818

    Icon2 How can I edit unit Hit Points [HP] In Shogun 2

    Look a the title, I need to edit the Hit Points for finally making the so-said "Bulletproof" Samurais at least more Bulletproof, and I really don't know how to edit the HP...

  2. #2

    Default Re: How can I edit unit Hit Points [HP] In Shogun 2

    Quote Originally Posted by Goutlard View Post
    Look a the title, I need to edit the Hit Points for finally making the so-said "Bulletproof" Samurais at least more Bulletproof, and I really don't know how to edit the HP...
    You can edit this in the battle_enties.
    The hitpoints against projectile in the last column, the HP against melee in the second-last column.

    This thread exist more than one time.


  3. #3
    Goutlard's Avatar Janissary
    Join Date
    Dec 2010
    Location
    France / Turkey
    Posts
    818

    Default Re: How can I edit unit Hit Points [HP] In Shogun 2

    Really more than one time ?
    I've searched "Hit Point, Health Point Shogun 2, etc" I wasn't able to find anything, anyway.
    HP against projectile and melee, I already see it but is it possible to edit the HP of only one kind of unit ?
    Because I have "shogun_inf_samurai" ; "shogun_inf_samurai" but nothing like "Bulletproof Samurai" ; "Shimazu Katana Heroes" ; "Bow Heroes" ; then if I edit "shogun_inf_samurai" and set HP to 2, will all Samurai Units have 2 HP ?
    Anyway thanks for your 2 quick answers !

  4. #4

    Default Re: How can I edit unit Hit Points [HP] In Shogun 2

    Quote Originally Posted by Goutlard View Post
    Really more than one time ?
    I've searched "Hit Point, Health Point Shogun 2, etc" I wasn't able to find anything, anyway.
    HP against projectile and melee, I already see it but is it possible to edit the HP of only one kind of unit ?
    Because I have "shogun_inf_samurai" ; "shogun_inf_samurai" but nothing like "Bulletproof Samurai" ; "Shimazu Katana Heroes" ; "Bow Heroes" ; then if I edit "shogun_inf_samurai" and set HP to 2, will all Samurai Units have 2 HP ?
    Anyway thanks for your 2 quick answers !
    When you want to make that only one unit have more HP You must make a new entry. Then you must go to unit_stats_land paste your entry-name in the Infantry or Cavalry Battle Enties.

    I ask the same question a long time ago .
    (http://www.twcenter.net/forums/showt...0#post10754680)


  5. #5

    Default Re: How can I edit unit Hit Points [HP] In Shogun 2

    Quote Originally Posted by Greek Firethrower View Post
    When you want to make that only one unit have more HP You must make a new entry. Then you must go to unit_stats_land paste your entry-name in the Infantry or Cavalry Battle Enties.

    I ask the same question a long time ago .
    (http://www.twcenter.net/forums/showt...0#post10754680)
    Edit: Make sure that you change this in your own mod, not in the "orginal" files of the game.


  6. #6
    Goutlard's Avatar Janissary
    Join Date
    Dec 2010
    Location
    France / Turkey
    Posts
    818

    Default Re: How can I edit unit Hit Points [HP] In Shogun 2

    Great ! Thanks !

  7. #7

    Default Re: How can I edit unit Hit Points [HP] In Shogun 2

    So, exactly, how do I do this? I'm new to modifying things. So far I only know how to modify General portraits and names using EditSF by loading up game saves. Can someone give me a step by step guide on how to get to 'battle_enties'? I want to make a strong General to fight on the front lines, as strong as hero units.

  8. #8
    Goutlard's Avatar Janissary
    Join Date
    Dec 2010
    Location
    France / Turkey
    Posts
    818

    Default Re: How can I edit unit Hit Points [HP] In Shogun 2

    You go to battle_enties and add two rows, cloning one based on heavy cavalry samurai and dismounted samurai, and you edit the last row, Hitpoints.
    Then units_stats_land, you find the files that correspond to the entities and match them with the new entities you created.

    And as such your generals can get multiple HP
    Wind from the East's Awards :

  9. #9
    Artifex
    Join Date
    Oct 2012
    Location
    Germany, Baden
    Posts
    1,284

    Default Re: How can I edit unit Hit Points [HP] In Shogun 2

    There are two possibilities to edit unit hitpoints:
    - battle_entities defines hitpoints for unit categories (yari ashigaru, bow cavalry etc.)
    - unit_stats_land allows you to modify a single unit's hitpoints

    If you want to increase the efficiency of the bulletproof samurai, simply modify the percentage value in _kv_rules:
    bulletproof_projectile_damage | 0,75 <- This decreases incoming missile damage by 75%. Is that still not enough?
    My Mod:
    Shogun II Total Realism
    A realism mod for Shogun II, Rise of the Samurai and Fall of the Samurai

  10. #10
    Goutlard's Avatar Janissary
    Join Date
    Dec 2010
    Location
    France / Turkey
    Posts
    818

    Default Re: How can I edit unit Hit Points [HP] In Shogun 2

    Quote Originally Posted by Destin Faroda View Post
    There are two possibilities to edit unit hitpoints:
    - battle_entities defines hitpoints for unit categories (yari ashigaru, bow cavalry etc.)
    - unit_stats_land allows you to modify a single unit's hitpoints

    If you want to increase the efficiency of the bulletproof samurai, simply modify the percentage value in _kv_rules:
    bulletproof_projectile_damage | 0,75 <- This decreases incoming missile damage by 75%. Is that still not enough?
    Units_stats_land hitpoints to not work since Empire Total War unfortunatelly.
    And the Bulletproof_projectile_damage is bugged and fully unneficient, even set up to 0,99 it won't change anything
    Wind from the East's Awards :

  11. #11

    Default Re: How can I edit unit Hit Points [HP] In Shogun 2

    For some reason my post yesterday never went up. Anyway, thank you both for replying.


    A few clarifications:
    - I just want to modify one general in my team, not the entire game's. This particular general is supposed to be the hero of my army. However, after doing readings online, I'm not sure if it's possible to modify only one general.
    - The software I'm currently using to change portraits, names, etc, is EditSF 1.1.1, which opens up gamesaves. My guess is that battle_enties is the entry under db, which require PFM to open the data.pack file? If so, doesn't this change every general in the game?

  12. #12

    Default Re: How can I edit unit Hit Points [HP] In Shogun 2

    Thank you both for replying. I had a look at some of the tutorials on this site to get a better idea of all this, as I'm still new to these things.


    @Goutlard: I'm guessing battle_enties is under db, which requires PFM to open data.pack? Isn't this the main game file? See, I'm only interested in changing the hp of one particular general in one of my gamesaves; I don't want to modify the others or the original game's general/bodyguard category, as I'm quite happy with it. So, is this possible?


    I've just been doing some reading, and I think someone on the forums said that any modification to unit stats is a mod, and you need a different software like PFM to do it, which I guess modifies the entire unit group or unit type in data.pack, rather than a particular one from your gamesave. Creating mods sound a bit complicated for me... and I don't want all my generals to have the same stat.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •