Author Topic: NPCs/Summons Set Off Traps  (Read 6098 times)

Offline Salk

  • Planewalker
  • *****
  • Posts: 831
NPCs/Summons Set Off Traps
« on: September 18, 2007, 05:37:14 AM »
Hello!

Could somebody tell me if it's possible (in that case, how) to modify the code for this component so that only Summons and not NPCs set off traps?

I am asking because I find a bit unrealistic that enemies set off their own traps while I believe it's fair that Summons wouldn't know about their existence.

Thanks!

Offline rreinier

  • Planewalker
  • *****
  • Posts: 297
  • Gender: Male
Re: NPCs/Summons Set Off Traps
« Reply #1 on: November 21, 2007, 01:35:09 PM »
Or, alternatively, it should be made completely fair: not only should NPC's set off their own traps, but the PC's should also trigger traps set by any thieves in the party.

Offline Ascension64

  • Planewalker
  • *****
  • Posts: 472
Re: NPCs/Summons Set Off Traps
« Reply #2 on: November 22, 2007, 05:19:44 AM »
Find the component that BEGINs with the .tra reference @55, and in the code below it, comment out this line:

Code: [Select]
WRITE_BYTE ("%triggeroffset%" + ("%currenttrigger%" * 196) + 96) ("%triggerflags%" BOR 64)

Offline Salk

  • Planewalker
  • *****
  • Posts: 831
Re: NPCs/Summons Set Off Traps
« Reply #3 on: November 22, 2007, 05:49:56 AM »
You do have a talent to find a very easy solution to my problems... Can I buy you?  :P

Offline Ascension64

  • Planewalker
  • *****
  • Posts: 472
Re: NPCs/Summons Set Off Traps
« Reply #4 on: November 22, 2007, 06:33:26 AM »
Just like the Mastercard ad in Australia (and perhaps other countries as well)...some things are priceless.

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: NPCs/Summons Set Off Traps
« Reply #5 on: November 22, 2007, 06:40:26 AM »
Just like the Mastercard ad in Australia (and perhaps other countries as well)...some things are priceless.
Those ads are universal (differently from other brands, the tag line is translated from contry to country, though).

Which brings me to question: does Vigorsol exist outside of Italy and, if so, do they have the farting squirrel ad also in your country? If you don't know what I'm talking about: see it on YouTube (warnings: video, audio, not safe for serious environments). They also made a censored version (where the squirrel blows air out of the less rude end of the digesting tube).

To the moderator: give me thanks for keeping your topic-splitting skills up to date  :D
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline Ascension64

  • Planewalker
  • *****
  • Posts: 472
Re: NPCs/Summons Set Off Traps
« Reply #6 on: November 22, 2007, 06:59:01 AM »
Heh, not here, unfortunately.

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: