Melee unit pathing when attacking buildings.

Discussion in 'Modding' started by Wralth, Nov 8, 2017.

  1. Wralth

    Wralth Active Member

    Did anyone mess around with the pathfinding yet? Id like my melee units to form a nice circle around buildings when attacking, which they obviously dont do right now.
     
  2. Ftoomsh

    Ftoomsh Well-Known Member

    It occurs to me that peasants form a nice circle around a building while constructing it. I haven't done any work with this in C3 but in C1 there was a simple parameter which defined how many peasants could fit around any building to construct it. Of course, construction is just negative destruction in processing terms and destruction is negative construction. Could fighting units be made negative constructors (that is destructors) of a building?
     
  3. Wralth

    Wralth Active Member

    Not directly because there are only few building spots for each building but i guess it could work to make soldiers move towards those spots and then attacking the building as soon as they are close enough.

    Still clunky though.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice