(The page is currently under construction!)
This article will contain various information and data about the AI in Urban Assault, as well as some analyses.
1 Information
Artificial Intelligence (AI) in Urban Assault refers to all types of computer-controlled autonomous entities and their logics. Virtually all aspects of the game that are not directly controlled by players are controlled by AI. Therefore, AI is an integral part of the gameplay.
By definition, there are two main types of AI in Urban Assault: The Strategic AI, which constitutes the general thinking/reaction behaviours and decision-making capabilities of computer-controlled host stations which are exclusive to the single-player mode; and the Tactical AI, which constitutes the general behaviours and thinking capabilities of computer-controlled units and components, and therefore applies to both single-player and multiplayer aspects of the game.
There is no difference between the AI of Urban Assault and Metropolis Dawn and Urban Assault Trial.
2 Overview
In Urban Assault, the majority of internal AI codes and logical modules are hard-coded into the game engine. However, there are various types of parameters available in the scripts that can be used to adjust and control behaviours and capabilities of many AI elements during the gameplay. These include but are not limited to: The AI host stations' activity frequency and budget ratio defined in each level or the unique pre-set 'attack pattern' modules of individual units.
It is worth noting that the AI player in Urban Assault does not cheat in any form. There is no built-in hack or artificial cheating module designed to give advantages to AI in the game engine, so the AI is completely cheat-free. This can be also easily demonstrated and proven by creating several testing environments through modding.
For example, AI cannot auto-generate its energy without power sources, and has to scout the map first to gather enemy information. In fact, considering the fact that AI cannot teleport their host stations, create multiple vehicles in quick succession, or enjoy various benefits of the first-person control in vehicles, the AI in UA is actually designed to be underpowered than the players are.
3 Strategic AI
Coming Soon.
4 Tactical AI
Coming Soon.
5 Level-specific AI
The host station/faction-wide strategic AI is further subdivided into a set of level-specific parameter modules, which controls the frequencies and initial delays of the strategic actions that AI host stations defined in level definition files can perform. This design allows the effective simulation of different AI behaviours and aggressiveness per each level to adjust the difficulty and personality of each AI host station in the level.
There are total 8 different types of actions that can be adjusted for each AI host station defined in a level data: Conquest, Defence, Reconnaissance, Attack, Power Station, Flak Station, Radar Station, Displacement.
Each action parameter is generally responsible for more than one type of strategic decisions and manoeuvres that AI can make. For example, the conquest module is not only responsible for creating a large strike force that is employed to strike a cluster of fortified enemy power station bases, but it also controls sending out a small-sized squad to quickly capture unprotected neutral/hostile power stations in their line-of-sight.
The detailed functions and syntaxes for these level-specific parameters are covered in another article. It is also recommended to check the official Levelbuilder guide from the developers which covers this information as well.
6 User and AI differences
Coming soon.
Also see: Energy Math article.
7 AI Disadvantages
As mentioned above, the AI in Urban Assault does not cheat in any form. The AI in UA does not have any built-in cheats or 'hacks' which gives them unfair advantage over the players at an engine level. Therefore, the AI in Urban Assault is completely cheat-free.
For example, similar to the player the AI cannot generate energy income without a power source, and must peel back the fog-of-war to secure a line-of-sight first in order to gather intelligence and enemy information in the level to make adequate decisions accordingly.
In fact, the AI players in UA have several disadvantages compared to the human players during the gameplay.
Some examples of the AI disadvantages are:
- The AI cannot teleport to move their host stations unlike the players, which greatly limits their mobility and strategy around the level. It also renders AI unable to use the player's strategy of beaming directly into enemy bases.
- The AI cannot use Virtual Presence Shift (the ability to manually assume the first-person control of the vehicles) to receive a significant bonus to damage output, shielding, and manoeuvrability for the units unlike the players.
- The AI cannot create multiple vehicles simultaneously unlike the players, and they are always subject to the hard-coded '2 seconds delay period' between each vehicle creation. Which restricts their unit production capacity.
In the majority of the single-player campaigns, the only 'advantage' the AI players have over the human player is faster energy recharge rates (see also: Energy Math) that are defined individually in the level scripts. Which are not a hardcoded function per se and can be adjusted easily inside the level data.
(More information will be added here later.)