Results 1 to 5 of 5

Thread: Ranged attacks in Units.txt

  1. #1
    SoulFisher
    Chieftain
    Join Date
    18 Jul 2001
    Location
    USA
    Posts
    51
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 19, 2013
    Local Time
    17:18

    Ranged attacks in Units.txt

    In Units.txt, does anyone know the difference between the following lines?

    ZB_RANGE_ATTACK 0

    BATTLEFIELD_RANGE 0

    BATTLEFIELD_RADIUS 0

    Thanks.

    Sure has been quiet in here recently . . . .

  2. #2
    TheBirdMan
    Emperor TheBirdMan's Avatar
    Join Date
    09 Sep 1999
    Location
    A real Master of CTP-PBEM - together with all the others.....
    Posts
    6,305
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 20, 2013
    Local Time
    01:18
    Have seen this been discussed before - can't remember when.

    I'll try to find it.

    But as far as I remember, the battlefield things are loose ends from the programmers. Things they wanted but never finished.

    The attack range has something to do with where the units are placed in a battle with stacked units (again as far as I remember).

  3. #3
    Immortal Wombat
    Prince Immortal Wombat's Avatar
    Join Date
    30 Dec 2000
    Location
    in perpetuity
    Posts
    4,965
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 20, 2013
    Local Time
    01:18

    Re: Ranged attacks in Units.txt

    Originally posted by SoulFisher
    ZB_RANGE_ATTACK 0
    That's the ranged attack strength of the unit I think...
    BATTLEFIELD_RANGE 0

    BATTLEFIELD_RADIUS 0
    Dunno. Maybe the range is its postition in the battle view. Take a look at some units, and see what pattern starts to emerge.

  4. #4
    J Bytheway
    Emperor J Bytheway's Avatar
    Join Date
    02 Jul 2001
    Location
    England
    Posts
    3,826
    Country
    This is J Bytheway's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 20, 2013
    Local Time
    02:18
    ZB_RANGE_ATTACK is the strength of a unit used when doing bombardment, active air defense and in-battlefield fighting from any row except the front line.

    BATTLEFIELD_RANGE appears to be:
    0 for cities and non-combat ground units
    1 for normal units, some unconventional warfare units, naval units, space units and non-combat air units
    2 for ground units which can fight from the second row
    3 for combat air units

    With the following exceptions:
    Battleships, plasma destroyers have 3
    A couple of the cities have 3 (but most have 0 - did you know that there were 5 city units?)

    I think that this is realted in some way to the positioning on the battlefield, but it's not at all obvious. Perhaps it was abandoned during development and the game now consults other things like whether or not the unit has an ATTACK or a ZB_RANGE_ATTACK.

    BATTLEFIELD_RADIUS is 0 for most cities and caravans but 1 for everything else - I think this just tells the gmae whether the unit will be fighting at all.

  5. #5
    SoulFisher
    Chieftain
    Join Date
    18 Jul 2001
    Location
    USA
    Posts
    51
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 19, 2013
    Local Time
    17:18
    TheBirdMan:
    I'm currently reading through all the posts to this forum dating back to July 1999. Hopefully I'll find those posts about ranges you mentioned.

    Immortal Wombat & J Bytheway:
    Very probable.

    All:
    Thanks for your help. Armed with this information, I can conduct experiments in my games.

Similar Threads

  1. Sometimes misleading informations concerning ranged attacks
    By Proteus_MST in forum Bugs in Civilization V
    Replies: 1
    Last Post: September 26, 2010, 20:20
  2. Real ranged attacks
    By Proteus_MST in forum Best of Civilization V
    Replies: 0
    Last Post: September 25, 2010, 12:43
  3. Ranged values for attack or flanking units
    By Tellius in forum Call to Power 2
    Replies: 2
    Last Post: October 3, 2007, 01:41
  4. Ranged weapons
    By Aggie in forum Civ3-Democracy Game-Archive
    Replies: 32
    Last Post: September 17, 2002, 17:41
  5. Ranged Unit Mod
    By Ironwood in forum Civilization III
    Replies: 4
    Last Post: May 19, 2002, 18:36

Visitors found this page by searching for:

civilization 5 bug ranged attack

civilisation 5 ranged attack glitch

Bookmarks

Posting Permissions