View Single Post
  #3  
Old 01-19-2009, 02:51 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Quote:
ENCOUNTER_DESCRIPTION SROHusamAncientNightfall
MONSTER_1_NAME a_desert_madman
MONSTER_1_NIGHT_NAME an_ancient_cyclops
MONSTER_1_PERCENT 10
MONSTER_2_NAME a_sand_giant
MONSTER_2_NIGHT_NAME a_mummy
MONSTER_2_PERCENT 20
MONSTER_3_NAME a_sand_giant
MONSTER_3_PERCENT 10
MONSTER_4_NAME a_dervish_cutthroat
MONSTER_4_PERCENT 30
MONSTER_5_NAME a_desert_madman
MONSTER_5_PERCENT 30
Pretty much exactly what we are doing Though, the thing that interests me is the night spawns are built right into the spawn table. I wonder if we could do away with the spawn_conditions system for that purpose and do something similar.

Something like, each NPC in the spawngroup can be paired with a night time NPC. When that group is spawned, the server checks the time, and if the NPC is paired, spawns the appropriate NPC. Obviously non-paired NPCs would spawn all the time. Of course, this system would require NPCs to despawn and spawn by themselves without being killed, and as much as I would love that functionality, I would assume it would drain system resources like crazy.

Last edited by cavedude; 01-19-2009 at 10:54 PM..
Reply With Quote