Game Development Community

Terrain Grid

by Justin Woods (ESAL) · in RTS Starter Kit · 05/15/2006 (1:14 am) · 2 replies

Is there a resource that I could implement that allows for a grid to be layed over the terrain. This is something I want to display with an on/off button in the player GUI.

#1
05/15/2006 (9:20 am)
Most likely the process of rendering the selection ring on a unit would be similiar method
key to variable that user can toggle provide a mission area sized alpha of grid (BIG)
or a small per terrain block grid (small) and tile it with code per terrain cell following contours of
ground as the selection ring does

by default the selection ring is green (0,1,0,1) 100% green with 100% opacity
#2
05/17/2006 (11:34 am)
Look at using raycasting downwards to the terrain at certain points