I just installed this but all named crystals are brown, I made change from 11 to 30. Still same thing. What do i need to look at. DId the colors work right for you?Lasko said:Just copy, add to serverobjects, build & enjoy!
If you update from unstable this is the src bit that extends the colour palette.
if (colorMax != 31) {
int finalColor = MIN(color, 30);
setColor(finalColor);
updateCrystal(finalColor);
Download
Git Commit
open the lightsaber palette in SIE, they're all there.2twisted said:anyone know the color codes? i want to make a good orange custom crystal
Can you paste the error code in here please...ShenLongKazama said:I still get a build error, installed everything correctly. :/
Got it working. Also, disabling bloom makes the blades really look much better.gyrantol said:Can you paste the error code in here please...ShenLongKazama said:I still get a build error, installed everything correctly. :/
Or a step further and add no-trade to tuned crystals.Skyyyr said:You could go a step further like I did like a few years ago
http://imgur.com/wutcUif
---------------------------Lasko said:Just copy, add to serverobjects, build & enjoy!
If you update from unstable this is the src bit that extends the colour palette.
if (colorMax != 31) {
int finalColor = MIN(color, 30);
setColor(finalColor);
updateCrystal(finalColor);
Download
Git Commit
if (colorMax != 31) {
int finalColor = Math::min(color, 30);
setColor(finalColor);
updateCrystal(finalColor);
And how to add them to loot tables for a npc?
lootGroups = {
{
{group = "power_crystals", chance = 700000},
{group = "crystal_qui_gons_devotion", chance = 700000},
{group = "......................
............
}
lootchance = 8000000
}
},
The most common problem with loot groups is the balance. All the groups need to add up to 10000000 (100%) if you get it wrong it can cause problems. At the moment you have power crystals and the named crystal at 7% drop so quite lowAeryna said:Can't get them work like loot using a npc:
Code:And how to add them to loot tables for a npc? lootGroups = { { {group = "power_crystals", chance = 700000}, {group = "crystal_qui_gons_devotion", chance = 700000}, {group = "...................... ............ } lootchance = 8000000 } },
They all are added to "group.lua" and "items.lua". And they can be created using /obj createloot crystal_qui_gons_devotion.
Only the power_crystals loot is added.
Which's the problem?
How might I do this? I'd like to tinker with it a bit and can't seem to get it to work lolSkyyyr said:You could go a step further like I did like a few years ago
http://imgur.com/wutcUif