I'm awaiting store approval on some new scripts I have being working on.
They might not be approved until after the weekend, I don't think much happens Saturday or Sunday
Details are below and a video (a bit blocky, but you will get the idea).
Tarkus1971's Survival Script Set
Scripts Included:
_t1971_survival
This script sets up the sprites and variables used by all the other scripts.
Assign to dynamic and always on entity.
_increase_thirst
This makes the player more thirsty.
Assign to dynamic and always on entity.
_increase_hunger
This makes the player more hungry.
Assign to dynamic and always on entity.
_increase_stamina
This script will increase until the player dies from exhaustion.
Assign to dynamic and always on entity.
drink00
Add this to an entity and when the player moves near, just press E to drink,
This will restore thirst to 00.
eat00
Add this to an entity and when the player moves near, just press E to eat,
This will restore hunger to 00.
stamina00
Add this to an entity and when the player moves near, just press E to use,
This will restore stamina to 00.
restore_all00
This is a cure it all. Press E and all thirst, hunger and stamina will reset to 00.
heat_area
Assign this a dynamic entity and always on. This will create a heat zone that is
300 units in diameter. This will increase thirst rate.
hunger_area
Assign this a dynamic entity and always on. This will create a hunger zone that is 300 units in diameter. This will increase hunger rate.
danger_area
Assign this a dynamic entity and always on. This will create a danger zone that is 300 units in diameter. This will increase stamina rate.
You can edit the variable inside the zone scripts above, but work on copies of the originals.
Please take care if you do edit the scripts as all the scripts interact with each other.
NOTES:
When players thirst, hunger and stamina drop below a certain level
a warning will scroll across the screen for right to left. This uses a large sprite
for each one. Take heed of the warning.
Once stamina hits the bottom of the gauge, the player will die.
I have added hidehuds() to the setup script so if you want to see the huds just delete that line.
Aftershock Quad Core AMD FM2+ 3.5 GHz 8GB Motherboard and Processor, A7700k apu, Asus GT970 STRIX 4gb Nvidia gfx card.
King Korg Synth, Alesis SR18 Drum Machine, Akai MPX8 sample player, Roland Fantom XA Synth, Axus Digital AXK2 Digital Drum Kit, Novation Ultranova Synth, Waldorf Blofeld Synth.