Page 3 of 3 FirstFirst 123
Results 41 to 49 of 49

Thread: Hero Abilities

Hybrid View

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

    Default Re: Hero Abilities

    Any ideas?

  2. #2
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: Hero Abilities

    The effects in the ability sections are hard coded to the file afaik, you can only modify the variables or mix and match:
    Code:
                    <hero_ability_effect>
                        <name>soldier_combat_effectiveness</name>
                        <target>own_army</target>
                        <kill_chance_modifier>2</kill_chance_modifier>
                    </hero_ability_effect>










  3. #3

    Default Re: Hero Abilities

    Quote Originally Posted by Gigantus View Post
    The effects in the ability sections are hard coded to the file afaik, you can only modify the variables or mix and match:
    Code:
                    <hero_ability_effect>
                        <name>soldier_combat_effectiveness</name>
                        <target>own_army</target>
                        <kill_chance_modifier>2</kill_chance_modifier>
                    </hero_ability_effect>
    Hmm.. Yeah I understand how to make a hero ability and also an area effect - the problem is putting them together :/

    I just get crashes when i try and add a hero effect straight onto the wagon and no effects at all when I put the <kill_chance_modifier>20</kill_chance_modifier> into an area effect.

  4. #4
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: Hero Abilities

    Quote Originally Posted by AleksiMizaro View Post
    Hmm.. Yeah I understand how to make a hero ability and also an area effect - the problem is putting them together :/

    I just get crashes when i try and add a hero effect straight onto the wagon and no effects at all when I put the <kill_chance_modifier>20</kill_chance_modifier> into an area effect.

    The direct application won't work - that's for sure. Have you tried using a complete section (hero_ability_effect) in the descr_area_effects file and then use that ability in a projectile?
    I am not holding much hope...










  5. #5

    Default Re: Hero Abilities

    Quote Originally Posted by Gigantus View Post
    The direct application won't work - that's for sure. Have you tried using a complete section (hero_ability_effect) in the descr_area_effects file and then use that ability in a projectile?
    I am not holding much hope...
    I just tried this on both a great cross and also on a crossbow bolt - neither works. Any other ideas?

  6. #6
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: Hero Abilities

    Nope - the special capabilities are linked to the hero file then.










  7. #7

    Default Re: Hero Abilities

    Quote Originally Posted by Gigantus View Post
    Nope - the special capabilities are linked to the hero file then.
    So is there no way of adding these hero effects in custom battle/ multiplayer? Thanks for your help btw

  8. #8
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: Hero Abilities

    They can only be added to characters via spawning (script) or pre-placing (desc_start) it seems. It won't be possible for a 'instant' multiplayer battle, not sure if historical battles are possible for multi players - there you pre-place armies.










  9. #9

    Default Re: Hero Abilities

    Quote Originally Posted by Gigantus View Post
    They can only be added to characters via spawning (script) or pre-placing (desc_start) it seems. It won't be possible for a 'instant' multiplayer battle, not sure if historical battles are possible for multi players - there you pre-place armies.
    Good to know, thanks a lot for your help

Page 3 of 3 FirstFirst 123

Posting Permissions

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