PDA

View Full Version : How to create your own Padawan mod?


tk102
01-16-2005, 09:48 AM
Edit: Talchia's original Padawan Mod is here (http://home.t-online.de/home/Talchia/PadawanMOD1_3e.zip) for the time being... Talchia was kind enough to keep this hosted for this long and provided the necessary .dlg and .ncs files for playing the Padawan mod.

For those who don't remember Talchia, he was one the true trailblazers when it came to KotOR modding.

Fortunately the .nss files for Talchia's Padawan mod weren't very complicated. I was able to recreate them in .nss format by looking at the .pcode. I have posted them here for you and others.


/******************
k_pend_pod01.nss
*******************/
void main () {
StartNewModule("STUNT_00","01c");
}
/******************
padawan_1.nss
*******************/
void main() {
object oPC=GetFirstPC();
AddMutliClass(CLASS_TYPE_JEDISENTINEL,oPC);
GiveXPToCreature(oPC,1500);
GiveGoldToCreature(oPC,600);
CreateItemOnObject("g_a_jedirobe01",oPC);
CreateItemOnObject("g_a_jedirobe02",oPC);
CreateItemOnObject("g_a_jedirobe03",oPC);
CreateItemOnObject("g_a_jedirobe04",oPC);
}
/******************
padawan_2.nss
*******************/
void main() {
object oPC=GetFirstPC();
AddMutliClass(CLASS_TYPE_JEDICONSULAR,oPC);
GiveXPToCreature(oPC,1500);
GiveGoldToCreature(oPC,600);
CreateItemOnObject("g_a_jedirobe01",oPC);
CreateItemOnObject("g_a_jedirobe02",oPC);
CreateItemOnObject("g_a_jedirobe03",oPC);
CreateItemOnObject("g_a_jedirobe04",oPC);
}
/******************
padawan_3.nss
*******************/
void main() {
object oPC=GetFirstPC();
AddMutliClass(CLASS_TYPE_JEDIGUARDIAN,oPC);
GiveXPToCreature(oPC,1500);
GiveGoldToCreature(oPC,600);
CreateItemOnObject("g_a_jedirobe01",oPC);
CreateItemOnObject("g_a_jedirobe02",oPC);
CreateItemOnObject("g_a_jedirobe03",oPC);
CreateItemOnObject("g_a_jedirobe04",oPC);
}
/******************
saber_blue.nss
*******************/
void main() {
CreateItemOnObject("g_w_shortsbr01",GetFirstPC());
}
/******************
saber_green.nss
*******************/
void main() {
CreateItemOnObject("g_w_shortsbr03",GetFirstPC());
}
/******************
saber_red.nss
*******************/
void main() {
CreateItemOnObject("g_w_shortsbr02",GetFirstPC());
}
/******************
saber_vio.nss
*******************/
void main() {
CreateItemOnObject("g_w_shortsbr05",GetFirstPC());
}
/******************
saber_yell.nss
*******************/
void main() {
CreateItemOnObject("g_w_shortsbr04",GetFirstPC());
}
/******************
trask_mutate.nss
******************/
void main() {
ApplyEffectToObject(
DURATION_TYPE_PERMANENT,
EffectDisguise( DISGUISE_TYPE_JEDI_WHITE_OLD_MALE),
OBJECT_SELF);
}

Darth333
01-17-2005, 09:46 AM
Since many people have shown an interest for "Padawan" type mods, I decided to split this useful post from the original thread (http://www.lucasforums.com/showthread.php?s=&postid=1736796#post1736796) so that the information can be found more easily. Now, all that remains to be done to create your own Padawan mod is the dialogues :D

Thanks again for your contribution tk102 :)

Dak Vesser
01-17-2005, 11:20 AM
mhmnmm, I wonder if these scripts will work for K2... Speaking of custom recruit and padawan mods for K2, I haven't even started on texture modding yet.

Colma Adawin
01-17-2005, 12:43 PM
THANK YOU!!!!!!!


TK, I LOVE YOU!!!!! (not really, but i am really really grateful)

right just to make sure, i have to copy these, paste them in a .txt file and save like thisL Trask_Mutate.nss or .ncs?

More info on Padawan mods please, if any :p

thanx again

MattCole

tk102
01-17-2005, 12:48 PM
Gee, no problem Matt. :) Yes just paste into Notepad or whatever but when you save it, be sure to choose Save As... and choose Save As Type: All files so that Notepad doesn't screw you up by attaching a .txt extension. You want the .nss extension. And then (my preference) use nwnnsscomp.exe from a command line. You can write a .bat or use KotOR Tool or whatever. I won't go into it because that's what the stickies are for. :)

Colma Adawin
01-17-2005, 11:17 PM
Originally posted by tk102
Gee, no problem Matt. :) Yes just paste into Notepad or whatever but when you save it, be sure to choose Save As... and choose Save As Type: All files so that Notepad doesn't screw you up by attaching a .txt extension. You want the .nss extension. And then (my preference) use nwnnsscomp.exe from a command line. You can write a .bat or use KotOR Tool or whatever. I won't go into it because that's what the stickies are for. :)

right, okay, thanks i'll look into it tonite after work

MattCole

PrtyLizardJedi
01-22-2005, 02:47 AM
I say sticky this! A great help if you want to make your own padawan mod

WAY TO GO TK!!!!