Yez's Cluster Swag Shop
  • Home
  • Shop
    • Apparel >
      • Baseball Cap
      • Phoenix Youth Short Sleeve T-Shirt
      • Phoenix Adult Short Sleeve T-Shirt
      • Phoenix Youth Hoodie
      • Phoenix Adult Hoodie
      • Phoenix Youth Zippies
      • Phoenix Adult Zippies
    • Housewares >
      • Phoenix Sweatshirt Blanket
      • Coffee Mug
      • License Plate
      • Mouse Pad
    • Gift Cards
    • Donations and Memberships >
      • Donate to the Cluster
  • YAG
  • Find the Servers
    • XBox/Win 10
    • Steam
  • Steam Servers

Spawn Codes - A Primer

There are 3 codes. They are similar, but have major differences.

The most popular is the ADD Dinos to a spawn. You also have the option to SUBTRACT Dinos from a spawn. And finally, you can REPLACE an ENTIRE spawn with whatever you like.

ADD:

Sample Spawn Code:

ConfigAddNPCSpawnEntriesContainer=(NPCSpawnEntriesContainerClassString=
"DinoSpawnEntriesBeach_C",NPCSpawnEntries=((AnEntryName="GigaSpawner", EntryWeight=0.1,NPCsToSpawnStrings=("Gigant_Character_BP_C"))), NPCSpawnLimits=((NPCClassString="Gigant_Character_BP_C",MaxPercentageOfDesiredNumToAllow=0.01)))

Note the parenthesis’, commas, and quotes. These are important!  To add more than 1 dino to a single spawn you simply need to take the entire spawn entry, and copy it, inside the NPCSpawnEntries (), separating them by commas, and do the same for the NPCSpawnLimits. You can only have ONE ADD spawn code PER spawn. If you have 2 spawns with the same Class string, neither will work. Additional samples are at the end of the document for reference.

Entry - (AnEntryName="GigaSpawner", EntryWeight=0.1,NPCsToSpawnStrings=("Gigant_Character_BP_C"))

Spawn Limit - (NPCClassString="Gigant_Character_BP_C",MaxPercentageOfDesiredNumToAllow=0.01)


SUBTRACT:

Sample Spawn Code:

ConfigSubtractNPCSpawnEntriesContainer=(NPCSpawnEntriesContainerClassString="DinoSpawnEntriesBeach_C",NPCSpawnEntries=((NPCsToSpawnStrings=("Ptero_Character_BP_C"))),NPCSpawnLimits=((NPCClassString="Ptero_Character_BP_C")))

Note the parenthesis’, commas, and quotes. These are important!  To remove more than 1 dino to a single spawn you simply need to take the entire spawn entry, and copy it, inside the NPCSpawnEntries (), separating them by commas, and do the same for the NPCSpawnLimits. You can only have ONE SUBTRACT spawn code PER spawn. If you have 2 spawns with the same Class string, neither will work.

Entry - (NPCsToSpawnStrings=("Ptero_Character_BP_C"))

Spawn Limit - (NPCClassString="Ptero_Character_BP_C")


REPLACE:

Sample Spawn Code:

ConfigOverrideNPCSpawnEntriesContainer=(NPCSpawnEntriesContainerClassString="DinoSpawnEntriesMountain_C",NPCSpawnEntries=((AnEntryName="CarnoSpawner", EntryWeight=0.1,NPCsToSpawnStrings=("Carno_Character_BP_C"))),NPCSpawnLimits=((NPCClassString="Carno_Character_BP_C", MaxPercentageOfDesiredNumToAllow=0.5)))

Note the parenthesis’, commas, and quotes. These are important!  To add more than 1 dino to a single spawn you simply need to take the entire spawn entry, and copy it, inside the NPCSpawnEntries (), separating them by commas, and do the same for the NPCSpawnLimits. You can only have ONE REPLACE spawn code PER spawn. If you have 2 spawns with the same Class string, neither will work. THIS NEGATES BOTH ADD AND SUBTRACT CODES.

Entry - (AnEntryName="CarnoSpawner", EntryWeight=0.1,NPCsToSpawnStrings=("Carno_Character_BP_C"))

Spawn Limit - (NPCClassString="Carno_Character_BP_C",MaxPercentageOfDesiredNumToAllow=0.5)


FURTHER EXPLANATION (Example is an ADD code):

Spawn codes consist of 5 main parts.
  1. Spawn class string. This is the name of the spawn you are referencing. Most match the wild card spawns exactly.  They can be found here: https://ark.gamepedia.com/Spawn_Entries. If you don’t know where the spawns are, you can determine that using the spawn map for the map you are using. Here is the link to Rag’s. You can find links to the others at the bottom of the page. https://ark.gamepedia.com/Spawn_Map_(Ragnarok)
  2. Dino Entity Id. This is the dino you want to spawn. This is dictated by wild card too. They can be found here: https://ark.gamepedia.com/Creature_IDs
  3. Entry Name. This is your specific identifier for this dino in this spawn. It can be anything you want, but it needs to be unique.
  4. Entry weight. Imagine there is a claw machine with all the dinos that spawn in this spawn. And on the table is a circle. Every time the program sees an opening for a new dino to spawn, it grabs one from the claw machine, and puts it in the circle. The circle can only hold a fixed number of dinos. The entry weight is the likelihood that this particular dino will be pulled out of the claw machine. Wild Card coded dinos have a weight of between 1 and .3. So, lets convert that to a number we can work with. We’ll multiply it by 100. 1*100 = 100. imagine there are 100 of each of those dinos in the claw machine. And you have a weight of .001 (convert 100 * .001 = 1). How often do you think your 1 is gonna be selected when there are probably a half dozen species with 100 each in the machine? Pretty much never.
  5. Max percentage. This is about that circle on the table. It's a percentage.  So .1= 10%, .5=50% and so on. You are setting the percentage of the total dinos that are spawned at any given time. Let's say for simplicity that 100 dinos can exist in a given spawn. If your max percentage is .6, that means that you can have 60 of this one dino at once. Will you? Well that depends on several things.

Balance is key.  Let's stick with the same example of 100 dinos. Let's say you have paras at 60%, spinos at 50%, and trikes at 30%. Well that's 140%! So clearly you can't have all of those at the same time.  That's where weight becomes important.  If there are 100 of each of those in the claw machine, statistically,  you would end up with 33% paras, 33% spinos and 33% trikes. BUT, we've limited trikes to 30%, so when trikes hit 30%, we stop pulling them, making us end up with 30% trikes, and 34.5% spinos, and 34.5% paras. Paras and spinos never even get close to their max percentages.

But what happens if we change the weights? Let's say, instead of 100 (1) for each, we have 30 (.3) for spinos, 20 (.2) for paras, and 5 (.05) for trikes. Now. Statistically,  you are more likely to grab a spino than a para, and far more likely than a trike.  How does that affect your numbers? You are probably going to end up with something more like 50% spinos, 40% paras, and 10% trikes. In this case, only spinos hit their max percentage. So it comes down to balance.

Lastly, that circle drawn on the table? It's just ink. Dinos wander, often times out of their circles. Overspawn problems occur mainly because dinos with high weights and high percentages leave the spawn, making room for more to spawn. This is especially problematic in areas where spawns overlap. Adjust accordingly.

ADDITIONAL SAMPLES
Proudly powered by Weebly
  • Home
  • Shop
    • Apparel >
      • Baseball Cap
      • Phoenix Youth Short Sleeve T-Shirt
      • Phoenix Adult Short Sleeve T-Shirt
      • Phoenix Youth Hoodie
      • Phoenix Adult Hoodie
      • Phoenix Youth Zippies
      • Phoenix Adult Zippies
    • Housewares >
      • Phoenix Sweatshirt Blanket
      • Coffee Mug
      • License Plate
      • Mouse Pad
    • Gift Cards
    • Donations and Memberships >
      • Donate to the Cluster
  • YAG
  • Find the Servers
    • XBox/Win 10
    • Steam
  • Steam Servers