lfnetwork.com mark read register faq members calendar

Thread: Tired of your party members? Want more jedi?
Thread Tools Display Modes
Post a new thread. Sorry, this thread is closed. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 01-05-2004, 06:49 AM   #1
override367
 
override367's Avatar
 
Join Date: Apr 2003
Posts: 58
Tired of your party members? Want more jedi?

http://www.villagephotos.com/pubbrow...elected=715453

Well seems you can change a party member's class, see above I made mission a jedi (unlike my previous screenshot where it was just the player with Mission's player model) Now to make Canderous a jedi, he's cold hearted enough to be a good Sith

I don't know if any party members added via scripting would stick around, but that wasn't my goal here I just wanted to see if I could make them jedi (I can also change their models, and make it permanant if I want, so could add Malak to my team if I really wanted)

if anyone has a place to store minimods I could whip up the scripts to make most team members turn into jedi upon acquiring them (mission and zal are good choices since im using the addmulticlass option and they will be able to level far as jedis since they are fairly low when you get them... or Carth, but he annoys me) and upload them
override367 is offline   you may:
Old 01-05-2004, 10:15 AM   #2
HazardX
Rookie
 
HazardX's Avatar
 
Join Date: Dec 2003
Posts: 20
And you can add totally diffrent NPCs to your group!

Some Screenshots:
Malak in your Team
Master Vandar with a Rifle

These aren't changed Playermodels. They are totally diffrent NPCs.

This is how to make it:
Code:
object PlaceNPC(string sTag)
{
	if(!GetIsObjectValid(GetObjectByTag(sTag)))
	{
		return CreateObject(OBJECT_TYPE_CREATURE,sTag,GetLocation(GetObjectByTag("POST_" + sTag)));
	}
	else
	{
		return OBJECT_INVALID;
	}
}

void AddCharToParty(string CharName, int Slot)
{
	object oChar;

	oChar = PlaceNPC(CharName);
	AddAvailableNPCByObject(Slot, oChar); 
	AddPartyMember(Slot, oChar);
}
- CharName is the Name of the NPC (like n_darthmalak or n_yoda)
- Slot is the Portrait Slot in your Party Selection Screen (0-8)
HazardX is offline   you may:
Old 01-05-2004, 03:58 PM   #3
Alegis
In hiding
 
Alegis's Avatar
 
Join Date: Aug 2003
Location: Belgium
Posts: 3,880
LFN Staff Member 
thats awesome, thanks! i'll play with them after i finished light and dark


-"The glass is neither half-full nor half-empty: it's twice as big as it needs to be."
Alegis is offline   you may:
Old 01-05-2004, 04:38 PM   #4
override367
 
override367's Avatar
 
Join Date: Apr 2003
Posts: 58
wow that's great, I wanted to try that but I wasn't sure they had the correct stats and everything to be team members

thanks a bunch
override367 is offline   you may:
Old 01-05-2004, 06:51 PM   #5
pmshand86
Lurker
 
Join Date: Jan 2004
Posts: 3
I'm sorry to be a pain but I just had to ask. How would someone like me, who has no idea how to input such codes, go about doing so? Newbie as some may like to say.
pmshand86 is offline   you may:
Old 01-06-2004, 08:31 PM   #6
override367
 
override367's Avatar
 
Join Date: Apr 2003
Posts: 58
Well I'm a horrible teacher so I'm not the one to ask, I'll upload some basic mods I don't just know where to

I have very limited internet access so I can't respond very fast ATM (in the process of moving)
override367 is offline   you may:
Old 01-06-2004, 10:08 PM   #7
eidospsogos
Veteran
 
eidospsogos's Avatar
 
Join Date: Oct 2003
Posts: 906
well i tell you, i for one would be VERY interested in making my party members all jedi. if only so everyone could use lightsabers. i know how to edit my class info via hex-editing my saved game. but i haven't successfully located another characters info yet.

so, question to those who know more about this than i do. in a save game you find the hex equivalent of your XP, drop down 240 spaces(so 240 spaces to the right) and you will find your level. 12 spaces to the left of this is your intitial starting class, and 12 spaces to the right of this is your jedi class. 12 more spaces to the right is your jedi level. this info will always hold true. and from my experience, the entry that counts is the first one.

so what is the likelihood that the same info holds true for party members? find the hex equivalent of their XP and then the above formula might hold true?
eidospsogos is offline   you may:
Old 01-06-2004, 10:37 PM   #8
eiz
Rookie
 
Join Date: Jan 2004
Posts: 35
Quote:
Originally posted by eidospsogos
well i tell you, i for one would be VERY interested in making my party members all jedi. if only so everyone could use lightsabers. i know how to edit my class info via hex-editing my saved game. but i haven't successfully located another characters info yet.

so, question to those who know more about this than i do. in a save game you find the hex equivalent of your XP, drop down 240 spaces(so 240 spaces to the right) and you will find your level. 12 spaces to the left of this is your intitial starting class, and 12 spaces to the right of this is your jedi class. 12 more spaces to the right is your jedi level. this info will always hold true. and from my experience, the entry that counts is the first one.

so what is the likelihood that the same info holds true for party members? find the hex equivalent of their XP and then the above formula might hold true?
Why not just use the ERF/GFF tools from the For Developers section on nwn.bioware.com? You should be able to add classes to your ClassList(s) easily that way. There's some information on the resources in the save in another thread.
eiz is offline   you may:
Old 01-06-2004, 11:01 PM   #9
peloquin
 
peloquin's Avatar
 
Join Date: Jun 2002
Posts: 195
This is awesome, I would love to make mission a jedi, Although like pmshand86 said I don't have any idea of how to use that code. Do I copy and past it into a text doc and rename it then dump it into my override folder?

If it would be anyway possible to e-mail me a copy of your files that alowed you to do this I would greatly appreciate it. If that's ok I'll PM my e-mail when you reply.

Thankyou.
peloquin is offline   you may:
Old 01-13-2004, 08:10 PM   #10
Supreme-Lord
Rookie
 
Supreme-Lord's Avatar
 
Join Date: Jan 2004
Location: Estonia
Posts: 32
Can anyone e-mail me darth malak's finished npc file to add override folder. Plz
Supreme-Lord is offline   you may:
Old 01-14-2004, 01:26 AM   #11
eidospsogos
Veteran
 
eidospsogos's Avatar
 
Join Date: Oct 2003
Posts: 906
okay. someone told me the files were in .erf format before you said so as well. which would make things easier as there are tools to editing these. does it make things like class and feats etc, more clear?

BUT there are no files in the folder with that extension, so.....

which file do i need to rename the extension to .erf, in order to have the editor open the file?
eidospsogos is offline   you may:
Old 01-14-2004, 02:01 AM   #12
eiz
Rookie
 
Join Date: Jan 2004
Posts: 35
There is another thread titled "Re: The Devanstator" which contains some information on the save format, but the file you want is SAVEGAME.sav. Refer to that thread for information on its contents.
eiz is offline   you may:
Old 01-14-2004, 02:13 AM   #13
eidospsogos
Veteran
 
eidospsogos's Avatar
 
Join Date: Oct 2003
Posts: 906
okay, thanks for the info. that helps a bit. but as none of these files that are in .xxx format actually have the same .xxx extension, is it safe to just switch extensions around(of course i know to backup the original files)?
eidospsogos is offline   you may:
Old 01-14-2004, 02:23 AM   #14
eiz
Rookie
 
Join Date: Jan 2004
Posts: 35
The BioWare editors will open files with any extension, it just won't show them in the open dialog by default. There's no need to rename them, although you certainly can if you want (just rename them back when you're done editing).
eiz is offline   you may:
Old 01-14-2004, 02:25 AM   #15
eidospsogos
Veteran
 
eidospsogos's Avatar
 
Join Date: Oct 2003
Posts: 906
okay. good to know. thanks alot. i really appreciate all the help.
eidospsogos is offline   you may:
Old 01-14-2004, 10:45 PM   #16
eidospsogos
Veteran
 
eidospsogos's Avatar
 
Join Date: Oct 2003
Posts: 906
okay, i've managed to open my savegame file with the .erf editor. there does not appear to be alot to do with the directory branches it gives you within the editor. how exactly was i supposed to go about changing classes this way?

and i know i sound like a complete moron here. but i am getting into the file, and every subdirectory branch when clicked on gives a message saying this is not currently supported. so anyone with more knowledge of this type of thing have any advice?
eidospsogos is offline   you may:
Old 01-14-2004, 11:32 PM   #17
eiz
Rookie
 
Join Date: Jan 2004
Posts: 35
First you need to find the last opened module. Open up savenfo.res in the save directory with GFFEditor and look at the LASTMODULE field. Then find this resource in SAVEGAME.sav. Extract it and open module.ifo in GFFEditor. The Mod_PlayerList list contains player data for the current party members.

If you want to edit members that aren't currently in your party, you will need to touch the AVAILNPC resources, which are just creature blueprints.

When you're done editing your module.ifo or the AVAILNPC resources, you will need to rebuild the module sav file and SAVEGAME.sav. You should be able to do this easily with bioware tools, but I use my own utilities (these mainly) to do things like this.

As for the 'not currently supported' errors, it could be due to a lack of KOTOR restypes in the editor. My tools share no such deficiency, although they're significantly less user friendly

Once you have found the corrent entry in Mod_PlayerList, you will notice a field called ClassList. This is what you want to edit (the numbers are indices into classes.2da I believe, but I haven't checked).
eiz is offline   you may:
Old 01-15-2004, 02:27 AM   #18
eidospsogos
Veteran
 
eidospsogos's Avatar
 
Join Date: Oct 2003
Posts: 906
thanks once again for the info and help. i really appreciate it.
eidospsogos is offline   you may:
Old 01-15-2004, 07:40 PM   #19
lil_dude
Forumite
 
lil_dude's Avatar
 
Join Date: Nov 2003
Posts: 543
i'm almost done the game but i'd still love to be able to make Canderous a Jedi, or even just give him the feat so he can use a lightsabre
lil_dude is offline   you may:
Old 01-15-2004, 09:52 PM   #20
eidospsogos
Veteran
 
eidospsogos's Avatar
 
Join Date: Oct 2003
Posts: 906
it's easy to do with a hex-editor. haven't figured it out with the above method yet.
eidospsogos is offline   you may:
Old 01-15-2004, 11:07 PM   #21
Stator
Rookie
 
Stator's Avatar
 
Join Date: Jan 2004
Posts: 81
Quote:
Originally posted by lil_dude
i'm almost done the game but i'd still love to be able to make Canderous a Jedi, or even just give him the feat so he can use a lightsabre
According to the original post by override367, this is quite possible. Now that the forums are back up I can ask my question. Could you email me your scripts for this override367? It doesn't matter if you use zip or rar although rar is much better. Thanks in advance.

Stator
Stator is offline   you may:
Old 01-20-2004, 07:42 PM   #22
dudejasper
Lurker
 
dudejasper's Avatar
 
Join Date: Jan 2004
Location: netherlands
Posts: 0
Smile that thing where i can get darth malak in my party

i dont understand a dam of that whole thing of that darth malak is in your party

can someone send me the file that i need to get him in my party
and explain what to do with it?

thnx


blablablabla
dudejasper is offline   you may:
Old 01-20-2004, 09:47 PM   #23
peloquin
 
peloquin's Avatar
 
Join Date: Jun 2002
Posts: 195
hey dudejasper if you go to the cloakworks thread you can download the disguise mod. With that all you have to do is type the giveitem code for the malak disguise and equip it to whoever in your party you want malak to be.
peloquin is offline   you may:
Old 03-19-2004, 12:15 PM   #24
Admiral Chemix
Rookie
 
Join Date: Dec 2003
Location: Earth, where else?
Posts: 146
what script do I have to edit and what in those scripts do I have to put, to replace juhani with shasa the jedi selkath
Admiral Chemix is offline   you may:
Old 03-20-2004, 11:03 PM   #25
tk102
Well past expiration date
 
tk102's Avatar
 
Join Date: Jan 2004
Posts: 5,766
Current Game: Dragon Age: Origins
Forum Veteran Helpful! Notable contributor 
Ah a classic thread revived!

Let me see if I can expand on HazardX's great contribution:

Open up notepad and paste the following code:
Quote:
object PlaceNPC(string sTag)
{
if(!GetIsObjectValid(GetObjectByTag(sTag)))
{
return CreateObject(OBJECT_TYPE_CREATURE,sTag,GetLocation
(GetObjectByTag("POST_" + sTag)));
}
else
{
return OBJECT_INVALID;
}
}

void AddCharToParty(string CharName, int Slot)
{
object oChar;

oChar = PlaceNPC(CharName);
AddAvailableNPCByObject(Slot, oChar);
AddPartyMember(Slot, oChar);
}
void main()
{
AddCharToParty("n_darthmalak",4); /* This part is custom to what you want to do */
}
Now save this text file with an .nss extension and a unique name like 'friendly_malak.nss'. Download HazardX's nss compiler (see thread).
Save nwnnsscomp.exe into the same folder as friendly_malak.nss.
Open a command prompt in that directory and type
Quote:
nwnnsscomp friendly_malak.nss -v1.00
Now you should have a file called friendly_malak.ncs that you can put in your override folder.

So we have a script that will add Malak to our party, but we need a way to trigger it. The easiest was to do that is by modifying an existing dialog file and then invoking that file from inside the game. I recently uploaded some tools that can help you search for a suitable dialog file. You can then use KotOR Tool to extract the dialog file and GFF Editor to edit it. Open up the appropriate EntryList or ReplyList branch and if there is nothing entered in the 'script' field, add 'friendly_malak' to that field. Save the dialog file in the Override folder. Start up the game. Invoke the dialog, and get Malak on your side.

In your case Admiral Chemix, I think you might be looking for 'n_selkath' instead of 'n_darthmalak' in the above script. And maybe you'd rather change the 4 (Jolee) into some other number.
tk102 is offline   you may:
Old 04-17-2005, 05:20 PM   #26
loderrr
Lurker
 
loderrr's Avatar
 
Join Date: Apr 2005
Posts: 9
Quote:
Originally posted by HazardX
And you can add totally diffrent NPCs to your group!

Some Screenshots:
Malak in your Team
Master Vandar with a Rifle

These aren't changed Playermodels. They are totally diffrent NPCs.

This is how to make it:
Code:
object PlaceNPC(string sTag)
{
	if(!GetIsObjectValid(GetObjectByTag(sTag)))
	{
		return CreateObject(OBJECT_TYPE_CREATURE,sTag,GetLocation(GetObjectByTag("POST_" + sTag)));
	}
	else
	{
		return OBJECT_INVALID;
	}
}

void AddCharToParty(string CharName, int Slot)
{
	object oChar;

	oChar = PlaceNPC(CharName);
	AddAvailableNPCByObject(Slot, oChar); 
	AddPartyMember(Slot, oChar);
}
- CharName is the Name of the NPC (like n_darthmalak or n_yoda)
- Slot is the Portrait Slot in your Party Selection Screen (0-8)
i have a qestion about recruitment mods i know thats not what your post was about but you recruited malak so i have a question. i followed the 10 step recruitment tutorial but when i went to test it, i recruited the guy but when i used him in my party he was invisible. do u have any idea why?
loderrr is offline   you may:
Old 04-17-2005, 06:36 PM   #27
tk102
Well past expiration date
 
tk102's Avatar
 
Join Date: Jan 2004
Posts: 5,766
Current Game: Dragon Age: Origins
Forum Veteran Helpful! Notable contributor 
What the... ?

This is just about the oldest thread on this board. Don't take my exuberance from March 2004 as a good reason to dig this thread from its grave...

Um in trying to answer your question, it probably has to do with your .utc file not referencing appearance.2da correctly in its Appearance_Type field. I'm going to lock this thread now (R.I.P.), and I'm going to copy your post to a new topic.


tk102 is offline   you may:
Post a new thread. Sorry, this thread is closed. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > Tired of your party members? Want more jedi?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:26 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.