Waves at my beach

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
martijn_NL
Map Reviewer
Posts: 156
Joined: Mon Apr 14, 2003 5:33 pm
Location: The Netherlands
Contact:

Waves at my beach

Post by martijn_NL »

I'm bussy with a map with a ocean. But i want to created some waves near the beach. But i don't know how to do that. :( I hope someone can help me. :o
Yarik
General
Posts: 1031
Joined: Thu Jan 09, 2003 7:12 pm
Contact:

Post by Yarik »

I dont think you really have to do anything except pick the right water texture. I just dont know whats its name.
Skype: Yarik_usa
www.skype.com <---free pc2pc phone
Image
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

the way they did it in the lighthouse level M1l3c...

oceanspray:
thread spray1
thread spray2
thread spray3
thread spray4
thread spray5
thread spray6
end

spray1:
wait 13
trigger $spray1
goto spray1

spray2:
wait 3.5
$spray1 anim start
wait 1
$spray2 anim stop
goto spray2

spray3:
wait 6
$spray3 anim start
wait 1
$spray3 anim stop
goto spray3

spray4:
wait 2.5
$spray4 anim start
wait 1
$spray4 anim stop
goto spray4

spray5:
wait 5
$spray5 anim start
wait 1
$spray5 anim stop
goto spray5

spray6:
wait 3
$spray6 anim start
wait 1
$spray6 anim stop
goto spray6


as you will be able to tell (hopefully) :P the anims for the waves only will get triggered when the player will come into sight of the waves (thus passing though a trigger_once trigger which will have)
key: setthread
value: oceanspray

you will need to create 6 animate->fx->water_spary giving them
key: targetname
value: spray1, spray2, etc...

this will create splash effects so place them against rocks,

for rolling waves however you will need to create however many waves sets you'd like (minimum of 3) then give them
key: targetname
value: wave1, wave2, etc...

add to the script
oceanspray:
thread spray1
thread spray2
thread spray3
thread spray4
thread spray5
thread spray6
thread waves
//this is the only line needed to be added
end

waves:
$wave1 thread wave_move
wait 6 //must be twice the wave_move time
$wave2 thread wave_move
wait 6
$wave3 thread wave_move
end

wave_move:
self moveUp 10 //edit these numbers depending on how much wave moment you want
self moveRight 100 //you can change "Right" with "Left", "Forward" and "Backward"
self time 3 //how quickly the waves move
self waitmove
self moveDown 10
self moveLeft 100 //make the opposite of previous direction
self waitmove
self thread wave_move
end
hope this helps, prob not cos it's all foreign 2 me :-/
Yarik
General
Posts: 1031
Joined: Thu Jan 09, 2003 7:12 pm
Contact:

Post by Yarik »

:shock: I gotta try that.
Skype: Yarik_usa
www.skype.com <---free pc2pc phone
Image
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

lol, tell me how it goes i've never tried it myself :P
hope this helps, prob not cos it's all foreign 2 me :-/
User avatar
martijn_NL
Map Reviewer
Posts: 156
Joined: Mon Apr 14, 2003 5:33 pm
Location: The Netherlands
Contact:

Post by martijn_NL »

I will try it. :shock:
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

There's some wave textures, I think ocean or deep_ocean :shock:, which has waves.
Live to map, not map to live.
-mohaa_rox, .map
moderator
Post Reply