is it possible to change to another value using this method (free-hex-editor-neo)? I am editing a map for SOF2
I found the map "swimminpool" inside .pk3 there is a folder "music" in which I found - swimminpool.mp3 - this music is played on the map
I opened with QuArK the - swimminpoo.bsp and found "entities.a" file. I opened it and saw that there is a text in it that is responsible for starting the music: "music" "music/swimminpool/swimminpool.mp3"
I added this text - "music/test.mp3" in "entities.a" file for another map without music. (I determined the structure of folders and music correctly)
And just do the save change in QuArK
But when I run map I get this error:
CM_LoadMAP: maps/hockey.bsp has wrong version number (46 should be 1)
How to Fix it ?
If you are wanting to change the music for a map, you can make a patch PK3 with the new music in it (I believe). The new music file will need to have the same name as the original. Patch files should be loaded after the original data, so the new music file should be used instead of the original.
If you just want to play a music file in a map with or without music, you can add the music file to your baseq3 folder and load it in the map with the console command:
\music path/to/musicfile (no extension needed)
This method will stop the current music file and replace it with the one you have requested.
ok, I will try to create mymusic.pk3 file
But only I did not understand - Patch files should be loaded after the original data - this is how? mymusic.pk3 should be loaded automatically ?!
Edited 5.02 minutes after the original posting.
In your case, rename
Instead, if you are running a server, you can set the values (including adding a music file to be played) in the config file for when the map loads. A lot more details on how to do this are here: www.quake3world.co...m/viewtopic.php
If you want to do this when you load a map, you can use a config to load the map instead. For example, you can make a config file called
hockey.cfg, add all the values you want to the
hockey.cfg and then run that config file to load the map and all the values.
I have already tried this method, it works fine but only from the server side. Clients do not hear music that is played on the server
Sharing some more details about what you have and what you want to do will help.