Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom ships Z component problem when turning west #1026

Closed
DavideRei opened this issue Feb 9, 2023 · 11 comments
Closed

Custom ships Z component problem when turning west #1026

DavideRei opened this issue Feb 9, 2023 · 11 comments

Comments

@DavideRei
Copy link
Contributor

When you turn the ship on the west side, sphere don't use the component DZ correctly, set wrong planks height and from that moment the planks are fucked up. It seems that the DZ is inverted between left side and right side.

Same problem in 56d, no problem in 56c.

west side custom ship
COMPONENT=03e8a,2,-3,2
COMPONENT=03e8a,-2,-3,2
COMPONENT=03e85,2,3
COMPONENT=03e85,-2,3
image

sud side
COMPONENT=03eb2,3,-3
COMPONENT=03eb2,3,2
COMPONENT=03eb1,-3,-3,2
COMPONENT=03eb1,-3,2,2
image

from sud side to west side (turn right)
image

@GladieUO
Copy link
Contributor

GladieUO commented Feb 9, 2023

dunno if thats a bug, but to fix it you have to use same height for the components in all sides.
so if you set height 2 for the rope, you have to have 2 for rope in N,E,S,W.

@DavideRei
Copy link
Contributor Author

It works on 56c 2014 (Sphere Version 0.56c [WIN32] by www.sphereserver.com, compiled at Jan 6 2014 (00:05:24), internal build #1759).
So imho something has changed and removed the possibility to have different heights for the ship components.

I confirm that, if i set the same height (2 or no height) for all components, works.

@Jhobean
Copy link
Contributor

Jhobean commented Feb 9, 2023

Ship and multi have been reworked hard since 56c. I think they work better now.

Thw height mistake was on your script pack or on official scriptpack?

@DavideRei
Copy link
Contributor Author

DavideRei commented Feb 9, 2023

My script, i had made two custom ships for my shard.

Nord:
COMPONENT=03e4e,0,0 // tiller.
COMPONENT=i_ship_hatch_n,0,-11
COMPONENT=03eb2,3,-2 // right
COMPONENT=03eb2,3,3 // right
COMPONENT=03eb1,-3,-2,2 // left
COMPONENT=03eb1,-3,3,2 // left

East:
COMPONENT=03e55,0,0
COMPONENT=i_ship_hatch_e,11,0
COMPONENT=03e85,-3,3 //right
COMPONENT=03e85,2,3
COMPONENT=03e8a,-3,-3,2 //left
COMPONENT=03e8a,2,-3,2

Sud:
COMPONENT=03e4b,0,0
COMPONENT=i_ship_hatch_s,0, 11
COMPONENT=03eb2,3,-3 //left
COMPONENT=03eb2,3,2
COMPONENT=03eb1,-3,-3,2 //right
COMPONENT=03eb1,-3,2,2

West:
COMPONENT=03e50,0,0
COMPONENT=i_ship_hatch_w,-11,0
COMPONENT=03e8a,2,-3,2 //right
COMPONENT=03e8a,-2,-3,2
COMPONENT=03e85,2,3 //left
COMPONENT=03e85,-2,3

However, there is something wrong, because if i turn the ship between Nord, East and Sud there's no problem at all, only if i turn to West side

@GladieUO
Copy link
Contributor

My script, i had made two custom ships for my shard.

Nord: COMPONENT=03e4e,0,0 // tiller. COMPONENT=i_ship_hatch_n,0,-11 COMPONENT=03eb2,3,-2 // right COMPONENT=03eb2,3,3 // right COMPONENT=03eb1,-3,-2,2 // left COMPONENT=03eb1,-3,3,2 // left

East: COMPONENT=03e55,0,0 COMPONENT=i_ship_hatch_e,11,0 COMPONENT=03e85,-3,3 //right COMPONENT=03e85,2,3 COMPONENT=03e8a,-3,-3,2 //left COMPONENT=03e8a,2,-3,2

Sud: COMPONENT=03e4b,0,0 COMPONENT=i_ship_hatch_s,0, 11 COMPONENT=03eb2,3,-3 //left COMPONENT=03eb2,3,2 COMPONENT=03eb1,-3,-3,2 //right COMPONENT=03eb1,-3,2,2

West: COMPONENT=03e50,0,0 COMPONENT=i_ship_hatch_w,-11,0 COMPONENT=03e8a,2,-3,2 //right COMPONENT=03e8a,-2,-3,2 COMPONENT=03e85,2,3 //left COMPONENT=03e85,-2,3

However, there is something wrong, because if i turn the ship between Nord, East and Sud there's no problem at all, only if i turn to West side

you have still different height in each side

@DavideRei
Copy link
Contributor Author

yes, i know, but if different height is forbidden, why it's working between Nord, East and Sud?

same height: https://www.youtube.com/watch?v=kLuQF8SlBCY

original height: https://www.youtube.com/watch?v=OwdBxbok2O4

@GladieUO
Copy link
Contributor

I have no idea. If you have correct IDs for each side and with correct same height, and you create new boat everytime you do changes, it should work fine.

@cbnolok
Copy link
Contributor

cbnolok commented Sep 21, 2023

Is this still an issue?

@DavideRei
Copy link
Contributor Author

yes, just tried again, same issue when turning west

@xwerswoodx
Copy link
Contributor

yes, just tried again, same issue when turning west

Can you send the custom code you wrote to me to test to see if I can see the reason, because I don't use any custom ship, if you don't wish to share it on here, you can contact me on Discord @xwerswoodx.

@DavideRei
Copy link
Contributor Author

The Issue is still present

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants