View Single Post
  #50  
Old 06-17-2012, 12:04 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
I'm honestly not sure how much easier I can make this. More verbose perhaps?
  1. As the OP says, give the NPC-server proper rights to the folder where you'll store your levels and the folder where your template levels are stored.


  2. Upload the scripts in the archive attached to the OP, making these changes to the script InstanceManager before hitting "apply":
    • Change the temp path
    • Change the unstick path
    Note: Since it is a SCRIPT, the code for the InstanceManager goes into the NPC's SCRIPT.


  3. Create your instance class (e.g. "quest_instance") from the code in the OP, adjusting it for your situation.


  4. Add your instance type to the script of the InstanceManager, using the commented-out easter map instance type as an example (as stated in OP).


  5. Copy the code in the OP for creating a new instance, adapt it into your code. For example, a door that warps players to a new quest instance:


Congratulations, you're now using instances.


__________________
Reply With Quote