Author Topic: Problem with some caster spawns.  (Read 507 times)

Legacy_Lazarus Magni

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
Problem with some caster spawns.
« on: July 27, 2011, 08:21:50 pm »


               For some reason some caster spawns are not casting their spells. Anybody know what causes this, and how to fix it?
               
               

               
            

Legacy_kalbaern

  • Hero Member
  • *****
  • Posts: 1531
  • Karma: +0/-0
Problem with some caster spawns.
« Reply #1 on: July 28, 2011, 03:39:28 am »


               Wrong factions or poor AIs. Are you using the default Bioware AIs or something else?
               
               

               
            

Legacy_Lazarus Magni

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
Problem with some caster spawns.
« Reply #2 on: July 28, 2011, 03:56:47 am »


               The faction is hostile, and the PW is using Jasperr's AI.
               
               

               


                     Modifié par Lazarus Magni, 28 juillet 2011 - 02:57 .
                     
                  


            

Legacy_kalbaern

  • Hero Member
  • *****
  • Posts: 1531
  • Karma: +0/-0
Problem with some caster spawns.
« Reply #3 on: July 28, 2011, 04:02:56 am »


               I'll guess that it's improperly set up then.

- Do all casters act dumb or just some new specific ones you've made?

- If all are not casting, then as a test, open the Bandit Mage in the standard Pallette (NPCs/Human) and save their scripts in a template. Then use that template to update a caster using Jasperr's AI and see if it helps some.
               
               

               
            

Legacy_Lazarus Magni

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
Problem with some caster spawns.
« Reply #4 on: July 28, 2011, 04:14:26 am »


               Most casters are casting, however yes, new ones or updated old ones seem to be the ones having trouble. I will try swapping out those scripts and seeing if that does it. Thanks for the idea!
               
               

               


                     Modifié par Lazarus Magni, 28 juillet 2011 - 03:25 .
                     
                  


            

Legacy_kalbaern

  • Hero Member
  • *****
  • Posts: 1531
  • Karma: +0/-0
Problem with some caster spawns.
« Reply #5 on: July 28, 2011, 04:47:22 am »


               Check an existing caster using your custom AI and under the advanced tab in its properties, see if there are variables set that those scripts depend on. If so, Use editted copies of those casters that preform as desired to create your new ones.
               
               

               
            

Legacy_Lazarus Magni

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
Problem with some caster spawns.
« Reply #6 on: July 28, 2011, 09:13:00 am »


               Sure enough swapping out the x2 scripts for the nw_c2 scripts solved the problem. Thank you!
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Problem with some caster spawns.
« Reply #7 on: July 28, 2011, 07:46:20 pm »


               For anyone else who doesnt use custom AI and has these issues:

1) Always make a caster as a copy of other caster NPC. -> since patch 1.69 it seems that any creature created via creature wizard cannot cast spell!
2) Check if the caster has appropriate caster ability, they wont cast implode without 19wisdom.
3) Always add combat casting to the NPC.
4) Always use wizard for arcane spellcaster cos you can directly set number of spells there. For sorcerrers you can only set known spells and spell count is decided from charisma/lvl automatically.