Any way possible to change the default PTI music in Hammer?

Avatar
Klucy
1 Posts
Posted Jul 08, 2019
Hello! I am new to mapping and I am learning Hammer at the moment. Hammer is rather time consuming, so I resort to editing my peti maps with Hammer. However, I would like to change the soundtrack in my maps. But, whenever I add an ambient generic the same default PETI music plays. Any way I could do this?
Advertisement
Registered users don't see ads! Register now!
Avatar
TeamSpen210
608 Posts
Posted Jul 08, 2019
Replied 17 hours later
The music entity is located in instances/p2editor/global_ents.vmf, named @music. But you don't want to edit that directly, since that'd break any further maps you compile in the editor. So add a logic_auto in your map, and have it Kill that music on spawn so it doesn't play. You can then add your own.