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

Change scale? #5

Open
juju4666 opened this issue Jul 16, 2021 · 2 comments
Open

Change scale? #5

juju4666 opened this issue Jul 16, 2021 · 2 comments

Comments

@juju4666
Copy link

Hi, is it possible to change the scale of the map during import? If so, how? Where would I have to change the code? The imported maps need to be 3x bigger than they are to be accurate to the player size in Quake, but if I just resize the map mesh, the lights stay where they are. Tips?

@Perpixel
Copy link
Owner

In code, you would need to find every single place with a position vector and add a scale factor. I thought the scale was just fine right now, but if you want bigger, I would parent everything to an actor in the center and scale that.

@juju4666
Copy link
Author

In code, you would need to find every single place with a position vector and add a scale factor. I thought the scale was just fine right now, but if you want bigger, I would parent everything to an actor in the center and scale that.

Oh, I hadn't thought of that. To me, everything imports 3x smaller. Like, I had to resize the first level three times for my character to fit in the first secret area to the right. When I first added the player start in the middle of the room, I felt like a giant.

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