andargor Posted January 6, 2004 Share Posted January 6, 2004 Well, I was toying with shields to see if it can change the model. So the player would only have to "equip" the proper "shield". Well, I've got something that works, and generating a shield for every model is fairly simple. You can find the sample stuff Here Just dump it in Override, enter game, and cheat in "giveitem g_i_skinrevan00". It'll appear as Yusani's shield. Just equip and activate it. Poof! Revan. The only side-effect is that other shields don't seem to show the animation. Maybe because the 2DA is decompiled (thanks eiz, used your decompiler) What do you think? Andargor Link to comment Share on other sites More sharing options...
Zod Posted January 6, 2004 Share Posted January 6, 2004 OMG!!! Thank you man!!! I’ve been looking for something like this for a long time!!! Thank you so much!!! I love you At last I get to be Revan!!!!! And it works great!!! Link to comment Share on other sites More sharing options...
eiz Posted January 6, 2004 Share Posted January 6, 2004 The only side-effect is that other shields don't seem to show the animation. Maybe because the 2DA is decompiled (thanks eiz, used your decompiler) If you build an unchanged version of k_sup_bands.nss with the ported NwnNssComp and put it in your override directory, the same thing happens. As far as I know, using uncompiled 2das doesn't cause any problems. Using the -t1 argument to nwnnsscomp, it says k_sup_bands passes, so it might be that the game doesn't like having that script in the override directory. Link to comment Share on other sites More sharing options...
andargor Posted January 6, 2004 Author Share Posted January 6, 2004 Originally posted by Zod OMG!!! Thank you man!!! I’ve been looking for something like this for a long time!!! Thank you so much!!! I love you At last I get to be Revan!!!!! And it works great!!! This was just a test, the shield itself has only 5 charges, and I don't know if the model will survive area transitions. I know it survives local transitions, but changing planets maybe something else. For example, if memory serves, the Tattoine to Ebon Hawk transition removes any disguise, so the shield may have to be reactivated. So I will put unlimited charges on the shield. Andargor Link to comment Share on other sites More sharing options...
andargor Posted January 6, 2004 Author Share Posted January 6, 2004 Originally posted by eiz If you build an unchanged version of k_sup_bands.nss with the ported NwnNssComp and put it in your override directory, the same thing happens. As far as I know, using uncompiled 2das doesn't cause any problems. Using the -t1 argument to nwnnsscomp, it says k_sup_bands passes, so it might be that the game doesn't like having that script in the override directory. Strange indeed. Well, I can always change the script in spells.2DA and put a custom script for it. Do you know if I absolutely need to put an entry in dialog.tlk to change the description of the item? I was reading the ITP/UTI/GFF documentation, and it seems there are fields in there where the object name/description can be inserted. Andargor Link to comment Share on other sites More sharing options...
eiz Posted January 6, 2004 Share Posted January 6, 2004 The item name and description are CExoLocStrings, if the STRREF is -1 you can add strings in the GFF itself (add an entry for language 0 to DescIdentified using gffeditor to do English). Link to comment Share on other sites More sharing options...
eiz Posted January 6, 2004 Share Posted January 6, 2004 I've actually found a better way to do this. I looked at itempropdef.2da to find out the meanings for the PropertiesList list entries, and it turns out that 59 is the property type for disguises. So if you change the PropertyName to 59 and the Subtype to 22, simply equipping the item will apply the disguise. Link to comment Share on other sites More sharing options...
peloquin Posted January 7, 2004 Share Posted January 7, 2004 worked great, cheers man Link to comment Share on other sites More sharing options...
andargor Posted January 8, 2004 Author Share Posted January 8, 2004 Originally posted by eiz The item name and description are CExoLocStrings, if the STRREF is -1 you can add strings in the GFF itself (add an entry for language 0 to DescIdentified using gffeditor to do English). Hmm, using GFFEditor 1.3.4.7, I put in -1 for STRREF, 0 for language, Male for Gender, and the Add button doesn't do anything... Something else I need to do? Andargor Link to comment Share on other sites More sharing options...
eiz Posted January 8, 2004 Share Posted January 8, 2004 GFFEditor has a bug - hit enter in the language selection box rather than clicking add and it should work. Link to comment Share on other sites More sharing options...
andargor Posted January 8, 2004 Author Share Posted January 8, 2004 Originally posted by eiz GFFEditor has a bug - hit enter in the language selection box rather than clicking add and it should work. Thanks, that did it. Other that the fact that KotOR doesn't like shields with infinite charges (0) and that GFFEditor borks all the other CExoLoc strings when you change one, it's better than hex editing Now back to fixing that damn store... Andargor Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.