How to create the updated treelist?
Blitz3D Forums/Blitz3D Programming/How to create the updated treelist?
| ||
After overcomming all the blitz3d problems i encountered, i finally find that my blitztrees treelist.txt is wrong and it refuses to load. I have looked at the help file but that just tells you how to setup a treelist with the non-updated version (with out rgb values). Does anyone know how to layout one with rgb values? Here is an example of my treelist.txt 3 Trees\birch_adult\birch_adult.btr 5 5 5 Trees\pine1\pine1.btr 5 5 5 Trees\spruce_tall\spruce_tall.btr 5 5 5 I just need to add the rgb values in there somewhere... but where? |
| ||
Well... isnt that cool. I'm going to answer my own post. I have found out how you are supposed to make the tree lists, but i find that my graphics card drivers crash every so often so every 5 or so times i test it, windows has a cry. Anyway here is the revised list, and this one works! 3 0 0 255 Trees\birch_adult\birch_adult.btr 5 5 5 0 255 0 Trees\pine1\pine1.btr 5 5 5 255 0 0 Trees\spruce_tall\spruce_tall.btr 5 5 5 So it creates an adult birch on a blue pixel, a pine on a green pixel, and a tall spruce on a red pixel. Piece of cake really. Dont know why i didnt think of it sooner. |