Jump to content

Home

How to create your own Padawan mod?


tk102

Recommended Posts

Edit: Talchia's original Padawan Mod is here 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);
}
Link to comment
Share on other sites

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. :)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...