Spawnnign groups of mobs

Discussions of the design and development of in-game content.

Moderator: Team Members

Post Reply
User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Spawnnign groups of mobs

Post by Ememjr » Sat May 13, 2017 1:26 pm

i am trying to spawn 4 groups of 2 oakmyst spiders, i get them spawned, but for the life of me i cant figure out how to make them linked to gether so when you target one the other has circle around it as well, i thought it had to do with the combine command, but that just combine every mob in the zone with a group id of 0 together

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Spawnnign groups of mobs

Post by Jabantiz » Sat May 13, 2017 4:25 pm

Are you spawning through a script or just placing in the world? Placing in the world you just need to use the /spawn group command to link them together. If it is through a script there is currently no way to group them through the script.

If spawning through a script there may be a workaround but I have never tried it, basically place them in the world where they would spawn and group them, then set the percent to spawn to 0 so they never show in the world. In the spawn script spawn them by location id and it may be possible that they will be linked.

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: Spawnnign groups of mobs

Post by Ememjr » Sun May 14, 2017 2:44 am

spawning directly in the world, i can not find details in the wiki for spawn group command

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: Spawnnign groups of mobs

Post by Ememjr » Sun May 14, 2017 3:18 am

ok got it figured outby looking through the code for spawn group commands, for those that would like to know how i did it here goes

spawned to oakmyst spiders with the spawn 1950014 (twice)
/spawn add new "spider" on both
/reload spawns ( this was important because next step did not work if i didnt do it first)
target the first spider
/spawn group create spider
you will get a message that you succesfully created a new spawn group with id xxxxx
remember the id for the later
target your second spider
/spawn group add xxxxxxx ( xxxxxxx= the spawn group id from above
/reload spawns
now when you target one they will both have target rings

User avatar
Cynnar
Project Leader
Posts: 738
Joined: Sat Sep 27, 2014 1:22 am
EQ2Emu Server: Eq2emulator
Characters: Vlash
Veinlash
Taragak
Cynnar

Re: Spawnnign groups of mobs

Post by Cynnar » Mon May 15, 2017 2:17 am

That sounds about right. Look under Spawn Group Associations on the wiki. That should have all the steps needed
[ 01000011 01111001 01101110 01101110 01100001 01110010 ]

Follow on:
Twitter Facebook

Contact me:
PM Discord chat email

Hardware: the parts of a computer that can be kicked

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: Spawnnign groups of mobs

Post by Ememjr » Mon May 15, 2017 7:27 am

thanks cynnar, i had seen that post before and could not find it again

User avatar
Cynnar
Project Leader
Posts: 738
Joined: Sat Sep 27, 2014 1:22 am
EQ2Emu Server: Eq2emulator
Characters: Vlash
Veinlash
Taragak
Cynnar

Re: Spawnnign groups of mobs

Post by Cynnar » Mon May 15, 2017 1:25 pm

NP. It seems to be hidden in the World Developer/Content Design Section. It seems information gets overlooked here often. Hell even I can't find some things, and I reworked it once already.

I'm not much for designing stuff, so if you have ideas about the wiki throw up a post and tell me your ideas. I'll look them over and then try to convince you to be the wiki guy. :mrgreen:
[ 01000011 01111001 01101110 01101110 01100001 01110010 ]

Follow on:
Twitter Facebook

Contact me:
PM Discord chat email

Hardware: the parts of a computer that can be kicked

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: Spawnnign groups of mobs

Post by Ememjr » Mon May 15, 2017 6:16 pm

i am the same way, when i was in the remolding business i would tell people to bring me a design and ill build you a beautiful kitchen,
but dont expect me to design you a beautiful kitchen

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: Spawnnign groups of mobs

Post by John Adams » Tue May 16, 2017 8:10 am

FYI, there is also a /spawn template command, though I do not think it templatizes "group/association" set ups. But it could be handy if you're manually popping similar configs around a zone.

http://eq2emulator.net/phpBB3/viewtopic.php?f=9&t=2914

User avatar
Cynnar
Project Leader
Posts: 738
Joined: Sat Sep 27, 2014 1:22 am
EQ2Emu Server: Eq2emulator
Characters: Vlash
Veinlash
Taragak
Cynnar

Re: Spawnnign groups of mobs

Post by Cynnar » Tue May 16, 2017 1:40 pm

Thanks John! I love templates! I need to move that to the wiki someday as I don't think it's there yet. Like I said I loose stuff on the wiki all the time. I really need to find a better way to present what the wiki has.

Time for some research.
[ 01000011 01111001 01101110 01101110 01100001 01110010 ]

Follow on:
Twitter Facebook

Contact me:
PM Discord chat email

Hardware: the parts of a computer that can be kicked

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests