Jump to content


Photo

One bug, one compat request


2 replies to this topic

#1 CamDawg

CamDawg

    Just returned from a triumphant carpet-bombing of Eden 7

  • Gibberling Poobah
  • 8922 posts
  • Gender:Not Telling

Posted 21 February 2007 - 04:32 AM

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. :)

What makes a good man go neutral? Lust for gold? Power? Or were you just born with a heart full of neutrality?


#2 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 21 February 2007 - 03:00 PM

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 ]

Edited by Orions_Stardom, 21 February 2007 - 03:01 PM.


#3 Wanderer

Wanderer
  • Members
  • 87 posts
  • Location:Boston

Posted 28 March 2007 - 08:41 AM

There's a URL typo on the News page; the links for this mod put it under /news/, when it should be:
http://www.gibberlings3.net/npctweak/



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users