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

Jamie Zwarts

Foliage Flattening and Restore Timing

Recommended Posts

Hi lads! Now here's an interesting question.
Wondering if someone know the answer to this one. Which might seem trivial, but it's kinda crucial for my server.

You know when you lay down in the grass or a bush, it goes flat....
And after you get up the foliage also gets back up again.

Is there a setting to change the timing of that???
Can't seem to find the answer in various discord channels.

cheers! in advance

Edited by Jamie Zwarts

Share this post


Link to post
Share on other sites

69 views and nobody knows ? 🙂

I found this line in the world.c file

proto native void FlattenGrassRect(float x, float z, float sideX, float sideZ, float offset, float angleRAD, float centerLerp01, float timeDown01, float maxHeight01);

Now, that "timeDown01" has something to do with it.
But i have no clue how to override that or where.

If someone could point me in the right direction?

  • Beans 1

Share this post


Link to post
Share on other sites

×