This is a plugin that enables auto-triggered artillery(AI commander) in singleplayer/coop made by worldlife. There's no gamemode plugin category so I just choose "Singleplayer Map".
This is a plugin that enables auto-triggered artillery(AI commander) in singleplayer/coop made by worldlife. The plugin was tested under bf2 and some bf2 mods(like CUR).
1.If there's no human player being the commander, AI commander would automatically use artillery strikes. Every artillery object contributes 5 artillery shots every round, which is to say, destroying enemy artillery objects can weaken or cut off enemy artillery strikes, like in online games.
2.If there's human player on command, there will be no auto-artillery for the team.
3.AI commander utilizes the satellite scan to get information about enemy locations, which is to say, destroying the radar can also protect firendly units from enemy artillery.
1、Added artillery trails and sounds. Red trails for team 1 and Blue trails for team 2. Sounds from vanilla bf2.
2、Improved ai system. The artillery positions are not bounded by controlpoints any more! AI commander will automatically find the best place to use artillery.
3、Added satellite scan system. AI commander use this to get information about enemy locations.
1.Various small fixes.
2.Added ONLY_IN_AIGAME option. Enabling this will disable this plugin in pvp games.
INSTALL：（Attention! If you've installed the beta versions of this plugin, remove all previous files before installation!）
(1)Backup your python folder in your mod folder.
(2)Copy and replace all files in this package into your mod folder.After this, open ServerArchieves.con,and add this line at the head of the file:
fileManager.mountArchive objects_server_aiArty.zip Objects
EDIT: Note that is your mod has a 'Python' (an uppercase 'P'), delete and replace it with the bf2 python folder before the installation.
If your mod has modified files in python/game/gamemodes，please do not copy and replace the python folder, and refer to python/game/gamemodes/aiArty/install.txt to complete your installation.
If you run into a game crash after installing this plugin, try this:
(1)Open the levels folder that you're playing when game crashed.
(3)Create or open tmp.con in server.zip. Add in the file:
ObjectTemplate.create ObjectSpawner pyart_loading
ObjectTemplate.activeSafe ObjectSpawner pyart_loading
ObjectTemplate.setObjectTemplate 1 pyart_expobj
ObjectTemplate.setObjectTemplate 2 pyart_expobj2
(4)Saving the file and open the game to have a check if the CTD still exists.
Recover the python folder and delete objects_server_aiArty.zip to uninstall the plugin。
Many arguments like artillery interval and artillery cover radius can be modified。All arguments are set in python/game/gamemodes/aiArty/artySettings.py, with detailed explanation. Be careful! If you've got no knowledge or experience with python files, please backup the file every time you modify it or refer to the python docs.
Readme files: English/Chinese
Python files: English
Credit files: English