Baldur's Gate 3

Baldur's Gate 3

View Stats:
руинер Aug 5, 2023 @ 12:55am
Как выгнать аватар друга из пати?
Купили с другом игру, ему не понравилось, он вернул кеш, но его аватар остался у меня в пати, как кикнуть его?
Originally posted by Brine5354:
В другом треде отвечал


На реддите наткнулся на гайд как удалить. Мне помогло, удалил перса друга и нормально играю.
Вот ссыль
https://www.reddit.com/r/BaldursGate3/comments/15qb8lu/guide_removing_custom_multiplayer_party_members/

---

Вот инструкция с поста

This is a guide on how to remove a custom multiplayer character from your party through Osiris scripts, typically used for modding. This is not a perfect solution- people have note some quirks with this including the inability for a real player to make a new custom character after removal. IMO this process works best for removing your friend who played 1 hour and left, not so much for removing a main character or for people trying to change their appearance.

Do this at your own risk... while these commands call functions built into BG3, this is obviously not the intended way to remove someone, and Larian devs (on Twitter) have already implied this feature is coming soon. Please read this whole post from start to finish before attempting it.



Prerequisites:

BG3 Script Extender Console files provided by Norbyte: Download "BG3SE-Updater-wConsole-v1.zip" from https://github.com/Norbyte/bg3se/releases



Steps to remove a character:

Load your game, empty/move the inventory of the character you're removing (to keep the goodies), and make a manual save as a backup. Name it something like "Pre-Delete" so you have a point of reference if something goes wrong. Exit the game completely when the save completes.

Extract the 2 files in bg-console-release.zip to your BG3 "bin" folder alongside the .exe's to launch it, usually:

C:\Program Files (x86)\Steam\steamapps\common\Baldurs Gate 3\bin

Launch the game. A command prompt window (the "console") will open alongside it, typically in the background. The Larian launcher will bark at you for having a "Data mismatch". This is fine, just click "Close" and the launcher will refresh itself. Click Play to launch the game.

Load your save (alone, you don't need/want other players with you for this). Once loaded, select the custom character you want to remove as the active character (portrait highlighted in white). Alt-tab back to the command prompt/console window.

In the console, type these commands one at a time and hit enter after each command. Copy the UUID printed out after the second command. This is the identifier of the character you want to remove, you will need to input this several times in the next step:

osi

print(GetHostCharacter())

In the console, type these commands one at a time and hit enter after each command, replacing the "UUID-HERE" with the output of the last command from step 5. You need to wrap the UUID in quotes as shown below or it will not work. Probably easiest to copy each command into Notepad and paste your UUID in. You can then usually right-click in command prompt to paste:

osi

MakeNPC("UUID-HERE")

SetOnStage("UUID-HERE", 0)

Osi.DB_Players:Delete("UUID-HERE")

Osi.DB_Avatars:Delete("UUID-HERE")

Osi.PROC_CheckPartyFull()

The custom character should be gone now and you're free to replace them with a companion. Make another manual save like "Post-Delete", and close the game.

Go back into the folder from Step #2 and delete the 2 files you dragged over. Your launcher should no longer bark about a data mismatch. You've now modified your save file (not any actual game files) so this should stick.

There are some issues with character-bound quest items like Shadowheart's artifact or the Necromancy book. If you remove the character who those are bound to, you may encounter some issues that require you move the items and transfer ownership. If I learn of any commands for specifics, I will list them here:

---

If the character you are removing holds Shadowheart's artifact/puzzle box, you need to run the following commands before deletion to prevent issues with story progression. This will move the item to a different character. With these commands, select a character you're keeping and want to have the artifact:

Osi.PROC_GLO_InfernalBox_MoveBoxToCharacter(GetHostCharacter())

Osi.PROC_GLO_InfernalBox_SetPlayerOwner(GetHostCharacter())

---

(Optional) Use these commands to hide the removed party member's chest in camp. Make sure to loot it first. I haven't figured out the "proper" commands to remove a chest, but this at least hides it. You could always just keep it around for extra storage, though.

for _,entry in pairs(Osi.DB_Camp_UserCampChest:Get(nil,nil)) do print(entry[2]) end



Take the output of this, and paste it into the "CHEST-UUID-HERE" below (in quotes). If there are multiple chest UUIDs output (if you deleted multiple characters), run this command once for each:

SetOnStage("CHEST-UUID-HERE", 0)

---

To explain what each thing does:

GetHostCharacter() reads/pulls the UUID (a string identifier representing a character, item, object, etc). In this case- of the selected/active character

MakeNPC() does what it implies, converting a player character into an NPC

SetOnStage() removes a character or item from being visible and "active" in other functions of the game (quests, sleeping, camp, story, etc). The 0 at the end removes it, a 1 at the end brings it back.

DB_Players:Delete and DB_Avatars:Delete both delete the character from several (but not all) parts of your save file's databases

CheckPartyFull() recalculates how many slots are available in your party now that one has been removed

The InfernalBox commands are self-explanatory, just moving and re-assigning the artifact

The for _,entry in pairs() chest command fetches a list of any orphaned chests

Previous Larian games had one command calling a process that would handle all of the above in a more "feature complete" way. BG3 doesn't have this yet.
< >
Showing 1-7 of 7 comments
No_name_thing Aug 5, 2023 @ 1:03am 
Esc
Сенас игры
Тыкай на портрет
Выкидвай
руинер Aug 5, 2023 @ 1:42am 
Originally posted by No_name_thing:
Esc
Сенас игры
Тыкай на портрет
Выкидвай
У меня никаких действий нет с портретом
Amedomary Aug 5, 2023 @ 9:14am 
вопрос открыт
Как выгнать аватар друга из пати?
Medivhmeister Aug 5, 2023 @ 9:00pm 
тоже не пойму как. Друг вышел, персонаж остался и убрать из пачки не понимаю как
np Aug 20, 2023 @ 6:50am 
на момент август 2023 никак нельзя удалить :steamthumbsdown:
The author of this thread has indicated that this post answers the original topic.
Brine5354 Aug 20, 2023 @ 1:06pm 
В другом треде отвечал


На реддите наткнулся на гайд как удалить. Мне помогло, удалил перса друга и нормально играю.
Вот ссыль
https://www.reddit.com/r/BaldursGate3/comments/15qb8lu/guide_removing_custom_multiplayer_party_members/

---

Вот инструкция с поста

This is a guide on how to remove a custom multiplayer character from your party through Osiris scripts, typically used for modding. This is not a perfect solution- people have note some quirks with this including the inability for a real player to make a new custom character after removal. IMO this process works best for removing your friend who played 1 hour and left, not so much for removing a main character or for people trying to change their appearance.

Do this at your own risk... while these commands call functions built into BG3, this is obviously not the intended way to remove someone, and Larian devs (on Twitter) have already implied this feature is coming soon. Please read this whole post from start to finish before attempting it.



Prerequisites:

BG3 Script Extender Console files provided by Norbyte: Download "BG3SE-Updater-wConsole-v1.zip" from https://github.com/Norbyte/bg3se/releases



Steps to remove a character:

Load your game, empty/move the inventory of the character you're removing (to keep the goodies), and make a manual save as a backup. Name it something like "Pre-Delete" so you have a point of reference if something goes wrong. Exit the game completely when the save completes.

Extract the 2 files in bg-console-release.zip to your BG3 "bin" folder alongside the .exe's to launch it, usually:

C:\Program Files (x86)\Steam\steamapps\common\Baldurs Gate 3\bin

Launch the game. A command prompt window (the "console") will open alongside it, typically in the background. The Larian launcher will bark at you for having a "Data mismatch". This is fine, just click "Close" and the launcher will refresh itself. Click Play to launch the game.

Load your save (alone, you don't need/want other players with you for this). Once loaded, select the custom character you want to remove as the active character (portrait highlighted in white). Alt-tab back to the command prompt/console window.

In the console, type these commands one at a time and hit enter after each command. Copy the UUID printed out after the second command. This is the identifier of the character you want to remove, you will need to input this several times in the next step:

osi

print(GetHostCharacter())

In the console, type these commands one at a time and hit enter after each command, replacing the "UUID-HERE" with the output of the last command from step 5. You need to wrap the UUID in quotes as shown below or it will not work. Probably easiest to copy each command into Notepad and paste your UUID in. You can then usually right-click in command prompt to paste:

osi

MakeNPC("UUID-HERE")

SetOnStage("UUID-HERE", 0)

Osi.DB_Players:Delete("UUID-HERE")

Osi.DB_Avatars:Delete("UUID-HERE")

Osi.PROC_CheckPartyFull()

The custom character should be gone now and you're free to replace them with a companion. Make another manual save like "Post-Delete", and close the game.

Go back into the folder from Step #2 and delete the 2 files you dragged over. Your launcher should no longer bark about a data mismatch. You've now modified your save file (not any actual game files) so this should stick.

There are some issues with character-bound quest items like Shadowheart's artifact or the Necromancy book. If you remove the character who those are bound to, you may encounter some issues that require you move the items and transfer ownership. If I learn of any commands for specifics, I will list them here:

---

If the character you are removing holds Shadowheart's artifact/puzzle box, you need to run the following commands before deletion to prevent issues with story progression. This will move the item to a different character. With these commands, select a character you're keeping and want to have the artifact:

Osi.PROC_GLO_InfernalBox_MoveBoxToCharacter(GetHostCharacter())

Osi.PROC_GLO_InfernalBox_SetPlayerOwner(GetHostCharacter())

---

(Optional) Use these commands to hide the removed party member's chest in camp. Make sure to loot it first. I haven't figured out the "proper" commands to remove a chest, but this at least hides it. You could always just keep it around for extra storage, though.

for _,entry in pairs(Osi.DB_Camp_UserCampChest:Get(nil,nil)) do print(entry[2]) end



Take the output of this, and paste it into the "CHEST-UUID-HERE" below (in quotes). If there are multiple chest UUIDs output (if you deleted multiple characters), run this command once for each:

SetOnStage("CHEST-UUID-HERE", 0)

---

To explain what each thing does:

GetHostCharacter() reads/pulls the UUID (a string identifier representing a character, item, object, etc). In this case- of the selected/active character

MakeNPC() does what it implies, converting a player character into an NPC

SetOnStage() removes a character or item from being visible and "active" in other functions of the game (quests, sleeping, camp, story, etc). The 0 at the end removes it, a 1 at the end brings it back.

DB_Players:Delete and DB_Avatars:Delete both delete the character from several (but not all) parts of your save file's databases

CheckPartyFull() recalculates how many slots are available in your party now that one has been removed

The InfernalBox commands are self-explanatory, just moving and re-assigning the artifact

The for _,entry in pairs() chest command fetches a list of any orphaned chests

Previous Larian games had one command calling a process that would handle all of the above in a more "feature complete" way. BG3 doesn't have this yet.
< >
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: Aug 5, 2023 @ 12:55am
Posts: 7