HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

changing what unit makes what footstep sound

08-03-2002, 03:38 PM#1
Guest
There has to be a simple answer but I've looked for a while and haven't found anything. Where on earth do I go to change what noise a unit makes when walking? What file? Such as where does it say a tauren uses the rumble step and a fiend makes its little wierd leg noise?
08-10-2002, 07:20 AM#2
Guest
yes i was also trying to figure this out
i was woundering if anybody can help me out
thanks
Quote:
A good lie is better to believe than the truth
08-15-2002, 06:41 AM#3
Guest
I find it hard to believe that anybody still doesn't know how to do this. It's so simple one would think this would be a quick question and answer thread.
09-19-2002, 12:17 AM#4
Guest
Bueller... Bueller... Bueller... Bueller...
09-19-2002, 01:27 AM#5
MasterSlowPoke
The only way I can think of is base the unit on one that has the footstep sound you want.
09-19-2002, 01:55 AM#6
Gibberish
Is there a line in the mdx, using hexedit or convert to mdl, that tells it which sound to use?
Like the skins do.

Other than something like that I agree with MasterSlowPoke, just base the model off of the one you want footsteps off then just change which model it uses.
09-19-2002, 03:03 AM#7
Guest
I am trying to avoid using "custom units" and would rather just write over a real unit or change a current unit. I can't remember why I've taken this postion but back in the day custom units were doing something wierd. I think it had to do with not being able to change unit acknowlegement sounds, shadows, and other stuff.

So editing it from the model works? I'm looking into it right now, but I'm really a dummy when it comes to models.
09-19-2002, 10:27 AM#8
Guest
edit (race)unitfunc.txt files, some units has a Movementsoundlabel. For example, archmage has the following:

[Hamg]
Art=ReplaceableTextures\CommandButtons\BTNHeroArchMage.blp
Buttonpos=0,2
Missileart=Abilities\Weapons\FireBallMissile\FireBallMissile.mdl
Missilearc=0.15
Missilespeed=900
MovementSoundLabel=HumanHeroArchMageMovement
LoopingSoundFadeIn=512
LoopingSoundFadeOut=512
Requirescount=3
Requires=
Requires1=hkee
Requires2=hcas
Specialart=Objects\Spawnmodels\Human\HumanLargeDeathExplode\HumanLargeDeathExplode.mdl
Attachmentanimprops=medium

Movementsoundlabel determines what ou hear, Loopingsound data determines in within which range you xcan hear the sound

Add those values and your wanted Movementsound into the unit you wish to change the Movementsound etc etc
09-20-2002, 03:35 AM#9
Guest
oh poop that's it!?! thank you thank you thank you thank you.

Oh that doesn't change the unitack sounds with the footsteps as well does it? How would I know what names to use? meaning you said "HumanHeroArchMage" so what's the pattern? What would a regular tauren be 'OrcTaurenMovement' 'UndeadCryptFiendMovement? Oh and any ideas why the units that make noises don't have that info in the unitinfo's?

Well I've tried giving a footman the 'deepfootstep' but no change? what am I doing wrong?

here's the unitfunc.txt:

[hfoo]
Art=ReplaceableTextures\CommandButtons\BTNFootman.blp
Buttonpos=0,0
MovementSoundLabel=DeepFootstep
LoopingSoundFadeIn=512
LoopingSoundFadeOut=512
Specialart=Objects\Spawnmodels\Human\HumanLargeDeathExplode\HumanLargeDeathExplode.mdl
09-20-2002, 12:04 PM#10
Guest
SoundName
HumanKnightMovement
HumanGyrocopterMovement
GoblinZeppelinMovement
OrcCatapultMovement
HumanHeroArchMageMovement
BuildingConstructionLoop
OrcBuildingConstructionLoop
NightElfGrowingLoop
UndeadBuildingConstructionLoop
HumanSteamTankMovement
_
AmbientSoundTestWind
AmbientSoundRain
RoosterSound
WolfSound
GlueScreenWind
GlueScreenBnetWind
CreepSleepSnoreLoop
NightElfGlueScreenLoop
UndeadGlueScreenLoop
HumanGlueScreenLoop
OrcGlueScreenLoop
TutorialGlueScreenLoop
WaterfallLoop
StreamLoop
WavesLoop
FliesLoop
CauldronLoop
CrystalLampLoop
CrystalShieldLoop
AshenvaleBrazierLoop
ObeliskLoop
CathedralLoop
BattleshipLoop
TavernLoop
LordSumBrazierLoop
LakeLoop
LordSumHumanTorchLoop
MagicRunesLoop
FountainLoop
StableLoop
WindMillLoop
DoorSlamSound
RollingThunderSound
GateEpicBashSound
FrostmourneLoop
GateOpenSound
HornOfCenariusSound
ArchimondeAppearsSound
UtherReturnsSound
SeagullSound
FrostmourneChantSound
FreakyForest1
FreakyForest2
FreakyForest3
FreakyForest4
DoomGuardHuh1
DoomGuardHuh2
DoomGuardHuh3
DoomGuardHuh4


Entire list that can be used in movementsound label

Note that some models use that in the model data itself. Therefore editing of the model is required. For example lets use the mdl version of the abomination:

}
EventObject "SNDxFDFL" {
ObjectId 68,
EventTrack 1 {
3400,
}
}

Eventobject =>Objet attached to model but has no material
SNDx=>This type determines that its an sound object, which means that it will generate sound
FDFL=This is the SOUNDcode that will be used
ObjectId=The Object id
Eventrack0=means when the sound is not played in those animtions
Eventrack 1=means when it should be played in which frame/animation
3400=this is the frame that the code specify. When this frame is run, so will the sound. Look up in animations section of the model and you will see that that frame is part of the walking animations

Of course, happily almost every unit has a sndx entry, so you only have to change the code behind SNDx to the following

AnimSoundEvent SoundLabel
FBCL TestFootstep
FBCR TestFootstep
AAMS AntiMagicshell
ABLO Bloodlust
ABPD BothGlueScreenPopDown
ABPU BothGlueScreenPopUp
ABSK BerserkerRage
ABTR BattleRoar
ACAN Cannibalize
ACLB CinematicLightningBolt
ACRH CorrosiveBreathMissileHit
ACRI Cripple
ACRL CorrosiveBreathMissileLaunch
ACRS Curse
ACSL CreepSleep
ACYB CycloneBirth
ACYD CycloneDeath
ADEF Defend
FDFL DeepFootstep
FDFR DeepFootstep
FDSL FiendStep
FDSR FiendStep
FHCL HeroCinematicStep
FHCR HeroCinematicStep
ADCM DruidOfTheClawMorph
ADCA DruidOfTheClawMorphAlternate
ADEV Devour
ADHM DemonHunterMorph
ADIS DispelMagic
ADTM DruidOfTheTalonMorph
ADTA DruidOfTheTalonMorphAlternate
ADVP DevourPuke
AEAT EatTreeMunch
AEBA Barkskin
AEBD Earthbind
AEFN ForceOfNatureBirth
AEID ImmolationDecay
AEIM ImmolationTarget
AEMB EntangleMineBirth
AEMD EntangleMineDeath
AEMS EntangleMineStand
AENA NatureTouch
AENM EnsnareMissile
AENS Ensnare
AEQK Earthquake
AERD EntanglingRootsDecay
AERV ReviveNightElf
AESC ScoutBirth
AESD ScoutDeath
AESE Sleep
AESF StarfallArea
AEST StarfallTarget
AESO ManaBurn
AESV EntanglingRoots
AETQ Tranquility
AETT TranquilityTarget
AEYE SentryWardBirth
AFAE FaerieFire
AFL1 Flare1
AFL2 Flare2
AFL3 Flare3
AFL4 Flare4
AFRZ FreezingBreath
AGBO GlueScreenBNetOpen
AGBS GlueScreenBNetSlam
AGBC GlueScreenBNetClose
AGBE GlueScreenBNetExit
AGEQ GlueScreenEarthquake
AGMT GlueScreenMeteorLaunch
AGMH GlueScreenMeteorHit
AGVB GraveMarkerBirth
AGVD GraveMarkerDeath
AHAV Avatar
AHBZ Blizzard
AHDD DivineShieldDeath
AHDI DivineShield
AHEA Heal
AHER LevelUp
AHHB HolyBolt
AHMT MassTeleport
AHRE Resurrect
AHRV ReviveHuman
AHTB StormBolt
AHSL StormBoltLaunch
AHTC ThunderClap
AHWD HealingWardBirth
AILL ItemIllusion
AIMA ManaPotion
AINB InfernalBirth
AINF InnerFire
AIRE RestorationPotion
AISO SoulGem
AITM Tome
AIVS Invisibility
AKDL KodoDrumLeft
AKDR KodoDrumRight
ALPD LeftGlueScreenPopDown
ALPU LeftGlueScreenPopUp
ALSD LightningShield
ANDT RevealMap
ANEU NeutralBuildingActivate
ANSA SacrificeUnit
AOAG WardBirth
AOCR CriticalStrike
AOLB LightningBolt
AOMI MirrorImageDeath
AOMC MirrorImage
AORE Reincarnation
AORV ReviveOrc
AOSD FeralSpiritDone
AOSF FeralSpiritTarget
AOSH ShockWave
AOWS Warstomp
AOWW Whirlwind
APLA PolymorphAir
APLD PolymorphDone
APOL Polymorph
APRG Purge
APSH PossessionMissileHit
APSL PossessionMissileLaunch
AREJ Rejuvenation
AREP Repair
AROO Root
ARPD RightGlueScreenPopDown
ARPU RightGlueScreenPopUp
ASHP ShadowPact
ASKA RaiseSkeletonArcher
ASKW RaiseSkeletonWarrior
ASLC SlowCaster
ASLO Slow
ASTO StoneFormMorph1
AST2 StoneFormMorph2
AST3 StoneFormMorph3
ASTA StoneFormMorphAlternate
ASTB StasisTotemBirth
ASTS StasisTotemDeath
ASWB SpiritWolfBirth
ASWE WaterElementalBirth
ATRB TreeWallBirth
AUB1 UndeadBuildingBirth1
AUB2 UndeadBuildingBirth2
AUB3 UndeadBuildingBirth3
AUB4 UndeadBuildingBirth4
AUCD CarrionSwarmDamage
AUCH Charm
AUCS CarrionSwarmLaunch
AUDA DarkRitual
AUDC DeathCoil
AUDM DarkSummoningMissileLaunch
AUDP DeathPactTarget
AUDS DarkSummoningTarget
AUDT DeathAndDecayTarget
AUFA FrostArmor
AUFN FrostNova
AUGS GatherShadowsMorph
AUGA GatherShadowsMorphAlternate
AUHF UnholyFrenzy
AUPR Uproot
AURV ReviveUndead
AWBS BigWaterStep
AWEB Web
AWRS Pulverize
AWST WaterStep
DABA AbominationAlternateDeath
DABO AbominationDeath
DACO AcolyteDeath
DADR DruidOfTheTalonDeath
DAMG HeroArchMageDeath
DANG WardDeath
DANP TreantDeath
DARG ArmorGolemDeath
DART ArtilleryExplodeDeath
DASS AssassinDeath
DWTC WatcherDeath
DBAL BallistaDeath
DBAN BansheeDeath
DBLA HeroBladeMasterDeath
DBNT BanditDeath
DBRG DeathBridge
DBRI BristleBackDeath
DBSF BlackStagFemaleDeath
DBSM BlackStagMaleDeath
DBSP BattleShipDeath
DCAT CatapultDeath
DCBL DeathCityBuilding
DCEN CentaurDeath
DCNA CentaurArcherDeath
DDEM HeroDemonHunterDeath
DDHK DragonHawkDeath
DDKN HeroDeathKnightDeath
DDMA HeroDemonHunterDeathAlternate
DDMG DoomGuardDeath
DDOC DruidOfTheClawDeath
DDCA DruidOfTheClawDeathAlternate
DDTA DruidOfTheTalonDeathAlternate
DDRA DragonDeath
DDRL HeroDreadLordDeath
DDRY DryadDeath
DDSH HumanDissipate
DDSN NightElfDissipate
DDSO OrcDissipate
DDWF DireWolfDeath
DEBA DeathWalkingNightElfBuilding
DEBC DeathNightElfBuildingCancel
DEGS EggSackDeath
DELB DeathNightElfLargeBuilding
DELS DeathNightElfSmallBuilding
DENT EntDeath
DFAR HeroFarSeerDeath
DFEL FelhoundDeath
DFOO FootmanDeath
DFRM FrostmourneDeath
DFRT ForestTrollDeath
DFRW FrostWyrmDeath
DFSP ForestTrollShadowPriestDeath
DFUR FurbolgDeath
DGAR GargoyleDeath
DGAS GargoyleStoneDeath
DGAT GateDeath
DGHO GhoulDeath
DGLD GoldMineDeath
DGLM GoblinLandMineDeath
DGNA GnollArcherDeath
DGNL GnollDeath
DGOB GemstoneObeliskDeath
DGRU GruntDeath
DGRY GryphonRiderDeath
DGSD GoblinSapperDeath
DGSP GoblinSapperExplode
DGYR GyrocopterDeath
DGZP GoblinZeppelinDeath
DHBC DeathHumanBuildingCancel
DHIP HippogryphDeath
DHLB DeathHumanLargeBuilding
DHLS DeathHumanSmallBuilding
DHOR HorseDeath
DHRP HarpyDeath
DHUN HeadHunterDeath
DHWD HealingWardDeath
DHYD HydraliskDeath
DICT IceTrollDeath
DINF InfernalDeath
DIRG IronGolemDeath
DJAN JainaDeath
DKBS KoboldShovelerDeath
DKEE HeroKeeperOfTheGroveDeath
DKNI KnightDeath
DKOB KoboldDeath
DKOD KodoBeastDeath
DLIC HeroLichDeath
DMKG HeroMountainKingDeath
DMOO HeroMoonPriestessDeath
DMOR MortarTeamDeath
DMTW MeatWagonDeath
DMUR MurlocDeath
DNEC NecromancerDeath
DOGR OgreDeath
DOLB DeathOrcLargeBuilding
DOLS DeathOrcSmallBuilding
DOWB OwlbearDeath
DPAL HeroPaladinDeath
DPEO PeonDeath
DPES PeasantDeath
DPIG PigDeath
DPIT CryptFiendDeath
DPLD PitlordDeath
DPRS PriestDeath
DRAI RaiderDeath
DRAN ArcherDeath
DRAT RatDeath
DREV RevenantDeath
DRKG RockGolemDeath
DRKW RockWallDeath
DRHG RiddenHippogryphDeath
DRIF RiflemanDeath
DSAT SatyrDeath
DSEL SealDeath
DSEN SentinelDeath
DSHD ShadeDeath
DSHM ShamanDeath
DSHP SheepDeath
DSKE SkeletonDeath
DSLG SludgeMonsterDeath
DSOR SorceressDeath
DSPD SpiderDeath
DSPL SplatDeath
DSTT SteamTankDeath
DTAU TaurenDeath
DTCH HeroTaurenChieftainDeath
DTRW TreeWallDeath
DUBC DeathUndeadBuildingCancel
DUDS UndeadDissipate
DULB DeathUndeadLargeBuilding
DULS DeathUndeadSmallBuilding
DVLC VillagerChildDeath
DVLM VillagerManDeath
DVLW VillagerWomanDeath
DVUL VultureDeath
DWAR WarlockDeath
DWAT WaterElementalDeath
DWCD WyvernCageDeath
DWEN WendigoDeath
DWIT WitchDoctorDeath
DWLD WarlordDeath
DWLF WolfDeath
DWSP WispDeath
DWYV WyvernRiderDeath
DZOM ZombieDeath
KANG AncestralGuardianAttack1
KAOE AncientOfTheEarthAttack1
KAOM AncientOfTheMoonAttack1
KAW1 AncientOfTheWildAttack1
KAW2 AncientOfTheWildAttack2
KANP AncientProtectorMissileAttack
KAP1 AncientProtectorMeleeAttack1
KAP2 AncientProtectorMeleeAttack2
KBAL BalrogAttack1
KAZB AzureDragonAttack1
KBLL BallistaAttack
KBLB BlackDragonAttack1
KBRB BronzeDragonAttack1
KGRB GreenDragonAttack1
KRDB RedDragonAttack1
KBM1 HeroBladeMasterAttack1
KBM2 HeroBladeMasterAttack2
KCAN CannonTowerAttack
KCAT CatapultAttack1
KDH1 HeroDemonHunterAttack1
KDH2 HeroDemonHunterAttack2
KDK1 HeroDeathKnightAttack1
KFAR HeroFarSeerAttack1
KFRB FrostWyrmAttack1
KGUA GuardTowerAttack
KGYR GyrocopterAttack
KIN1 InfernalAttack1
KIN2 InfernalAttack2
KIRG IronGolemAttack1
KLIC HeroLichAttack1
KMKG HeroMountainKingAttack1
KMT1 MortarTeamAttack1
KMT2 MortarTeamAttack2
KMTW MeatWagonAttack1
KPL1 HeroPaladinAttack1
KPL2 HeroPaladinAttack2
KRG1 RockGolemAttack1
KRG2 RockGolemAttack2
KRIF RiflemanAttack1
KRN1 HeroRangerAttack1
KRN2 HeroRangerAttack2
KSTT SteamTankAttack
KTC1 HeroTaurenChieftainAttack1
KTC2 HeroTaurenChieftainAttack2
KTOL TreeOfLifeAttack1
MANG AncestralGuardianMissileHit
MANL AncestralGuardianMissileLaunch
MANP AncientProtectorMissileHit
MAPL AncientProtectorMissileLaunch
MARL ArrowLaunch
MARR ArrowHit
MAXE AxeMissileHit
MAXL AxeMissileLaunch
MBAL BallistaMissileHit
MBAN BansheeMissileHit
MBNL BansheeMissileLaunch
MBLT Bolt
MBRH BristleBackMissileHit
MBRL BristleBackMissileLaunch
MCAH ChimaeraAcidHit
MCAL ChimaeraAcidLaunch
MCAN CannonTowerMissile
MCAT Catapult
MCDA ColdArrow
MCRH CryptFiendMissileHit
MCRL CryptFiendMissileLaunch
MDCL DeathCoilMissile
MDEM DemonHunterMissileHit
MDML DemonHunterMissileLaunch
MDOC WitchDoctorMissileLaunch
MDOH WitchDoctorMissileHit
MDRY DryadMissile
MDTL DruidOfTheTalonMissileLaunch
MDTH DruidOfTheTalonMissileHit
MFAR FarseerMissile
MFLA SearingArrowHit
MFLL SearingArrowLaunch
MFRB Fireball
MFRL FireballLaunch
MGML GryphonRiderMissileLaunch
MGRH GargoyleMissileHit
MGRL GargoyleMissileLaunch
MGUA GuardTowerMissileHit
MHAR HarpyMissileHit
MHRL HarpyMissileLaunch
MHNL HunterMissileLaunch
MHUN HunterMissileHit
MKGL KeeperOfTheGroveMissileLaunch
MKGH KeeperOfTheGroveMissileHit
MLIC LichMissile
MMEA MeatWagonMissileHit
MMTI Mortar
MNCH NecromancerMissileHit
MNCL NecromancerMissileLaunch
MPAH PoisonArrowHit
MPML PriestMissileLaunch
MPMH PriestMissileHit
MRAN RangerMissile
MRIF Rifle
MSEH SentinelMissileHit
MSEL SentinelMissileLaunch
MSMH SorceressMissileHit
MSML SorceressMissileLaunch
MSPR Spear
MWAT WaterElementalMissile
MWEB WebMissileLaunch
MWIN DragonHawkMissileHit
MWNL DragonHawkMissileLaunch
MWYV WyvernSpearMissile
MZIG ZigguratMissileLaunch
MZGH ZigguratMissileHit


Good luck with it, you need it =)
09-20-2002, 11:29 PM#11
Guest
Cookie thanks for the help in this one. I appreciate all the stuff you replied with, but perhaps to save effort in mouse scrolling you could say something like "refer to animlookups.slk" rather than the huge listing :) I got exactly what you're doing, here's my problem.

For experimentation purposes I'm trying to give a footman a "deep footstep":

Anim "Walk" {
Interval { 17667, 18467 },
...

}

EventObject "SNDXFDFL" {
ObjectId 50,
EventTrack 1 {
17667,
}
}
EventObject "SNDXFDFR" {
ObjectId 51,
EventTrack 1 {
18467,
}
}

The walk intereval is from 17667 to 18467. FDFR and FDFR are the deep footstep lookups. I inserted the 2 footstep parts from the tauren model just under trhe footman death sound chunk. I have no idea if the objectID means anything but I just plugged the numbers in according to the footmans order (DFOO 49, FDFL 50, FDFR 51...). It should work but when the footman walks there is no sound. According to the eventTracks it should make the sound right when events 17667 and 18467 hit, any ideas? Do I have to plug anything in elsewhere?
09-22-2002, 09:32 PM#12
Guest
Ah ha! I know why it hasn't been working! It's because i was using teh medium detail models yet I was editing and dumping the high quality model into the mpq! This is soo easy now, thanks for the help!
09-23-2002, 05:36 PM#13
Guest
OMG I shouldnt have celebrated so soon. Man this is absolutely chaotic. One moment it works, then when I try to change the sound it addresses it doesn't make a difference, it plays the same sound I originally addressed. Now it's like I can't get it to work at all yet I'm doing the same friggen thing I was when I first got the footman to have a deepfootstep. grrrr.