[Mod] Decoplants [decoplants]

User avatar
SegFault22
Member
Posts: 872
Joined: Mon May 21, 2012 03:17
Location: NaN

by SegFault22 » Post

What if, instead of being crafted, the plants spawn at random and can be ''dyed'' to make decorational plants?
:D
"All we need it the right major crisis and the nations will accept the new world order."

Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

Hmm.....well maybe that would be good. Would it be best to use unified dyes or the default mod?
Last edited by Josh on Wed Oct 10, 2012 02:54, edited 1 time in total.

User avatar
SegFault22
Member
Posts: 872
Joined: Mon May 21, 2012 03:17
Location: NaN

by SegFault22 » Post

Unified dyes if you want a large variety; default dyes if you want less non-default dependencies.
"All we need it the right major crisis and the nations will accept the new world order."

Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

Just to let you know that if anyone can make better texture's i will add them.

Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

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?
Last edited by Josh on Sun Dec 09, 2012 02:34, edited 1 time in total.

Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

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 :D
Last edited by Josh on Wed Nov 14, 2012 01:58, edited 1 time in total.

Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

SegFault22 wrote:What if, instead of being crafted, the plants spawn at random and can be ''dyed'' to make decorational plants?
:D
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 02:07, edited 1 time in total.

User avatar
InfinityProject
Member
Posts: 1009
Joined: Sat Mar 17, 2012 00:52
Location: World of Infinity, US

by InfinityProject » Post

Josh wrote:Ok, i am going to use unified dyes to craft the decoplants, how will i add a dependency?
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
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

InfinityProject wrote:
Josh wrote:Ok, i am going to use unified dyes to craft the decoplants, how will i add a dependency?
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.
I see, now i want to add unified dyes to the crafting recipe, what are there init.lua names?
Last edited by Josh on Sat Dec 08, 2012 03:26, edited 1 time in total.

User avatar
InfinityProject
Member
Posts: 1009
Joined: Sat Mar 17, 2012 00:52
Location: World of Infinity, US

by InfinityProject » Post

Look at the mod's init.lua.

Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

InfinityProject wrote:Look at the mod's init.lua.
I have actually changed my mind, what about using the default dyes?
-----------------------
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.

User avatar
InfinityProject
Member
Posts: 1009
Joined: Sat Mar 17, 2012 00:52
Location: World of Infinity, US

by InfinityProject » Post

Same thing as you would do for unified dyes.

Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

InfinityProject wrote:Same thing as you would do for unified dyes.
i see, so that would be default:green or dyes:green in init.lua?

User avatar
InfinityProject
Member
Posts: 1009
Joined: Sat Mar 17, 2012 00:52
Location: World of Infinity, US

by InfinityProject » Post

Are dyes in the default mod? No, they are in the dyes mod. The modname is "dye" so you know that you would have "dye:something". I'm assuming it's dye:green but I'm too lazy to look.

Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

InfinityProject wrote:Are dyes in the default mod? No, they are in the dyes mod. The modname is "dye" so you know that you would have "dye:something". I'm assuming it's dye:green but I'm too lazy to look.
I had a look, seem's correct, now i will just test them and then add light source to them :)

User avatar
VanessaE
Moderator
Posts: 4655
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

by VanessaE » Post

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)

Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

Please note: I have removed the download links of all decoplants up to Version 7 (You can still download Version 7)
Because i wanted to clean up my Dropbox folder :)

User avatar
sdzen
Member
Posts: 1170
Joined: Fri Aug 05, 2011 22:33
Location: Paradise (your not allowed)

by sdzen » Post

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

Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

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.
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.
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.

User avatar
VanessaE
Moderator
Posts: 4655
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

by VanessaE » Post

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.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
Aqua
Member
Posts: 641
Joined: Wed Aug 22, 2012 09:11
Location: Sydney~Singapore
Contact:

by Aqua » Post

As I said before...
Aqua wrote:to make glowing decoplants add this "light_source = 14," that'll be cool
Hi there ^.~

Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

Aqua wrote:As I said before...
Aqua wrote:to make glowing decoplants add this "light_source = 14," that'll be cool
Thank's i will do that then release it :)
(This will be the final version)

Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

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
-------------------------------------------------------------------------------------------------------------------------------------------------------------

Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

I would appreciate if someone *COUGHDAVIDCOUGH* could make a review of Decoplants :)
P.S: Anyone can make a review :D

User avatar
davidpace
Member
Posts: 685
Joined: Wed Oct 17, 2012 11:09
Location: United States

by davidpace » Post

A video review? :-)
Taking a break for a while see ya guys!

In some of my posts I will be putting "Secret" White sentences.. Tell me if you see them!!! :D

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests