Jump to content

Alacard

tutorial How to spawn Mermaid, Whales and more

Recommended Posts

I finally figured out how "OceanEpicSpawnEntriesOverrideValues" works and wanted to share my findings with everyone, im going to try to break it down to where anyone can understand it but if you see a way i can in prove it please let me no


Im going to start out of by showing you what i call the "framework" of "OceanEpicSpawnEntriesOverrideValues", and try to break it down to the important parts.

Quote

(NPCSpawnEntries=(
/*
What you want to spawn go's here
*/
),NPCSpawnLimits=,MaxDesiredNumEnemiesMultiplier=4.000000)

The only thing you going to have to change in the "framework" will be "MaxDesiredNumEnemiesMultiplier=", this is what controls how many mobs will spawn total (not per mob spawn), per mob spawn is random (example: lets say you have it set to spawn a mermaid,gentle whale,squid and have "MaxDesiredNumEnemiesMultiplier=" set to 10. What will happen is, it many spawn 3 mermaids, 4 squids, 3 whales, randomly and stop spawning, since 3+4+3=10 and you set "MaxDesiredNumEnemiesMultiplier=" to 10, it will stop spawning new mobs from the "OceanEpicSpawnEntriesOverrideValues")


Now this is where you get to pick what mobs you want to spawn, to make it easier for everyone im going to list all the spawn that i know of and if i missed one please let me know and ill see it gets added to the list

Mean Whale

Quote

(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/MeanWhale/MeanWhale_Character_BP.MeanWhale_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.000000)),NPCsToSpawnPercentageChance=(1.000000))

Gentle Whale

Quote

(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/GentleWhale/GentleWhale_Character_BP.GentleWhale_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.000000)),NPCsToSpawnPercentageChance=(1.000000))

Squid

Quote

(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/Squid/Squid_Character_BP.Squid_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=0.000000)),NPCsToSpawnPercentageChance=(1.000000))

Mermaid

Quote

(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/Mermaid/Mermaid_Character_BP.Mermaid_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=0.000000)),NPCsToSpawnPercentageChance=(1.000000))


Mean Whale Sea Monster

Quote

(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/MeanWhale/MeanWhale_SeaMonster_Character_BP.MeanWhale_SeaMonster_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.000000)),NPCsToSpawnPercentageChance=(1.000000))

GentleWhale Sea Monster

Quote

(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/GentleWhale/GentleWhale_SeaMonster_Character_BP.GentleWhale_SeaMonster_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.000000)),NPCsToSpawnPercentageChance=(1.000000))

ones you have selected what mobs you want to spawn, replace whats blow with what mobs you want IMPORTANT NOTE: after every mob entry (but the very last one) a "," MUST be added at the end of the entry

Quote

/*
What you want to spawn go's here
*/

After you get done, it should look something like this, NOTE the "," that was added at the end of every entry but the last one

Quote

(NPCSpawnEntries=(
(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/MeanWhale/MeanWhale_Character_BP.MeanWhale_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.000000)),NPCsToSpawnPercentageChance=(1.000000)),
(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/Squid/Squid_Character_BP.Squid_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=0.000000)),NPCsToSpawnPercentageChance=(1.000000)),
(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/Mermaid/Mermaid_Character_BP.Mermaid_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=0.000000)),NPCsToSpawnPercentageChance=(1.000000))
),NPCSpawnLimits=,MaxDesiredNumEnemiesMultiplier=4.000000)


You just about done, just make it in to one single line of code with no break, example

(NPCSpawnEntries=((NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/MeanWhale/MeanWhale_Character_BP.MeanWhale_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.000000)),NPCsToSpawnPercentageChance=(1.000000)),(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/Squid/Squid_Character_BP.Squid_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=0.000000)),NPCsToSpawnPercentageChance=(1.000000)),(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/Mermaid/Mermaid_Character_BP.Mermaid_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=0.000000)),NPCsToSpawnPercentageChance=(1.000000))),NPCSpawnLimits=,MaxDesiredNumEnemiesMultiplier=4.000000)

And you done just at that code to "OceanEpicSpawnEntriesOverrideValues" with the server editer, and have fun!

 

 

 

Lets do some testing, after you add you code to "OceanEpicSpawnEntriesOverrideValues" and gave you server a good reboot, do a wild dino wipe with this command 

Quote

enablecheats adminpassword
cheat DestroyWildDinos

One you entered the command, give it a few min. for everything to re-spawn on the server/grid (this is a per grid command, so you will have to do this on every grid that you want to test that you are running), now lets see if our spawns showed up with the below commands

Quote

 

cheat getallstate Mermaid_Character_BP_C

cheat getallstate GentleWhale_Character_BP_C

cheat getallstate MeanWhale_Character_BP_C

cheat getallstate Squid_Character_BP_C

 

Ones you entered the command (for only the ones you want to test) check the console of that grid, if it found a spawn it will list every spawn of that type thats on the server/grid (so if 4 mermaids was spawn you will see it listed 4 times, and if 0 mermaids was spawned it will show nothing) example below

Quote

[826]0) Mermaid_Character_BP_C /Game/Maps/SeamlessTest/Ocean.ocean:PersistentLevel.Mermaid_Character_BP_C_0
[826]1) Mermaid_Character_BP_C /Game/Maps/SeamlessTest/Ocean.ocean:PersistentLevel.Mermaid_Character_BP_C_1
[340]0) MeanWhale_Character_BP_C /Game/Maps/SeamlessTest/Ocean.ocean:PersistentLevel.MeanWhale_Character_BP_C_0
[340]1) MeanWhale_SeaMonster_Character_BP_C /Game/Maps/SeamlessTest/Ocean.ocean:PersistentLevel.MeanWhale_SeaMonster_Character_BP_C_0
[340]2) MeanWhale_SeaMonster_Character_BP_C /Game/Maps/SeamlessTest/Ocean.ocean:PersistentLevel.MeanWhale_SeaMonster_Character_BP_C_1
[340]3) MeanWhale_Character_BP_C /Game/Maps/SeamlessTest/Ocean.ocean:PersistentLevel.MeanWhale_Character_BP_C_1
[340]4) MeanWhale_SeaMonster_Character_BP_C /Game/Maps/SeamlessTest/Ocean.ocean:PersistentLevel.MeanWhale_SeaMonster_Character_BP_C_2
[340]5) MeanWhale_SeaMonster_Character_BP_C /Game/Maps/SeamlessTest/Ocean.ocean:PersistentLevel.MeanWhale_SeaMonster_Character_BP_C_3
[340]6) MeanWhale_Character_BP_C /Game/Maps/SeamlessTest/Ocean.ocean:PersistentLevel.MeanWhale_Character_BP_C_2
[599]0) GentleWhale_SeaMonster_Character_BP_C /Game/Maps/SeamlessTest/Ocean.ocean:PersistentLevel.GentleWhale_SeaMonster_Character_BP_C_1

 

Edited by Alacard
  • Like 1
  • Thanks 3

Share this post


Link to post
Share on other sites

for this is it ok to leave the x, y, and z co-ordinates exactly how they are? or do they need to be modified and if not can you confirm that these creatures have spawned some where you can interact with them with those co-ordinats as in have actualy seen them while out on a boat not via consol comand. also going to add in here if the final line should look like this im not sure if i need the " " in the line or not i know that most other lines have whatever you add in " "

 

"OceanEpicSpawnEntriesOverrideValues": (NPCSpawnEntries=((NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/GentleWhale/GentleWhale_Character_BP.GentleWhale_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.000000)),NPCsToSpawnPercentageChance=(1.000000)),(NPCsToSpawn=(Blueprint GeneratedClass'/Game/Atlas/Creatures/GentleWhale/GentleWhale_SeaMonster_ Character_BP.GentleWhale_SeaMonster_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.00000 0)),NPCsToSpawnPercentageChance=(1.000000)) ,  (NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/Squid/Squid_Character_BP.Squid_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=0.000000)),NPCsToSpawnPercentageChance=(1.000000))),NPCSpawnLimits=,MaxDesiredNumEnemiesMultiplier=15.000000)

Edited by Mrwartooth

Share this post


Link to post
Share on other sites

 

5 hours ago, Mrwartooth said:

for this is it ok to leave the x, y, and z co-ordinates exactly how they are? or do they need to be modified and if not can you confirm that these creatures have spawned some where you can interact with them with those co-ordinats as in have actualy seen them while out on a boat not via consol comand. also going to add in here if the final line should look like this im not sure if i need the " " in the line or not i know that most other lines have whatever you add in " "

 

 

Yes, I have seen this work (me and a Mean Whale Sea Monster had a nice little talk before he got bored and killed my ship lol), for what the cords do, im not 100% sure, but i be leave  0,0 = random spawn but you can set it, to tell what general area to spawn (just not sure if thats world pos, or grid pos)

5 hours ago, Mrwartooth said:

"OceanEpicSpawnEntriesOverrideValues": (NPCSpawnEntries=((NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/GentleWhale/GentleWhale_Character_BP.GentleWhale_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.000000)),NPCsToSpawnPercentageChance=(1.000000)),(NPCsToSpawn=(Blueprint GeneratedClass'/Game/Atlas/Creatures/GentleWhale/GentleWhale_SeaMonster_ Character_BP.GentleWhale_SeaMonster_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.00000 0)),NPCsToSpawnPercentageChance=(1.000000)) ,  (NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/Squid/Squid_Character_BP.Squid_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=0.000000)),NPCsToSpawnPercentageChance=(1.000000))),NPCSpawnLimits=,MaxDesiredNumEnemiesMultiplier=15.000000)

 

hmm seem your spawn code is just a little off, try this

"OceanEpicSpawnEntriesOverrideValues": "(NPCSpawnEntries=((NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/GentleWhale/GentleWhale_Character_BP.GentleWhale_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.000000)),NPCsToSpawnPercentageChance=(1.000000)),(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/GentleWhale/GentleWhale_SeaMonster_Character_BP.GentleWhale_SeaMonster_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.000000)),NPCsToSpawnPercentageChance=(1.000000)),(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/Squid/Squid_Character_BP.Squid_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=0.000000)),NPCsToSpawnPercentageChance=(1.000000))),NPCSpawnLimits=,MaxDesiredNumEnemiesMultiplier=15.000000)",

if you editing the json itself use whats above, but if you using the server editor (https://github.com/GrapeshotGames/ServerGridEditor) use whats below

(NPCSpawnEntries=((NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/GentleWhale/GentleWhale_Character_BP.GentleWhale_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.000000)),NPCsToSpawnPercentageChance=(1.000000)),(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/GentleWhale/GentleWhale_SeaMonster_Character_BP.GentleWhale_SeaMonster_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.000000)),NPCsToSpawnPercentageChance=(1.000000)),(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/Squid/Squid_Character_BP.Squid_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=0.000000)),NPCsToSpawnPercentageChance=(1.000000))),NPCSpawnLimits=,MaxDesiredNumEnemiesMultiplier=15.000000)

 

5 hours ago, Mrwartooth said:

also where is this server console to see the spawned entities?

 

if you self hosting, the window that opens when you start a server, is the console. If you using a hosting company not sure, where you can find the console, going to have to ask them. you cant try checking the log for that grid, but not 100% sure about that.

Edited by Alacard

Share this post


Link to post
Share on other sites
On 1/29/2019 at 8:28 AM, Alacard said:

(NPCSpawnEntries=( (NP CsToSpawn=(BlueprintGenerated Class'/Game/Atlas/Creatures/MeanWhale/MeanWhale_Character_BP.MeanWhale_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.0 00000)),NPCsToSpawnPercentageChance=(2.000000)),(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/MeanWhale/MeanWhale_SeaMonster_Character_BP.MeanWhale_SeaMonster_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.000000)),NPCsToSpawnPercentageChance=(1.000000)) ,(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/Squid/Squid_Character_BP.Squid_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=0.000000)),NPCsToSpawnPercentageChance=(1.000000)),NPCSpawnLimits=,MaxDesiredNumEnemiesMultiplier=12.000000)

 

so this is what i came up with, i do have it in a single line on the map editor but im not so good with this type of stuff. any advice on getting this to work

edit: noticed i have "spaces" in, fixing that

Edited by Reekris

Share this post


Link to post
Share on other sites

we still see no whales on any grid. Added to the OceanEpicSpawn  map editor, and DESTROYED WILD DINOS 

running cheat getallstate GentleWhale_Character_BP_C  never shows one spawning on any of 9 grids

 

(NPCSpawnEntries=((NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/GentleWhale/GentleWhale_Character_BP.GentleWhale_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.000000)),NPCsToSpawnPercentageChance=(1.000000))),NPCSpawnLimits=,MaxDesiredNumEnemiesMultiplier=12.000000)

any idea what we are doing wrong?

thank you for any help

Share this post


Link to post
Share on other sites

I can confirm these DO work. I managed to get all my ocean spawns working thanks to this :) The mermaids and Squids using this method don't spawn just by PVE islands. i found them slightly northwest of the center of each grid at first then they spread out to other areas over time but i'm happy with it so many thanks for the info! 

Share this post


Link to post
Share on other sites

Here's the setup i used if it will help anyone, they are specific to certain grids but you can use them however you want. You can use these in the ServerGridEditor under  OceanEpicSpawnEntriesOverrideValues.

B1
(NPCSpawnEntries=((NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/MeanWhale/MeanWhale_Character_BP.MeanWhale_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.000000)),NPCsToSpawnPercentageChance=(1.000000)),(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/MeanWhale/MeanWhale_SeaMonster_Character_BP.MeanWhale_SeaMonster_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.000000)),NPCsToSpawnPercentageChance=(1.000000)),(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/Squid/Squid_Character_BP.Squid_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=0.000000)),NPCsToSpawnPercentageChance=(1.000000))),NPCSpawnLimits=,MaxDesiredNumEnemiesMultiplier=20.000000)

A2
(NPCSpawnEntries=((NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/GentleWhale/GentleWhale_Character_BP.GentleWhale_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.000000)),NPCsToSpawnPercentageChance=(1.000000)),(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/GentleWhale/GentleWhale_SeaMonster_Character_BP.GentleWhale_SeaMonster_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=-700.000000)),NPCsToSpawnPercentageChance=(1.000000)),(NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/Mermaid/Mermaid_Character_BP.Mermaid_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=0.000000)),NPCsToSpawnPercentageChance=(1.000000))),NPCSpawnLimits=,MaxDesiredNumEnemiesMultiplier=20.000000)


A1
(NPCSpawnEntries=((NPCsToSpawn=(BlueprintGeneratedClass'/Game/Atlas/Creatures/Mermaid/Mermaid_Character_BP.Mermaid_Character_BP_C'),NPCsSpawnOffsets=((X=0.000000,Y=0.000000,Z=0.000000)),NPCsToSpawnPercentageChance=(1.000000))),NPCSpawnLimits=,MaxDesiredNumEnemiesMultiplier=10.000000)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...