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

SteamPipe cannot be scaled in map editor #290

Open
elluminance opened this issue Aug 12, 2023 · 3 comments
Open

SteamPipe cannot be scaled in map editor #290

elluminance opened this issue Aug 12, 2023 · 3 comments

Comments

@elluminance
Copy link
Contributor

The size of some pipe types (such as HORIZONTAL) can be scaled in the x/y direction, yet the editor has no support for this functionality.

@Vegita2
Copy link
Member

Vegita2 commented Aug 12, 2023

What is a pipe type?

@elluminance
Copy link
Contributor Author

elluminance commented Aug 12, 2023

Basically, it indicates what direction the pipe goes.
image

@elluminance
Copy link
Contributor Author

I meant to post this yesterday, but I forgot. This is how it looks in the game's code: the scaling property is defined in the relevant sc.STEAM_PIPE_TYPES entry, which can contain scaleX and/or scaleY. I am not surprised the map editor's entity script missed this, as these properties are defined in the SteamPipe's init function by overriding the this._wm property.

image

(and in ig.ENTITY.SteamPipe.init():)
image

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

No branches or pull requests

2 participants