[Mod] Grasses [0.1.8] [dryplants]

User avatar
Mossmanikin
Member
Posts: 599
Joined: Sun May 19, 2013 16:26
Location: where we don't speak english.

[Mod] Grasses [0.1.8] [dryplants]

by Mossmanikin » Post

GRaSSeS

(By Mossmanikin, in collaboration with Neuromancer. Junglegrass by VanessaE.)

Image
Dependencies: farming (minetest), plants_lib
Supports: flint, stoneage, sumpf

Reedmace will grow near water. Although the plant appears in different shapes, you'll get the same drop from each. You can plant it (the sapling) and new reedmace will grow (doesn't have to be next to water).

Small juncus grows near water and at dunes/beaches (two different looks).

Tall grass is a lot more common. It is partially dry (if you don't like the look, you can simply delete the textures).

You can cut tall grass or jungle grass with a sickle, it will become cut grass (placeable) and lie on the ground. You can also cut some grass from dirt with grass. If you wait a while it will become hay (placeable).

Out of hay you can make reed for roofs.

Out of papyrus or reedmace you can craft wet reed.

You can change some things in settings.txt:
Spoiler

Code: Select all

-- Here you can enable/disable the different plants
REEDMACE_GENERATES                     =     true
SMALL_JUNCUS_GENERATES                 =     true
EXTRA_TALL_GRASS_GENERATES             =     true



-- Amount of Reedmace near water or swamp
REEDMACE_NEAR_WATER_PER_MAPBLOCK    =    35        -- plants per 80x80x80 nodes (absolute maximum number)
REEDMACE_NEAR_WATER_RARITY            =    40        -- percent

-- Amount of Reedmace in water
REEDMACE_IN_WATER_PER_MAPBLOCK        =    35        -- plants per 80x80x80 nodes (absolute maximum number)
REEDMACE_IN_WATER_RARITY            =    65        -- percent

-- Amount of Reedmace for oases, tropical beaches and tropical swamps
REEDMACE_FOR_OASES_PER_MAPBLOCK        =    35        -- plants per 80x80x80 nodes (absolute maximum number)
REEDMACE_FOR_OASES_RARITY            =    90        -- percent

-- growing of reedmace sapling
REEDMACE_GROWING_TIME                 =     50      -- seconds
REEDMACE_GROWING_CHANCE             =     5        -- percent



-- Amount of small Juncus near water or swamp
JUNCUS_NEAR_WATER_PER_MAPBLOCK        =    70        -- plants per 80x80x80 nodes (absolute maximum number)
JUNCUS_NEAR_WATER_RARITY            =    75        -- percent

-- Amount of small Juncus at dunes/beach
JUNCUS_AT_BEACH_PER_MAPBLOCK        =    70        -- plants per 80x80x80 nodes (absolute maximum number)
JUNCUS_AT_BEACH_RARITY                =    75        -- percent



-- Tall Grass on dirt with grass
TALL_GRASS_PER_MAPBLOCK                =    4800    -- plants per 80x80x80 nodes (absolute maximum number)
TALL_GRASS_RARITY                    =    67        -- percent



-- short grass becomes dirt with grass again
GRASS_REGROWING_TIME                 =     2         -- seconds
GRASS_REGROWING_CHANCE                 =     0.5        -- percent

HAY_DRYING_TIME                     =     200     -- seconds

REED_WILL_DRY                         =     false    -- wet reed nodes will become dry reed nodes
REED_DRYING_TIME                     =     200     -- seconds

AUTO_ROOF_CORNER                     =     true

-- support for higher resolutions textures
TEXTURE_RESOLUTION                     =     16
Times are in seconds, chances in percent.
If you set REED_WILL_DRY to true wet reed (when placed) will become (dry) reed over time.
When AUTO_ROOF_CORNER is set to true, roof blocks will change shape under certain circumstances (just test it).
Recipes:
Spoiler
Image Image Image
Spoiler
Image
Spoiler
Image Image Image Image Image
Spoiler
Image Image Image Image Image Image
Spoiler
Image Image Image Image
Spoiler
Image Image Image Image Image Image
Spoiler
Image Image Image Image Image Image
Spoiler
Image Image Image Image Image
Spoiler
Image Image Image Image Image Image Image Image Image

Credit

Concept
Mossmanikin
Neuromancer

Code
Mossmanikin
VanessaE (Plantlife)

Textures
Mossmanikin
Neuromancer (dryplants_juncus_*.png, dryplants_reedmace*.png, default_grass_5.png & default_papyrus.png)
VanessaE (default_grass_*.png)

Review
Evergreen
Ikishida
Inocudom
Jordach
Neuromancer
Thermal_Shock
VanessaE
Yingaya

Other Inspiration
Casimir (sickle)
MasterGollum (DarkAge)
Mito551 (Dwarves)
Sokomine (cottages)

Last, but not least
all whom I forgot to mention, who made Minetest, modding and this mod possible and those whom inspired me

Note: just because I give credit, doesn't mean people actively worked on this mod or intended to do so. It just means their work or feedback helped to get the mod where it is now.

Download (direct)

latest:
https://github.com/Mossmanikin/dryplant ... master.zip

older versions:
dryplants-0.1.5.zip
dryplants-0.1.4.zip
dryplants-0.1.3-test.zip
dryplants-0.1.2-test.zip
dryplants-0.1.1.zip
(for "prehistoric" stuff see dryplants of prehistoric-0.1.7 or earlier)

Browse code/files: https://github.com/Mossmanikin/dryplants

License
dryplants_junglegrass_medium.png, dryplants_junglegrass_short.png & dryplants_junglegrass_shortest.png: CC BY-SA 3.0
Ev'ryt'ing else: WTFPL
Last edited by Mossmanikin on Tue Dec 24, 2013 18:55, edited 1 time in total.

Noob 4 life!
My stuff

User avatar
Neuromancer
Member
Posts: 958
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Post

What if we each search for pictures of reedmace/cattails that can inspire us and represent what our vision of what we are trying to achive is?
Last edited by Neuromancer on Thu Sep 05, 2013 21:50, edited 1 time in total.

User avatar
Mossmanikin
Member
Posts: 599
Joined: Sun May 19, 2013 16:26
Location: where we don't speak english.

by Mossmanikin » Post

Neuromancer wrote:What if we each search for pictures of reedmace/cattails that represent what our vision of what we are trying to achive is?
Good idea, i'll "google" a bit ;)

Noob 4 life!
My stuff

User avatar
Mossmanikin
Member
Posts: 599
Joined: Sun May 19, 2013 16:26
Location: where we don't speak english.

by Mossmanikin » Post

Neuromancer wrote:What if we each search for pictures of reedmace/cattails that can inspire us and represent what our vision of what we are trying to achive is?
't is hard to find a pic which shows exactly what I have in mind. But here's something that comes close to:
Spoiler
Image
Inspired by your review and texture
Image
I tried to make the plants look more organic:
Image Image
What do you think? Is this going in the right direction?

EDIT: hid pic
Last edited by Mossmanikin on Sun Sep 08, 2013 01:36, edited 1 time in total.

Noob 4 life!
My stuff

User avatar
Neuromancer
Member
Posts: 958
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Post

I like your picture and I think your texture is headed in the right direction.
I've attached my altered versions of your texture, they are not polished, but they give you the idea of what I am thinking.
darker greens
half of the time not perfectly shaped thick brown parts.
put a very light brown tinge to the ones that have gone to seed instead of gray
only part of the brown part of the cattail goes to seed, the rest (top and bottom is intact)
more brown maces/cattails (thick brown pieces)
thick brown part not always straight up and down
leaves that go higher than the thick brown maces/cattails
a little bit of yellowed leaves

I noticed from your picture that the bottoms are lighter brighter greens, and yellowed. I also grab the colors out of my inspiration pictures.


https://www.dropbox.com/s/7g2qlo804xtalam/reedmace2.png
https://www.dropbox.com/s/j567n33hl2qt7kf/reedmace3.png
https://www.dropbox.com/s/75k7bm9g8s4i85k/reedmace4.png

Is it possible to show images inline using dropbox? I used to be able to using omploader, but my []syntax doesn't work anymore.
Last edited by Neuromancer on Fri Sep 06, 2013 00:41, edited 1 time in total.

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

by Evergreen » Post

Neuromancer wrote:I like your picture and I think it is headed in the right direction.
It's not completely polished, but here's what I was thinking.
darker greens
not perfectly shaped brown catttails
put a very light brown tinge to the ones that have gone to seed instead of gray
only part of the cattail goes to seed, the rest (top and bottom is intact)
more brown maces/cattails
not always straight up and down
leaves that go higher than the brown maces/cattails
a little bit of yellowed leaves

I noticed from your picture that the bottoms are lighter brighter greens, and yellowed. I also grab the colors out of my inspiration pictures.


https://www.dropbox.com/s/7g2qlo804xtalam/reedmace2.png
https://www.dropbox.com/s/j567n33hl2qt7kf/reedmace3.png
https://www.dropbox.com/s/75k7bm9g8s4i85k/reedmace4.png

Is it possible to show images inline using dropbox? I used to be able to using omploader, but my []syntax doesn't work anymore.
Just use tinypic or imgur.
Back from the dead!

User avatar
Neuromancer
Member
Posts: 958
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Post

Ugh, I looked at my textures #4 in game and they look hideous. The greens need to be very close to each other in terms of darkness, or it looks really bad. Even the yellows look bad. My original texture looks way better even if it is short. But I think you get my ideas from the post.

I'm actually kind of liking my first texture. It clearly is not a reedmace/cattail, but it does look like some sort of marsh plant that doesn't look half bad. I'd also like to see what your texture looks like.
Last edited by Neuromancer on Fri Sep 06, 2013 02:14, edited 1 time in total.

User avatar
Mossmanikin
Member
Posts: 599
Joined: Sun May 19, 2013 16:26
Location: where we don't speak english.

by Mossmanikin » Post

Neuromancer wrote:Ugh, I looked at my textures #4 in game and they look hideous. The greens need to be very close to each other in terms of darkness, or it looks really bad. Even the yellows look bad. My original texture looks way better even if it is short. But I think you get my ideas from the post.
I like your ideas and I'll experiment with them and try to find a "compromise" that works after I got some sleep.

Noob 4 life!
My stuff

User avatar
Neuromancer
Member
Posts: 958
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Post

I'm thinking what we have now isn't so bad. Here's a combination of my old texture and your new one in game.

https://www.dropbox.com/s/i8tirz8jkb0a2 ... tsView.jpg

https://www.dropbox.com/s/1u7rzfqbu3c1c ... sView2.jpg

But if my ideas can help you make yours even better, then definitely give it a try. :)

What do you think of adding my texture to your mod as an additional small marsh plant? I think they look good together.
Last edited by Neuromancer on Fri Sep 06, 2013 02:47, edited 1 time in total.

User avatar
Mossmanikin
Member
Posts: 599
Joined: Sun May 19, 2013 16:26
Location: where we don't speak english.

by Mossmanikin » Post

Neuromancer wrote:I'm thinking what we have now isn't so bad.
I agree, it isn't bad.
To imprevo it, I'd say we need some recoloring and details.
My textures should have some saturated yellow at the bottom and some more dark and or saturated green in general. Also a bit more definition wouldn't harm. And of course: less straight lines.
IMO your texture(s) could use some dry parts, also some definition and some "harmony" (hope you get what I mean). Maybe the plants would look better if the texture were brighter, but still darker than mine.
Neuromancer wrote:What do you think of adding my texture to your mod as an additional small marsh plant? I think they look good together.
I'm starting to love these small rushes, so: yes. :)
We just have to find a way to "align" the styles of the textures.

I've been trying some stuff. None of it is meant to be even close to final.
Spoiler
I used the pollen of your reedmace2.png:
Image
More green and yellow will follow.

To test how it would look, I cut some pieces out of your cattailsG.png and edited them to fit in a 16x16 space:
Image Image
I don't really like the result. They should be bigger; one plant should touch the next one.

Anyway, this is how it looks ingame:
Image


If you like to look at the code and some unused textures:
dryplants-0.1.2-test.zip

Noob 4 life!
My stuff

User avatar
Neuromancer
Member
Posts: 958
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Post

I'm loving your new textures. Really starting to look natural and beautiful! Here's something I realized. Cattails usually grow in water also. I'm not sure if it is possible to make them grow in 1 node deep of water, as the roots would displace the water node. Maybe make them grow like lilly pads, above the water?

User avatar
Mossmanikin
Member
Posts: 599
Joined: Sun May 19, 2013 16:26
Location: where we don't speak english.

by Mossmanikin » Post

Neuromancer wrote:I'm loving your new textures. Really starting to look natural and beautiful! Here's something I realized. Cattails usually grow in water also. I'm not sure if it is possible to make them grow in 1 node deep of water, as the roots would displace the water node. Maybe make them grow like lilly pads, above the water?
One who doesn't know about it will probably not notice, but actually I've already implemented plants that grow in water.
I (ab)used entities to get a more or less satisfying result.
Maybe it would be nice to increase the spawn rate...

Noob 4 life!
My stuff

User avatar
Neuromancer
Member
Posts: 958
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Post

Mossmanikin wrote: One who doesn't know about it will probably not notice, but actually I've already implemented plants that grow in water.
I (ab)used entities to get a more or less satisfying result.
Maybe it would be nice to increase the spawn rate...
What mod did you do this in? I know that topywo did something similar in his sea mod which I liked a lot but really hurt performance. I'd be concerned about performance of entities for sure, but might be worth investigating. I was hoping for a trick that wouldn't hurt performance.

Edit: You did underwater roots! And it doesn't seem to impact performance! They look awesome!
Last edited by Neuromancer on Sat Sep 07, 2013 01:21, edited 1 time in total.

User avatar
Mossmanikin
Member
Posts: 599
Joined: Sun May 19, 2013 16:26
Location: where we don't speak english.

by Mossmanikin » Post

Neuromancer wrote:
Mossmanikin wrote: One who doesn't know about it will probably not notice, but actually I've already implemented plants that grow in water.
I (ab)used entities to get a more or less satisfying result.
Maybe it would be nice to increase the spawn rate...
What mod did you do this in? I know that topywo did something similar in his sea mod which I liked a lot but really hurt performance. I'd be concerned about performance of entities for sure, but might be worth investigating. I was hoping for a trick that wouldn't hurt performance.

Edit: You did underwater roots! And it doesn't seem to impact performance! They look awesome!
Thank you. :)

I've been working on the
Spoiler
Something isn't right yet, but I think they're better than before:

Image Image

Image Image

Image
EDIT: added pic
Last edited by Mossmanikin on Sun Sep 08, 2013 01:56, edited 1 time in total.

Noob 4 life!
My stuff

User avatar
Neuromancer
Member
Posts: 958
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Post

Looks better all the time. The obvious thing that jumps out at me is that the stem right under the thick brown flower spike is just as thick as the flower spike. But for reedmace the stem is always very thin and rigid. It should only be 1 pixel thick at most.
I like the yellow around the roots. Doesn't look as pretty as it did before but much more realistic, and there is a beauty to that.

The other thing I'm not sure about is this, your textures are still a much lighter shade of green than real reedmace. What I don't like about this is that it reminds me of thick aloe vera leaves. But Reedmace leaves are ribbon thin. I think I know why you go with a lighter shade of green, and that it blends in with the grass colors, and in general, light colors seem to be much more forgiving than dark colors which are harsher and can seem more hand drawn.


Again my version of your texture probably looks like garbage if you put it in the game, and it definitely needs darker greens, but you get the idea of what I'm thinking about:
Spoiler
Also the spike goes through the brown flower out past the top.

I tried to make the leaves look like there were many thin tall ribbon like leaves twisting in front of each other by trying to strand a single shade of green in front the other shades, like a single thin leaf. I still think the bottom portion still looks like a few thick leaves (bad) rather than many thin leaves (good), but maybe you can see where I'm trying to go with this. Also the leaves should go past the top of the flowers, which all I did was make a few of them a little taller than what they were, but not taller than the flowers.

Edit: The grenns already contain shades as dark as real leaves. I think the greens in the thinner flower stems that I just did are about as dark as the leaves need to be, and there should be some lighter shades in the leaves as well. I just think maybe there are too many of the lighter shades still and not as many of the darker shades that are already in the texture.
Last edited by Neuromancer on Wed Sep 11, 2013 00:52, edited 1 time in total.

User avatar
Mossmanikin
Member
Posts: 599
Joined: Sun May 19, 2013 16:26
Location: where we don't speak english.

by Mossmanikin » Post

Neuromancer wrote:The obvious thing that jumps out at me is that the stem right under the thick brown flower spike is just as thick as the flower spike. But for reedmace the stem is always very thin and rigid. It should only be 1 pixel thick at most.
I like the yellow around the roots. Doesn't look as pretty as it did before but much more realistic, and there is a beauty to that.
Yeah, I've been struggling with this from the very beginning. On one hand the size on your texture is more realistic. On the other hand it's not in the mid below the fruit.
Both versions (yours and mine) are compromises. I'll experiment a bit with light, shadow, colour and saturation and hopefully find an optical illusion that's more satisfying.
Neuromancer wrote:The other thing I'm not sure about is this, your textures are still a much lighter shade of green than real reedmace. What I don't like about this is that it reminds me of thick aloe vera leaves. But Reedmace leaves are ribbon thin. I think I know why you go with a lighter shade of green, and that it blends in with the grass colors, and in general, light colors seem to be much more forgiving than dark colors which are harsher and can seem more hand drawn.
You're right about the green and fading with grass. I like when the game environment, especially plant life, looks like everything is connected. But I will moderately use some darker greens.
The leaves are too thick, yes. I already started to make them thinner.
Neuromancer wrote: Again my version of your texture probably looks like garbage if you put it in the game, and it definitely needs darker greens, but you get the idea of what I'm thinking about:
Spoiler
Also the spike goes through the brown flower out past the top.

I tried to make the leaves look like there were many thin tall ribbon like leaves twisting in front of each other by trying to strand a single shade of green in front the other shades, like a single thin leaf. I still think the bottom portion still looks like a few thick leaves (bad) rather than many thin leaves (good), but maybe you can see where I'm trying to go with this. Also the leaves should go past the top of the flowers, which all I did was make a few of them a little taller than what they were, but not taller than the flowers.

Edit: The grenns already contain shades as dark as real leaves. I think the greens in the thinner flower stems that I just did are about as dark as the leaves need to be, and there should be some lighter shades in the leaves as well. I just think maybe there are too many of the lighter shades still and not as many of the darker shades that are already in the texture.
This doesn't look like garbage to me. :)
I might adopt some of the changes.
Funny: I already tried some spikes go through the fruits

With your suggestions and texture I have something to work with. :)
Unfortunately I won't have that much time to work on this for a couple days.
So I'll only post something here if there really is some progress.

Noob 4 life!
My stuff

User avatar
Neuromancer
Member
Posts: 958
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Post

Mossmanikin wrote: Yeah, I've been struggling with this from the very beginning. On one hand the size on your texture is more realistic. On the other hand it's not in the mid below the fruit.
Both versions (yours and mine) are compromises.
my idea was a attempt at making it look like the spike and fruit were not straight up and down, and so the spike went in on one end the fruit was implied to be leaning to one side, and the spike continued on leaning even further out the other side. It would take a bit more playing to get it to look just right.

I saw some cattails on the way home today, and the leaves do pretty much go more straight up and down, not crisscrossing each other like crazy, but if there are enough of them, they do tend to splay outward slightly. But the leaves were all very thin, very tall and the wind would make them sway and bend all in the same direction.

User avatar
Mossmanikin
Member
Posts: 599
Joined: Sun May 19, 2013 16:26
Location: where we don't speak english.

by Mossmanikin » Post

Neuromancer wrote:
Mossmanikin wrote: Yeah, I've been struggling with this from the very beginning. On one hand the size on your texture is more realistic. On the other hand it's not in the mid below the fruit.
Both versions (yours and mine) are compromises.
my idea was a attempt at making it look like the spike and fruit were not straight up and down, and so the spike went in on one end the fruit was implied to be leaning to one side, and the spike continued on leaning even further out the other side. It would take a bit more playing to get it to look just right.

I saw some cattails on the way home today, and the leaves do pretty much go more straight up and down, not crisscrossing each other like crazy, but if there are enough of them, they do tend to splay outward slightly. But the leaves were all very thin, very tall and the wind would make them sway and bend all in the same direction.
Yeah, observed something similar while going for a walk yesterday.
Animation for cattails in the wind might be added in version 21.9.3 ;D

Noob 4 life!
My stuff

User avatar
Neuromancer
Member
Posts: 958
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Post

Since I started assisting you with this mod, I've been noticing things every time I'm outside.

We just were on a brief vacation, and all the way home I was staring out the windows looking at the grasses and plants. I noticed a few things. Now that it is between summer and fall, everything isn't green any more. In fact, I saw an ocean of 40% green, 40% yellow, 10% brown, and 1% white. There were some really common plants:
So many varieties of grasses, green on the bottom, and yellow like wheat on the top, brown dried out queen anne's lace, yellow goldenrod, and many varieties of browned stalks, stems and seeds. I wonder if this would be more interesting than all the greens that we currently have. I also noticed lots of bushes that are about 4x4 nodes in size. I wonder if it would be possible to create these larger bushes using some combination of plant and leaf nodes, where the plant nodes could form a network of small branches.

I think that is a big part of the appeal of cattails, they aren't the standard one node sized plant, like most of the plants in the game.

But the other day I was in a vast park that had such a beautiful collection of prairie plants, with so many additional colors intermixed. The thing I mostly noticed in both scenarions the intermingling of these plants altogether so that 1 node would contain yellows, browns, greens, and different mixtures of 3 or so varieties of plants. But I did notice that there are either trees, bushes or plants growing almost on every node of the real world, not the short mowed lawns of the traditional dirt with grass blocks.
Last edited by Neuromancer on Mon Sep 09, 2013 23:43, edited 1 time in total.

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

by Evergreen » Post

If you need any textures for this, I would be glad to help.
Back from the dead!

User avatar
Mossmanikin
Member
Posts: 599
Joined: Sun May 19, 2013 16:26
Location: where we don't speak english.

by Mossmanikin » Post

Neuromancer wrote:Since I started assisting you with this mod, I've been noticing things every time I'm outside.

We just were on a brief vacation, and all the way home I was staring out the windows looking at the grasses and plants. I noticed a few things. Now that it is between summer and fall, everything isn't green any more. In fact, I saw an ocean of 40% green, 40% yellow, 10% brown, and 1% white. There were some really common plants:
So many varieties of grasses, green on the bottom, and yellow like wheat on the top, brown dried out queen anne's lace, yellow goldenrod, and many varieties of browned stalks, stems and seeds. I wonder if this would be more interesting than all the greens that we currently have. I also noticed lots of bushes that are about 4x4 nodes in size. I wonder if it would be possible to create these larger bushes using some combination of plant and leaf nodes, where the plant nodes could form a network of small branches.

I think that is a big part of the appeal of cattails, they aren't the standard one node sized plant, like most of the plants in the game.

But the other day I was in a vast park that had such a beautiful collection of prairie plants, with so many additional colors intermixed. The thing I mostly noticed in both scenarions the intermingling of these plants altogether so that 1 node would contain yellows, browns, greens, and different mixtures of 3 or so varieties of plants. But I did notice that there are either trees, bushes or plants growing almost on every node of the real world, not the short mowed lawns of the traditional dirt with grass blocks.
Yes, there's a lot of variation in colour and shape in nature. I'd love to see plants in different colours in Minetest (like grass in Minecraft has) and more different sizes.
I'd also like to see more tall grass and plants in general.
But I'm afraid the game would be unplayable, everything would be far too slow, very soon.
Maybe some options for more plants and variation would be a good thing. So the user could try, depending on the limits of the hard- and software, what works.

Noob 4 life!
My stuff

User avatar
Neuromancer
Member
Posts: 958
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Post

I'm having issues bringing reedmace textures into the game. Is there any rule about how to chop up the image (what sizes) and filenames to use.

It used to be, top 16 pixels go to dryplants_reedmace_spikes, 17-32 go to dryplants_reedmace, and 33-bottom go to dryplants_reedmace_bottom. I did that, and didn't touch the left and right images, but they really got strange when I did this.

How wide should left right and center be?
Last edited by Neuromancer on Tue Sep 10, 2013 03:12, edited 1 time in total.

User avatar
Mossmanikin
Member
Posts: 599
Joined: Sun May 19, 2013 16:26
Location: where we don't speak english.

by Mossmanikin » Post

Evergreen wrote:If you need any textures for this, I would be glad to help.
Any help is appreciated. :)
Can't promise your textures will be used "as is", but I'm quite sure I'll at least be inspired or use parts of 'em. ;)
Neuromancer wrote:I'm having issues bringing reedmace textures into the game. Is there any rule about how to chop up the image (what sizes) and filenames to use.

It used to be, top 16 pixels go to dryplants_reedmace_spikes, 17-32 go to dryplants_reedmace, and 33-bottom go to dryplants_reedmace_bottom. I did that, and didn't touch the left and right images, but they really got strange when I did this.

How wide should left right and center be?
Here's a picture of how the textures are used:

Image

The actual size of the surface for the textures is 64x64.
But I use "only" 9 textures for the biggest plant.
The textures used on the picture (with more saturation) are (@ horizontal,vertical):

dryplants_reedmace_top_left.png @ 8,8
dryplants_reedmace_spikes.png @ 24,8
dryplants_reedmace_top_right.png @ 40,8

dryplants_reedmace_left.png @ 8,24
dryplants_reedmace.png @ 24,24
dryplants_reedmace_right.png @ 40,24

dryplants_reedmace_bottom_left.png @ 8,40
dryplants_reedmace_bottom.png @ 24,40
dryplants_reedmace_bottom_right.png @ 40,40

It takes some time to get used to "[combine", but it really has some advantages.
In combination with "visual_scale" one can combine different textures for different plants while still having the same size for pixels (yes, I think it looks ugly otherwise).
This means you can reuse textures for different nodes, while they still look different and you don't have to make a lot of oversized textures.
When not using a texture for a part of the whole plant, it's simply invisible, not a random colour (unless you're not using any texture at all, of course).
Last edited by Mossmanikin on Tue Sep 10, 2013 12:46, edited 1 time in total.

Noob 4 life!
My stuff

User avatar
Neuromancer
Member
Posts: 958
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Post

Evergreen wrote:If you need any textures for this, I would be glad to help.
Awesome, the more people we have working at this, the better our textures will be. What kinds of plants/textures do you think you want to work on?
Last edited by Neuromancer on Wed Sep 11, 2013 01:18, edited 1 time in total.

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

by Evergreen » Post

Neuromancer wrote:
Evergreen wrote:If you need any textures for this, I would be glad to help.
Awesome, the more people we have working at this, the better our textures will be. What kinds of textures do you think you want to work on?
I don't really care, just tell me some of the ones you need, and I'll see what I can do.
Back from the dead!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 2 guests