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

'Layer' properties of .snd files unmunge incorrectly #27

Open
BAD-AL opened this issue May 25, 2021 · 1 comment
Open

'Layer' properties of .snd files unmunge incorrectly #27

BAD-AL opened this issue May 25, 2021 · 1 comment
Labels

Comments

@BAD-AL
Copy link
Contributor

BAD-AL commented May 25, 2021

Looking at BF2 sound\shell.lvl (and BF1 too)
The 1st 2 arguments to 'Layer' unmunge as large numbers instead of strings.

original (shell.snd)

SoundLayered()
{
    Name("shell_transition2");
    Layer("shell_transition2_left",  "shell_transition2_left", 0.0, 0.5);
    Layer("shell_transition2_right", "shell_transition2_right", 0.0, 0.5);
}

unmunged:

soundlayered()
{
	Name("shell_transition2");
	Layer(76831842304, 76831842304, 0, 0.500000);
	Layer(-494586690535424, -494586690535424, 0, 0.500000);
}
@PrismaticFlower
Copy link
Owner

I suspected there would be a few more cases of stuff like this in addition to #25. Thanks for opening the issue on this one.

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

No branches or pull requests

2 participants