Page 2 of 2

Re: Beta Design document

Posted: 14 Apr 2011, 02:17
by knorke
yes, if it is possible to make units that only collide with weapons on not with projectiles so that units can still drive over the spice.
But in that case I would do it different:
have an array
spice [x][y]
it stores how much spice is on the ground at each map coordinate.
the spice is drawn with Lua.
If a harvester runs over the spice at [x][y]:
spice[x][y]--
harvesterCargo++

drawing and reading [x][y] would work similiar as described in this thread: http://springrts.com/phpbb/viewtopic.php?f=23&t=24820
Image
instead of red you would draw a "spice texture" and instead of green you would draw nothing.

Looking at their map design this approach is probally better as they have "fields" of resources. Conflict Terra has small "clusters" of resources, like Starcraft, age of empires etc.

Re: Beta Design document

Posted: 14 Apr 2011, 02:21
by knorke
not sure if you want the "building on sand requires to make concrete plates" like in the original dune?
that would be possible in a similiar way.

Re: Beta Design document

Posted: 14 Apr 2011, 12:08
by yuritch
afaik they don't want any buildings on sand, only on the rocks (stable areas).

Re: Beta Design document

Posted: 14 Apr 2011, 21:43
by zwzsg
Pxtl wrote:Could they use an invisible non-blocking model with a ground-splat to make spice look like stains on the sand instead of rocks?
But what if ground decal is off?

Re: Beta Design document

Posted: 16 Apr 2011, 15:39
by Beherith
Gadget with sendcommand grounddecals 1

Re: Beta Design document

Posted: 16 Apr 2011, 19:55
by Beherith
Image

The dunes look way more pronounced than they actually are, texture is just a placeholder of course.

Re: Beta Design document

Posted: 16 Apr 2011, 19:57
by knorke
dont some players turn off grounddecals for a reason?
that would be like forcing gl pointsize (or whats the function) on ati cards.

oh, a nice map appears.

Re: Beta Design document

Posted: 17 Apr 2011, 23:08
by Echo419
couldnt you use a different texture over the areas that are stable?

Re: Beta Design document

Posted: 18 Apr 2011, 01:20
by zwzsg
Yeah, use some grey earth like in Dune2!

Re: Beta Design document

Posted: 19 Apr 2011, 01:23
by Johannes
knorke wrote:dont some players turn off grounddecals for a reason?
that would be like forcing gl pointsize (or whats the function) on ati cards.

oh, a nice map appears.
I don't know, I've never heard of any problems with decals, so I'd think people turn them off to just run the game a little bit faster. Which isn't worth it if the decals contain important info.

Re: Beta Design document

Posted: 19 Apr 2011, 01:34
by Wombat
dont some players turn off grounddecals for a reason?
it used to cause horrible problems not that long time ago. maybe ppl still remember that, but i dont really know what makes u think that 'some players' turn grounddecals off (btw, isnt it turned off by default?)

Re: Beta Design document

Posted: 19 Apr 2011, 13:25
by knorke
it used to cause horrible problems not that long time ago. maybe ppl still remember that
thats what i meant. They currently work good for me too.
still i think there are better ways to draw on the map then using ground decals. (see previous posts)
That is just one details anyway, first there needs to be one dune model ingame...