Jump to content

One bug, one compat request


CamDawg

Recommended Posts

The Anomen component has a bug in the g3osmsgr.baf script; the second RESPONSE is spelled without an S, causing a parse error.

 

For compatibility, it would be nice if the Anomen components played nicely with NPC Kit Pack. When Anomen passes or fails his knighthood test, he can potentially become a Watcher or a berserker--however, this makes the new equipment from NPC Kit unequippable. This should take care of it:

 

ACTION_IF FILE_EXISTS_IN_GAME ~ikitano1.spl~ THEN BEGIN // NPC Kit Pack, watcher kit for Anomen

 COPY_EXISTING ~anohelm.itm~ ~override~
			~anoplat.itm~ ~override~
READ_BYTE  0x29 "use"
WRITE_BYTE 0x29 ("%use%" BAND  0b11111101) // removes helm flag
BUT_ONLY_IF_IT_CHANGES

END

ACTION_IF FILE_EXISTS_IN_GAME ~ikitano2.spl~ THEN BEGIN // NPC Kit Pack, berserker kit for Anomen

 COPY_EXISTING ~anohelm.itm~ ~override~
			~anoplat.itm~ ~override~
READ_BYTE  0x2f "use"
WRITE_BYTE 0x2f ("%use%" BAND 0b11111110) // removes berserker flag
BUT_ONLY_IF_IT_CHANGES

END

 

Cheers. :)

Link to comment

These are in 3.1, with one minor change - I made only the plate usable by Watchers (not the helm, which Ano should loose before the test, if he's going to pass), and only the helm usable by Beserkers (he shouldn't get the plate unless he passes).

 

[ EDIT: Above was me -- O_S ]

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...