Author Topic: Neshke's Extendable Spawning system question  (Read 357 times)

Legacy_Who said that I

  • Hero Member
  • *****
  • Posts: 931
  • Karma: +0/-0
Neshke's Extendable Spawning system question
« on: August 20, 2015, 01:20:40 pm »


               

okay I was wondering if anyone knew if the NESS spawn system could also be customized in such a way that the kind of creature being spawn depends on the character level that first steps onto the trigger?



               
               

               
            

Legacy_The Mad Poet

  • Hero Member
  • *****
  • Posts: 715
  • Karma: +0/-0
Neshke's Extendable Spawning system question
« Reply #1 on: August 20, 2015, 02:29:29 pm »


               

NESS doesn't work with triggers.


 


And yes, it can spawn based on level. You want to look into the SG flag.



               
               

               
            

Legacy_BelowTheBelt

  • Hero Member
  • *****
  • Posts: 699
  • Karma: +0/-0
Neshke's Extendable Spawning system question
« Reply #2 on: August 20, 2015, 04:51:01 pm »


               

TMP is correct that the SG flag is what you're looking for - and specifically the file spawn_cfg_group, IIRC.  


 


'Scaling' can mean many things, though, each with pros and cons:


 


The LevelUpHenchman() function can be used to upscale monsters to the level of the PC, but that monster's starting HD must be level 1...it won't work on a monster that already has levels.  This is good if you're levelling goblins, but not useful if you want to increase the challenge of a grey render.  To work with NESS, you'd have to change the script call for the resref such that it pre-identified the encounter as one that should call the LevelUpHenchman() function.


 


Alternatively, you can approximate scaling by selectively increasing hp, attacks, abilities, bonuses, item quality, spells, and other attributes through a separate function that applies the effects to the creature.  There are a few script sets out there that do this.  This would also require you to change NESS, as the return value from spawn_cfg_group is a resref string and you'd need to hook your new levelling system into it (e.g. change the call for the resref from a string to a struct, for example, and include the levelling system in the call to spawn_cfg_group to return not just the string, but the levelling info, which would then be applied once NESS spawns the creature).


 


Lastly, you could get NESS to spawn more of the creatures to increase the 'challenge'.



               
               

               
            

Legacy_OldTimeRadio

  • Hero Member
  • *****
  • Posts: 2307
  • Karma: +0/-0
Neshke's Extendable Spawning system question
« Reply #3 on: August 20, 2015, 07:07:59 pm »


               

Totally random aside (because I don't think this might have made it onto the new Vault), but there is a super handy utility for generating flags for NESS, called "Spawn Waypoint Generator", and which can be found here.  Makes the process so much easier. 



               
               

               
            

Legacy_Who said that I

  • Hero Member
  • *****
  • Posts: 931
  • Karma: +0/-0
Neshke's Extendable Spawning system question
« Reply #4 on: August 20, 2015, 11:02:19 pm »


               


Totally random aside (because I don't think this might have made it onto the new Vault), but there is a super handy utility for generating flags for NESS, called "Spawn Waypoint Generator", and which can be found here.  Makes the process so much easier. 




thanks! I will check it out! '<img'>


               
               

               
            

Legacy_meaglyn

  • Hero Member
  • *****
  • Posts: 1451
  • Karma: +0/-0
Neshke's Extendable Spawning system question
« Reply #5 on: August 21, 2015, 05:58:03 pm »


               

Someone just recently posted both that tool and NESS itself to the vault for safe keeping.