Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   Mods (http://forum.fulqrumpublishing.com/forumdisplay.php?f=124)
-   -   How to create/use a mod? (http://forum.fulqrumpublishing.com/showthread.php?t=4027)

bman654 09-26-2008 03:34 PM

How to create/use a mod?
 
I made a mod to get rid of that annoying sound when you dig and don't find anything because I like to hit D alot while travelling. But I am editing the main .KFS files. I'm not sure how to package it up for other people.

From what I can tell from looking at some of the Russian mods, you put your modified files in a .kfs file in the data\mods folder. Is that all there is to it? Does it require starting a new game or will it work on existing savegames?

Amamake 09-26-2008 07:46 PM

Quote:

Originally Posted by bman654 (Post 51052)
Is that all there is to it? Does it require starting a new game or will it work on existing savegames?

I'm no expert on this, but the only mod I've ever installed didn't require restarting. It adds item to your inventory in about 10 seconds after you load any save state.

pkt-zer0 09-27-2008 12:21 AM

Quote:

Originally Posted by bman654 (Post 51052)
From what I can tell from looking at some of the Russian mods, you put your modified files in a .kfs file in the data\mods folder. Is that all there is to it? Does it require starting a new game or will it work on existing savegames?

That's all there is to it, it seems. In some cases, the changes are not effective on existing savegames (though just going to another map might enable them - can't try that in the demo), in other cases they are. Easiest way to test is starting up a new game without the mod, save, add the mod, reload, see what happens.

stalazon 09-27-2008 02:20 PM

Excellent mod. I'd like to take it a step further in my own game by removing the sounds that certain troops make during battles that I personally find really obnoxious (i.e. shaman's grunts and barbarian's axe on shield slam.), especially since they do it throughout the entire battle every couple seconds.

So at first I tried replacing the .wav files associated with those 'emote' sounds directly in the D:\King's Bounty\data\sounds.kfs. But that didnt stop them from sounding off as normal the next time I entered a battle. Then I found your thread on the no dig sound, promptly downloaded it, threw it in the mod folder, verified it worked, and finally tried both placing in the other shaman .wavs in both a new .kfs file and yours. To no avail. Any thoughts?

Hate to not use a useful unit like the orc's shaman because I find myself becoming really annoyed, when I know there's got to be a way to stop it since the world map sounds can be replaced with no sound .wavs like your dig one.

bman654 09-27-2008 07:06 PM

Most likely you are mod'ing the wrong .wav file. How did you figure out which one to replace? I found the dig file by looking at sounds.csv in sound.kfs which listed a bunch of actions and the sound associated. I don't know if it was just for adventure sounds or if it also covered combat sounds.

Only other thing I can think of is what are you doing to make them silent? I just took the dig sound and opened it in Goldwave and replaced it with silence. Probably not the most elegant but it worked on the first try.

stalazon 09-27-2008 08:03 PM

I just double-clicked on all the shaman sound .wavs until I found the ones that matched up with the in-game emotes (shaman_aggro, shaman_voice1 /voice3). I tried both replacing them with another quiet .wav and then your .wav when I found your d/l location.

Gonna try editing the sounds.csv and see what happens when I remove the pointers to the shaman files altogether..
edit: eh, that didn't work either, nor changing which .wav it was pointing to a different .wav. Wondering if there's just some other weird labeled .wav I'm missing or how else the game is pulling down combat sounds.

bman654 09-28-2008 03:37 AM

mebbe it is not really a shaman, but something else...

bman654 10-17-2008 02:48 AM

I never did try to figure out the shaman sound...but I *did* figure out how to turn off the shaman idle animation that makes the sound. So now I don't have to listen to his grunts anymore :)

Csimbi 12-28-2008 10:06 PM

Quote:

Originally Posted by Amamake (Post 51085)
I'm no expert on this, but the only mod I've ever installed didn't require restarting. It adds item to your inventory in about 10 seconds after you load any save state.

The reason is simple. It has been coded into the mod:
Code:

--------------------------------------------------------------- 
--------  Äîáàâëåíèå ïðåäìåòîâ â èíâåíòàðü --------------------
---------------------------------------------------------------

  if not item_given_training_camp then
      Logic.hero_lu_item_del ("training_camp") -- Åñëè ïðåäìåò óæå åñòü â èíâåíòàðå
      Logic.hero_add_item ("training_camp") 
      item_given_training_camp = 1
    end


stalazon 06-01-2009 05:51 PM

Quote:

Originally Posted by bman654 (Post 55343)
I never did try to figure out the shaman sound...but I *did* figure out how to turn off the shaman idle animation that makes the sound. So now I don't have to listen to his grunts anymore :)

If you're still around these boards, mind posting how you removed the grunt sound? Recently reinstalled KB and figured I'd ask before I finish my next play through.

Keneth 07-10-2009 12:18 PM

To do it like he has, you'd probably have to open the appropriate ATOM file and edit/delete the right animation block.


All times are GMT. The time now is 10:55 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.