Forum

> > Stranded II > Scripts > grasscolor command
Forums overviewStranded II overview Scripts overviewLog in to reply

English grasscolor command

7 replies
To the start Previous 1 Next To the start

old grasscolor command

Lion_Hearted
User Off Offline

Quote
There's a command called "grasscolor" in the commands list. I don't know how to use it tho, I'm a bit rusty on my modding.

I want to be able to attach this command to an object, and make it change the grass color on day change in a 50 radius. How do I do that?

old Re: grasscolor command

DC
Admin Off Offline

Quote
You can't do that at all. The command can only change the color of ALL the grass.

grasscolor red,green,blue;
(each from 0 to 255)

old Re: grasscolor command

Lion_Hearted
User Off Offline

Quote
Oook, so I can't choose to color grass below 0 y sand colored and grass above 0 y grassy.
Just one more question then.

Is there any way to turn off the psychedelic graphics issues when you alt tab out of stranded 2? The grass turns into striped blue and white for me, and that's why I was wanting the script.


Thank you so much for your help.

old Re: grasscolor command

DC
Admin Off Offline

Quote
This stuff seems to be a DirectX 7 / video driver related problem that occurs on some systems. I don't think that you can do anything against that with simple scripting.

old Re: grasscolor command

JasJack67
Super User Off Offline

Quote
Quote
I want to be able to attach this command to an object, and make it change the grass color on day change in a 50 radius. How do I do that?


you may be able to give the "illusion" that the grass color has changed around an object...if you make another model of the object that includes a paper thin 50 radius at the base being textured with the grass color you want...then on changeday "alterobject" to the one with the grass textured base.

You might use the "y=number" to level it with the ground as you see fit.

additionally, or instead... you could require the object to be built at the textured base you make on it's own, having the grass texture. ("buildspace = at textured object" )

where the base is a separate build site that looks like a build site, then on alter object it changes to a grass texture of sorts. Then the "object" appears on top of it.

this would probably work for smaller objects...but if it is a big object and the ground is unlevel , your grass textured base would bleed into the surrounding terrain a bit maybe. That might look good though idk.

currently the base terrain extending into the water can be one color and your grass is on top of it and can be made to "bleed through" (greyscale transparency)and you can see some amount of the base terrain...then you could use the regular "color=#,#,#" to make it the color textured base you want, or various colors per object. Basically the texture could be shades of grey and partially transparent then add the color= command to it, revealing the grass color you want on the 50 radius base, just above, or level to, the y current grass.

thats all i got i think
edited 3×, last 05.12.12 10:36:19 am
To the start Previous 1 Next To the start
Log in to reply Scripts overviewStranded II overviewForums overview