Aller au contenu

Photo

Good Random Spawn System?


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Jenna WSI

Jenna WSI
  • Members
  • 1 078 messages
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!

#2
Buddywarrior

Buddywarrior
  • Members
  • 256 messages
 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. 

#3
ffbj

ffbj
  • Members
  • 593 messages
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 .