Aller au contenu

Photo

Lengthening duration of summons and scaling their attack &ac with PC


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

#26
sapientCrow

sapientCrow
  • Members
  • 64 messages
http://pastebin.myrror.net/3483
here it is.
I dont have the feats in yet because im still trying to figure out if its btter to just do the timer and added bonuses to attack and ac in script and tweak a template.
in any case the delay command is the one causing the rror. Maybe it needs to be inside?

#27
kevL

kevL
  • Members
  • 4 056 messages
yep, that's exactly it; you put it outside of "scope"

tuck it in under ApplyEffect...

#28
sapientCrow

sapientCrow
  • Members
  • 64 messages
cool beans.
Thanks again. What would I add to the script call to have it send string values like your loot system to the chat window?
Are 2da files something that gets an include if for example I wanted to set up a 2da that adjusts the timer and bonuses. This way I could send that adjustment to each summon script. I am planning on doing this for all summons.
Now to figure out the feats.

I looked at the topic about viewing and editing templates.
I have a template for a creature open but I am unsure after adjusting any properties how to save it.
Does the toolset export single creature files so it doesn't apply to global file?
Will it open UTC files?

#29
kevL

kevL
  • Members
  • 4 056 messages
I suggest that you create a test module. Nothing fancy, just a big green area that you'd use to test out stuff.

Turn off auto-save, save in directory mode, and learn the mysteries


Saved .Utc's go to either the module you're working on, or the override ( i think ). There's also Rightclick, Save as blueprint...

i think there's an option somewhere that *allows/disallows* editing blueprints (or something like that). In any case the global files never (rarely) get modified. Use your discretion.

See the loot system for how to send string, and other variables to the chat window. See the Pia for how to access a .2da


ofc prefix Google searches with "nwn2 ".  :wizard:

#30
sapientCrow

sapientCrow
  • Members
  • 64 messages
Hey I am still having an issue with the delay command.
here is the newest in pastebin
without the delay it compiles and with the delay it returns errors

#31
Dann-J

Dann-J
  • Members
  • 3 161 messages
Try putting a zero before the 'f':

DelayCommand(2.0f, DoBuffs(nSpellID));

I usually don't bother with the 'f' at all. As long as there is a decimal point there, with another number right after it, the script assumes it's a float.

Modifié par DannJ, 30 octobre 2013 - 02:48 .