Home   Help Search Login Register  

Author Topic: Tank with Jet fuel?  (Read 1133 times)

0 Members and 1 Guest are viewing this topic.

Offline OrnelP

  • Members
  • *
  • "The true battlefield is within"
Tank with Jet fuel?
« on: 07 Jun 2006, 12:56:49 »
 ???   Hey all, im not a soldier, and i have never seen a tank blown up before by a bomb... But im pretty sure tanks dont go flying 3miles when hit by a-10 1000lb bomb? do they?, nevertheless is there a way just to have a tank explode and not start flying off into the blue yonder?

So i figure i could use SEtpos commands? open to any advise.
War is delightful to those who have had no experience of it
- Deciderius Erasmus

Offline Trapper

  • Honoured Contributor
  • ***
  • I'm a llama!
Re: Tank with Jet fuel?
« Reply #1 on: 07 Jun 2006, 15:08:38 »
Maybe this looks realistic as it doesn't effect horizontal movement after destruction. More accurate timing isn't possible.
In large numbers the scripts will stress the system.

In init line of the vehicle:
this exec "script.sqs"

The script:
Code: [Select]
@ !alive _this
_this setvelocity [(velocity _this select 0),(velocity _this select 1),0]

EDIT:
0 Z velocity isn't working.
_this setvelocity [(velocity _this select 0),(velocity _this select 1),-110] instead works for a combination of a M113 and three satchel charges.
You'll will always have to adapt this to the particular vehicle/explosiv combination otherwise the vehicle flys even better.
Only usefull for cutscenes.
« Last Edit: 07 Jun 2006, 17:12:23 by Trapper »

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re: Tank with Jet fuel?
« Reply #2 on: 07 Jun 2006, 15:56:51 »
This is a known problem.

Try placing a few satchels behind a jeep.  ;D

A workaround, that might suit your needs, but then again might not is to use the drop command to create a big blast effect and then to deletevehicle the original tank and then setpos a destroyed tank in it's place. Obviously whilst the cloud/blast is obscuring the magic trick.
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."

SgtSlick

  • Guest
Re: Tank with Jet fuel?
« Reply #3 on: 08 Jun 2006, 01:19:35 »
You could. Or you can just made an effect and set the dammage for the same tank.

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re: Tank with Jet fuel?
« Reply #4 on: 08 Jun 2006, 23:40:35 »
But the blast is still gonna send it into orbit m8.
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."