Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

eggy785

water

Recommended Posts

i know one guy has a script for water in the init.c but my server has issues getting it to work is there any other way to control the water?.

Share this post


Link to post
Share on other sites

what water script :D there is plenty of water in dayz already can you explain more

Share this post


Link to post
Share on other sites
34 minutes ago, mrwolv said:

what water script :D there is plenty of water in dayz already can you explain more

i mean this but my init.c having issues with it so looking if there are any other ways.

 

Share this post


Link to post
Share on other sites
1 hour ago, eggy785 said:

i mean this but my init.c having issues with it so looking if there are any other ways.

 

ahh you need to go to the Dta\scripts folder \ playerconstant.c

static const float METABOLIC_SPEED_ENERGY_BASAL    = 0.04;        //energy loss per second while idle
    
    static const float METABOLIC_SPEED_ENERGY_WALK        = 0.1;         //energy loss per second
    static const float METABOLIC_SPEED_ENERGY_JOG        = 0.20;     //energy loss per second
    static const float METABOLIC_SPEED_ENERGY_SPRINT    = 0.40;     //energy loss per second
    
    static const float METABOLIC_SPEED_WATER_BASAL        = 0.040;     //water loss per second while idle
    
    static const float METABOLIC_SPEED_WATER_WALK        = 0.10;     //water loss per second
    static const float METABOLIC_SPEED_WATER_JOG        = 0.30;     //water loss per second
    static const float METABOLIC_SPEED_WATER_SPRINT    = 0.40;     //water loss per second

 

 

Share this post


Link to post
Share on other sites
20 hours ago, mrwolv said:

ahh you need to go to the Dta\scripts folder \ playerconstant.c

static const float METABOLIC_SPEED_ENERGY_BASAL    = 0.04;        //energy loss per second while idle
    
    static const float METABOLIC_SPEED_ENERGY_WALK        = 0.1;         //energy loss per second
    static const float METABOLIC_SPEED_ENERGY_JOG        = 0.20;     //energy loss per second
    static const float METABOLIC_SPEED_ENERGY_SPRINT    = 0.40;     //energy loss per second
    
    static const float METABOLIC_SPEED_WATER_BASAL        = 0.040;     //water loss per second while idle
    
    static const float METABOLIC_SPEED_WATER_WALK        = 0.10;     //water loss per second
    static const float METABOLIC_SPEED_WATER_JOG        = 0.30;     //water loss per second
    static const float METABOLIC_SPEED_WATER_SPRINT    = 0.40;     //water loss per second

 

 

would players not need to download the scripts folder? for this to work?

Share this post


Link to post
Share on other sites

×