找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1762|回复: 13

请教:phobos的多部分阴影问题,显示并非所描述的!

[复制链接]
发表于 2024-7-1 10:04:03 | 显示全部楼层 |阅读模式
如题:
[ZGSHAD]
ShadowIndex=0                                         
ShadowIndices=0,1,2                                            ;要显示的Scetion层阴影列表
ShadowIndex.Frame=0                                 ;整数(HVA 动画帧索引)HVA 动画的哪一帧来显示阴影 默认0
ShadowIndices.Frame=-1,-1,-1                    ;整数列表(HVA 动画帧索引)-1 是特殊值.表示使用当前显示的帧.ShadowIndices.Frame 默认为此值.

section 一共3个 0、1、2   但是也并没有显示出来全部,还是只显示机身,2个螺旋浆还是没有显示出来??

哪位能给整明白了,
发表于 2024-7-1 10:54:54 | 显示全部楼层
本帖最后由 ruanhuhu 于 2024-7-1 10:56 编辑

游戏还自带有这两个语句 对于你的问题 主要是第二句
我看了教程里没有 具体的去查阅modenc
DisableVoxelCache=yes
DisableShadowCache=yes

DisableShadowCache on ModEnc, the Command & Conquer Modding Encyclopedia (renegadeprojects.com)


回复

使用道具 举报

 楼主| 发表于 2024-7-1 12:23:45 | 显示全部楼层
ruanhuhu 发表于 2024-7-1 10:54
游戏还自带有这两个语句 对于你的问题 主要是第二句
我看了教程里没有 具体的去查阅modenc
DisableVoxelCa ...

感谢大老指教
就这个:https://phobos.readthedocs.io/en ... lti-section-shadows

但是我试了几 个都不管用,但也有多显示1个section的体素,但并不尽人意,不明白到底是个啥操作,可能和体素本身也有关系

Voxel body multi-section shadows
It is also now possible for vehicles and aircraft to display shadows for multiple sections of the voxel body at once, instead of just one section specified by ShadowIndex, by specifying the section indices in ShadowIndices (which defaults to ShadowIndex) in unit’s artmd.ini entry.

ShadowIndex.Frame and ShadowIndices.Frame can be used to customize which frame of the HVA animation for the section from ShadowIndex and ShadowIndices is used to display the shadow, respectively. -1 is special value which means currently shown frame is used, and ShadowIndices.Frame defaults to this.

In artmd.ini:

[SOMETECHNO]          ; TechnoType
ShadowIndices=        ; list of integers (voxel section indices)
ShadowIndex.Frame=0   ; integer (HVA animation frame index)
ShadowIndices.Frame=  ; list of integers (HVA animation frame indices)
回复

使用道具 举报

发表于 2024-7-1 15:45:42 来自手机 | 显示全部楼层
xindun110 发表于 2024-7-1 12:23
感谢大老指教
就这个:https://phobos.readthedocs.io/en/latest/Fixed-or-Improved-Logics.html?highlig ...

DisableShadowCache=yes请问你添加这句了吗? 怀疑素材有问题就替换绝对没问题的素材进去看看
回复

使用道具 举报

发表于 2024-7-1 16:41:03 来自手机 | 显示全部楼层
试试把ShadowIndex相关的东西删掉
回复

使用道具 举报

发表于 2024-7-1 17:59:45 来自手机 | 显示全部楼层
把奎秃斯删掉就好了
回复

使用道具 举报

 楼主| 发表于 2024-7-1 22:13:04 | 显示全部楼层
ruanhuhu 发表于 2024-7-1 15:45
DisableShadowCache=yes请问你添加这句了吗? 怀疑素材有问题就替换绝对没问题的素材进去看看 ...

这个添加了,缓存这个没啥影响,它影响读取速度。phobos这个意思是能显示多个section,但事实上并不是按注释所讲。。。
回复

使用道具 举报

 楼主| 发表于 2024-7-1 22:15:09 | 显示全部楼层
nuke 发表于 2024-7-1 16:41
试试把ShadowIndex相关的东西删掉


去掉了:
ShadowIndices=0,1,2       
ShadowIndices.Frame=-1,-1,-1
只写这两句也没啥效果。。。
回复

使用道具 举报

 楼主| 发表于 2024-7-1 22:17:24 | 显示全部楼层
双杀步枪 发表于 2024-7-1 17:59
把奎秃斯删掉就好了

不会吧,奎秃斯也没有这个方面的设定啊!
回复

使用道具 举报

 楼主| 发表于 2024-7-1 22:54:51 | 显示全部楼层
千人千思想,万人万道理,红警和传奇是一代人的爱好....能延续至今。。可见!可赞!不可比。。

烂不烂得感谢大老们想不想炖了它,当然,引擎限制,足已喂饱一代人。。。仅此而已,,为时代服务!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|Archiver|手机版|管理员邮箱|红警DIY论坛

GMT+8, 2025-6-16 12:30 , Processed in 0.050717 second(s), 14 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表