Hello There, Guest! Login Register


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Named Saber Crystals
#21
I still get a build error, installed everything correctly. :/
 
Reply
#22
(2017-08-09, 11:08 PM)ShenLongKazama Wrote: I still get a build error, installed everything correctly. :/

Can you paste the error code in here please...
 
Reply
#23
(2017-08-10, 08:28 AM)gyrantol Wrote:
(2017-08-09, 11:08 PM)ShenLongKazama Wrote: I still get a build error, installed everything correctly. :/

Can you paste the error code in here please...

Got it working. Also, disabling bloom makes the blades really look much better.
 
Reply
#24
You could go a step further like I did like a few years ago
http://imgur.com/wutcUif
 
Reply
#25
(2017-08-16, 04:03 AM)Skyyyr Wrote: You could go a step further like I did like a few years ago
http://imgur.com/wutcUif

Or a step further and add no-trade to tuned crystals.
 
Reply
#26
(2015-05-11, 01:12 PM)Lasko Wrote: 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

---------------------------
---------------------------


I got an error message while building using your code.

This is the fix for my build:

Code:
if (colorMax != 31) {
int finalColor = Math::min(color, 30);
setColor(finalColor);
updateCrystal(finalColor);

Thank you. That's great.
 
Reply
#27
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?
 
Reply
#28
(2017-11-07, 07:53 PM)Aeryna Wrote: 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?

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 low
 
Reply
#29
maybe it's that . Good point.
 
Reply
#30
(2017-08-16, 04:03 AM)Skyyyr Wrote: You could go a step further like I did like a few years ago
http://imgur.com/wutcUif

How might I do this? I'd like to tinker with it a bit and can't seem to get it to work lol

Thanks in advance.
 
Reply
  



Forum Jump:


Browsing: 1 Guest(s)