Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Sep 2017
D
stranger
OP Offline
stranger
D
Joined: Sep 2017
How do I make a mod to scale up or down a character size in singleplayer, if possible?

Joined: Oct 2017
Location: United Kingdom
journeyman
Offline
journeyman
Joined: Oct 2017
Location: United Kingdom
In the editor double click a character then on the left sidebar at the bottom is a "Scale" option. 1 being normal, 2 being twice the size, 0.5 being half the size etc.

Joined: Sep 2017
D
stranger
OP Offline
stranger
D
Joined: Sep 2017
[quote=Branvex]In the editor double click a character then on the left sidebar at the bottom is a "Scale" option. 1 being normal, 2 being twice the size, 0.5 being half the size etc.[/quote] [quote=Branvex]In the editor double click a character then on the left sidebar at the bottom is a "Scale" option. 1 being normal, 2 being twice the size, 0.5 being half the size etc.[/quote]

But how do I scale my actual singleplayer main character? How do I load my saved game into the editor?

Joined: Jul 2017
W
enthusiast
Offline
enthusiast
W
Joined: Jul 2017
Will armor and weapons automatically scale if its a player character?

Joined: Mar 2016
Location: Belgium
T
addict
Offline
addict
T
Joined: Mar 2016
Location: Belgium
To scale your main character, you have to change the scale on that character. The origins all are global characters in the Divinity origins mod; their names start with S_Player_ (e.g. S_Player_RedPrince, S_Player_Fane, ...). The generic characters use S_Player_GenericOrigin and S_Player_GenericOrigin2/3/4. I'm not sure if their scale will be kept when they get transformed to the appropriate race and gender though.

Also keep in mind that the game maps have been made with the standard character sizes in mind. This means that if you increase the size, you may not be able to walk everywhere anymore. If you reduce it, you may be able to bypass certain obstacles.

I'm quite certain weapons won't scale with model size changes. I don't know about armor. It works if you scale NPCs, but equipment is handled differently for players and for NPCs.

Joined: Sep 2017
D
stranger
OP Offline
stranger
D
Joined: Sep 2017
Originally Posted by Tinkerer
To scale your main character, you have to change the scale on that character. The origins all are global characters in the Divinity origins mod; their names start with S_Player_ (e.g. S_Player_RedPrince, S_Player_Fane, ...). The generic characters use S_Player_GenericOrigin and S_Player_GenericOrigin2/3/4. I'm not sure if their scale will be kept when they get transformed to the appropriate race and gender though.

Also keep in mind that the game maps have been made with the standard character sizes in mind. This means that if you increase the size, you may not be able to walk everywhere anymore. If you reduce it, you may be able to bypass certain obstacles.

I'm quite certain weapons won't scale with model size changes. I don't know about armor. It works if you scale NPCs, but equipment is handled differently for players and for NPCs.



So i opened up the divinity origins mods, now how to I select global characters? all I can see are the different maps.

Joined: Mar 2016
Location: Belgium
T
addict
Offline
addict
T
Joined: Mar 2016
Location: Belgium
Originally Posted by De Brute
So i opened up the divinity origins mods, now how to I select global characters? all I can see are the different maps.

You cannot change things directly in origins. You have to create an add-on project that depends on DivinityOrigins.

See this post for more details (it's about modding Lohse, which is also a global character).

Joined: Sep 2017
D
stranger
OP Offline
stranger
D
Joined: Sep 2017
Originally Posted by Tinkerer
Originally Posted by De Brute
So i opened up the divinity origins mods, now how to I select global characters? all I can see are the different maps.

You cannot change things directly in origins. You have to create an add-on project that depends on DivinityOrigins.

See this post for more details (it's about modding Lohse, which is also a global character).


This seems to only work on npcs already in the world however since you have to choose a map, not existing saved games that could edit my main character where he is right now in the game.

Joined: Jan 2018
S
stranger
Offline
stranger
S
Joined: Jan 2018
Hello,

Is it not possible to change the scale of a playable character (Sebille in this case, because I like my elves small) by editing a savegame file?

What I tried (and did not work) is the following:

After unequipping all gear on the character to be scaled (not because I am a pervert, but because I think it caused a crash when I tried scaling with gear on), I make a save file. I edit it using the converter tool. I locate my character within globals.lsx, for example by searching the GUID. I tried both:

[code]<attribute id="Scale" value="0.5" type="6" />[/code]

and

[code]<children>
<node id="Transform">
<attribute id="Scale" value="0.5" type="6" />
</node>[/code]

within globals.lsx and also tried [code]PlayerCustomData[/code] within rc_main (I am in Reaper's Coast in that savegame). I observed no changes at all.

I don't really know what I am doing, I am just trying things :) Could someone please show me the way. Which file should I modify for scaling? I would like the change to affect my current game.

(Is the [code]...\Mods\DivinityOrigins_...\Globals\FJ_FortJoy_Main\Characters\_merged.lsx[/code] file relevant? Sebille is my main character: Not recruited in Fort Joy.)

Thank you.

Joined: Jan 2018
S
stranger
Offline
stranger
S
Joined: Jan 2018
My question is still valid, but it seems there is an alternative solution(with some drawbacks) for what I try to achieve. So before I forget the details, I will share them here. Maybe it helps someone.

Instead of making Sebille smaller, I replaced the template of my character in the [code]globals[/code] file (within the extracted savefile) [Sebille's template --> Saheila's template]. I wanted a small elf, I got a small elf :)

GUID1:Your current character's GUID
GUID2:GUID of the NPC you want to switch
TEMP:A temporary string of your choosing. Make sure it does not occur in any of the files.
1.Remove all equiped items (just in case)
2.Dismiss all party members (otherwise they won't recognize you after the change) (remember to recruit them back after the changes)
2.Extract all savegame files into lsx
3.Find & replace all occurances of GUID2 with TEMP
3.Find & replace all occurances of GUID1 with GUID2
4.Find & replace all occurances of TEMP with GUID10
5.Repack & reload
6.If the change gave your character an undesirable status (such as permanent blind of Saheila), edit the savegame again to remove that
7.Modify the appearance using the mirror

Sadly, armors don't show up, and the corresponding body parts become invisible. This is the only downside I noticed so far. I am using a mod that can make armor skin disappear (morph vanish!) so it isn't too bad.

So, if you want to scale up or down badly, and you know an NPC whose scale/race/gender matches...

Last edited by scaler; 06/01/18 09:40 PM.
Joined: Jul 2017
W
enthusiast
Offline
enthusiast
W
Joined: Jul 2017
i've followed all the instructions here but scale isn't being carried over even through i did it as a new race and the guid has the scale saved.
https://docs.larian.game/My_first:_Character_creation_race#Female.2FMale_Root_Template_IDs


Joined: Jan 2018
S
stranger
Offline
stranger
S
Joined: Jan 2018
So after watching a tutorial video explaining root templates and globals, I gave scaling one more try. I edited 'scale' attribute of Sebille in "\Globals\FJ_FortJoy_Main\Characters\_merged.lsf", and the change was visible once I restarted the game and loaded my save. Things are much simpler when you have an idea about what you are doing...

Joined: Jul 2017
W
enthusiast
Offline
enthusiast
W
Joined: Jul 2017
I can't even find "\Globals\FJ_FortJoy_Main\Characters\_merged.lsf"

Joined: Jan 2018
S
stranger
Offline
stranger
S
Joined: Jan 2018
You get that folder structure when .../Data/Origins.pak is extracted. For extraction (and repacking)

Pak Extractor Guide

can be used.

Joined: Jan 2018
M
stranger
Offline
stranger
M
Joined: Jan 2018
I'm able to scale characters though while most armor pieces seem to scale with the size, the head slot armor doesn't seem to scale or move appropriately. It just clips around where the head is for a normal-height character.

Does anyone know if there is a fix for that or if there is a way to adjust the position/size of the helmet assets in a custom visual set or something?

Joined: Jul 2017
W
enthusiast
Offline
enthusiast
W
Joined: Jul 2017
When scaled normally in the enging the helmet moved and scaled with my giants mod.

Joined: Sep 2021
D
stranger
Offline
stranger
D
Joined: Sep 2021
I wanted to ask something. I’m aware that the NPC like Red Prince work. But I wanted to know if this can be applied to custom characters as well? I tried using the female hero Lizard but when I open the game their has not been any change to my character. If anyone know more any help would be perfect.


Moderated by  Larian_KVN 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5