[Mod] Decoplants [decoplants]
- SegFault22
- Member
- Posts: 872
- Joined: Mon May 21, 2012 03:17
- Location: NaN
- SegFault22
- Member
- Posts: 872
- Joined: Mon May 21, 2012 03:17
- Location: NaN
Very Special Update!!
---------------------------
I probably should have done this at christmas....but anyway.
This will add a christmas decoplant. It even has a special crafting recipe:
L= Leaves
SI= Steel Ingot
LLL
LSIL
LLL
-------------------------
Isn't that cool?
---------------------------
I probably should have done this at christmas....but anyway.
This will add a christmas decoplant. It even has a special crafting recipe:
L= Leaves
SI= Steel Ingot
LLL
LSIL
LLL
-------------------------
Isn't that cool?
Last edited by Josh on Sun Dec 09, 2012 02:34, edited 1 time in total.
Epic, Epic news! I have made some epic & stunning new textures for the Christmas Decoplant!
Download: https://dl.dropbox.com/u/102401091/decoplants7.zip
------------------------
But beware! these new textures will blow your mind
Download: https://dl.dropbox.com/u/102401091/decoplants7.zip
------------------------
But beware! these new textures will blow your mind
Last edited by Josh on Wed Nov 14, 2012 01:58, edited 1 time in total.
Ok, i am going to use unified dyes to craft the decoplants, how will i add a dependency?SegFault22 wrote:What if, instead of being crafted, the plants spawn at random and can be ''dyed'' to make decorational plants?
Last edited by Josh on Sat Dec 08, 2012 02:07, edited 1 time in total.
- InfinityProject
- Member
- Posts: 1009
- Joined: Sat Mar 17, 2012 00:52
- Location: World of Infinity, US
I see, now i want to add unified dyes to the crafting recipe, what are there init.lua names?InfinityProject wrote:Add a depends.txt in your mod folder, and write in the file the name of the mod you want your mod to depend on.Josh wrote:Ok, i am going to use unified dyes to craft the decoplants, how will i add a dependency?
Last edited by Josh on Sat Dec 08, 2012 03:26, edited 1 time in total.
- InfinityProject
- Member
- Posts: 1009
- Joined: Sat Mar 17, 2012 00:52
- Location: World of Infinity, US
I have actually changed my mind, what about using the default dyes?InfinityProject wrote:Look at the mod's init.lua.
-----------------------
Note: There a 11 decoplants but i have removed 7 so now there are 4, i will eventually add light source to all decoplants. And from now on all the decoplants will be the colors of the default dyes (I will make more)
Last edited by Josh on Sat Dec 08, 2012 04:08, edited 1 time in total.
- InfinityProject
- Member
- Posts: 1009
- Joined: Sat Mar 17, 2012 00:52
- Location: World of Infinity, US
- InfinityProject
- Member
- Posts: 1009
- Joined: Sat Mar 17, 2012 00:52
- Location: World of Infinity, US
- VanessaE
- Moderator
- Posts: 4655
- Joined: Sun Apr 01, 2012 12:38
- GitHub: VanessaE
- IRC: VanessaE
- In-game: VanessaE
- Location: Western NC
- Contact:
If you use the groups method to call upon those dyes, unifieddyes will work with your mod anyway. I believe you use things like "group:basecolor,red" or "group:basecolor,green" in your recipes. Check the default dyes/init.lua for more info on that.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
you know josh you could make the decorative plants be dry shrubs that have been dyed, that would simplify the crafting recipes AND when i first saw the textures for them it kinda reminded me of the shrub. just a suggestion.
Zen S.D.
The next generation of tranquility!malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
Yeah, but now the final/last version of decoplants will be made using leaves and dyes from the default dye mod. And all colors of the default dyes will be all the colors of the decoplants. So the crafting is now very simple.sdzen wrote:you know josh you could make the decorative plants be dry shrubs that have been dyed, that would simplify the crafting recipes AND when i first saw the textures for them it kinda reminded me of the shrub. just a suggestion.
But before i release the final version i would like to know how to add a light source, how do you do it?
Last edited by Josh on Sun Dec 09, 2012 04:08, edited 1 time in total.
- VanessaE
- Moderator
- Posts: 4655
- Joined: Sun Apr 01, 2012 12:38
- GitHub: VanessaE
- IRC: VanessaE
- In-game: VanessaE
- Location: Western NC
- Contact:
If you mean making a plant act as a light source, then in your register_node() call, add this somewhere appropriate:
light_source = LIGHT_MAX - somevalue,
Internally, the engine sets LIGHT_MAX equal to 14, but I suppose that could change in the future. Somevalue is a number you supply, and should probably be in the range of about 3-6 or so. Or you could just set it to a specific value without subtracting, e.g.:
light_source = 10,
A higher final value gives more light, of course.
light_source = LIGHT_MAX - somevalue,
Internally, the engine sets LIGHT_MAX equal to 14, but I suppose that could change in the future. Somevalue is a number you supply, and should probably be in the range of about 3-6 or so. Or you could just set it to a specific value without subtracting, e.g.:
light_source = 10,
A higher final value gives more light, of course.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
Here it is......**The. Final. Version. Of. Decoplants!**
Now all the decoplants can be made using dye (Being placed in the center of the crafting table)
And placing leaves in a square shape (Like your crafting a chest)
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Sorry i left out the light_source feature. I have also included a license: WTFPL
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Enjoy using and playing with my decoplants mod! Download: https://dl.dropbox.com/u/102401091/decoplants.zip
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Now all the decoplants can be made using dye (Being placed in the center of the crafting table)
And placing leaves in a square shape (Like your crafting a chest)
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Sorry i left out the light_source feature. I have also included a license: WTFPL
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Enjoy using and playing with my decoplants mod! Download: https://dl.dropbox.com/u/102401091/decoplants.zip
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Who is online
Users browsing this forum: No registered users and 2 guests