shadowfx78 Posted October 23, 2013 Share Posted October 23, 2013 I downloaded this mod and i would like some help in slowing down the healing rate this provides can anyone help me out? here is the script contents and the rest of the information from the mod i cant figure it out i know how to make say a stimpak heal over time so i figured it would be something like that but dont know for sure Default versionscn CoDHealthRegenScriptfloat timershort iPlayerHealthshort iPlayerHealthPreviousfloat fPlayerHealthPercbegin GameMode set iPlayerHealth to Player.GetAV Health set fPlayerHealthPerc to Player.GetHealthPercentage set timer to timer + GetSecondsPassed if(iPlayerHealth < iPlayerHealthPrevious) set timer to 0 set iPlayerHealthPrevious to iPlayerHealth return endif if(fPlayerHealthPerc < 1) if(timer > 6) if(player.IsSpellTarget CoDHealthRegenEffect == 0) player.cios CoDHealthRegenEffect if(player.GetPCIsSex Male == 1) PlaySound CoDRecoverBreatheEnd else PlaySound CoDRecoverBreatheEndFemale endif if(iPlayerHealth < iPlayerHealthPrevious) player.dispel CoDHealthRegenEffect set timer to 0 set iPlayerHealthPrevious to iPlayerHealth return endif endif else if(player.IsSpellTarget CoDHealthRegenEffect == 1) player.dispel CoDHealthRegenEffect endif endif else if(player.IsSpellTarget CoDHealthRegenEffect == 1) player.dispel CoDHealthRegenEffect endif endif set iPlayerHealthPrevious to iPlayerHealth Actor Effect: COD regen effect *restore health"Magnitude: 40Duration:86400 Link to comment Share on other sites More sharing options...
AxlDave Posted October 25, 2013 Share Posted October 25, 2013 From glancing at it, it would seem that this script only deals with the time delay and sound effects of the healing. I think you need to look under Actor Effect or Base Effect to try and find an effect called CoDHealthRegenEffect, this should be what actually controls the heal rate by using the effect Restore Health (and possibly Restore Chest, Head, etc). I believe the magnitude of Restore Health is the number of HP restored per second. Link to comment Share on other sites More sharing options...
Recommended Posts