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?)
I would take a look at the files in one of messkells many mods while he does not provide source scripts you may find the clue your looking for. I know he has a mod that allows you to have more than yourself underwater. so that might be a good start.
I actually started to look through messkels work, but all of it was self-created and as you said, no source scripts
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
But that only makes the NPCs available at a certain time. How do u make them available all the time.
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.
... which brings me back to square one. My original question was what files do i need to edit. lol
Thnx anyway
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
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.)
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.
Edit: I removed some misleading information
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);
}
Ill try to attach the script to a dialog sequence (probably leech off a ready made file) and see what happens.
Is there anyway to attach a script to an item (unlike the recruitment manager)? Such as an armband that activates the script when I use it?
edit: Never mind, i figured it out