Author Topic: Custom Creature Spawn  (Read 368 times)

Legacy_Buddywarrior

  • Hero Member
  • *****
  • Posts: 512
  • Karma: +0/-0
Custom Creature Spawn
« on: February 07, 2011, 08:33:50 pm »


               I'm thinking of making a simple creature spawner for a very small PW that does the following.

Spawns one random mob from a list at a waypoint. One custom mob per waypoint.
On mobs death, a 10min timer runs untill the their is a respawn again at that waypoint.

My question is. Does this cause a huge load on the server or should I be fine as long as I don't have more than 10 people on my server?
               
               

               
            

Legacy_Xovian

  • Full Member
  • ***
  • Posts: 158
  • Karma: +0/-0
Custom Creature Spawn
« Reply #1 on: February 08, 2011, 12:58:18 am »


               Sounds like you just need to use the encounter system and attach the different creatures you plan to use for it. It'd be simpler then having to script, and should still do what you are asking as spawn points can be used (even multiple) for the encounter system.



I suppose you could make a trigger that gets the creatures by tag so a specific way point only spawns a specific creature if you really wanted. As to server load, since the trigger is basiclly just a glorified encounter, I don't think you have to worry about the server load as they don't use much in the way of resources unless you're going to use a few thousand of em.
               
               

               
            

Legacy_Buddywarrior

  • Hero Member
  • *****
  • Posts: 512
  • Karma: +0/-0
Custom Creature Spawn
« Reply #2 on: February 08, 2011, 01:40:27 am »


               

Xovian wrote...

I suppose you could make a trigger that gets the creatures by tag so a specific way point only spawns a specific creature if you really wanted.


I know it's a hassle, but I can get alot more control this way just using local variables. For example, I can quickly make various degrees of 'rare spawns'.


Xovian wrote...

 As to server load, since the trigger is basiclly just a glorified encounter, I don't think you have to worry about the server load as they don't use much in the way of resources unless you're going to use a few thousand of em.

This is exactly what I needed to confirm. Thanks Xovian.
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Custom Creature Spawn
« Reply #3 on: February 08, 2011, 01:53:07 am »


               

Buddywarrior wrote...

I'm thinking of making a simple creature spawner for a very small PW that does the following.

Spawns one random mob from a list at a waypoint. One custom mob per waypoint.
On mobs death, a 10min timer runs untill the their is a respawn again at that waypoint.

My question is. Does this cause a huge load on the server or should I be fine as long as I don't have more than 10 people on my server?


It really come down to how effecient/ineffecient the script you use are.  Without seeing the scripts no judgment call can really be made.  if the scripts are efficient it should not cause a problem.
               
               

               
            

Legacy_Xovian

  • Full Member
  • ***
  • Posts: 158
  • Karma: +0/-0
Custom Creature Spawn
« Reply #4 on: February 08, 2011, 01:58:06 am »


               

Lightfoot8 wrote...

It really come down to how effecient/ineffecient the script you use are.  Without seeing the scripts no judgment call can really be made.  if the scripts are efficient it should not cause a problem.


True enough Lightfoot, but making custom encounters is fairly simple as long as it does just that.
-Spawn creature at X_tag.
-It dies.
-Timer starts.
-Respawn creature at X_tag
....repeat as needed.

Unless someone is trying to add an ungodly amount of commands/instructions, I dont see these scripts being complicated. Like i said resource wise, unless you make just a silly amount of them, no one is going to notice.

Reminds me, I need to go dig up my WP respawn script in my template folder later, when i get home....
               
               

               


                     Modifié par Xovian, 08 février 2011 - 01:59 .