May be cheaper as part of a pack

Description

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.

If thirst bottoms out, hunger rate increases.

If hunger bottoms out, stamina rate increase. 

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. 

Keywords

danger hunger thirst stamina open world rpg survival lua script horror

Product Details

Artist: Tarkus1971
Category: GameGuru Scripts
Number of Sales: 27

Engine Support

The artist has indicated the following engines are supported, however with modifications most products will work in any engine.

GameGuru Yes

Comments

26th May '17 21:54
This user owns this product
Really great and easily adapted to much more than the usual survival situations. This turned an interesting idea into an instantly fun game with very little effort to get started. After some edits to fit my needs, it's literally a game changer, in the best way possible. Truly glad I bought it!

You must Login or Register to leave comments.

Included in

Related Products