Stugwi 0 Posted January 31, 2010 Hi, The mission invloves an ambush by opfor on hummer vehicles. I would like to have opfor RPG fire near misses on the hummer convoy. The only way i can achieve close to this is by using a dummy invisable hummer placed at a stratigic point along the convoys path. Problem is that all other opfor target the same dummy hummer (AK47, AR, grenadier ect). What i want is an emmersive mission with some wild RPG being shot at the convoy. I have tried using the fire command - which causes the AI to shoot in the air, also the doFire seems not to work. Any suggestions appreciated Share this post Link to post Share on other sites
Cyborg11 10 Posted January 31, 2010 (edited) You could use this 3 commands: doTarget + selectWeapon + action ["USEWEAPON"]. If the AI targets another vehicle you could use: aiunit disableAI "AutoTarget" http://community.bistudio.com/wiki/disableAI And as a target you could use a invisible helipad. Edited January 31, 2010 by Cyborg11 Share this post Link to post Share on other sites
nettrucker 142 Posted February 1, 2010 You could use the deleteVehicle dummyname command to remove it after a short time. kind regards nettrucker Share this post Link to post Share on other sites
This kid 1 Posted February 2, 2010 I often have problems getting the AI to target the right unit/vehicle with the "doTarget" command if I not first use the "reveal" command. My 2 cents. Share this post Link to post Share on other sites
Tonmeister 14 Posted February 2, 2010 My thoughts are to implement a simple script to randomly cycle through available invisible targets. Set your insurgents to hold fire. at known or random timingpoints, cyclically match a target with a soldier and as Cyborg mentioned, maybe force a doTarget + selectWeapon + action ["USEWEAPON"] command Share this post Link to post Share on other sites
blakeace 11 Posted February 4, 2010 (edited) Not sure if this will aid you in what you are trying to achieve. I was tired of the amazing accuracy of the ai AT units, and really removed a lot of the enjoyment when try to play light armour in a mech infantry unit as it really was one hit gone! So I created a small script to dumb down the AT units only when they are firing their AT weapons. This way you can get more near misses which can really add to the tension. It doesn't make then completely bad, as I only play with their skill levels, so kills are still a very real possibility. Things like distance and vehicle speed will help with surviving. By setting the AT units far enough back you could probably achieve something similiar to what you want. Currently it only sets the default opfor AT units. Though a small amount of knowledge in class names and it can be easily adapted to any unit that is placed in the editor. If you need to ensure no vehicles are killed then this is not the solution. http://www.armaholic.com/page.php?id=8967 Edited February 4, 2010 by blakeace Share this post Link to post Share on other sites