Hi I have fixed the regen compleatley I just replace the regeneration scrypt text with this quest scrypt
scn TARDISRegenerateQuestSCRIPT
float timer short doOnce short soundDoOnce short Action short fireDoOnce short lightDoOnce short burdenDoOnce short particleDoOnce
begin GameMode if player.getInCell agcTARDIScontrolRoomDUPLICATE000 if player.getav health <= 20 if doOnce == 1 set timer to 114 set doOnce to 2 set soundDoOnce to 1 set Action to 1 set fireDoOnce to 1 set lightDoOnce to 1 set burdenDoOnce to 1 set particleDoOnce to 1 endif
if Action == 1 if player.getInCell agcTARDIScontrolRoomDUPLICATE000 if timer > 0 set timer to timer - getSecondsPassed if burdenDoOnce == 1 disablePlayerControls set burdenDoOnce to 0 endif if soundDoOnce == 1 player.playsound TARDISRegenerationSound set soundDoOnce to 0 endif if timer < 75 if doOnce == 2 TARDISDemButtonRef.Activate Player 1 set doOnce to 0 endif endif if timer < 43 if lightDoOnce == 1 player.pms TARDISRegenShader 46 TARDISRegenlightRef.moveTo player TARDISregenLightRef.enable TARDISRegenLightRef1.enable set lightDoOnce to 0 endif endif if timer < 19 if particleDoOnce == 1 player.pms TARDISRegenParticle 25 set particleDoOnce to 0 endif endif if timer < 18 if fireDoOnce == 1 TARDISRegenFlame1.enable TARDISRegenFlame2.enable TARDISRegenFlame3.enable TARDISRegenFlame4.enable TARDISRegenFlame5.enable TARDISRegenFlame6.enable TARDISRegenFlame7.enable TARDISRegenFlame8.enable TARDISRegenFlame9.enable TARDISRegenFlame10.enable player.playsound SPLFireBallHit set fireDoOnce to 2 endif if timer < 15 if fireDoOnce == 2 TARDISRegenFlame11.enable TARDISRegenflame12.enable player.playsound SPLFireBallHit set fireDoOnce to 0 endif endif endif else TARDISRegenFlame1.disable TARDISRegenFlame2.disable TARDISRegenFlame3.disable TARDISRegenFlame4.disable TARDISRegenFlame5.disable TARDISRegenFlame6.disable TARDISRegenFlame7.disable TARDISRegenFlame8.disable TARDISRegenFlame9.disable TARDISRegenFlame10.disable TARDISRegenFlame11.disable TARDISregenFlame12.disable set TARDISTimeLordQuest.doOnce to 0 player.resetHealth TARDISRegenLightRef.disable TARDISRegenLightRef1.disable enablePlayerControls showRaceMenu set Action to 0 player.payfinethief endif endif endif endif endif endif endif endif endif endif end
then when your health gose below 40 points summon the TARDIS to you and you'll start your regeneration cycle
I have created a time lord mod my self that alows the player to regenerate where ever he/she is if you want to use it u can as i may help with a already fantastic mod.
When I created the regeneration I looked intensely at the Molag Baal Quest Script, mainly because both features were going to be very similar. Also, looking at existing scripts is a great way to avoid any serious bugs, like the one explained by Adg211288.
You can't make something which violates other scripts, and especially not Quest Scripts. This mod was, as far as I can understand, made for high level characters. I however still support the initial idea that the script I made works but only within parameters.
I do appreciate this potential fix, but really all it will take for me to correct the default script is to add two or three 'if conditions' related to the players level.
On that basis, and on the input provided by Adg211288, I can not recommend this mod. If you are having trouble with regeneration might I ask that you all remain from dying until my next update.
I read the discussion you had on the main file's download page with drekmoor. I'm sorry to tell you that your fix is bugged if a player becomes a pilot for the TARDIS when they first start the game, as sometimes the new PC has under 40 health, this results in endless regenerations which can't be escaped from.
4 comments
scn TARDISRegenerateQuestSCRIPT
float timer
short doOnce
short soundDoOnce
short Action
short fireDoOnce
short lightDoOnce
short burdenDoOnce
short particleDoOnce
begin GameMode
if player.getInCell agcTARDIScontrolRoomDUPLICATE000
if player.getav health <= 20
if doOnce == 1
set timer to 114
set doOnce to 2
set soundDoOnce to 1
set Action to 1
set fireDoOnce to 1
set lightDoOnce to 1
set burdenDoOnce to 1
set particleDoOnce to 1
endif
if Action == 1
if player.getInCell agcTARDIScontrolRoomDUPLICATE000
if timer > 0
set timer to timer - getSecondsPassed
if burdenDoOnce == 1
disablePlayerControls
set burdenDoOnce to 0
endif
if soundDoOnce == 1
player.playsound TARDISRegenerationSound
set soundDoOnce to 0
endif
if timer < 75
if doOnce == 2
TARDISDemButtonRef.Activate Player 1
set doOnce to 0
endif
endif
if timer < 43
if lightDoOnce == 1
player.pms TARDISRegenShader 46
TARDISRegenlightRef.moveTo player
TARDISregenLightRef.enable
TARDISRegenLightRef1.enable
set lightDoOnce to 0
endif
endif
if timer < 19
if particleDoOnce == 1
player.pms TARDISRegenParticle 25
set particleDoOnce to 0
endif
endif
if timer < 18
if fireDoOnce == 1
TARDISRegenFlame1.enable
TARDISRegenFlame2.enable
TARDISRegenFlame3.enable
TARDISRegenFlame4.enable
TARDISRegenFlame5.enable
TARDISRegenFlame6.enable
TARDISRegenFlame7.enable
TARDISRegenFlame8.enable
TARDISRegenFlame9.enable
TARDISRegenFlame10.enable
player.playsound SPLFireBallHit
set fireDoOnce to 2
endif
if timer < 15
if fireDoOnce == 2
TARDISRegenFlame11.enable
TARDISRegenflame12.enable
player.playsound SPLFireBallHit
set fireDoOnce to 0
endif
endif
endif
else
TARDISRegenFlame1.disable
TARDISRegenFlame2.disable
TARDISRegenFlame3.disable
TARDISRegenFlame4.disable
TARDISRegenFlame5.disable
TARDISRegenFlame6.disable
TARDISRegenFlame7.disable
TARDISRegenFlame8.disable
TARDISRegenFlame9.disable
TARDISRegenFlame10.disable
TARDISRegenFlame11.disable
TARDISregenFlame12.disable
set TARDISTimeLordQuest.doOnce to 0
player.resetHealth
TARDISRegenLightRef.disable
TARDISRegenLightRef1.disable
enablePlayerControls
showRaceMenu
set Action to 0
player.payfinethief
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
end
then when your health gose below 40 points summon the TARDIS to you and you'll start your regeneration cycle
have not logged in but my email address is [email protected]
and my username for here is A55a55in18
I have created a time lord mod my self that alows the player to regenerate where ever he/she is if you want to use it u can as i may help with a already fantastic mod.
as for the bug i havent had that happen to me so far but ill look into it.
You can't make something which violates other scripts, and especially not Quest Scripts. This mod was, as far as I can understand, made for high level characters. I however still support the initial idea that the script I made works but only within parameters.
I do appreciate this potential fix, but really all it will take for me to correct the default script is to add two or three 'if conditions' related to the players level.
On that basis, and on the input provided by Adg211288, I can not recommend this mod. If you are having trouble with regeneration might I ask that you all remain from dying until my next update.