FYJ95 / DSPMod

4 stars 5 forks source link

Individual Z-Axis Offset #2

Open WaGi-Coding opened 3 years ago

WaGi-Coding commented 3 years ago

It would be great if you could remove the gaps between stacked buildings. Maybe individual for each building, or even let us set the Z-Offset for each building in the config of the mod.

Here is what i mean.....

Before:
Before

After:
After

WaGi-Coding commented 3 years ago

Sorry for using the issues. Are you on DSP discord or it's modding discord?

FYJ95 commented 3 years ago

如果想要减小缝隙需要修改游戏碰撞检测相关的逻辑.减小z轴会出现无法建造的问题.我会在后续更新当中去尝试是否可以让建筑看起来更自然. If you want to reduce the gap, you need to modify the logic related to the collision detection of the game. Reducing the z-axis will cause problems that cannot be build. I will try to make the building look more natural in subsequent updates.

WaGi-Coding commented 3 years ago

thanks a lot.

Can you make "Thermal power station"s also stackable? would be great

James-Fire commented 3 years ago

thanks a lot.

Can you make "Thermal power station"s also stackable? would be great

Thermal Power, Fusion Power, and maybe Artificial Stars being stackable would be wonderful.

ph3rr3t commented 3 years ago

Might as well set it up where you can choose which buildings can stack:

### Buildings that can be stacked.
### Format is a list of Item IDs that correspond to build-able objects, each value separated by a comma (,) and a space ( ).
## Vanilla values: https://dsp-wiki.com/Modding:Items_IDs
## Known modded values: https://dsp-wiki.com/Modding:Used_IDs
# Setting type: String
# Default value(s): 2302, 2303, 2304, 2305
StackableBuildings = 2302, 2303, 2304, 2305

--Allows users to customize as they wish, and modded buildings can be included just as easily. (At least to the list, don't know how difficult it would be to code it this way.) --Stacking Accumulators would be most useful. Stacking Wind Turbines, Miners, & Oil Extractors would be interesting.