OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods Beta Testing => Topic started by: headshot_snipe on 25 May 2004, 08:43:34

Title: mapfact mines
Post by: headshot_snipe on 25 May 2004, 08:43:34
Hi,

I'd like to know how the mines are detonated in this addon pack:

ftp://www.gamezone.cz:8021/ofpd/unofaddons2/JOF_Objects1_2.zip (ftp://www.gamezone.cz:8021/ofpd/unofaddons2/JOF_Objects1_2.zip)

its the airport pack and inside there are some mines, the mines are cool but i cant figure out what makes them blow up cuz when the ai walks on them sometimes they blow up sometimes they don't

has anyone found out how to make them a bit more effective?

thx in advance
Title: Re:mapfact mines
Post by: Dinger on 27 May 2004, 01:17:09
The problem with AP mines is that nobody's successfully found and exploited a "hardwired" method of detection.

Each mapfact mine has a separate script does a nearestobject scan on a spot 2 meters above the mine.  If that object is not the mine, and that object is moving, it detonates.
It scans 1000 times a second or so.

The best way to make mines like that work is to use them on desert island in small numbers, with no other scripts. So far nobody has succeeded in making AP mines that can be deployed in large numbers.
Title: Re:mapfact mines
Post by: Homefry31464 on 27 May 2004, 19:25:35
Couldn't you just slow the loop down to 10 times a second?