I need to know what I should do to activate the sound effect of the attack mosntros.
Or find a npcdesc.cfg that is activated with the AttackHitSound.
I know that the list of sounds is ... Distro \ scripts \ include
I've been looking ... Distro \ pkg \ systems \ brainAI \ include \ npcEffects
And I found that was cleaned by Edwards for best performance of the distro:
Last Modifications 2010-02-22
* Cleaned codes for better performances
NPC_GetBarkSound (source) BarkSound
NPC_GetCastSpellGraphic (source) AttackCastGraphic
NPC_GetDamagedGraphic (source) DamagedGraphic
NPC_GetDamagedSound (source) DamagedSound
NPC_GetDeathSound (source) DeathSound
NPC_GetIdleGraphic (source) IdleGraphic
NPC_GetIdleSound (source) IdleSound
NPC_GetHitGraphic (source) AttackHitGraphic
NPC_GetHitSound (source) AttackHitSound
NPC_GetMissSound (source) AttackMissSound
in npcdesc.cfg file looks like this:
AIScripts genericCombat
AttackHitSound 0
AttackMissSound 0
DeathSound 0
DamagedSound 0
IdleSound 0
I'll have to put the corresponding sounds for each npc ??? One by one ???
I searched https://svn.code.sf.net/p/pol-distro/code/releases/099/
But do not have ... They are all disabled

... \ Distro \ pkg \ systems \ brainAI \ AI_desc \ Animal \ config \ npcdesc.cfg
NPCTemplate Alligator
{
Name an alligator
Script: brainAI: brain
Category Animal
ObjType 0xCA
Color 33784
TrueColor 33784
Gender 0
Runspeed 25
MoveMode LS
Alignment evil
Strength 100
Intelligence 30
Dexterity 80
HITS 90
MANA 0
STAM 50
ResistingSpells 80
Tactics 100
Wrestling 130
AttackDamage 2D7
AttackAttribute Wrestling
AISetting AreaSize i4
AISetting FleeLevel i50
AIScripts genericCombat
AttackHitSound 0
AttackMissSound 0
DeathSound 0
DamagedSound 0
IdleSound 0
SkinningItem Lizardhides 1
SkinningItem rawrib 8
TameSkill 60
FoodType meat
CProp Type sAnimal
}
If someone provide the old npcdesc.cfg I get very grateful;)
Thank you.