Jump to content

Mole Rat - Gecko conflict in Form List


Recommended Posts

Posted

I've run across an issue in checking for creature type by using the SexoutCList(creature types) form lists.
If I have a mole rat (VCrTier1MoleRatMed "Mole Rat" [CREA:0014F404]) selected and using NX_IsInList SexoutCListGecko I get a 4 returned.
If I have a different mole rat (VCrTier2MoleRatLarge "Mole Rat" [CREA:00155E09]) selected the same call returns a 0.
Further checking revealed the item in the list that is causing the problem is CampSearchlightGoldenGecko "Golden Gecko" [CREA:0014128C].  When this item is removed from the list, the script runs fine and returns a 0 as it should.
I not sure how a mole rat and Gecko can have the same base reference, if someone could explain this it would be greatly appreciated.
Thanks

Posted

Have you checked FNVEdit to see if a mod is adding the Molerat to the wrong list?

 

That form list is not being edited by any other mod (except me when I removed the Gecko I referenced).  When that Gecko reference is removed from the list everything is fine.

I wrote a simple script that can be attached to a token.  Just add it to your inventory and watch what happens.  If someone could try it with there set up and let me know it would be appreciated.  Two screen shots are attached.  The first with the offending Gecko in the form list and the second with it removed.

 

scn MoleRatTestScript

int ivNxResult1
int ivNXResult2
ref rvMoleRat1
ref rvMoleRat2


Begin OnAdd

	Set rvMoleRat1 to VCrTier1MoleRatMed
	Set rvMoleRat2 to VCrTier2MoleRatLarge
	Set ivNxResult1 to NX_IsinList SexoutCListGecko rvMoleRat1
	Set ivNxResult2 to NX_IsinList SexoutCListGecko rvMoleRat2
	DebugPrint "MoleRat1 (%i) NX_GetinList SexoutCListGecko = %g" rvMoleRat1 ivNxResult1
	DebugPrint "MoleRat2 (%i) NX_GetinList SexoutCListGecko = %g" rvMoleRat2 ivNxResult2
	
End

post-553572-0-67488800-1435693161_thumb.jpg

post-553572-0-02535500-1435693174_thumb.jpg

Posted

 

Have you checked FNVEdit to see if a mod is adding the Molerat to the wrong list?

 

That form list is not being edited by any other mod (except me when I removed the Gecko I referenced).  When that Gecko reference is removed from the list everything is fine.

I wrote a simple script that can be attached to a token.  Just add it to your inventory and watch what happens.  If someone could try it with there set up and let me know it would be appreciated.  Two screen shots are attached.  The first with the offending Gecko in the form list and the second with it removed.

 

scn MoleRatTestScript

int ivNxResult1
int ivNXResult2
ref rvMoleRat1
ref rvMoleRat2


Begin OnAdd

	Set rvMoleRat1 to VCrTier1MoleRatMed
	Set rvMoleRat2 to VCrTier2MoleRatLarge
	Set ivNxResult1 to NX_IsinList SexoutCListGecko rvMoleRat1
	Set ivNxResult2 to NX_IsinList SexoutCListGecko rvMoleRat2
	DebugPrint "MoleRat1 (%i) NX_GetinList SexoutCListGecko = %g" rvMoleRat1 ivNxResult1
	DebugPrint "MoleRat2 (%i) NX_GetinList SexoutCListGecko = %g" rvMoleRat2 ivNxResult2
	
End

 

Hmm so it's a vanilla Fallout bug, I wonder if there would there be a reason for it being there for some quest check or something? Or it's just a cut and paste error?

I might add a RemoveFromList into SCR to fix it

Posted

Halstrom, I'm not sure I follow. I wouldn't remove that gecko from the form list. It belongs there and has several game references. The real question is why does the game think the mole rat and gecko share the same base reference. It is even more puzzling given the other mole rat does not. There has to be some common link between the two.

Posted

Halstrom, I'm not sure I follow. I wouldn't remove that gecko from the form list. It belongs there and has several game references. The real question is why does the game think the mole rat and gecko share the same base reference. It is even more puzzling given the other mole rat does not. There has to be some common link between the two.

Ah now I get it, sorry that ones way over my head.

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...