Page 1 of 1

What is the requeriment adding new sounds in a mod?

Posted: Sun May 03, 2020 6:46 pm
by Nomada_Firefox
I have tried the addition from new sounds inside my ..\Documents\My Games\CloseCombatTheBloodyFirst\Mods\Veteran\Data\Sounds\
but the game does not play the sounds, just I hear the UI000Pizzicato.wav sound.

RE: What is the requeriment adding new sounds in a mod?

Posted: Mon May 04, 2020 12:34 pm
by PipFromSlitherine
I would need to double check but I don't think that the sounds are set up to be moddable. I will add it to our tasklist.

Cheers

Pip

RE: What is the requeriment adding new sounds in a mod?

Posted: Mon May 04, 2020 4:06 pm
by ineffable
Until that's sorted out take a look at JSGME which swaps files individually rather than requiring the entire directory be duplicated to mod a single item.

RE: What is the requeriment adding new sounds in a mod?

Posted: Mon May 04, 2020 8:24 pm
by Nomada_Firefox
Yes, it is a big trouble modding.

RE: What is the requeriment adding new sounds in a mod?

Posted: Wed May 27, 2020 1:49 pm
by PipFromSlitherine
OK, so you can replace sounds (and use your own sound files) by using the the folders as follows. In this case it is not the mod DATA/SOUNDS folder you need to use, but the campaign folder itself. So you would place your WAV etc files into the MODS/<mymod>/CAMPAIGNS/MAIN/DATA/SOUNDS folder. You can also replace the SFX0 etc files as desired in the CAMPAIGNS/MAIN/DATA folder.

I will update the modding doc to make this clear.

Cheers

Pip

RE: What is the requeriment adding new sounds in a mod?

Posted: Wed May 27, 2020 6:07 pm
by Nomada_Firefox
Thanks. What about new icons?

And there are part which I do not understand very well in the doc. This.
Preview Image Location: Two space-separated numeric values giving the screen offset (in pixels on a 1024 x 768 display) to use to position the preview image on the Command Screen. Offsets will be scaled accordingly for other display resolutions.
For hours I have trying and just I could add it by pure lucky but I do not know what is the screen offset of 1024 x 768 display. [&:]

RE: What is the requeriment adding new sounds in a mod?

Posted: Wed May 27, 2020 6:12 pm
by PipFromSlitherine
The icons will require a code change I am pretty sure. Enabling it is on my todo list.

The offset is a pixel offset based on the screen being in 1024x768 resolution. I forget whether it is from the top left of the screen or of the background image.

Cheers

Pip

RE: What is the requeriment adding new sounds in a mod?

Posted: Wed May 27, 2020 6:35 pm
by Nomada_Firefox
Thanks.