![]() |
setZ();
Wiki has very limited documentation on this and doesn't really give a good example. Can someone please enlighten me on how to use this?
|
Quote:
I'm not exactly sure what setZ does, you could mess around with it. Sounds like it would just change player.z? |
TServerLevel.setz(int, int, int, int, float, float, float, float);
I imagine its for changing terrain height. |
It is for changing the Level Z (as like GK Levels) I am wondering how to use the parameters for it correctly
setZ( x, y, width, height, a, b, c, d); The first four are pretty much self explaintory it is the a b c d ones ( square corners?) that I need help with. |
Yes a, b, c, d are the heights of the four corners. Afterwards call updateterrain() (everything on client-side). Support for changing the heights on server-side is planned but not added yet.
|
awesome, got it. Thanks Stefan. :P
|
Quote:
|
Terrain deformation would be pretty awesome ;o
|
Quote:
|
Quote:
|
Quote:
|
Wouldn't that cause lag?
|
Quote:
|
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 05:43 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.