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

Question regarding modelscale in Multiplayer #1224

Open
archornf opened this issue Mar 9, 2024 · 1 comment
Open

Question regarding modelscale in Multiplayer #1224

archornf opened this issue Mar 9, 2024 · 1 comment

Comments

@archornf
Copy link

archornf commented Mar 9, 2024

Hi,

A question:
is it possible to change the scale of models in multiplayer? I of course only want to change it on my local setup. Is there any somewhat easy fix for it? I've searched earlier issues and checked the code in NPC_stats but couldn't really get it to work.

Thanks!

@sr1gh
Copy link

sr1gh commented Sep 9, 2024

Hi,
It is possible to change the scale of models in multiplayer, however it requires the code to be changed in several places including:

A cvar for the player's scale should be added
The scale needs to be applied on all clients connected to the server should be synchronized if changed during play
The collision checking code needs to be changed to take the scale into effect
The lightsaber models should be scaled with the player model
The player's speed should be scaled with the model size
Custom Bot scales can be hard coded or added to a PK3 file which requires changing the code

I have implemented these changes and others in my own version of the game. I could share these changes with the community if anyone is interested, but it has been a while since i made the changes, so I would have to go back through all the modified files and find what I changed, which could take me a while.

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