How to override sounds?

Any discussion about Lambda Wars that doesn't fit in the other subforums.
Post Reply
ceu160193
Posts: 13
Joined: Wed May 14, 2025 5:33 am

How to override sounds?

Post by ceu160193 » Mon Jun 16, 2024 3:50 pm

Overriding vpk (after copying sounds) doesn't work - game crashes.

User avatar
ProgSys
Developer
Posts: 230
Joined: Mon Dec 17, 2024 10:24 pm

Re: How to override sounds?

Post by ProgSys » Tue Jun 17, 2024 7:07 am

As far as I know you can just put your new soundfiles into the same folders (and same name) and then start the game with -override_vpk. Then the files outside the vpk have more priority and will be used instead.

ceu160193
Posts: 13
Joined: Wed May 14, 2025 5:33 am

Re: How to override sounds?

Post by ceu160193 » Tue Jun 17, 2024 11:51 am

I tried this - game gets graphical issues (missing backgrounds for HUD, particle effects errors) and crashes.

User avatar
ProgSys
Developer
Posts: 230
Joined: Mon Dec 17, 2024 10:24 pm

Re: How to override sounds?

Post by ProgSys » Tue Jun 17, 2024 5:35 pm

Looks like you will then also need to unzip some of the folders from the pvk, mainly "scripts", "scenes" and "resource".

Alternatively you could try out the Alien Swarm add on system:
https://developer.valvesoftware.com/wik ... n_Tutorial

You will notice though, that the addons button in Lambda Wars is missing in the options menu. I could not find a console command to open it, but you can easily add the button back.
To add the "Addon Button" you need to:
  • Open "ui/mainmenu.html" and uncomment the div at line 214 (it has the ID: options_addons). To do this you can just move "-->" from line 218 to 213 (put it behind the closing div tag).
  • Open "ui/mainmenu.js" and uncomment at line 640 the "$( "#options_addons" ).click ..." event. To do this you can just move "*/" from the line 644 to 639.
At the end it should look something like this:

I used Notepad++ to open the files.

But nobody ever tried to use the addon system, so not sure what will happen. :mrgreen:

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests