Question about shard spawning?

So, I've been trying (yet again) to do a little modding of the shard system and I've run into a problem. Instead of spawning all different types of shards, I wanted a raw shard type to spawn initially. I took a copy of the CoreShard file to the modding folder, set the rarity of all the existing types to 0, and created a new shard type with a non-zero rarity (first 100, then 20).

Problem is, I get something like this on map generation. Shards everywhere! Does anyone have any insight? All the life-shard looking things are the new base shard type.

 

EDIT: Ok, the spawn rate seems to depend on <MinPerPlayer> tag of all the shards, even the ones that have their rarity set to 0. Weird. 

 

3,978 views 2 replies
Reply #1 Top


I do know that the rarity of other world resources is set much higher than 50 or 100. Iron Ore for example is 300. Other things like the Temple Ruins is at 450 (I think).

Perhaps it is working correctly, but you are just looking at rarity the wrong way? (or perhaps I am...)

Reply #2 Top

Still getting the overload when rarity is set to 3000.0. The only thing I've been able to figure out to decrease the number is to decrease the MinPerPlayer tag on the other shards. Frustrating.