Home   Help Search Login Register  

Author Topic: splashes???  (Read 1399 times)

0 Members and 1 Guest are viewing this topic.

Offline SafetyCatch

  • Members
  • *
  • War...it's fantastic!
splashes???
« on: 11 Sep 2002, 22:47:57 »
i want to make a good beach landing level, ive got the machine gunners firing randomly at the sea and at the tank traps but how can i make it so big explosoins go off in the sea and make a splash
i mean....is it possible ???
thanks  :)
safety

Gameer_77

  • Guest
Re:splashes???
« Reply #1 on: 12 Sep 2002, 00:34:53 »
I think it could be done by using the drop command in resistance.

Im not really that good at it so anyone who is could help you out. From what i've done it doesn't take that long...  :-*

 8)PEACE

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:splashes???
« Reply #2 on: 12 Sep 2002, 02:20:43 »
I don't know if this would work, but get hold of an artillery script and have it target the sea.  If you make the shells explode a couple of metres below the surface that might work better.
Plenty of reviewed ArmA missions for you to play

Gameer_77

  • Guest
Re:splashes???
« Reply #3 on: 12 Sep 2002, 10:16:00 »
But that wouldn't make splashes. Im sure someone can do this. If not, then ill try it when i get home tonight.  :)

 8)PEACE

Gameer_77

  • Guest
Re:splashes???
« Reply #4 on: 12 Sep 2002, 19:58:25 »
Ok, i can only give you the water effect at the moment:

_Obj = _this select 0

~0.3

drop ["cl_water", "", "Billboard", 1, 0.7, [-0.1,-0.1,3],   [1, 0, 3],   0, 1, 0.001, 0.1, [1, random (5) + 4], [[1, 1, 1, 1], [0.9, 0.9, 1, 0.2]], [0 ], 0.01, 0.15, "", "bubble.sqs", _obj]


drop ["cl_water", "", "Billboard", 1, 0.7, [1,-1,2],   [1, 0, 3],   0, 1, 0.001, 0.1, [1, random (5) + 4], [[1, 1, 1, 1], [0.9, 0.9, 1, 0.2]], [0 ], 0.01, 0.15, "", "bubble.sqs", _obj]


drop ["cl_water", "", "Billboard", 1, 0.7, [-1, 1,1],   [1, 0, 3],   0, 1, 0.001, 0.1, [1, random (5) + 4], [[1, 1, 1, 1], [0.9, 0.9, 1, 0.2]], [ 0], 0.01, 0.15, "", "bubble.sqs", _obj]


drop ["cl_water", "", "Billboard", 1, 0.7, [0, 0,2],   [1, 0, 3],   0, 1, 0.001, 0.1, [1, random (5) + 4], [[1, 1, 1, 1], [0.9, 0.9, 1, 0.2]], [ 0], 0.01, 0.15, "", "bubble.sqs", _obj]


drop ["cl_water", "", "Billboard", 1, 0.7, [0, 0,2],   [1, 0, 0],   0, 1, 0.001, 0.1, [1, random (5) + 4], [[1, 1, 1, 1], [0.9, 0.9, 1, 0.2]], [ 0], 0.01, 0.15, "", "bubble.sqs", _obj]


drop ["cl_water", "", "Billboard", 1, 0.7, [-2, -2 ,1],   [1, 0, 3],   0, 1, 0.001, 0.1, [1, random (5) + 4], [[1, 1, 1, 1], [0.9, 0.9, 1, 0.2]], [0 ], 0.01, 0.15, "", "bubble.sqs", _obj]


drop ["cl_water", "", "Billboard", 1, 0.7, [2,2,2],   [1, 0, 0],   0, 1, 0.001, 0.1, [1, random (5) + 4], [[1, 1, 1, 1], [0.9, 0.9, 1, 0.2]], [0 ], 0.01, 0.15, "", "bubble.sqs", _obj]

Put this into a script, name it splashS.sqs, then call it using [objectname] exec "splashS.sqs".

Make another script name splash.sqs and in it put this:

_pos = _this
_barvaR = 1
_barvaG = 1
_barvaB = 1
drop ["cl_basic", "", "Billboard", 1, 0.3, _pos, [0, 0, 0], 1, 0.28, 0.2, 0.1, [0.1,0.5], [[_barvaR,_barvaG,_barvaB,0.2],[_barvaR,_barvaG,_barvaB,0]], [0 ], 0.1, 0.1, "", "", ""]


The problem is that i don't think that itll get the position of a camcreated shell, so you may just have to position a gamelogic or two around and use that as the source for the splash.

This is a modified version of Vektorboson's fountain script.

8)PEACE
« Last Edit: 12 Sep 2002, 20:00:30 by Gameer_77 »

Offline SafetyCatch

  • Members
  • *
  • War...it's fantastic!
Re:splashes???
« Reply #5 on: 12 Sep 2002, 23:08:04 »
thanks  :)
ill try that script tommorow