Battlefield 2 invades the high-tech frontlines of modern warfare. The game brings the intensity and excitement of Battlefield 1942 into the modern era with enhanced team play and the latest, most technologically advanced vehicles and weapons systems available to man.
An update to the former "auto artillery plugin", including artillery animation and effects, supply drop and vehicle drop request.
This is a plugin that enables AI commander, which automatically use artillery and respond to "request supply drop" and "request vehicle drop" given by a squad leader. The plugin was tested under vallina bf2 and some bf2 mods(like CUR). You are free to use it in any mod. -- worldlife(worldlife123)
FEATURES:
1. If there's no human player being the commander, AI commander would automatically use artillery strikes. 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 friendly units from enemy artillery.
4. AI commander would respond to "request supply drop" and "request vehicle drop" given by a squad leader. Unlike human commander, the ai commander directly drops the object above the requester, not at the crosshair of the requester. Note that no radio message will be given.
The vehicle drop spawns a vehicle without parachute, so the vehicle may be damaged or explode on landing. The spawned vehicle template is same as what human commander drops, which is set in init.con in the map folder.
CHANGELOG:
V2.0
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.
V2.0.1 (Moddb.com)
1. Various small fixes.
2. Added ONLY_IN_AIGAME option. Enabling this will disable this plugin in pvp games.
V3.0
1. Added barrel rotation and recoil animation and muzzle effect on artillery objects. A little tweak is made on bf2 artillery objects in order to make it work in multiplayer game. Note that muzzle effect is set to work only in singleplayer in order to avoid maximum networkable object issue. Muzzle effects from vanilla bf2.
2. Changed artillery shoot style: the artillery first shoot a round of signal smoke, then 5 rounds of explosive rounds. This can be tweaked in artySettings.py.
3. Added apply supply drop and vehicle drop system. A little tweak is made on the squadleader radio interface in order to make it work.
4. Update config system so that custom artillery objects can use this system easily.
INSTALL:(Attention! If you've installed previous versions of this plugin, remove all previous files before installation!)
(1)Backup your python folder in your mod folder.
(2)If your mod has modified files in python/game/gamemodes(which means it's different from vBF2 files), refer to CUSTOM INSTALL section. If not, 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
fileManager.mountArchive Menu_server_aicomm.zip Menu
(3)Run mapinstall.bat. If the script complain about something "access denied", rerun it in Administrator mode. If any new map is added to the mod, this script need to be rerun in order to make the new map work.
CUSTOM INSTALL:
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.
KNOWN BUGS:
The recoil animation sometimes play over and over, and no artillery will be shot. We are looking into this.
UNINSTALL:
Recover the python folder then delete objects_server_aiArty.zip and Menu_server_aicomm.zip to uninstall the plugin。
CUSTOMIZATION:
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.
Average
106 votes submitted.
Do you aleready fix the bug when this mod use with Artillery explision effect from Muhammad Furqon?
What kind of bug is that?
Idk is just crash on random time every time i play, probably because the refractor engine can't handle that
If the game crashes 1min or so after game starts, it's a map related issue and has been solved in this version.
Alright, many thanks for the fix
GJ
This comment is currently awaiting admin approval, join now to view.
Tested on fresh BF2 install v1.5, whitout any mod. In coop gamemode, result :
* Auto artillery work but it's chaotic and "cheated" (laps time between 2 arty too short and discontinued )
* AI commander NOT respond to "request supply drop" and "request vehicle drop" given by a squad leader.
* No Supply, No vehicule dropped
* When install Map with BAT "mapinstall" display warning message :
"....\mods\bf2\Levels\tmp.con"
access denied."
Same troubles
Thanks for the reply! The artillery interval is increased to 60 seconds now, and the readme is updated to correct install process. In your case, you just have to replace all files with the new updated ones, run mapinstall.bat in Administrator mode and add this line at the head of ServerArchieves.con:
fileManager.mountArchive Menu_server_aicomm.zip Menu
Welcome Back !
Thanks for update 3.0.2 ! I going to do some feedback after test this last version :
*Auto artillery work nice with "logical-strikes" every 60s
*Supply and vehicule drop work too
*Smoke Red = Artillery enemy target, i think ?
* Next Update Plugin can manage UAV request ^^ ?
Really good job !
Doesn't work for me
No Supply, No vehicule dropped
Any idea?
Fixed some issues in readme. Please re-download.
This comment is currently awaiting admin approval, join now to view.
Thank you. Very nice work!
Can you add a button in the main menu for singleplayer to able to ramdomize the choice of a map?
几天没看moddb,原来发了啊,还以为只在群里发了,_(:з」∠)_
请问群号是多少呢
thanks ... but it's a shame that putting this plug in a mod can no longer enter a player by lan to the game
All players need to install this plugin as there's custom objects in it.
how do i install this mod?
still doesn't work for me
atilery works, rest one dont work. And when I run mapinstall.bat in administrator mode, it says I can't find indicated location
ah it works! just AI commander says 'unable to use it' while supply and vehicle appeared already :P
Does this work with the mod “Eve of Destruction 2”?
Will work as long as this mod uses the same artillery objects ("ars_d30" and "usart_lw155") as vBF2.
This looks amazing ! I'm hoping that Project Reality mod might take this up ( Realitymod.com ).
BF2 was never the same for me in Coop/SP after the 1.5 patch took away artillery and supply drop for the AI commander
I don't think Project Reality needs it. They've modified artillery to area attack, which is just too powerful. Also they've got ai mounted mortars.
Thanks for this mod. The holy grail of Coop/SP with the AI commander !
I found the artillery frequency was set too high and started looking at how to adjust that. I found an "interval" setting for the sat scan but it did not make any difference (and actually seemed to break the artillery barrel models for some reason). How do I stop the commander using artillery so much ?
Plus for me the blue/red smoke is a bit too much but show clearly that the mod is working ! How to remove the coloured smoke that get's dropped ? Cheers.
ARTY_ROUND_INTERVAL is the parameter for artillery frequency. You need to adjust this parameter under both "ars_d30" and "usart_lw155". To cancel smoke rounds before HE rounds, just set ARTY_SIGNAL_BURSTSIZE to 0 (also under both "ars_d30" and "usart_lw155").
局域网联机 客机会报错
确认一下主机和客机都正确安装了插件
这个问题已经修复了,可以重新下载安装再试试。
S2.ax1x.com
It happens to you when trying to enter a dedicated server on a map with this add-on?
when trying to enter a dedicated server in a coop map with this add-on I get this error Imgur.com in case you do not understand me here video Youtu.be
I've tested this plugin on dedicated server without error. Please make sure both server and client installed the plugin correctly.
In what way ... I do not speak of conquest mode ... but of the coop 2 human mode with bots ... and I have tried it in another mod not in bf2 only I have replaced some effects because I have limits in that anyway I have also removed others and tested with all the content provided in this file including python but I have an error ... I would be so kind as to make a video by entering lan on a coop map and see if it works if it is not too much trouble .. I have everything right with the files of the mod on both computers until I have been able to enter another map where there is no artillery and I have been and played without problems I only have problems in the maps with artillery for this complement after I remove it I enter without problems to these maps I hope you understand me ... from now ... thanks
Thanks for the feedback. I've reproduced this problem on a blank mod. This problem is caused by the unpackaged Scripts folder. I've fixed and reupload it. Please redownload to see if it fixed your problem.
need help Sir. i Don't know how to install, yes there's a instructions, I've already follow it. still game crash. need video tutorial sir hehe.
Can someone teach me how to install the ai_commander, yes there's a instruction given but still it crash and i don't know exactly where to place it. need vid tutorial. thanks a lot. been playing this game for years. btw I'm trying to install it on orignal version no mods
非常感谢制作。
I tried running mapinstall.bat but this error keeps popping up:
The system cannot find the path specified.
The system cannot find the file tmp.con.
The system cannot find the path specified.
Oh, yeah, and the vehicle/supply drops do not work at all.
The signal gun doesn't look good. Where is the code? I want to delete it.
1.This works great in local, but is bugged in dedicated server.
You wrote: "I've tested this plugin on dedicated server without error. Please make sure both server and client installed the plugin correctly."
The shells explodes too early, like 10 meters above the ground.
I.imgur.com
I.imgur.com
As I said, it works great in local. However I wish to use dedicated.
2. mapinstall.bat doesn't work
"The system cannot find the path specified.
The system cannot find the file tmp.con.
The system cannot find the path specified."
This happens on all maps.
3. In the arty settings you forgot to change a couple of the .TWEAKS to "2", so the Blufor teams get red smoke, instead of their blue.
All in all GREAT, however, shame about the dedicated server.
Please, Can someone upload a backup python folder?? I forget to do that. I have bf2 1.5. I didn´t backup gpm_coop and gpm_cq.py default files
hey!
tnx for that great mode!
i will be so so so so mutch happy if in the next update you will add the following things:
1. marks of artilary on the map.
2. UAV
3. commander that tell the squad to distroy objective. and reaper. and they follow.
4. make better the things you did until now!
good work you amazing keep do that for us we love you!
This comment is currently awaiting admin approval, join now to view.
This comment is currently awaiting admin approval, join now to view.
does it work in a single player game?
yes, it does