Echon Posted August 31, 2004 Share Posted August 31, 2004 Opcodes #109/175/185 Hold/Hold Creature Type/State: Hold Creature (II) This applies to the usual game, of course. #109: Simply holds the target #175: Plays a lighting effect on the target (a yellow fade in), displays the Held icon on the character's portrait and holds the target. #185: Plays a lighting effect on the target (a yellow fade in) and holds the target. Common to all three is that you use parameter 1 to target an IDS file and parameter 2 to target a value within that file. Parameter 1 values: 2: OBJECT.ids 3: GENERAL.ids 4: RACE.ids 5: CLASS.ids 6: SPECIFIC.ids 7: GENDER.ids 8: ALIGN.ids OBJECT.ids -> Nothing (0) defaults to anything. NI contained the information about the IDS targeting for all three effects. -Echon Link to comment
igi Posted September 1, 2004 Share Posted September 1, 2004 Are you sure the parameters are this way round? All other IDS targetting seems to be param1=entrey, param2=file. Link to comment
Avenger Posted September 1, 2004 Share Posted September 1, 2004 I don't think 109, 185 can have ids targeting. 175: param1=IDS entry, param2=IDS file I'm not deadly sure about 185. Link to comment
Echon Posted September 1, 2004 Author Share Posted September 1, 2004 Sorry, you are right. I reversed the parameters. -Echon Link to comment
Smoketest Posted September 4, 2004 Share Posted September 4, 2004 Sorry, you are right. I reversed the parameters. -Echon It appears that NI reorders the parameters according to logical layout, so you'd first select the IDS and then the item within that IDS. The proper order can be seen by viewing the parameters in hex. Link to comment
Avenger Posted September 5, 2004 Share Posted September 5, 2004 OK, i've managed to reproduce these in BG2. All 3 effects employ IDS targeting. 175 and 185 both display portrait icon and 'Held' text. The 'Held' text isn't listed in efftxt.2da (it is hardcoded). Link to comment
igi Posted September 5, 2004 Share Posted September 5, 2004 I checked this a few days ago, and got the yellow lighting effect, icon and text as described, but the target was never actually held. Still, I'll presume it's a weird local problem, as if none of these 3 effects hold someone, there is no other way to do it. Link to comment
Echon Posted September 5, 2004 Author Share Posted September 5, 2004 That sounds very odd, but I think you are right that it is a local problem. These opcodes are used for Hold Person, Hold Monster, the attack of ghouls, carrion crawlers and so on. -Echon Link to comment
Avenger Posted September 6, 2004 Share Posted September 6, 2004 IGI, check if your IDS targeting, level filter and timing was correct. Link to comment
igi Posted September 17, 2004 Share Posted September 17, 2004 I dont see how any of the targetting info can lead to a the target doing the lighting effect, but not the hold effect. Still, since everyone else agress with each other, I'll presume I did something dumb, like, the target creature was immune to hold or something. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.