I assume you haven't added leveling capability or voices to Elrond (i.e., he's still level 10 and mute). In order to add basic respawn capability, copy and paste the following into the indicated ini files:
data\ini\fxlist.ini
;-------------------------------------------
FXList FX_ElrondDieToRespawn
ParticleSystem
Name = GandalfSwordHitSpark
Offset = X:12.0 Y:0.0 Z:8.0
OrientToObject = Yes
End
ParticleSystem
Name = GandalfSwordHitFlash
Offset = X:12.0 Y:0.0 Z:8.0
OrientToObject = Yes
End
End
;-------------------------------------------
FXList FX_ElrondSpawn
Sound
Name = GenericRespawn1
End
ParticleSystem
Name = ResurrectionCenter
Offset = X:0.0 Y:0.0 Z:5.0
OrientToObject = Yes
End
ParticleSystem
Name = ResurrectionLightShaft
Offset = X:0.0 Y:0.0 Z:0.0
OrientToObject = Yes
End
ParticleSystem
Name = ResurrectionVortex
Offset = X:0.0 Y:0.0 Z:5.0
OrientToObject = Yes
End
ParticleSystem
Name = ResurrectionWave
Offset = X:0.0 Y:0.0 Z:5.0
OrientToObject = Yes
End
End
data\ini\object\goodfaction\units\elven\elrond.ini (place under Engineering Parameters)
; Meneldil added respawn code
Body = RespawnBody ModuleTag_RespawnBody
CheerRadius = EMOTION_CHEER_RADIUS
MaxHealth = ELROND_HEALTH
PermanentlyKilledByFilter = NONE
DodgePercent = HERO_DODGE_PERCENT
End
Behavior = RespawnUpdate ModuleTag_RespawnUpdate
DeathAnim = DYING ;STUNNED ;Model condition to play when killed-to-respawn
DeathFX = FX_ElrondDieToRespawn ;FXList to play when killed-to-respawn
DeathAnimationTime = 5367 ;1133 ;How long DeathAnim will take.
InitialSpawnFX = FX_ElrondSpawn ;Animation/sound when first recruited
RespawnAnim = LEVELED ;Animation to play when respawning.
RespawnFX = FX_ElrondSpawn ;FXList to play when respawning.
RespawnAnimationTime = 2000 ;Time it takes for respawn to play.
AutoRespawnAtObjectFilter = NONE +CASTLE_KEEP ;Respawn at this location -- and at it's exit production point if possible.
RespawnRules = AutoSpawn:No Cost:1000 Time:10000 Health:100%
End