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

Weapon orientation change after importing different mesh #18

Open
ArchDome opened this issue Oct 24, 2024 · 2 comments
Open

Weapon orientation change after importing different mesh #18

ArchDome opened this issue Oct 24, 2024 · 2 comments

Comments

@ArchDome
Copy link

Hello! I'm trying to replace the in game weapons with the high res weapons from the laptop briefing screens!

However I'm running into a little issue, when I replace the old mesh with the new one the orientation is different, which has all the guards holding it the wrong way.

I tried using blender to scale up and rotate the model to match the original. However when I import it in, I don't see any difference.

Any ideas on how to fix it? Thanks!

image
image

Also, just as a two for one, is it possible to change the mission briefing texts from the laptop.zip? I can find a reference to some kind of string table, but where can I edit this?

Thanks!

image

@AdrienTD
Copy link
Owner

Hello!

I tried using blender to scale up and rotate the model to match the original. However when I import it in, I don't see any difference.

In Blender, be sure that when rotating/scaling the model, you are in Edit mode (tab key to switch).
If you do it in Object mode, then it will only transform the model's origin, not the actual mesh vertices. But you can press Ctrl+A to apply the rotation/scaling to the mesh.

Also, just as a two for one, is it possible to change the mission briefing texts from the laptop.zip? I can find a reference to some kind of string table, but where can I edit this?

I guess it should be in the language files. In <game folder>/Setup/locale.zip there is an XML file with the actual text used in the game.

@ArchDome
Copy link
Author

Thanks for the tips! For anyone who is curious: when you make your changes to the XML file and use the default windows .Zip compressor your game might revert back to placeholder strings and ingame audio might be missing. To fix this I compressed the files into .Zip using WinRAR and the changes I made actually showed up this time.

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