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

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

Postby Klucy » Mon Jul 08, 2019 1:40 am

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?
Klucy
i dont know what brush is but i herd it alot
 
Posts: 1
Joined: Jul 8, 2019

Registered users don't see ads! Register now!
 

Re: Any way possible to change the default PTI music in Hamm

Postby TeamSpen210 » Mon Jul 08, 2019 7:32 pm

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.
User avatar
TeamSpen210
Community Contributor
 
Posts: 544
Joined: Jul 2, 2013


Return to Hammer and Modding



Who is online

Users browsing this forum: AngieUnilt, Majestic-12 [Bot], mamapidoj and 31 guests

cron

Search the Forums

User Menu

Register
Login

Login