netama.blogg.se

Fallout 4 hunger mod
Fallout 4 hunger mod




fallout 4 hunger mod

It’s attached to this particular magic effect, in particular the effect’s on-start event. Now you can see how the basic logic of the script plays out. We need to know that, so that we don’t inadvertently throw our new mechanics onto unsuspecting normal vanilla players.īDirtyWater: This is a simple boolean (True/False) property passed into this script by the calling object to indicate whether this water is Dirty Water or Purified Water. HC_Rule_SustenanceEffects: This is the global variable that indicates that the hardcore game mechanics are active. If we want to add or change our core survival game mechanics, we can either work with HC_Manager or go through the labor of reimplementing it somewhere else.

fallout 4 hunger mod

HC_ManagerScript keeps track of all the HC/Survival goodness. HC_Manager: This points the script to the main hardcore management engine. We’re pulling in three important properties to this very simple script: I’m assuming that you know all that, or at least can find that information easily enough. Now I’m not going to get into the nature of Papyrus scripts, or their locations, or how to compile them, or how to use Creation Kit. HC_ace(self, "PLAYER IS DRINKING WATER! bDirtyWater: " + bDirtyWater) HC_Manager.DrinkSippableWater(bDirtyWater) If HC_Manager.IsGlobalTrue(HC_Rule_SustenanceEffects) GlobalVariable Property HC_Rule_SustenanceEffects const auto mandatoryīool Property bDirtyWater Auto Const MandatoryĮvent OnEffectStart(Actor akTarget, Actor akCaster) HC_ManagerScript Property HC_Manager const auto mandatory Scriptname Hardcore:HC_DrinkWaterEffectScript extends ActiveMagicEffect Const So we check the water pump Activator record, and that takes us to a Magic Effect record, which in turn takes us to the Hardcore:HC_DrinkWaterEffectScript script: Seriously, Bethesda? In Fallout 3, the ability to generate purified water was considered a major scientific breakthrough – and now, a decade later, we’re pressing it out of every rusty tap? No. I’m working on an unpublished mod right now that toys around with all the damned purified water that seems to be coming out of every single rusty water pump, all over the Commonwealth. It’s basically a layer of general ledger accounting.

fallout 4 hunger mod

Throughout the Survival game, you have to deal with things like hunger, thirst, and disease, as well as the usual radiation hazards. So I pretty much only play Fallout 4 in Survival mode, which means I spend a lot of my time hanging out with the game’s hardcore/survival play mechanics.






Fallout 4 hunger mod