Jump to content
Sign in to follow this  
J-Star

Wanted: scavenger mod

Recommended Posts

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

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

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

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

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 biggrin_o.gif

Share this post


Link to post
Share on other sites
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×