13ack.Stab Posted July 5, 2010 Share Posted July 5, 2010 Hey, guys. I've just recently started modding KotOR 2. For my first project, I decided to create a custom (and overpowered) blaster rifle. After doing so, I opened up KSE and attempted to give my party the aforementioned blaster. However, upon selecting the item in the master item list, I receive the following error: Can't use an undefined value as an ARRAY reference at /PerlApp/Bioware/TPC.pm line 190 I've uploaded my custom item to filebeam so that anybody interested in helping may take a look at my modifications. The file may be found here: http://filebeam.com/411406f13cdd845b23fad5a9587d534a The file password is: oranges Thanks for your time. P.S. Another issue I've been having with this file is my apparent inability to name the blaster. In the LocalizedName node, I set the StringRef field to -1, but am able to change neither the Language field, nor the Substring Info. Any ideas? Link to comment Share on other sites More sharing options...
Seikan Posted July 5, 2010 Share Posted July 5, 2010 Well, first of all, do you have your "w_blstrrifle_031.mdl/mdx?" other thing, if you want a blaster put as base item blaster rifle and not Blaster Carbine, because it won't recognize a "blstrrifle" model, so or you change the base item, or you rename your model to "w_blstrcrbn_031.mdl/mdx". Also there is an error with one of the properties. Try to fix all of that and tell me what happens. Link to comment Share on other sites More sharing options...
13ack.Stab Posted July 5, 2010 Author Share Posted July 5, 2010 Ah, I see. Okay, I've corrected my .mdl/.mdx/.tga files, and have successfully gotten my Carbine in game. However, I am experiencing three problems. 1) I am still unable to name my weapon. 2) For whatever reason, my '+Damage vs. Droids' struct is showing up as 'bludgeoning' damage. How do I change this to unstoppable/ion? 3) My 'Cast Spell' struct isn't casting 'Force Storm,' as I intended. Any idea what's going wrong? I've uploaded the new files to the original post, but they can also be found here: http://filebeam.com/411406f13cdd845b23fad5a9587d534a Password: oranges Thanks for your time! Link to comment Share on other sites More sharing options...
Seikan Posted July 5, 2010 Share Posted July 5, 2010 1) For what you said it seems to me that you work with GFF editor, and not Kotor tool, give it a try to KT, it should work for the name. 2)Use Kotor Tool would also help, when you open your file go to "properties", fond you "+ damage vs. race", then the subtype would be "droid", the value "2d10" and then you will have "Param 1", put "ion" or unstoppable in there ^^ 3)For what I know it don't work to add force powers to a weapon. No problem ^^ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.