J-Star 0 Posted October 21, 2003 Don't you just hate it... when you know your troop needs weapons badly, there's a battle-field full of dead enemies, you're running around collecting weapons like crazy beause you know that in a few minutes a couple of tanks is going to give you a workover you won't forget this side of christmas... and your more than half dozen AI teammates just stand there and stare at you?! I have been looking for a mod that rectifies this. I have been searching this forum and others but so far I've been unable to locate anything that is remotely like what I want: I want a mod where you can tell your AI teammates to collect all weapons from nearby dead people and put them in an ammocrate/truck/whatever. Is there one? Is so, where? If not, is it possible to do? Comments? /J Share this post Link to post Share on other sites
stgn 39 Posted October 21, 2003 hmm you just press F2 or somthing(the soldier you want to select) and then press 6 an there will be a hole lot of diffrent weapons you can make him pick up(if there is a lot of dead enemys) Or did you mean like ordering your hole squad to do it at the same time?? I don't think that would be pousible cause then the computer had to decide what the soldier had to pick up and should he then pick AK74, AK74GL, PK, RPG, tokarevor the americans weapons. how should he decide? and how fare should he be alloved to go to find the new weapon? STGN Share this post Link to post Share on other sites
Blink Dog 0 Posted October 21, 2003 It would be good to see something like this done by AI not controlled by the player as well. Like when confronted by armoured forces infantry will automatically seek the nearest unused AT weapon. Share this post Link to post Share on other sites
Major Fubar 0 Posted October 21, 2003 Is there a range detection script available? If there is, maybe some kind of script that activates when an AI calls "Ammo Low", so if there is a weapon or ammo within a certain distance, they will automatically go get it unless you order them not to. Share this post Link to post Share on other sites
bonko the sane 2 Posted October 22, 2003 This is one of my hopes to see implemented in OFP2 AI,but if a guru scripts something on these lines for OFPr i'll give him a cookie Share this post Link to post Share on other sites
Blink Dog 0 Posted October 22, 2003 What kind of cookie? oreo? animal cracker? Share this post Link to post Share on other sites
J-Star 0 Posted October 23, 2003 hmm you just press F2 or somthing(the soldier you want to select) and then press 6 an there will be a hole lot of diffrent weapons you can make him pick up(if there is a lot of dead enemys)Or did you mean like ordering your hole squad to do it at the same time?? I don't think that would be pousible cause then the computer had to decide what the soldier had to pick up and should he then pick AK74, AK74GL, PK, RPG, tokarevor the americans weapons. how should he decide? and how fare should he be alloved to go to find the new weapon? STGN Yes I know I can order the individual soldiers to do it but frankly that is just as much work as running myself... especially if a dead soldier is carrying many times of weapons. Ideally, the script would work best like this: 1) All affected AI go to the targeted ammo-crate/vehicle and  puts all carried items in that. If possible, save a note of primary and secondary weapons for each soldier. 2) Collects a list of all dead soldiers withing a certain range. 3) Collect a list of all soldiers available for the task. 4) Starting with the first dead soldier on the list, send the first available live soldier to him. Strike the dead soldier from the list. Repeat while there are live soldiers available. 5) When a soldier arrives at a corpse, he picks up everything the corpse is carrying. Then he goes to the crate/vehicle and drops everything there. 6) Once a soldier is done dropping everything, he goes back on the available-list and is assigned a new corpse. 7) Once there are no more corpses to be looted, grab the secondary and primary weapons (noted in step 1) from the container again. Issues: - What if the container becomes full? - What if the live soldier has a limited amound of slots and therefor is not able to pick up everything from the corpse? - What if someone has taken the primary/secondary weapon but magazines are still left on the corpse? - What if the primary weapon has been removed from the container before the script ends? /J Share this post Link to post Share on other sites
@cero 0 Posted October 23, 2003 did you checked on the OFPEC forums? Share this post Link to post Share on other sites