Jump to content

Home

Party and Equipment changing in hostile areas


pie_man101

Recommended Posts

Exactly as the title says. What file determines whether you are not allowed to change party members and/or equipment during a time period. Per example, when your fighting u cant change gear and while you are in the underwater part of Manaan, you cant change party members.

Im guessing that there would be two files to possibly modify, a definition file and a script. ive searched and searched and cant find either.

 

Any suggestions (besides searching more)?

 

Thnx

 

(edit: can anyone give a clue as to what type of file im looking for?)

Link to comment
Share on other sites

To make a NPC not selectable, use this code:

void main()
{
       SetNPCSelectability(NPC_JOLEE, FALSE);   
}

to make it available again, use

void main()
{
       SetNPCSelectability(NPC_JOLEE, TRUE);   
}

Other npcs:

 

NPC_BASTILA

NPC_CANDEROUS

NPC_CARTH

NPC_HK_47

NPC_JOLEE

NPC_JUHANI

NPC_MISSION

NPC_T3_M4

NPC_ZAALBAR

Link to comment
Share on other sites

Originally posted by pie_man101

But that only makes the NPCs available at a certain time. How do u make them available all the time.

This is what the game uses. And if you want to make them available when they are not available normally, you'll have to edit all the scripts that turn them unavailable or attach a script that makes them available again right away.

Link to comment
Share on other sites

Originally posted by pie_man101

... which brings me back to square one. My original question was what files do i need to edit. lol

 

Thnx anyway

Just a suggestion, I could be way off with this but...

 

Instead of locating and editing dozens of game files/scripts... Why not try and make something like Darth333's party Manager/Script Testing armband, you could alter it's dialogue to fire a party available script, like Darth333 entered above, that set's the party availability to all available in an area when you need it.

 

Or you could set the Armbands dialogue to activate/display only the NPC's you have at the time or something of that nature, far easier than other methods IMHO.

 

I hope this helps! :D

Link to comment
Share on other sites

That would probably work redhawke. In fact that gives me an idea to the point that I might try to revive my holowan recruit manager in a completly different fashion now that i'm learning more about scripts if I overrode the script that launches the party selection screen to launch a custom dialogue. but before I pursue that I need to finish my other mods that have been incomplete and waiting to finish.(Let me tell you locking down globals for jolee, juhani and hk-47 for what i need are more difficult than the other 6 members of your party.)

Link to comment
Share on other sites

Kaspian said:

There is "unescapable" entry in module's *.are file. Its value is boolean. If set to 0, party selection and rapid transit system (RTS)

are available to PC.

 

Then you should be able to use this function with some degree of effectiveness:

void main() {
 SetAreaUnescapable(FALSE);
}

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...