Results 1 to 13 of 13

Thread: Investigation of unit attributes

  1. #1
    Research Fiend Technical Administrator Tetris Champion, Summer Games Champion, Snakeman Champion, Ms Pacman Champion therother's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    2,631

    Post Investigation of unit attributes

    placeholder
    Last edited by therother; 03-22-2005 at 13:29.
    Nullius addictus iurare in uerba magistri -- Quintus Horatius Flaccus

    History is a pack of lies about events that never happened told by people who weren't there -- George Santayana

  2. #2
    Senior Member Senior Member Duke John's Avatar
    Join Date
    May 2003
    Location
    Netherlands
    Posts
    2,917

    Default Effect of unit attributes

    The file Data\export_descr_unit.txt contains details about units. In there you can also edit the attributes of units and this post is meant to gather the game effects of these attributes.

    command
    This attributes gives surrounding units an increase in the morale level. The possible morale levels are:

    Berserk (only when the unit's stat_mental is set to berserker)
    Impeteous (only when the unit's stat_mental is set to impeteous)
    Eager
    Steady
    Shaken
    Wavering
    Broken
    (no increase)

    As soon as a friendly unit comes within a certain radius then the morale level of that unit is increased by one. For example from wavering to shaken. Once the unit moves out of the radius (or the command unit moves) then the morale level drops down again.

    I do not know wether the command attribute also increases combat stats.


    ...uhm that was all I discovered up to now

    therother
    If this thread is out of place, then please feel free to merge/move/close it. You handled my other threads well too, thank you for that.

  3. #3
    Research Fiend Technical Administrator Tetris Champion, Summer Games Champion, Snakeman Champion, Ms Pacman Champion therother's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    2,631

    Default Re: Effect of unit attributes

    JeromeGrasdyke gave a fairly detailed answer on what command does in this thread.

    Quote Originally Posted by JeromeGrasdyke
    It currently affects both morale and combat ability - we tried it for a while with just morale, but it ended up being not enough of a bonus. The combat calculations have changed so much from Rome to Medieval as to be unrecogniseable, so it's no longer easy to equate stars to experience.

    As a rule of thumb it's one point of attack per command rank, up to a maximum of 10, and this can become negative for very bad generals. This combat bonus is applied to all troops under his command on the battlefield. Experience is one point of attack and one point of defense per chevron, plus a morale bonus as well.

    The general's command also controls his radius-of-effect, which is set to 30 m + 5 m * command + 2 m * influence. This is used to award morale bonusses to nearby units (in addition to the combat bonus), and when testing which units are affected it tests the distance between the actual general's position and the centre-point of the unit being considered.
    Quote Originally Posted by Duke John
    If this thread is out of place, then please feel free to merge/move/close it. You handled my other threads well too, thank you for that.
    I'm happy with it here. And no problem.
    Last edited by therother; 02-16-2005 at 13:33.
    Nullius addictus iurare in uerba magistri -- Quintus Horatius Flaccus

    History is a pack of lies about events that never happened told by people who weren't there -- George Santayana

  4. #4
    Squirrel Watcher Member Sinner's Avatar
    Join Date
    Aug 2004
    Posts
    390

    Default Re: Effect of unit attributes

    I think what Jerome is refering to there is the Command ability of generals, whereas I believe that Duke John is referring to the command attribute posessed by First Cohorts.

    My best guesses/deductions regarding the other possible unit attributes are as follows:

    can_run_amok: If unit suffers enough casualties and fatigue then it can become uncontrollable, potentially attacking even friendly units
    can_sap: Unit can sap during sieges (Probably only available to foot units)
    cantabrian_circle: Unit can use Cantabrian Circle manoeuver (Mounted only)
    command: Unit inspires nearby friendly troops, giving them a morale bonus (Note that simple proximity is all that's required, no other action need be taken)
    druid: Unit can inspire nearby friendly troops by chanting, giving them a morale bonus
    frighten_foot: Unit frightens nearby enemy infantry, giving them a morale penalty (Note that simple proximity is all that's required, no other action need be taken)
    frighten_mounted: Unit frightens nearby enemy cavalry, giving them a morale penalty (Note that simple proximity is all that's required, no other action need be taken)
    general_unit: Unit is a general's bodyguard
    hardy: Unit suffers reduced fatigue effects
    hide_anywhere: Unit can hide in any territory (This might just cover non-forest/non-long grass territory since it always seems to be assigned in addition to those hiding attributes)
    hide_forest: Unit can hide in forest
    hide_improved_forest: Unit has superior ability to hide in forest (Not sure if this means that they need fewer trees to be able to hide or if they're harder to spot instead)
    hide_long_grass: Unit can hide in long grass
    no_custom: Unit cannot be selected for custom battles
    screeching_women: Unit can frighten nearby enemy troops by screeching, giving them a morale penalty
    sea_faring: Unit can board ships (The crew of ships have this attribute, so it's the ship itself that has the ability to move on water, not the naval units themselves)
    very hardy: Superior version of hardy attribute

  5. #5
    Research Fiend Technical Administrator Tetris Champion, Summer Games Champion, Snakeman Champion, Ms Pacman Champion therother's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    2,631

    Default Re: Effect of unit attributes

    Quote Originally Posted by Sinner
    I think what Jerome is refering to there is the Command ability of generals, whereas I believe that Duke John is referring to the command attribute posessed by First Cohorts.
    You are right, but I suspect (although I have no evidence as yet) that the two are related, i.e. that First Cohorts will give a melee as well as a morale bonus. At what level, I do not know, although it should be testable.
    Nullius addictus iurare in uerba magistri -- Quintus Horatius Flaccus

    History is a pack of lies about events that never happened told by people who weren't there -- George Santayana

  6. #6
    Research Fiend Technical Administrator Tetris Champion, Summer Games Champion, Snakeman Champion, Ms Pacman Champion therother's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    2,631

    Default Re: Effect of unit attributes

    Well, I did a few quick tests. As Duke John points out, there is definitely a morale bonus from units with the "command" attribute. Working out if there is a bonus to attack is a little more complicated.

    One way to test at what level of bonus, in comparison to the General command stars, the "command" attribution gives would be to measure the radius-of-effect of the unit. But that would require the ability to measure distances accurately on the battlefield.

    Does anyone know of a reliable way to measure distances on the battle map? There is a RomeShell command -- output_unit_positions -- but AFAIK that is not activated in 1.2.

    Anyway, for comparison, I setup a test battle between two groups of peasants, with either a command unit or a general. To be honest, I didn't see much improvement in combat ability with the general on the field. From Jerome's rules of thumb, my 10 star general should have given my peasants +10 to attack. With that advantage, I would have expected them to mow through their counterparts. But the test battles were usually close, although my peasants usually won (although not always) with 75-80% losses, or thereabouts.

    So I modded my peasant's attack to 11, and retested. The battles now went more as expected. The opposing peasants were all killed for the loss of only ~20-25% of my men, and there never seemed to be any doubt on the outcome. So there may be a problem with the General's melee bonus. Either that, or they've changed it for 1.2.
    Nullius addictus iurare in uerba magistri -- Quintus Horatius Flaccus

    History is a pack of lies about events that never happened told by people who weren't there -- George Santayana

  7. #7

    Default Re: Effect of unit attributes

    There's also the mercenary_unit attribute. As well as making the unit able to be used in mercenary recruitment pools, is there any other impact? Don't mercenaries disband in a different way to regular units?

    Also, Monkwarrior has discovered that this attribute is what the game uses to refer to the Mercenary folder for unit cards. Not very interesting for you game researchers, but maybe useful for us modders!
    .
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

  8. #8

    Default Re: Investigation of unit attributes

    There is also
    Spoiler Alert, click show to read: 
    power_charge
    which allowsa unit extra benefits during the initial inpact of a charge, usually cavalry only
    Spoiler Alert, click show to read: 
    shield_wall
    units get and extra protection bonus in formation. These are in 1.5, 1.6

    diBorgia

  9. #9
    Arrogant Ashigaru Moderator Ludens's Avatar
    Join Date
    Nov 2003
    Posts
    9,058
    Blog Entries
    1

    Lightbulb Re: Investigation of unit attributes

    Quote Originally Posted by Cesare diBorja
    There is also power_charge which allowsa unit extra benefits during the initial inpact of a charge, usually cavalry only
    What is the exact nature of these benefits? Because AFAIK several cavalry units lack this attribute despite being good chargers. So perhaps it does something other than increasing charge bonus.
    Last edited by Ludens; 05-29-2006 at 18:50.
    Looking for a good read? Visit the Library!

  10. #10

    Default Re: Investigation of unit attributes

    power_charge seems to add extra shock value to charging units. Probably only meant for cavalry, medium to heavy, at that. At least thats what I use it for.

    diBorgia

  11. #11
    Member Member Mr Frost's Avatar
    Join Date
    Dec 2002
    Location
    In a chair
    Posts
    520

    Default Re: Investigation of unit attributes

    Quote Originally Posted by Cesare diBorja
    power_charge seems to add extra shock value to charging units...
    That , or it is to recharge the batteries in those new-fangled cordless horses .
    7 out of 10 people like me ,
    I'm not going to change for the other three .

  12. #12

    Default Re: Investigation of unit attributes

    what on earth is the purpose of sea_faring? i load all sorts of troops onto ships and send them here and there.

    well never mind. i was just confused because i remember seeing druids as explicitly sea faring while other units weren't, but looking through EDU i see that most units have this trait.
    Last edited by lottrbacchus; 02-04-2007 at 15:14.

  13. #13
    Vote: Sasaki Member ByzantineKnight's Avatar
    Join Date
    May 2006
    Location
    Decomposing on Seon
    Posts
    1,247

    Smile Re: Investigation of unit attributes

    Quote Originally Posted by lottrbacchus
    what on earth is the purpose of sea_faring? i load all sorts of troops onto ships and send them here and there.

    well never mind. i was just confused because i remember seeing druids as explicitly sea faring while other units weren't, but looking through EDU i see that most units have this trait.
    sea_faring is an attribute that allows your units to board ships...

    You cannot transport them without the attribute...
    RIP Tosa, I can't believe you are gone, but we will never forget you

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO