Jump to content

Conflict with Pocket Dimension:

Work in Progress 1.0.2

Kobani
Kobani

Posted

Conflict with Pocket Dimension:
If a base is prepared for a Pocket Dimension and a basement was added beforehand, the basement remains after the base is converted into a Pocket Dimension.
Players who then enter the basement inside their Pocket Dimension fall through the floor into the void or deep below.

Mr01sam

Posted

It should be an easy fix if pocket dimension has a hook such as "OnPocketDimensionCreated" or something like that.. looking at the API doc for it, they do not have something like that listed. It doesn't mean it doesn't exist, but without something like that I can't really connect support for it. I don't have that plugin, do you happen to know if they have such hook?

Kobani

Posted

I'll have a look at that.


 

  • Like 1
Kobani

Posted

My knowledge is not sufficient to find the right one.
I have written to the creator of PocketDimensinons and am waiting for feedback.

Perhaps they could prevent basements from being built in these dimensions. They are at a greater height
I think something like this might help?

if (surfaceFoundation.transform.position.y > 300f)
 {
 player?.ChatMessage("No basement can be created in this dimension.");
 return null;
 }
🤷‍♂️
that would solve one of the problems.
I'll get back to you about the first one as soon as I hear back.

Mr01sam

Posted

I thought the problem was that they create a basement first, and then afterwards they create a pocket dimension, but the original basement stays. I was going to have it delete the basement as soon as they convert it to a pocket dimension - but I'll need a hook or something for when the conversion occurs.

Kobani

Posted (edited)

 

What I wrote above is for checking in PocketDimensions, because it is also possible to build basements in PocketDimensions.

I would like to send you a private message with a list of all the checks PocketDimensions performs before creating a dimension. Would that be ok?

Edited by Kobani
  • Like 1
Mr01sam

Posted

Changed Status from Pending to Work in Progress

1.8m

Downloads

Total number of downloads.

8.2k

Customers

Total customers served.

124.3k

Files Sold

Total number of files sold.

2.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.