Results 1 to 7 of 7

Thread: ranged attacks impact on morale - edit via script?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default ranged attacks impact on morale - edit via script?

    Hi fans!

    Morale is hc, they say; still I want to change it.
    Especially ranged attacks impact on morale (of the unit gettin shot).
    Spoiler Alert, click show to read: 
    want to test battles gameplay with archery less deadly but moe important for routing
    --> different tactical use of ranged troops, main killing done by melee (or cav), ranged are supporting troops - but maybe more fun due to improved battle gameplay


    So, maybe via script?

    Anybody got an idea?

    (I`m a little out of modding and need a hint to start.)

    Greetz an thx in advance.
    Last edited by confused german; March 01, 2012 at 10:26 AM.
    "Do you want Total War?"

  2. #2

    Default Re: ranged attacks impact on morale - edit via script?

    It appears some ranged attacks already affect morale, i took this from descr_area_effects.xml, you could perhaps test this by adding their names to arrows in descr_projectile.txt.

    Code:
          <area_effect>    
             <name>ae_cow_carcass</name>
             <type>nausea</type>
             <ground_effect>cow_impact_ground_set</ground_effect>
             <floating_effect>cow_impact_wall_set</floating_effect>
             <radius>10.0</radius>
             <duration>300</duration>
             <banner_colour>
                <red>0</red>
                <green>255</green>
                <blue>0</blue>
       </banner_colour>
             <morale_effect>-5</morale_effect>
             <morale_max>16</morale_max>
          </area_effect>
          <area_effect>    
             <name>ae_greek_fire_fear</name>
             <type>nausea</type>
             <radius>5.0</radius>
             <duration>30</duration>
             <banner_colour>
                <red>255</red>
                <green>0</green>
                <blue>0</blue>
       </banner_colour>
             <morale_effect>-10</morale_effect>
             <morale_max>16</morale_max>
          </area_effect>


  3. #3

    Default Re: ranged attacks impact on morale - edit via script?

    Haha, very good! I looked in this file also but didn't think of the cow-carcasses (or the greek fire)!

    Via area-effect, Good idea + rep.

    Cannot test it right now. Area effects of all forms are possible for all projectiles including arrows
    (once made a very bad sorcerer...)

    You think of implementing a line "morale_effect" to a given projectile in projectile.TXT

    "morale_max" probably referring to the maximum grade of morale that can be effected by this effect ie:
    morale 20 troops don't care the carcass. (Or what?)

    I dont know if this would work and Ill report again!
    "Do you want Total War?"

  4. #4

    Default Re: ranged attacks impact on morale - edit via script?

    OKay, thx, I think we guessed the same thing:
    Quote Originally Posted by confused german View Post
    "morale_max" probably referring to the maximum grade of morale that can be effected by this effect ie: morale 20 troops don't care the carcass.
    Btw, I still could not test it. Waiting for new OS.
    Last edited by confused german; March 10, 2012 at 09:28 AM.
    "Do you want Total War?"

  5. #5
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: ranged attacks impact on morale - edit via script?

    max morale after modifier applied?

  6. #6

    Default Re: ranged attacks impact on morale - edit via script?

    Quote Originally Posted by Taiji View Post
    max morale after modifier applied?
    Sorry, didn't get that. Can you make a hole sentence (only this time!)??
    "Do you want Total War?"

  7. #7
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: ranged attacks impact on morale - edit via script?

    You asked what morale_max meant. I guessed that it's the limit beyond which the bonus will not raise morale.

Posting Permissions

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