Jump to content
_foley

Flooding with setTerrainHeight

Recommended Posts

Hey

 

I've been experimenting with setTerrainHeight to move areas of the map under the sea level in order to create a flood. Here's the script and a few screenshots from the mission playthrough.
 

https://github.com/foley-dev/arma3-frogmen/blob/master/scripts/server/flood.sqf

https://github.com/foley-dev/arma3-frogmen

 

 

1.jpg

 

2.jpg

 

3.jpg

 

Tested on dedicated server, seems to work pretty well except for some minor misalignment of terrain objects.

  • Like 5
  • Haha 1

Share this post


Link to post
Share on other sites
12 hours ago, Melody_Mike said:

Awesome stuff sir!
@_foley Did the server or client FPS dip noticeably?

Not really because it runs during briefing (before the game) and if it isn't finished by the time you go ingame, it will show everyone a loading screen.

That said, on the first attempt I tried running the whole thing in unscheduled context which crashed the server catastrophically 😅

  • Like 1
  • Haha 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×