What is the requeriment adding new sounds in a mod?

Post Reply
Nomada_Firefox
Posts: 1280
Joined: Mon Nov 12, 2001 10:00 am
Location: Spain
Contact:

What is the requeriment adding new sounds in a mod?

Post 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.
User avatar
PipFromSlitherine
Posts: 1517
Joined: Wed Jun 23, 2010 7:11 pm

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

Post 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
follow me on Twitter here
User avatar
ineffable
Posts: 410
Joined: Fri Dec 13, 2019 3:41 pm
Location: Fishers Ferry

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

Post 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.
Quid si
Nomada_Firefox
Posts: 1280
Joined: Mon Nov 12, 2001 10:00 am
Location: Spain
Contact:

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

Post by Nomada_Firefox »

Yes, it is a big trouble modding.
User avatar
PipFromSlitherine
Posts: 1517
Joined: Wed Jun 23, 2010 7:11 pm

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

Post 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
follow me on Twitter here
Nomada_Firefox
Posts: 1280
Joined: Mon Nov 12, 2001 10:00 am
Location: Spain
Contact:

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

Post 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. [&:]
User avatar
PipFromSlitherine
Posts: 1517
Joined: Wed Jun 23, 2010 7:11 pm

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

Post 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
follow me on Twitter here
Nomada_Firefox
Posts: 1280
Joined: Mon Nov 12, 2001 10:00 am
Location: Spain
Contact:

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

Post by Nomada_Firefox »

Thanks.
Post Reply

Return to “Close Combat The Bloody First - Modding”