Home › Lua API › Fractal

Available out of the box. Usable from Lua in the unmodified game.

Fractal

5 methods. Symbol/current columns are function addresses (RVA) of the native wrapper.

Signatures are recovered from the game code. ⚠ = partly understood (arguments may be missing or approximate). ? after a name = optional argument. Types: integer/number are Lua numbers, enum-typed arguments show the C++ type in brackets. Two signatures mean the method is registered separately for the UI and the gameplay state and each wrapper was decoded on its own. "same code as" in the Symbol column means the compiler merged identical functions: those methods share one wrapper and cannot be told apart by address.

Method Signature Where Reference Symbol Current
BuildRidges Fractal.BuildRidges(random?: any, iNumVoronoiSeeds?: number, iRidgeFlags: number, iBlendRidge?: number, iBlendFract?: number) (or nothing) ⚠
args: random — A count or amount (named count / num / amount in the scripts). (inferred); iRidgeFlags — A number.; iBlendRidge — A number.
gameplay — 0x6d2f00 0x6d35a0
Create Fractal.Create(arg1?: number, arg2?: number, arg3?: number, iFlags: number, arg5?: any, arg6?: any[HksObject]) → 1 values ⚠ gameplay — 0x6d3040 0x6d36e0
CreateRifts Fractal.CreateRifts(arg1?: number, arg2?: number, arg3?: number, iFlags: number, arg5?: any, iFracXExp?: integer, iFracYExp?: integer) → 1 values ⚠ gameplay — 0x6d31e0 0x6d3880
GetHeight Fractal.GetHeight(arg1?: any, arg2?: any, arg3?: number) → number ⚠
args: arg2 — A plot coordinate (named x / y / plotX / plotY in the scripts). (inferred)
gameplay — 0x6d33c0 0x6d3a60
__gc Fractal.__gc() (or nothing) gameplay — 0x6d3350 0x6d39f0