|
|
本帖最后由 DGSSMGY 于 2025-7-25 17:16 编辑
解决了的说 我犯蠢了搞错版本了 
---------------------------------------------------------------------------------------------------
phobos版本是最新的build47 按照官方说明文档尝试自己写了左侧侧边栏代码 (在社区的中文说明文档里也没有找到超武侧边栏相关条目的说)
侧边栏素材是phobos补充资源库里的超武侧边栏sidebar文件 但是进游戏没有任何效果 超武还是在右侧侧边栏显示
(说明书里还写到可以用快捷键快速显示/隐藏超武侧边栏 还有个快捷键可以快速释放侧边栏对应位置超武 但是我写了KeysEnabled 进游戏在设置里没有找到快捷键选项 不过说明书写明由于功能不稳定默认禁用快捷键了 也没有仔细研究这玩意)
贴上代码
rulesmd中
[AudioVisual]
超武侧边栏
SuperWeaponSidebar.AllowByDefault=true
[GlobalControls]
;debug按键功能
DebugKeysEnabled=true
;超武侧边栏功能
SuperWeaponSidebarKeysEnabled=true
[GDI]
SuperWeaponSidebar.OnPCX=swside01on.pcx ; filename - including the .pcx extension
SuperWeaponSidebar.OffPCX=swside01off.pcx ; filename - including the .pcx extension
SuperWeaponSidebar.TopPCX=swside01top.pcx ; filename - including the .pcx extension
SuperWeaponSidebar.CenterPCX=swside01center.pcx ; filename - including the .pcx extension
SuperWeaponSidebar.BottomPCX=swside01bottom.pcx ; filename - including the .pcx extension
[CheatDelivery] ;测试
SuperWeaponSidebar.Allow=true ; boolean
SuperWeaponSidebar.PriorityHouses=British,French,Germans,Americans,Alliance ; List of house types
SuperWeaponSidebar.RequiredHouses=British,French,Germans,Americans,Alliance ; List of house types
SuperWeaponSidebar.Significance=100 ; integer
uimd中
[Sidebar]
;超武侧边栏
SuperWeaponSidebar=true ; boolean ;超武侧边栏开启
SuperWeaponSidebar.Pyramid=false ; boolean ;金字塔排列
SuperWeaponSidebar.Interval=12 ; integer, pixels ;两列图标间距
SuperWeaponSidebar.LeftOffset=6 ; integer, pixels ;与左侧背景间距
SuperWeaponSidebar.CameoHeight=50 ; integer, pixels ; 两个图标顶部之间的距离 应大于48保证完整显示图标
SuperWeaponSidebar.Max=8 ; integer ;每列图标数量
SuperWeaponSidebar.MaxColumns=4 ; integer ;最多几列
这里我用的是phobos补充资源库里的侧边栏素材 间距数值直接按照说明文档给的值填的
RA2MD中
[Phobos]
SuperWeaponSidebar.RequiredSignificance=0
头疼 研究半天没找到问题 求助下佬们
|
|