Home   Help Search Login Register  

Author Topic: vehicles through water  (Read 704 times)

0 Members and 1 Guest are viewing this topic.

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
vehicles through water
« on: 13 Aug 2005, 22:38:00 »
i was wondering if anybody could make a script that makes a big splash like if a truck or a tank drove into water(or in other words if any part of it went below 0 )


like this


bored_onion

  • Guest
Re:vehicles through water
« Reply #1 on: 14 Aug 2005, 00:50:27 »
you'd need to find out whether the unit was in the water (presumably the game knows this because it kills things when they go in it). then you could use the drop command to send water particles either side of you.

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:vehicles through water
« Reply #2 on: 14 Aug 2005, 01:22:28 »
so can u do it? :D

bored_onion

  • Guest
Re:vehicles through water
« Reply #3 on: 14 Aug 2005, 11:31:45 »
dont know how to detect when a vehicle is in the water  :P

Offline Blanco

  • Former Staff
  • ****
Re:vehicles through water
« Reply #4 on: 14 Aug 2005, 12:45:17 »
Quote
dont know how to detect when a vehicle is in the water

Code: [Select]
Getpos vehiclename select 2 < -1.2
That's how COC detects the COCdiver is underwater.

There's also a function :
Overwater.sqf

« Last Edit: 14 Aug 2005, 12:45:50 by Blanco »
Search or search or search before you ask.

bored_onion

  • Guest
Re:vehicles through water
« Reply #5 on: 14 Aug 2005, 13:26:12 »
thing is though - where do you find shallow puddles in flashpoint?

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:vehicles through water
« Reply #6 on: 14 Aug 2005, 22:06:13 »
well the ocean for one, if your driving a M113 and u drive it in to the ocean it would make a splash like that, or if a plane fell in the water, it could be used for all kinds of things if u added a paramiter to control the size of the splash