Author Topic: Good Random Spawn System?  (Read 392 times)

Legacy_Jenna WSI

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
Good Random Spawn System?
« on: March 01, 2011, 06:33:25 pm »


               We were hoping to be able to place one waypoint down with variables, and creatures pop up in random places across the map... then ran into trouble with needing to tell NWN how far away from a player to place the spawns and how to not have them appear in an invalid location.

Has anyone already worked on something similar that we could take a look at for our server? 

Thanks!
               
               

               
            

Legacy_Buddywarrior

  • Hero Member
  • *****
  • Posts: 512
  • Karma: +0/-0
Good Random Spawn System?
« Reply #1 on: March 01, 2011, 07:01:01 pm »


                I use NESS (I feel like spokes person for it as of late). I tell NESS to have a 50% chance of spawning 1 creature from a group I've created in the ness spawn_group (i think is what it's called) script at a waypoint.  It looks something like this:---------------rand(d6)switch(rand)case 1: spawn a batcase 2: spawn a batcase 3: spawn a batcase 4: spawn a batcase 5: spawn a batcase 6: spawn a NAMED BAT-------------

This is for wandering creatures and I feel gives more of a randomness to creatures being in an area. 
               
               

               
            

Legacy_ffbj

  • Hero Member
  • *****
  • Posts: 1097
  • Karma: +0/-0
Good Random Spawn System?
« Reply #2 on: March 01, 2011, 07:23:43 pm »


               Here is the one I made up which is pretty simple, that is easy to use.  I find it to be a good addition to whatever main spawn system you use. 
http://nwvault.ign.c....detail&id=3318

 There is also Aman Shader's system.

http://nwvault.ign.c....Detail&id=3332
               
               

               


                     Modifié par ffbj, 01 mars 2011 - 07:40 .