Spawn Encounters

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

Spawn Encounters

Post by Ememjr » Sat Apr 01, 2017 8:29 am

I have not been able to figure out how to spawn an encounter

I am working on some quests that when you reach a certain step linked encounter mobs will spawn, when you finish the encounter the quest updates

so if you have 2 mobs in the encounter both should be killed before an update is allowed,

an example of an in counter that i see in game is a tainted Sapswill fighter is linked to a defiled scout in queens colony , you have 4 deer link in enchanted lands etc.

i want to know how o create the linked encounters and then how to spawn them using the spawnmb command

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

Re: Spawn Encounters

Post by Jabantiz » Sat Apr 01, 2017 4:22 pm

You can link spawns with the "/spawn group" command. As for updating after the encounter is dead, or if you are making a ring event where more spawns pop after the first group is dead there is group dead event in lua (that wiki page is a mess but all the spawn scripts events are still listed)

Code: Select all

function group_dead(Spawn, Spawn)
end
If you want examples then look at nek castle, a decent amount has been scripted in that zone and should be a good example of ring events, updating after a group is killed, and hidden quests (quests with no journal entry)

User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Re: Spawn Encounters

Post by Gangrenous » Sat Apr 01, 2017 7:57 pm

Meaning scripted in our database?
Resident Dirty Hippy

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

Re: Spawn Encounters

Post by Cynnar » Sat Apr 01, 2017 8:06 pm

OMG! How did I get started on that page and not get back to it! Jab remind me to fix that page when we can login and edit wiki. That page looks awful!

Gangrenous I think it's in the spawn script, if that is what you are asking. If not ignore me. :?
[ 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

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

Re: Spawn Encounters

Post by Jabantiz » Sat Apr 01, 2017 9:33 pm

scripted as in spawn scripts, zone scripts, and item scripts. Nek castle is by far the most heavily scripted zone so far and special features needed to be added to get everything working. Smash did a good job on it though and last time I checked it almost felt like live (except for me running around /kill all the mobs to progress....), not sure how far he actually got with it but I believe you can progress to the basement area.

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

Re: Spawn Encounters

Post by Ememjr » Sun Apr 02, 2017 3:38 am

thanks i will look at that

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

Re: Spawn Encounters

Post by Cynnar » Sun Apr 02, 2017 6:28 am

That is awesome! WTG Smash! He is so quiet on what he is working on. I didn't even know he was working on Nek Castle.
[ 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
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Re: Spawn Encounters

Post by Gangrenous » Sun Apr 02, 2017 10:09 am

Who is smash?
Resident Dirty Hippy

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

Re: Spawn Encounters

Post by Cynnar » Sun Apr 02, 2017 10:37 am

A helluva guy!
[ 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