plaxor wrote: ↑Sat Mar 19, 2022 3:51 pm
how do you use the surface stuff?
Firstly the "Find Surface" Script:
This can as the name suggests search for surfaces.
You can do three things:
Find Surface Count:
This will get the Amount of Surfaces currently created in your world.
Wenn activating the Script this will actually be done automatically but if for example
some mod created a new Surface you can get the new Surface count.
The Surface Count will be displayed in the “Surface Count” Addresses value.
Find Surface with Index:
This will search for a Surface by its Index(when it was created).
You can search for the Index by changing the value of “Index to Search for”
The Index starts with 1 which should always return the “nauvis” Surface as that’s the
one that the Game creates when you join the world.
Find Surface with Name:
This will search for a Surface with Name inputted into “Name to Search for”. You can also change the “Case-Sensitive Search” value to “Yes” if you want to do a case sensitive Search.
If you search for a Surfaces Index or Name and it can be found then the value of “Returned Index” will be changed to the Surfaces Index, the value of “Returned Name” will be changed to the found Surfaces Name and the value of “Returned Address” will be changed to the Address of the Surface.
Secondly the “Change Surface Activate Me First” Script:
You can input the Surfaces Name that you want to go to into the “Surface Name” field, the X position into the X-Pos field and the Y position into the Y-Pos field then change the “Change Surface” fields value to “Yes” and if a Surface with that name exists it will teleport you to that Surface to the position specified. The Name has to be case sensitive, so if you want to go to the normal Surface you input “nauvis” into the “Surface Name” field and set “Change Surface” to “Yes”. It should now teleport you to the normal Surface to the position set in X-Pos and Y-Pos.