Home   Help Search Login Register  

Author Topic: mine go boom  (Read 1115 times)

0 Members and 1 Guest are viewing this topic.

Offline SAS4Life

  • Members
  • *
  • Sas4life
mine go boom
« on: 16 Mar 2004, 13:26:35 »
i wondered if their was any way to make a mine detonate from a trigger

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:mine go boom
« Reply #1 on: 16 Mar 2004, 13:33:04 »
Have you tried setdammage?
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Offline SAS4Life

  • Members
  • *
  • Sas4life
Re:mine go boom
« Reply #2 on: 18 Mar 2004, 14:43:41 »
i have but i cant remeber exactly what i had to write for it to work

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:mine go boom
« Reply #3 on: 18 Mar 2004, 17:50:15 »
I just tried to do it and it didn't work  :(
Gimme a minute and I'll try and work around it.
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:mine go boom
« Reply #4 on: 18 Mar 2004, 18:24:23 »
I have a feeling it doesn't work.    Mines are nasty little objects, there are several commands to which they don't respond:   I supect you'll have to setpos it away or use deletevehicle and then camcreate a bang on the spot.
Plenty of reviewed ArmA missions for you to play

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:mine go boom
« Reply #5 on: 18 Mar 2004, 18:38:21 »
Yeah your right Macguba, I have been trying to camcreate a bang and delete vehicle the mine away. However what you say about mines being a bit naughty is true. Delete vehicle seems to have no affect. Unfortunatly nor does setpos. I tried this in the detonate trigger,

mine setpos [getpos mine select 0, getpos mine select 1, -2]

Nothing happened.

SAS4Life, do you need to be able to see the mine? Or would you be happy with just camcreating an explosion until this is siolved?
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Harkonin

  • Guest
Re:mine go boom
« Reply #6 on: 18 Mar 2004, 19:05:34 »
Did you name it first?

deletevehicle minename

Harkonin

  • Guest
Re:mine go boom
« Reply #7 on: 18 Mar 2004, 19:07:37 »
Also it might be worth it to try COC mines.

http://www.downloads.thechainofcommand.net/zips/COC_Mines.zip


Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:mine go boom
« Reply #8 on: 18 Mar 2004, 19:13:59 »
I solved this problem once, a long time ago ...wait ... ok, you have to camcreate the mine in init.sqs - you can't place it in the editor.    A setpos command will then vanish it though I'm not sure whether it is moved or deleted.

If CoC mines inherit from the the original mine they may suffer from the same problems - I don't know.
Plenty of reviewed ArmA missions for you to play

Rokket

  • Guest
Re:mine go boom
« Reply #9 on: 20 Mar 2004, 14:07:51 »
The CoC mines are great, but I made a very simple 2 part addon: a dummy mine and a script, use with a trigger. The mine can be deleted after explosion.

The model for the dummy mine is a handgrenade, because when u place it on the ground, it looks like just the trigger of a buried ap mine. It's hard to see (esp depending on terrain and lighting), but not impossible.

I just camcreate an explosion. I've got "wound" and "kill" scripts - just bring the underground explosion closer to the surface. Sometimes running will get u off with minor damage, sometimes not.

The script is very simple, just a slight rework and short version of scripts by Bloodmixer and SEFE. I added deletevehicle to delete the mine after detonation, but I can only get this to work with a second script. I'm sure someone much smarter than me can make it work in one.

If anyone's interested, the addon is at:
www.rocket-comm.com/test

it comes with 3 scripts (plain and "d" for death, and delmine for deletion)

Dubieman

  • Guest
Re:mine go boom
« Reply #10 on: 03 Apr 2004, 16:09:10 »
There is a way to use tank mines as regualr mines via trigger.

You name the mine "mine1"

Then make a trigger thats 5 by 5
make it activated by west east or anybody
in activation put
mine1 setdammage 1


That should work, try moving the trigger flag right over the mine or a little bit off it cause it is very cranky about where the damn trigger symbol is.
The mine may blow up at the start of the mission but like I said, try messing with positioning. :)