• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

TerrainDeformRipple

Status
Not open for further replies.
Level 2
Joined
May 5, 2008
Messages
16
Can anybody explain me how this function works? I mean what does each taken value(parameter) do? I dont know how to configurate it to get the best effects...

JASS:
//
native TerrainDeformRipple          takes real x, real y, real radius, real depth, integer duration, integer count, real spaceWaves, real timeWaves, real radiusStartPct, boolean limitNeg returns terraindeformation
//
 
Level 6
Joined
Sep 5, 2007
Messages
264
Not 100% sure here...

takes real x, real y, real radius, real depth, integer duration, integer count, real spaceWaves, real timeWaves, real radiusStartPct, boolean limitNeg returns terraindeformation

X & Y are the central co-ordinates of the deformation (in game units, look at the bottom left corner of the World Editor on the "in-game" screen)
The radius is the FINAL radius of the ripples.
Depth is how deep (or high) the deformation goes.
Duration is how long it lasts.
Count is the number of "ripples"
SpaceWaves is the gap in between each wave (in game units)
TimeWaves is how long in seconds each wave lasts for (not sure)
RadiusStartPct is the ratio between "start radius" & "final radius"
LimitNeg is to stop the ripples from become "inverted mountains" (not sure)

EDIT: If all else fails, just get JassCraft or some other utility like it and check out how the BJ translates from what you give it to what this function takes.
 
Last edited:
Status
Not open for further replies.
Top