Jump to content
Sign in to follow this  
noone1

Dynamic grass script?

Recommended Posts

Is there something like a dynamic grass script for OFP? Like one that would render grass infront of player but not on roads, inside building and possibly only on green surfaces?

Share this post


Link to post
Share on other sites

UWAR grass is the only dynamic grass addon I've seen. It's efficient but I'm pretty sure it can't detect roads/buildings when placing grass.

The other drawback of using UWAR grass is it's designed for single player missions, the grass is created locally on each machine. So in multiplayer you may be trying hide in a patch of grass that hasn't been spawned on other clients.

The main reason the other grass mods like Battletech and I44 grass aren't spawned dynamically is that they are designed to be used as tiles rather than small organic looking patches. Any spawning script would also have to tile them properly and apply translations to avoid overlapping roads while keeping the edge of the grass as close to the road as possible.

The noddy solution that I've been using is to spend the time to cover large areas of an island in grass tiles, with all of the roads done properly. Then save that as a template mission and merge it into other missions you make when you want to add grass to an area. So I have for example Houdan Template.Abel, Montignac Template.Eden etc. which cover a couple of square kilometers with grass centred around a given town. It depends on the size of the mission you are making for this to be practical.

Edited by *Zeewolf*

Share this post


Link to post
Share on other sites

This UWAR grass is very complicated to use. I wish someone made a easy to use mod or island replacement out of it.

Share this post


Link to post
Share on other sites
This UWAR grass is very complicated to use. I wish someone made a easy to use mod or island replacement out of it.

That would be a crazy amount of manual labour to create. Hand-placing small patches of grass over hundreds of square kilometers. I'm sure opening a thread in modding discussion would give you all the info how to do it if you really are up to it, because it's not difficult only time-consuming.

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
Sign in to follow this  

×