Aller au contenu

Photo

Spawning Hostile Monsters If the Player Casts a Spell


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

#1
Sabranic

Sabranic
  • Members
  • 306 messages

As we near Beta 1, I have been reading through my various copies of the Tomb of Horrors, seeing if anything "big" has been missed, and I noticed this gem:

 

“Character who become astral or ethereal in the Tomb will attract a type I-IV demon 1 in 6, with a check made each round.”

 

Oh my. 

 

Is it possible to conjure some variety of tanar'ri whenever someone casts Etherealness, Ethereal Jaunt, and Ethereal Visage?

 

I suppose going Ethereal is not such a big deal in NWN2, since it does not let you pass through walls.



#2
kevL

kevL
  • Members
  • 4 056 messages
for a check on initial cast only:
- spellhook, or less preferably edit the spellscripts.

on HeartBeat:
- check while anyone in the party has a particular spelleffect


i'd go with the spellhook
  • Sabranic aime ceci

#3
Tchos

Tchos
  • Members
  • 5 042 messages

Sure.  It could be done with the module heartbeat, for one.  Just have it check the party for the spell IDs of those spells, and spawn one of the demons on a d6 roll.  If you want to check each round, use the heartbeat, not the spell hook.


  • Sabranic aime ceci

#4
Sabranic

Sabranic
  • Members
  • 306 messages

The spell-hook sounds a bit simpler and won't require messing with the heartbeat, which has already... got it's hands full :)

 

So look for the spell to cast, then pick a demon, and let is show up and "reward" the players for their ingenuity in it's own special way.

 

:)  I will see what crimes I can commit against proper code.

 

There may be some small glimmer of hope for me yet - I successfully edited the pit scripts for the ropes and so they only dumped the schmuck who stepped in them - rather than the full party - into trap.



#5
Tchos

Tchos
  • Members
  • 5 042 messages

The spell hook is approximately 33% as simple as the module heartbeat, since you'd need to make 3 of them.  Plus it wouldn't be checking each round as the description states.  You're using a module heartbeat already?  Most people don't use one at all.


  • Sabranic aime ceci

#6
Sabranic

Sabranic
  • Members
  • 306 messages

I believe the thirst meter uses one?


  • ArtemisJ aime ceci

#7
Tchos

Tchos
  • Members
  • 5 042 messages

That would do it.  I use one, but it's only for the sun/moon clock.


  • Sabranic aime ceci

#8
ArtemisJ

ArtemisJ
  • Members
  • 127 messages

OnHeartbeat was way more needed in NWN1.. NWN2 you basically never need it.. it only solves a few edge case issues and otherwise there is usually a better place to do something.



#9
Tchos

Tchos
  • Members
  • 5 042 messages

In fact the heartbeat is very useful.



#10
Shallina

Shallina
  • Members
  • 1 011 messages

the best way is to overwrite the original spellscript I think.