dol吧 关注:197,458贴子:1,156,224
  • 1回复贴,共1

染发功能,一点战斗轮&特写美化&游戏代码相关求助

取消只看楼主收藏回复


1.战斗轮的头发色彩渲染怎么修改,实在受不了这个全头亮蓝色【】
战斗轮头发好像是跟着双色后发的色调1走的,怎么说呢,就算不能左右渐变 至少希望是个黑毛()
编程技能0英语成绩0翻代码完全看不出哪些是相关内容,只能给自己一个不要染发的保底选项
2.染发影响范围怎么改,刘海染了靠近脸部,但特写上范围只有旁边一撮.
翻文件夹没找到贴图,又去翻了染发的相关代码,但是对代码一窍不通看不懂……
"face-frame": {
all: {
gradient: "radial",
values: [125, 103, 0, 125, 103, 350],
lengthFunctions: [(length, value) => value, (length, value) => value],
colors: [
[0.15, "rgba(0, 0, 0, 1)"],
[0.175, "rgba(0, 0, 0, 1)"],.


IP属地:福建1楼2023-09-13 12:08回复
    左看右看还是没捣腾出什么,但翻到了染发的双色染与战斗事件发色相关代码,拖进翻译软件,代码技能为0判定自动失败,大脑发光中
    <<elseif $twoToneHairDye>>
    <<set _gradient to {
    style: $twoToneStyle,
    colours: [$twoToneDyeOption1, $twoToneDyeOption2]
    }>>
    <<if $dyedHairPart is "sides" or $dyedHairPart is "hair">>
    <<set $hairColourStyle to "gradient">>
    <<set $haircolour to clone($twoToneDyeOption1)>> /* This is set as a 'fallback' color for combat renderer */
    <<set $hairColourGradient to clone(_gradient)>>
    <</if>>
    <<if $dyedHairPart is "fringe" or $dyedHairPart is "hair">>
    <<set $hairFringeColourStyle to "gradient">>
    <<set $hairfringecolour to clone($twoToneDyeOption2)>> /* This is set as a 'fallback' color for combat renderer */
    <<set $hairFringeColourGradient to clone(_gradient)>>
    <</if>>


    IP属地:福建3楼2023-09-13 14:34
    收起回复