SHIPGATE command don't work if you use it from scripts.
The only way to make it work is with GM in game, with xSHIPGATE.
I also found problems with custom ships.
When you turn the ship on the west side, sphere don't use the component DZ, set wrong planks height and from that moment the planks are fucked up.