Larian Studios
Posted By: kem0sabe Mod Request - Larger party size - 16/09/17 09:52 AM
I feel like the current party size, PC + 3 NPC's is rather small, and i would love to have all 6 NPC's in the party as to be able to see all their unique interactions.

I know there was one such mod for the first game, does the community here think it is possible with the provided tools to make a similar mod for D:OS 2?
Posted By: Tinkerer Re: Mod Request - Larger party size - 16/09/17 12:40 PM
It is possible, but some parts of the game will not work correctly. E.g., the crime system only supports up to four criminals per crime (don't know what would happen if there are more). Additionally, in the main campaign some level areas are duplicated every character must complete it alone and they may all do it at the same time. In such cases, only four areas have been made, and I don't know what will happen if there are more than 4 players (especially if you would have more than 4 avatars; 1 avatar with 5 companions is less likely to cause troubles in most cases).
Posted By: Tianran Re: Mod Request - Larger party size - 16/09/17 01:12 PM
Second this.
The side effect of having interesting characters is that the marginal value caused by losing any one of the characters becomes unbearably high.
Posted By: Lauro Re: Mod Request - Larger party size - 17/09/17 09:12 PM
any luck on this mod ? or will this take long ?
hello all :)
Posted By: Yuhnis Re: Mod Request - Larger party size - 17/09/17 09:33 PM
That can be done but more then 30 scripts have to be changed and inside many events / behavior / story scripts will surely make game unstable at one point if you miss one. As I tried earlier to see.

At 6 players crime system & party follow systems & many dialogs & in some area combat & some of script related skills will not work. Can be repaired but i don't think it will worth the time.

You can make a half new game with that kind of stuff and its not a work for only one modder smile

Posted By: WMC51 Re: Mod Request - Larger party size - 17/09/17 10:36 PM
What about for just Gm mode?
Posted By: Hethwill Re: Mod Request - Larger party size - 17/09/17 11:57 PM
Increased party size to 5 would be gold for DM'ing, given the range is from 3 to 5, to be manageable.
Posted By: Ghatt Re: Mod Request - Larger party size - 18/09/17 12:08 AM
Originally Posted by WMC51
What about for just Gm mode?


Yeah, a 6 man party for GM mode would be great.

I couldn't care less about increasing the party size for the campaign; it's already been balanced with 4 characters in mind, adding more would just muck it up.
Posted By: Baardvark Re: Mod Request - Larger party size - 18/09/17 12:55 AM
Increasing play count might involve editting a hex value in the game's .exe. That's how it was done in the first game. Unsure how to go about doing that myself. This is a guide to that for the first game, maybe someone could figure it out. Doesn't seem like it should be all that complicated, unless there's other issues that stem from more than 4 players (e.g., UI stuff).

http://steamcommunity.com/sharedfiles/filedetails/?id=548760493
Posted By: sirbuttsington Re: Mod Request - Larger party size - 18/09/17 05:21 AM
I've been able to so far successfully add the 6 origin characters to one party (playing as Fane). Everyone follows me correctly, but I have no idea if this breaks any other scripting/dialogues/combat/etc.

Screenshot of 6 person party: https://i.imgur.com/QwMwfjr.jpg

Steam workshop in case anyone wants to test: http://steamcommunity.com/sharedfiles/filedetails/?id=1137971468
Posted By: sirbuttsington Re: Mod Request - Larger party size - 18/09/17 06:27 AM
Update: Very brief combat testing seems to work for now. I've gotten companion triggers as I walked around (lady recognizes one companion, assassination attempt, etc vagueness for minor spoilers) .

There's some funkiness with the character tab (right arrow cannot access 6th member, left arrow will constantly switch between 5th and 6th member), but it works well if you just click on the party member you want in the sidebar. All inventory is shown and works well.

Switching party member order in the sidebar works. Formations work in large open areas but in smaller areas the party sometimes clumps together since I don't think the AI pathing is used to so many people grouped together.

Feel free to use the mod but it might break your game as I haven't really tested it much. Will do further testing later.
Posted By: Foodchain Re: Mod Request - Larger party size - 18/09/17 06:48 AM
This didn't seem to be work in my current save, but worked fine on a new game. How did you accomplish this? Did you just modify the story script to disable force the Origin characters to accept your invitation to join the party, regardless of how many are currently in it?

I also noticed the character assign menu has 4 slots, so assigning some of the characters might not work. One workaround I considered for testing and educational purposes was just copying the menu .swf file from DOSEE, since that one has a different design, featuring a scroll bar. I did something like that the other way around before and it did work. (copied the DOS2 early access character assign menu into DOSEE)
Posted By: Parkan Re: Mod Request - Larger party size - 18/09/17 06:50 AM
Can you share with that mod for GOG users?
Posted By: sirbuttsington Re: Mod Request - Larger party size - 18/09/17 07:36 AM
@Foodchain, yeah that's basically what I did. I forced the max party size reached flag to always be cleared during the check. This could probably cause even more issues if you reached act 2 and you recruit mercenaries as well, although at this point I'm not even sure you'd be able to reach act 2 with all companions. There's also a max party member value you can set. It's default 4, I changed it to 6 just in case it looks for it elsewhere.

As for save vs new game, I did load the mod into an existing save of mine immediately on reaching FJ and it worked. I wonder, in your existing save you had already recruited someone and thus the recruitment script had already loaded? Perhaps if you have already recruited someone the new script won't load.

With respect to the "character assign" screen, I'm not entirely sure what this is. I didn't play the EA so I'm not completely familiar with all the DOS2 options. Is this the "party management" option in the escape menu? Is this a coop thing? I've never actually used that option but I do see it only has the first few companions.

@Parkan, I'll see if I can upload to the Nexus but it might take some time. I've never used the Divinity Engine before today so it might take a while to figure out. I just picked it up today since I was also curious about getting 6 party members to work.
Posted By: Parkan Re: Mod Request - Larger party size - 18/09/17 07:47 AM
you can upload even on google.docs and share a link.or any other file hoster like mediafire.
Posted By: sirbuttsington Re: Mod Request - Larger party size - 18/09/17 08:04 AM
@Parkan, my issue was more that I'm not familiar with actually exporting the mod for GOG use. The Divinity Engine 2 has an easy "upload to Steam Workshop" button. I guess I can export a local copy of the mod (PAK file), but I'm not sure if it'll work for you. Let me know.

Link for PAK file: http://s000.tinyupload.com/index.php?file_id=04487562806379270289
Posted By: sirbuttsington Re: Mod Request - Larger party size - 18/09/17 09:01 AM
@Foodchain Thinking about your save vs new game issue some more, did you already have a 4 person party in your save that didn't work? I think the flag set/clear that I modified happens only after you add/remove someone from the party. Since my mod only clears the flag after adding someone, you couldn't add a new member because the flag was already set.

Basically the code does something like this

try_to_add_follower:
if(party_full_flag) do_not_add()
else add_follower()

after_add_follower:
if(party_count == max) set_party_full_flag() <-- I modified this to not actually set the flag

after_remove_follower:
clear_party_full_flag()

In saves with an already full party, only the try_to_add_follower function would be called, and the flag would remain unchanged. It might be possible then to add this mod to a save with existing followers and you just need to dismiss/rehire someone.
Posted By: Parkan Re: Mod Request - Larger party size - 18/09/17 09:55 AM
Originally Posted by sirbuttsington
@Parkan, my issue was more that I'm not familiar with actually exporting the mod for GOG use. The Divinity Engine 2 has an easy "upload to Steam Workshop" button. I guess I can export a local copy of the mod (PAK file), but I'm not sure if it'll work for you. Let me know.

Link for PAK file: http://s000.tinyupload.com/index.php?file_id=04487562806379270289


Yes.it worked.on new game.Got party 1Pc +5 NPC characters.Will continue to test.Thanks.
Posted By: Lauro Re: Mod Request - Larger party size - 18/09/17 10:49 AM
[quote=sirbuttsington]@Parkan, my issue was more that I'm not familiar with actually exporting the mod for GOG use. The Divinity Engine 2 has an easy "upload to Steam Workshop" button. I guess I can export a local copy of the mod (PAK file), but I'm not sure if it'll work for you. Let me know.

Link for PAK file: http://s000.tinyupload.com/index.php?file_id=04487562806379270289 [/quote]

Since im new to Modding and stuff.. how to add that .. since i also have GOG ? do i place that .pak files anywhere ? or in a special MOD folder?
Posted By: Parkan Re: Mod Request - Larger party size - 18/09/17 11:08 AM
data\mods in game directory.

Played a little more.So,teoretically we can have a lot of npc followers?Because a imanaged to hire all npc in Fort joy.I have 1 PC+6 NPC followers:lizard,mage,Ifan,beast,Fane,sibel.
Posted By: sirbuttsington Re: Mod Request - Larger party size - 18/09/17 02:15 PM
@Parkan, I took a two pronged approach in the mod. I first increased the max party size to 6, and then also changed the script to set the flag for a full party to not be set. So theoretically yes, you can have a lot of NPC followers but there may be more things that use that max party number. For my own testing I'm keeping it to 6.
Posted By: sirbuttsington Re: Mod Request - Larger party size - 18/09/17 08:30 PM
Quick update in case anyone is curious. I've successfully tested out combat, bartering, companion attitude change, companion quest lines*, formations, character sheet and inventory menus.

The next big test is going to be one portion in Act 1 where companions get auto-removed and added back in, and then if that succeeds the transition into Act 2 will probably be another major test. I didn't get very far into Act 2 originally before starting this mod so I'm not sure if anything else might cause issues, but I think that will be a pretty good check.

*Including an NPC which is involved in multiple companion quests. In this case one companion related to this NPC was recruited before the original 4 person limit, and the other companion was recruited after the 4 person limit. I also have been able to successfully test another companion quest line where the companion temporarily fights against you, so that is very promising.

Posted By: Toomuchbob Re: Mod Request - Larger party size - 18/09/17 10:36 PM
Is there a similar way to do this but allow additional clients to connect and control characters?
Posted By: Beyondist Re: Mod Request - Larger party size - 18/09/17 10:53 PM
Hey @sirbuttsington great job. I spent a few hours over the weekend looking for the code to do this. I found the max party size rather quickly, but wasn't able to find the flag to set the party as full or not. Would you be able to share where that line of code is, just so I can look at it and kick myself for missing it?

Thanks for doing this. I'm planning on starting a new playthrough with this mod tonight.
Posted By: Athymhormia Re: Mod Request - Larger party size - 19/09/17 12:52 AM
Thank you for sharing! Act 2 got me looking for party size mod, so I've installed it and loaded a save after getting on the ship, where companions get auto-removed. Playing as Sebille I was able to recruit all 5 companions, so I'd say transition into Act 2 went smoothly (:
Posted By: sirbuttsington Re: Mod Request - Larger party size - 19/09/17 04:20 AM
@Toomuchbob, I haven't touched any coop stuff, sorry

@Beyondist, it's actually in the same file. I believe there's also a secondary way to do it with the party members file as well to completely ignore the flag, but I didn't try removing that check since it's obviously easier to just change and build a single file.

@Athymohormia, thanks for the info!
Posted By: Lauro Re: Mod Request - Larger party size - 19/09/17 05:41 AM
There is a problem kinda... you know when you get do something on a quest or something happend to you all of your party members get a " ! " over their heads well if you have this mod this happens to ALL my party members and NOT all of them responded only the "original you and 3npc your recruit" party does... just saying.

ALSO
there is Pathing issues.. and dragging people out of the party to do something solo usually sneaking sometimes it brakes the party pathing...
Posted By: sirbuttsington Re: Mod Request - Larger party size - 19/09/17 06:54 AM
@Lauro Yep, I did note the conversation issues in the Steam workshop discussion and comments, thanks for confirming. It also happens with moments that do not explicitly have the "!", like with soul containers like Withermoore. Your first three recruits will comment but the rest will not.

I've been trying to play with the reflection dialog story scripts to see if I can force all companions to comment but I have not yet been successful. I will post an update if I am able to get it working.

As for pathing, I think there may be light pathing bugs in general which are just exacerbated by having so many people around. Before I even started making this mod I noticed several instances of my party not following me, or the camera not centering on me even after I force it to center (need to switch to another character, then back before centering will work), etc etc. With this mod those types of issues seem to occur more regularly (probably due to collisions as the levels weren't designed to so many characters constantly traveling together). But that's just a natural result of the pathing AI, I don't think there's much I can do there unfortunately.
Posted By: Parkan Re: Mod Request - Larger party size - 20/09/17 05:02 PM
With this mod game became more fun.I am just curious on one thing.I can have in party without problems 7 characters.Character 8 and more doesnt show their portrait and often cannot be connect to party members to autofollow or divide party.it will be very cool if someone can maade those portarait scrolling if there more than 6 party members in party(like it was for example in Neverwinternights 2.game Ui just add scrolling in portait zone of interface so player can have a lot of characters in time.

Playing with this mod i don''t find any problems.Just Ai pathfinding little glitches and only 3 hired characters have dialog in some moments of quests.
Posted By: Lauro Re: Mod Request - Larger party size - 22/09/17 07:16 AM
Anyone know if the new patch affect this mod ?
Posted By: bone340 Re: Mod Request - Larger party size - 27/12/17 10:33 PM
SO I am new to enabling the mod how do i use the PAK file. thanks
scott


[quote=Lauro][quote=sirbuttsington]@Parkan, my issue was more that I'm not familiar with actually exporting the mod for GOG use. The Divinity Engine 2 has an easy "upload to Steam Workshop" button. I guess I can export a local copy of the mod (PAK file), but I'm not sure if it'll work for you. Let me know.

Link for PAK file: http://s000.tinyupload.com/index.php?file_id=04487562806379270289 [/quote]

Since im new to Modding and stuff.. how to add that .. since i also have GOG ? do i place that .pak files anywhere ? or in a special MOD folder? [/quote]
© Larian Studios forums