Barotrauma 潜渊症

Barotrauma 潜渊症

avvos_StarfoxMod
Avvoltio  [开发者] 2022 年 6 月 3 日 下午 8:16
For People Looking for a Workaround for [HEADID]
Ok I got it, You have one of your heads look like this inside Human.xml

<Head id="1" sheetindex="0,0" gender="male" tags="head1"/>
<Head id="2" sheetindex="1,0" gender="male" tags="head2"/>
...

where [tags="head1"] is the new thing that's added to each head

and right underneath the heads it looks like this

</Heads>
<Vars>
<Var var="NEWHEAD" tags="head1,head2,..."/>
<Var var="GENDER" tags="female,male" />
</Vars>

Where the "NEWHEAD" is the thing you write


Now go to The Human ragdoll and use [NEWHEAD] Variable, Or whatever you named it and it's going to return head1 for me.

This helps with indexing the filepaths for heads/bodies and helps you make a better fullbody mods for barotrauma

Now inside defaultragdoll.xml it has filepaths that look like this

texture="%ModDir%/Characters/Human/Bodies/Human_[GENDER]_[NEWHEAD].png"

and 20 or so bodies to go with them
Hope this helps!
最后由 Avvoltio 编辑于; 2022 年 6 月 3 日 下午 8:32
< >
正在显示第 1 - 2 条,共 2 条留言
Mereel 2022 年 7 月 7 日 下午 7:42 
Think a version without the pre-colored heads is possible maybe, also ever planning on giving them just a completely bare nude body to make it more compatible with clothing mods or just sticking with this one? Still great mod and many thanks!
Avvoltio  [开发者] 2022 年 7 月 7 日 下午 11:47 
Maaaybe, it's gonna be quite a bit of work cause I got so many heads
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50