View Full Version : Is this possible
04-09-2006, 06:55 AM
Is it possible to chage which robe Master Zahr gives you when you become a full padawan, I think I may have seen this before but I cannot rember which mod. what I actually want him to give me is a robe from prime g_a_Mstrrobe11.
04-09-2006, 10:09 AM
I think so, but technically, if anyone other than Prime makes it, it's considered stealing.
04-09-2006, 10:11 AM
But if I did it not for a release (then I don't think I would need his permission) how would I do it.
04-09-2006, 10:14 AM
Alter's Zhar's dialogue file to reference the .uti you mentioned instead of the one for the Padawan Robe.
04-09-2006, 01:40 PM
can I open that in KT if so where is the file located?
04-09-2006, 03:01 PM
Here's how I would do it:
1) open KT
2) find k_pdan_zhar03 under RIMs>Modules>danm13_s.rim>Scripts, Compiled.
3) extract the file
4) open the file with a hex editor (I use XVI32 (http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm) but any hex editor will work).
5) use Find to locate g_a_jedirobe01 (it should be near the top)
6) CAREFULLY change g_a_jedirobe01 to g_a_Mstrrobe11. Actually you can change it to anything you want so long as it has the exact same number of characters. Do not use Backspace or Delete. If you make a mistake just use the arrow keys to go back and make the correction over the current entry. If you do accidentally use Backspace or Delete, close the file without saving changes and start over again from step 4.
7) save the file after you've made the change.
8) put the edited file into your Override folder.
Done! The easiest way to do it would have been to just alter the source code and recompile, however the source code for that script is not included in the game and DeNCS couldn't successfully process it. Alternatively, I suppose that you could take advantage of Execute script to destroy the old robe and create the new one, however that requires writing brand new code and storing 2 scripts in your Override folder, whereas this only uses 1.
I hope that helps.
04-09-2006, 03:08 PM
Just a guess, from looking through the dan13_zhar.dlg file, but I would think you would have to change the robe reference in k_pdan_zhar03.ncs. That's the very last script that fires after you complete your training. Unfortunately, that isn't one of the scripts that is given to us as source, but it wouldn't be too hard to write one to give you the item, then fire the existing script.
Edit: Or you could just use Achilles' way, since it seems much easier.
04-09-2006, 03:29 PM
Thank you Achilles, I guess it's true you do learn something new everyday.
vBulletin®, Copyright ©2000-2014, Jelsoft Enterprises Ltd.