718
edits
Kernelmethod (talk | contribs) (Create initial version of a new modding page on zone builders.) |
Kernelmethod (talk | contribs) m (Consistency in type casts) |
||
Line 86: | Line 86: | ||
float startFloor = 10f, endFloor = 15f; | float startFloor = 10f, endFloor = 15f; | ||
float startRadius = 10f, endRadius = 4f; | float startRadius = 10f, endRadius = 4f; | ||
float Radius = ((float) | float Radius = ((float)Z.Z - startFloor) * endRadius + (endFloor - (float)Z.Z) * startRadius; | ||
Radius = Radius / (endFloor - startFloor); | Radius = Radius / (endFloor - startFloor); | ||