Talk:Mapping/Entities/misc mission

< Talk:Mapping
Revision as of 05:07, 28 July 2015 by ShipIt (talk | contribs) (Goals: update)


  • Feature request on tracker
  • Having this feature would help in many ways:
    • We could have something other than "kill all aliens" in our missions.
    • A second way to win could shorten some missions for the player. There are often complaints about very long missions on maps like 'Mansion' or base defence missions, where people crawl through huge maps searching for the last single alien. Those missions could be won by the player securing some 'key points' of the map for long enough.


  • What is the misc_mission_alien good for at all? It does the same as misc_mission, doesn´t it? --ShipIt (talk) 11:06, 26 July 2015 (CEST)
    • In-game it actually spawns a misc_mission, but sets the team property to the alien team, sets the radius to 3 map tiles (96 units) and ignores all properties set with uforadiant (yes, every single one of them, even radius is always set to 96). --DarkRain (talk) 22:05, 26 July 2015 (CEST)
      • After the first round of fixes the 'time' property should be recognized, still I'm not sure about having two entities that do nearly the same thing (you can create alien mission objectives with just misc_mission, and it is more flexible and less broken) --DarkRain (talk) 04:58, 27 July 2015 (CEST)
        • I would rather have one thing that works as expected than having two that both do not. It is simply confusing and does not make any sense to me. --ShipIt (talk) 06:48, 27 July 2015 (CEST)
  • If 'radius' is given, does this count only horizontally or is it meant to be a sphere? --ShipIt (talk) 11:23, 26 July 2015 (CEST)
    • Horizontally only, and it results in a square not a circle as the name radius might suggest. --DarkRain (talk) 22:05, 26 July 2015 (CEST)


  • Make this feature work in campaign as the description implies, and use it within the maps. --ShipIt (talk) 11:06, 26 July 2015 (CEST)
    • If only a 'target' is given, destroy it once the conditions are met.
      • Right now, this destroys the target AND wins the mission, which makes no sense.
    • If only an 'item' is given, win the mission once the conditions are met.
    • If a 'target' and an 'item' are given, destroy the target once the conditions are met.
      • This is used in fueldump map and already works.
    • If none of the above paramters is given, win the mission once the conditions are met.

Current state

  • As given by DarkRain:
    • ... in theory there are the "bring object", "occupy area" and "destroy object" objectives available ...
    • The AI actually already takes misc_mission into account in its calculations.
    • It does not work for aliens (team 7) at all.
      • First round of fixes is in, should work now for aliens too. --DarkRain (talk) 04:58, 27 July 2015 (CEST)
    • All objectives must be accomplished to win the mission.
      • This is not yet the desired behaviour. It should be enough to reach one of the given goals, unless they are grouped together. --ShipIt (talk) 11:56, 26 July 2015 (CEST)
    • Destroy object' type misc_mission are mostly useless, since misc_mission aren't brush based they aren't tangible and can't be damaged by the player.
      • I almost always think things like that (does not work, no intention to get it working) should be removed, simply to avoid confusion. --ShipIt (talk) 11:06, 26 July 2015 (CEST)
        • Probably the best option for now, I can't think of a way to make this work without making it convoluted and counter-intuitive to map. --DarkRain (talk) 04:58, 27 July 2015 (CEST)
    • The AI moves to the general area of a misc_mission — within a predefined radius of the entity, which, depending on the radius assigned to the misc_mission (if any), might not be close enough to activate the objective.
    • The AI doesn't know how to handle the 'bring object' type misc_mission at all.

Known problems

  • The fact that the AI can only plan for their current turn, they will have all kinds of trouble trying to path to anything that is beyond their TU's.


  • In my testmap it works fine, but adding a civilian breaks it. --ShipIt (talk) 17:01, 27 July 2015 (CEST)

Next step

  • Make the "occupy area" feature work for all teams. So, if a team reaches one of the given objectives, it wins the mission.
    • Provide some maps using this feature.
      • Imo the best map for this is the baseattack map. Aliens should try to reach either the Power plant, Antimatter storage or Command centre and blow up the base. Players are forced to play those missions, so we get feedback? --ShipIt (talk) 11:06, 26 July 2015 (CEST)
        • This is probably the best use we can make of misc_mission right now, giving the aliens some threatening objectives in base attacks is long overdue IMHO, and we'd get the much needed feedback on this feature, but of course this will need to deal with the AI pathing problem if we are to see any real effects here --DarkRain (talk) 04:58, 27 July 2015 (CEST)
      • The alien base could be used for the player the other way around. Secure the Command centre and win. --ShipIt (talk) 12:03, 26 July 2015 (CEST)
        • Yes, giving some variety to missions should be nice --DarkRain (talk) 04:58, 27 July 2015 (CEST)
      • What about making the dropships a target for the aliens? --ShipIt (talk) 11:06, 26 July 2015 (CEST)
        • This is an interesting idea, specially if we can make the AI pull a sneak attack on the dropship while the team is somewhere else, but that would require some further AI tweaking --DarkRain (talk) 04:58, 27 July 2015 (CEST)