Dr. Dumb_lunatic on 4/7/2006 at 08:57
Changing sounds is tricky. Most of them are explicity referenced (i.e. not 'weaponpistolfire', but 'deusexsounds.weapons.weaponpistolfire') which means you'll either have to change deusexsounds (not recommended), or change deusex.u (also not recommended, but more feasible). Or make subclasses of everything and run a pseudo-mutator script, but we won't even go there.
I'll assume you've either made your own .u package of sounds, or imported your new sounds as a .uax package. Remember the names you've given the sounds.
So: if you haven't already, open UnrealEd, make sure 'classes' are selected in the browser on the right, and hit 'export all'. Wait while it does so (1-5min, usually). That exports all the game code.
Now go to your deusex\system folder and make a backup copy of deusex.u (this is in case things go wrong).
Now look in the deusex\deusex\classes folder (a new one created by the code exporter). Probably back up all these files, too.
Now: open the .uc files you want to change the sounds for (deusexplayer.uc for playfootstep(), weaponcombatknife.uc for the knife, etc etc), and change the sound references to those of your sounds, so
Code:
FireSound=Sound'DeusExSounds.Weapons.CombatKnifeFire'
becomes
Code:
FireSound=Sound'MyNewSounds.Weapons.BetterCombatKnifeFire'
(if you called your sound package MyNewSounds, and put the combatknife sound group as 'weapons', obviously).
You'll also probably have to add the following line to each modified class to force the game to explicitly load your sounds package (it goes beneath the class declaration line, but above anything else, usually):
Code:
//=============================================================================
// WeaponCombatKnife.
//=============================================================================
class WeaponCombatKnife extends DeusExWeapon;
#exec obj load file=MyNewSounds //<---add this line
After you've modified all the files you need (and you might as well change the default humananimrate in human.uc while you're at it), open a command prompt, and navigate to the system folder (for me it's cd deusex\system), and type
ucc make
and watch as a shitload of parsing/compiling messages wander by. If you've done it correctly, there shouldn't be any errors. If it asks if you want to rebuild headers, say NO.
And there you have it, a new version of deusex.u with your sounds referenced rather than the originals. Shame it's not easier to do, but hey.
cacka on 4/7/2006 at 15:41
You certainly know your stuff Dr Dumb :) Did you use to mod for the game, or something?
Upon initial inspection the solution looks overly elaborate and fking complicated. What happened to them just being stored in a folder, like the good old days? Wait, this game was the good old days. Oh well. Anyway thanks for taking the time to explain it, much appreciated.
Catman on 10/7/2006 at 17:06
Anyway, as Random says, it's a matter of getting the right patch for the game. There is a multiplayer patch floating around which completely fucks up the footsteps. It's a well-known bug to oldtimers.
Whisperblade on 14/7/2006 at 08:47
I belive it is "all fking" foldered as you say, however its compressed to prevent the install ballooning outwards, you are right however, that is a complex way of doing things and I wouldn't try that unless your prepared to reinstall after botching it and getting a gun shot everytime you take a step :eek:.
Oh and ah whats with the homophopia there mate? :confused:
I thought this forum had some kind of "Keep it clean" policy, nice eloquence though, "Unconsious men" HA!
Twist on 19/5/2007 at 02:34
Pardon the necromancy annoyance, but does anyone know how I might make this command permanent?
set deusex.jcdentonmale humananimrate 0.75
It works great when I invoke it in the game, but I have to enter it every level load. :erg:
I tried some variations of it in both the User.ini and DeusEx.ini file but nothing held.
I imagine finding the variable and recompiling the DeusEx package might work, but I fear the game problems I might create by extracting and recompiling all the assets for that package.
Yes, I played through the entire came more than once without needing to change this variable, but ever since I read this thread I've had a difficult time not feeling irritated with the too-quick footsteps. :(
LesserFollies on 20/5/2007 at 17:48
Bind your "set DeusEx.JCDentonMale humananimrate whatever" to a key in the user.ini file. (You can also do this with the "b cheats enabled true" command, so you only have to hit one key to enable cheats.) I tried it, and the new footstep rate seemed to persist from level to level. Don't forget to change both instances of the key in the file.
what! I NEVER cheat! :D
flexbuster on 9/6/2007 at 00:15
I think this is the first time I've ever seen anyone get homophobic over a video game footstep sound effect.
Just saying.
Dr. Dumb_lunatic on 15/6/2007 at 11:09
I can't believe this thread is still HERE, to be honest.
That was a hell of a bump.
Kaleid on 16/6/2007 at 03:34
Yes, the footsteps are terrible, Dark Messiah has the same problem, only that the footsteps are even louder, so loud in fact that I almost quit playing. :rolleyes: