Game Development Community

Setting up grass

by Mitovo · in Torque Game Engine · 05/08/2016 (11:28 am) · 3 replies

Hello

So, I've been doing some stuff in TGE (can't help it, using TGE is like putting on an old pair of socks to me; it's just "comfy" to work with).

I'm wondering if anyone has found any neat "tricks" they use to set up grass in TGE where you can have it where you want it, but not on roads, etc? I've tried setting up individual foliage objects, and then just sizing them to fit each location, but it seems like that can get unwieldy before long.

Also considered modeling some very simple "grass patches" and placing them down manually as objects. They could cover small, medium or large areas, so you could really control where they go. I think that could work okay, maybe. Would allow to create "patches" of it instead, so it's not like one large,continuous mass of grass (heh that rhymes).

#1
05/08/2016 (12:38 pm)
Quote:'ve tried setting up individual foliage objects, and then just sizing them to fit each location, but it seems like that can get unwieldy before long.

If the above mentioned is not replicators then how about replicators. They were in TGE right? I have found some leftover code in the older versions of T3D engine as well. You could paint an area with it and then low cost memory grass/foliage would only be seen on those layers.

Read this:
http://www.garagegames.com/community/forums/viewthread/129328
#2
05/08/2016 (12:59 pm)
Yeah, it was Replicators lol. I couldn't think of the name when typing that heheh.

I've messed with T3D a bit as well, but somehow keep coming back to TGE. Just trying to work out how to get a feasible grass solution in place that isn't so "broad strokes" and offers a bit more direct control than the replicators.

Thanks!
#3
05/19/2016 (10:12 am)
Hi MiToVo ,
this is probably considered quite crude , yea , but the foliage replicator can be set to avoid the waterblock , waterblocks are adjustable
, from huge , rectangular (i think), very small , z value , etc... Place the waterblocks , name them , then just before being "dropped" into the game , delete the waterblocks by their name , then , during the "quiting" process , re-add them by name . Its been a while , but it works well ....crude , is that a good enough word ? have a nice day .