JuniorModder Posted November 16, 2009 Share Posted November 16, 2009 I'm having this error with a custom portrait when trying to give it to a party member in SaveGame Editor: "Error msg: Can't use an undefined value as an ARRAY reference at /PerlApp/Bioware?TPC.pm line 190." When I click Ok, it either says this: "Tk callback for image <ButtonRElease-1> (command bound to event) or this: "Bioware::TPC::read_tpc_fh at /PerlApp/Bioware/TPC.pm line 190 Bioware::TPC::read_tpc_scalar at /PerlApp/Bioware/TPC.pm line 106 Bioware::TPC::read_tpc_fh at /PerlApp/Bioware/TPC.pm line 35 main::__ANON__ at kotor_savegame_editor3.3.3.pl line 3302 <ButtonRelease-1> (command bound to event)" Here are the details for the portrait in the portraits.2da: _________________________________________________ (Row Label) l baseresref l sex l appearancenumber l race l .....64..........PO_pNaad....1...........387.................6..... _________________________________________________ l plot l ..... l forpc l baseresrefe .... baseresrefvvve l ...0................0.....................PO_pNaad............ _________________________________________________ HAAALP!! JuniorModder Link to comment Share on other sites More sharing options...
Rtas Vadum Posted November 16, 2009 Share Posted November 16, 2009 Wouldn't you just specify her portrait in her utc file? And the likely reason that its giving you the error, is that since your "forpc" value is "0" it can't be selected. The same message appears if you try and select the portraits for carth, bastila, etc. Link to comment Share on other sites More sharing options...
JuniorModder Posted November 16, 2009 Author Share Posted November 16, 2009 I took away the 0 in the forpc so now it's empty, but I still get the same error. I will try changing the uct. I didn't do that before because I'm just testing out some of the graphics (IE the portriat). JuniorModder EDIT: Still doesn't work.. Edit 2: AARRG! I found out that I had the wrong name in the portraits.2da line!!!! How frustrating. JM Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.