Author Topic: Crafting GUI  (Read 2317 times)

You put in a texture file like base/data/shapes/black25.png and than it colors the model the color of whatever texture you put in.
oh :(


Why the long face?
because
that makes more manual labor :C

WAIT GENIUS IDEA

stuff where the forget is the brown file?

stuff where the forget is the brown file?
I used Add-Ons/Weapon_Bow/brown.blank.png for that picture.

function loadDefaultItems()
{
   CTS.AddItem(swordItem,1,"LightGrey");
   CTS.AddItem(bowItem,2,"Brown");
   CTS.AddItem(gunItem,3,"Grey");
   CTS.AddItem(akimboGunItem,4,"DarkGrey");
   CTS.AddItem(rocketLauncherItem,5,"Green");
}


woohoo!
CTS = Craft To Survive.
Most things are working, bugs in the GUI are slowing me down and I haven't been able to test the leveling system.
« Last Edit: January 12, 2013, 03:56:28 PM by Brian Smithers »

If I was to use this, I would need to swap the default models out..

What do you mean?

"Would you like to craft SWORD for 2 steel?

steel would be a variable added through VCE

This would go great with my Survival RP