#455 underworld needs implementation

已关闭
image2 年之前创建 · 2 条评论
image 评论于 2 年之前

we have a field in the zones table which isn't even set to the right values.. we can use the map when it loads to define the lowest Y value and from there establish how low players should be able to go.

we have a field in the zones table which isn't even set to the right values.. we can use the map when it loads to define the lowest Y value and from there establish how low players should be able to go.
image 评论于 2 年之前
协作者

I don't want to have to re-generate all the maps to add a miny/maxy so we will just have the server while loading the map determine the miny/maxy. This will allow us to set the underworld by maps alone.

this brings R_Zone, UseMapUnderworldCoords into play which by default is 1. This will use the maps interpretation of the underworld.

Alternatively if you want to use the zones table 'underworld' field, which is not set yet, those would be enforced if you set R_Zone, UseMapUnderworldCoords to 0.

I don't want to have to re-generate all the maps to add a miny/maxy so we will just have the server while loading the map determine the miny/maxy. This will allow us to set the underworld by maps alone. this brings R_Zone, UseMapUnderworldCoords into play which by default is 1. This will use the maps interpretation of the underworld. Alternatively if you want to use the zones table 'underworld' field, which is not set yet, those would be enforced if you set R_Zone, UseMapUnderworldCoords to 0.
image 评论于 2 年之前
协作者

making a second rule to add some buffer

    RULE_INIT(R_Zone, MapUnderworldCoordOffset, "-50.0"); // adds (or in the case of negative value subtracts) so that the underworld marker is lower when map is using its lowest Y coordinate
    
making a second rule to add some buffer ``` RULE_INIT(R_Zone, MapUnderworldCoordOffset, "-50.0"); // adds (or in the case of negative value subtracts) so that the underworld marker is lower when map is using its lowest Y coordinate ```
image2 年之前 关闭
登录 并参与到对话中。
正在加载...
取消
保存
这个人很懒,什么都没留下。