Results 1 to 5 of 5

Thread: descr_walls explained?

  1. #1
    Andytheplatypus's Avatar Domesticus
    Join Date
    Jan 2010
    Location
    . U.S. - MS, Gulf Coast.
    Posts
    2,384

    Default descr_walls explained?

    I have a couple questions about descr_walls that hopefully someone could explain for me. Questions are in red. My original goal in trying to understand this was to increase amount of arrows shot from towers and increase rate of fire. What would I have to change to do this?

    Also I know its only possible to have 1 type of projectile per tower level and 1 tower level per settlement at a time. but doesnt having a regular arrow and fire arrow projectile count as 2 seperate projectiles per settlement? Is it possible to swap ballista bolt for fire arrow?


    tower
    {
    full_health 1200
    control_area_radius 30 - radius as in the 1 unit distance from tower for it to function?
    manned 1
    battle_stats flammability_none impact_damage_high flammability none? possible to make towers catch on fire from fire projectiles? Impact damage high? what does that mean.
    localised_name tower

    ; as in descr_unit.txt
    level
    {
    stat 8, 0, arrow (change this to any projectile I want?), 120, 10(what is the 10 mean? ammo? what does it need ammo for?), missile, missile_mechanical, piercing, arrow_tower, 10, 1 what does the previous mean? possible to change to another value?
    stat_attr no what else can this be changed to? ap ? that it?
    shot_sfx TOWER_ARROW_FIRING
    fire_angle 100 why is there just 1 unit here? how do I change the negative and positive angle that tower can fire from?

    ; unit size reload_ms flaming_reload_ms
    fire_rate small 5000 3250 ok so lower is slower? these numbers dont really seem to make sense, can someone explain in detail?
    fire_rate normal 4500 3250
    fire_rate large 4000 3250
    fire_rate huge 3500 3250
    }

  2. #2

    Default Re: descr_walls explained?

    The control area radius is how close a unit has to be to the tower for it to work. As for your stat and stat_attr questions, check out a guide on export_descr_units. For the fire angle, I'm not sure if that makes a difference. Fire angle is defined in descr_projectiles for each projectile type. I'm not sure if the fire angle here does anything.

    If I had to guess, I would say that those reload numbers are in milliseconds. So 5000 is 5 seconds. Not really sure though. Just a guess.

    Here's a guide on export_descr_units:
    http://www.twcenter.net/forums/showthread.php?t=221093

  3. #3
    Andytheplatypus's Avatar Domesticus
    Join Date
    Jan 2010
    Location
    . U.S. - MS, Gulf Coast.
    Posts
    2,384

    Default Re: descr_walls explained?

    thanks foe your help but I know how edu works. was wondering if this was different. ended up making towers shoot much faster. but had to lower damage to 1 and then mess with projectiles to get the right mix. im pretty happy with it. now towers shoot a ton of arrows but only get a lot of kills on unarmed units. now to figure out how to get greek fire to come out of towers....

  4. #4

    Default Re: descr_walls explained?

    Quote Originally Posted by Andytheplatypus View Post
    now to figure out how to get greek fire to come out of towers....
    Change arrow to greek_fire.

  5. #5
    Andytheplatypus's Avatar Domesticus
    Join Date
    Jan 2010
    Location
    . U.S. - MS, Gulf Coast.
    Posts
    2,384

    Default Re: descr_walls explained?

    Quote Originally Posted by Eothese View Post
    Change arrow to greek_fire.

    haha I figured but I assumed I would have to mess with the other factors to fine tune it. rate of fire and range mostly

Posting Permissions

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