Jump to content

Damage peak health disease?


statsmakten

Recommended Posts

I've been trying to create a disease that gives you -10 peak health until you've found a specific antidote, but no matter how I try I can't get it to work. For some reason the damage peak value doesn't apply the effect, does anyone know the correct way of doing this? I've even tried to replicate the Molerat Disease from Vault 81 but no success:(

Link to comment
Share on other sites

I have done just this. Its for a mod I made for the 'other site'. But I can help you, totally... what specifically do you need / want to know?

 

For the damage peak health, you need to have a potion that you silently equip on the player. In the potion, you add the damage peak health magic effect. Be sure to set the magnitude (how much to damage the health) and a duration. Also important is to have a Dispel Effect Keyword so that you can get rid of the effect once the cure item is applied to the player...

 

The code to equip the item that gives the disease, silently, meaning NO UI notice the player consumed the item, is:

 

playerreferencename.equipitem(potionname, false, true)

Edited by joerqc
Link to comment
Share on other sites

As you can see in the screenshots above, the damage peak health effect is -50 HP forever. There are two recurring side effects that run for three days, each... my script actually reenables those side effects every two weeks (ontimergametime event). Regardless, potion has the damage peak health effect on it with duration and magnitude. The magic effect is set up to affect HEALTH as a peak value modifier. AND there is a dispel keyword in place so that when a cure item is consumed, the peak health modifier goes away and the HP returns to normal.

 

Nothing simpler! :smile:

 

Edit: The keyword attached to the potion is there to force the UI to display a RED effect pill icon on the UI in all modes, rather than the usual green pill icon. In case you had a question about that :)

Edited by joerqc
Link to comment
Share on other sites

thanks joerqc,

is that for that LL "gigolo and strumpet" themed doctor mod?

 

that gives a lot of ideas for non-linear/ OEIS based random shenanigans...

the horrors folks could get after teleporter malfunctions to the Theta-Tan rad-realm.

 

I hope you will also contact Athanasa,

as they had a similar themed thread about various kinds of afflictions, illness etc.

there are a lot of ideas in that thread too.

https://forums.nexusmods.com/index.php?/topic/5234410-need-disease-ideas/

 

(my interest is purely to see if that can be integrated with the medical tricorder,

for some 'quick time events' on the Memory Den Virtual Holodeck).

Link to comment
Share on other sites

Thank you joerqc. Unfortunately it didn't help me because I'm already using that exact method with same settings:( The potion gets equipped, I can see the health bar go down, I get the disease perk and when I use the antidote it disappears. But the peak modifier doesn't do anything, I'm still able to heal to full health while carrying the disease:(

Link to comment
Share on other sites

Then something is not set right because my settings lower the MAX health bar by 50 and you cannot exceed it by healing... are you SURE you have the magic effect set to PEAK VALUE MODIFIER? Because this is what drops the peak (max)...

 

When you are infected, go into Pipboy and look at Active Effects to see if it shows MAX HP -10 (for your disease)... if so, it should be working...

Edited by joerqc
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...