top

AmmoBugCleaner
Goto page 1, 2  Next
 
Post new topic   Reply to topic    [LOL] ArmA OFP Site Forum Index -> Flashpoint Help
View previous topic :: View next topic  
Author Message
Poweruser[RS]
Virgin Poster
Virgin Poster


Joined: 01 Oct 2007
Posts: 16

PostPosted: Tue Nov 10, 2009 10:13 pm    Post subject: AmmoBugCleaner Reply with quote

During a short visit on Funhouse I was asked to put together a client-side mod which kills ammobugs only (no flags, object spawning, or whatever).
So, here it is:
d/l link: ABC2_1.zip (109 KB)

I went a bit further than just adding a useraction to the player whenever he's near a 'ammobug-object'.
Thanks to init-eventhandlers one can respond to all ammobug-objects being created during the game,
and remove them automaticly once a certain number of objects in one place is exceeded. That is most helpful
when when the players don't know where the ammobug is. Or when the one player, who has a 'just-useraction-ammobug-mod'
loaded, already died in the game and is unable to do anything, because he's sitting in the spectator script.

Do not use this mod, when you're already running some other mod like ECP, which comes with its own \bin\config.[bin/cpp] as you can not have two game configs running at the same time. One of them will get discarded.


Last edited by Poweruser[RS] on Fri Aug 06, 2010 9:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
Zapperguy
Deletions Department


Joined: 31 Oct 2005
Posts: 3032
Location: Springfield.... D'oh!

PostPosted: Wed Nov 11, 2009 2:10 am    Post subject: Reply with quote

THANKS!
_________________
Back to top
View user's profile Send private message Send e-mail
ROKKA(fin)
Average Poster
Average Poster


Joined: 05 Dec 2007
Posts: 608
Location: Finland

PostPosted: Wed Nov 11, 2009 1:56 pm    Post subject: Reply with quote

DANKE!
Back to top
View user's profile Send private message
(psychomat)
Amateur Poster
Amateur Poster


Joined: 05 Mar 2010
Posts: 120
Location: Slovakia

PostPosted: Sun Apr 11, 2010 9:30 am    Post subject: Reply with quote

Very Good,Automatic clean at start or in gaming 90%,
In place of accident 10%,
Now I can create and clean. TX
_________________
Back to top
View user's profile Send private message
Poweruser[RS]
Virgin Poster
Virgin Poster


Joined: 01 Oct 2007
Posts: 16

PostPosted: Sat Jul 31, 2010 5:10 pm    Post subject: Reply with quote

Hmm
I see that you are actually promoting this, by adding it to the downloads page and making this topic a sticky.
It might be wise get rid of the old version (1.1) then and handout the current one (2.1)

DL:
ABC2_1.zip (109 KB)

I've rewritten it in mid of May and am using it since then and havent changed it since then.

Major differences to 1.1:
- much faster on medium to large ammo bugs (500+ objects), cleans up within a few seconds
- more reliable, (v1.1) tended to throw script errors on large ammobugs (2k+ objects)
- no more cleanup user action, everything is done automaticly
- fixed ammobug size limit: 50 (has been proven to be a good compromise between temporary ammo caches/non-impacting ammobugs and impacting ammobugs)
- no more configuration file
- threw out all "publicVariable" stuff

Still:
Do not use this mod, when you're already running some other mod like ECP, which comes with its own \bin\config.[bin/cpp] as you can not have two game configs running at the same time. One of them will get discarded.


Last edited by Poweruser[RS] on Fri Aug 06, 2010 9:19 pm; edited 3 times in total
Back to top
View user's profile Send private message
tom34
Amateur Poster
Amateur Poster


Joined: 30 Jun 2010
Posts: 151
Location: Poland

PostPosted: Thu Aug 05, 2010 10:00 am    Post subject: Reply with quote

Sometimes when cleaining ammobug, clean all ammo what I put in vehicle(s). Versiion 2.0 have the same problem?
_________________
Back to top
View user's profile Send private message MSN Messenger
Poweruser[RS]
Virgin Poster
Virgin Poster


Joined: 01 Oct 2007
Posts: 16

PostPosted: Thu Aug 05, 2010 4:10 pm    Post subject: Reply with quote

tom34 wrote:
... , clean all ammo what I put in vehicle(s)

It's OFP which does that, not my mod. Therefore this can/will still happen with version 2
Back to top
View user's profile Send private message
Muerte
Post Whore


Joined: 19 May 2004
Posts: 5237
Location: Oregon USA

PostPosted: Thu Aug 05, 2010 7:21 pm    Post subject: Reply with quote

Any time there is an ammobug you should move vehicles at least 10m away to stop it then go back and use the cleaner on it with out the vehicle nearby.
_________________
Can't we just play.
Back to top
View user's profile Send private message MSN Messenger
tom34
Amateur Poster
Amateur Poster


Joined: 30 Jun 2010
Posts: 151
Location: Poland

PostPosted: Fri Aug 06, 2010 10:21 am    Post subject: Reply with quote

Muerte wrote:
Any time there is an ammobug you should move vehicles at least 10m away to stop it then go back and use the cleaner on it with out the vehicle nearby.
But AmmoBugCleaner does that automatically, no time for that...
Back to top
View user's profile Send private message MSN Messenger
Incubus
Lost in Addons


Joined: 27 Mar 2008
Posts: 3636
Location: Hungary/Austria

PostPosted: Fri Aug 06, 2010 11:26 am    Post subject: Reply with quote

tom34 wrote:
But AmmoBugCleaner does that automatically, no time for that...


move away first... and than use cleaner Idea
_________________
Back to top
View user's profile Send private message Visit poster's website
Mr.Peanut
Gerbil Repository


Joined: 04 Jun 2004
Posts: 4155
Location: Halifax, Canada

PostPosted: Fri Aug 06, 2010 2:13 pm    Post subject: Reply with quote

No disrespect for the work, but I have never thought that an ammo-cleaner is a good idea. It is good for missions designed where crates are provided, but not so good for missions in which you are supposed to scrounge weapons and ammo from dead enemy. However, someone asked I add it to our download page.

I can not support a mod that will automatically delete anything. This sounds more dangerous to me than the ammo bug itself.

Tell the noobs not to load vehicles. That is my ammo-bug cleaner.
_________________
Sent from my handheld deviceless wire
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Poweruser[RS]
Virgin Poster
Virgin Poster


Joined: 01 Oct 2007
Posts: 16

PostPosted: Fri Aug 06, 2010 7:00 pm    Post subject: Reply with quote

This mod does NOT:
- remove ammo/weapons from any vehicle cargo
- remove dead bodys
- remove ammo/weapons from dead bodys
- delete just anything

It only removes WeaponHolder and SecondaryWeaponHolder objects. These:

When this condition is met:

- more than 50 WH/SWH objects within a rectangle with the side length
50m + 0.05*(object count at this location)
Back to top
View user's profile Send private message
Mr.Peanut
Gerbil Repository


Joined: 04 Jun 2004
Posts: 4155
Location: Halifax, Canada

PostPosted: Fri Aug 06, 2010 9:05 pm    Post subject: Reply with quote

k. i stand corrected. will upload soon.
_________________
Sent from my handheld deviceless wire
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Poweruser[RS]
Virgin Poster
Virgin Poster


Joined: 01 Oct 2007
Posts: 16

PostPosted: Fri Aug 06, 2010 9:10 pm    Post subject: Reply with quote

Just found and fixed a little bug, new version:
ABC2_1.zip (109 KB)
Back to top
View user's profile Send private message
Mr.Peanut
Gerbil Repository


Joined: 04 Jun 2004
Posts: 4155
Location: Halifax, Canada

PostPosted: Sun Aug 08, 2010 9:04 pm    Post subject: Reply with quote

No settings file in zip. Should there be one or is this no longer required?
_________________
Sent from my handheld deviceless wire
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    [LOL] ArmA OFP Site Forum Index -> Flashpoint Help All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group