3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 6530|回复: 8
打印 上一主题 下一主题

[原创] 《七日杀》A16.4_b8-30乘10等于300格背包外加状态常显

[复制链接]

9

主题

689

帖子

597

积分

高级玩家

Rank: 4

贡献度
0
金元
5974
积分
597
精华
0
注册时间
2013-11-10
跳转到指定楼层
主题
发表于 2018-9-3 16:47 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 GamerBlank 于 2018-9-3 16:47 编辑

《七日杀》A16.4_b8-30乘10等于300格背包外加状态常显


使用的游戏版本:
http://dl.3dmgame.com/201710/117186.html
汉化用的是:
《七日杀》A16.4_b8汉化补丁【游乐园汉化出品】
背包:
10行30列共计300

常显示状态:
食物

等级(经验)
温度
风速
高度
链接:https://pan.baidu.com/s/1NmSQOGYLEoPdtH162fq8VQ 密码:1cwj

使用本修改文件后UI界面(影响字体、图标等)大概会变成原来的70%,请注意食用!!!
添加\Data\config\ui\windows.xml
        <window name="HUDLeftStatBars">
        <!-- ··· -->
                <!-- // 食物、水、等级 // -->
                        <rect width="168" height="43" controller="HUDStatBar" stat_type="Food" visible="{statvisible}">
                                <sprite depth="1" name="border" color="0,0,0,100" height="43" type="sliced" />
                                <sprite depth="2" pos="3,-3"  name="background" height="37" width="162" color="64,64,64,100" type="sliced" />
                                <sprite depth="3" pos="3,-3"  name="BarContent" type="filled" height="37" width="162" color="52,174,86" fill="0" />
                                <sprite depth="4" name="Icon" atlas="{staticonatlas|once}" sprite="ui_game_symbol_fork" size="32,32" pos="8,-6" foregroundlayer="true"/>
                                <label depth="6" name="lblFood" pos="10,-8" font_size="28" color="[white]" justify="center" pivot="topleft" text="{playerfood}%[-]" height="30" controller="PlayerStatsWindow"/>
                        </rect>
                        
                        <rect width="168" height="43" controller="HUDStatBar" stat_type="Water" visible="{statvisible}">
                                <sprite depth="1" name="border" color="0,0,0,100" height="43" type="sliced" />
                                <sprite depth="2" pos="3,-3"  name="background" height="37" width="162" color="64,64,64,100" type="sliced" />
                                <sprite depth="3" pos="3,-3"  name="BarContent" type="filled" height="37" width="162" color="52,137,167" fill="0" />
                                <sprite depth="4" name="Icon" atlas="{staticonatlas|once}" sprite="ui_game_symbol_water" size="32,32" pos="8,-6" foregroundlayer="true"/>
                                <label depth="6" name="lblWater" pos="10,-8" font_size="28" color="[white]" justify="center" pivot="topleft" text="{playerwater}%[-]" height="30" controller="PlayerStatsWindow"/>
                        </rect>

                        <rect width="168" height="43" controller="PlayerStatsWindow">
                                <sprite depth="1" name="border" color="0,0,0,100" height="43" type="sliced"/>
                                <sprite depth="2" pos="3,-3"  name="background" height="37" width="162" color="64,64,64,100" type="sliced" />
                                <sprite depth="2" width="162" pos="3, -3" height="37" type="filled" color="240,200,80" fill="{playerlevelfill}" />
                                <sprite depth="4" name="tempIcon" atlas="{staticonatlas|once}" sprite="ui_game_symbol_trophy" size="32,32" pos="8,-6" foregroundlayer="true"/>                                
                                <label depth="6" name="levelNumber" pos="10,-8" font_size="28" color="[white]"   justify="center"  pivot="topleft" text="{playerlevel}[-]" height="30" controller="PlayerStatsWindow"/>
                                
                        </rect>        
                        <!-- // 温度、风速、海拔栏 // -->
                        <rect width="168" height="43" controller="HUDStatBar">
                                <sprite depth="1" name="border" color="0,0,0,100" height="43" type="sliced"/>
                                <sprite depth="2" pos="3,-3"  name="background" height="37" width="162" color="64,64,64,100" type="sliced" />
                                <sprite depth="4" name="tempIcon" atlas="{staticonatlas|once}" sprite="ui_game_symbol_temperature" size="32,32" pos="8,-6" foregroundlayer="true"/>
                                <label depth="6" name="tempLabel" pos="10,-8" font_size="28" color="[white]"   justify="center"  pivot="topleft" text="{playercoretemp}[-]" height="30" controller="MapStats"/>
                        </rect>
                        
                        <rect width="168" height="43" controller="HUDStatBar">
                                <sprite depth="1" name="border" color="0,0,0,100" height="43" type="sliced"/>
                                <sprite depth="2" pos="3,-3"  name="background" height="37" width="162" color="64,64,64,100" type="sliced" />                        
                                <sprite depth="4" name="windIcon" atlas="{staticonatlas|once}" sprite="ui_game_symbol_wind" size="32,32" pos="8,-6" foregroundlayer="true"/>
                                <label depth="6" name="windLabel" pos="50,-8" font_size="28" color="[white]"  pivot="topleft" text="{mapwind} MPH[-]" height="30" controller="MapStats"/>
                        </rect>
                        
                        <rect width="168" height="43" controller="HUDStatBar">
                                <sprite depth="1" name="border" color="0,0,0,100" height="43" type="sliced"/>
                                <sprite depth="2" pos="3,-3"  name="background" height="37" width="162" color="64,64,64,100" type="sliced" />
                                <sprite depth="4" name="elevIcon" atlas="{staticonatlas|once}" sprite="ui_game_symbol_climb" size="32,32" pos="8,-6" foregroundlayer="true"/>
                                <label depth="6" name="elevLabel" pos="50,-8" font_size="28" color="[white]"  pivot="topleft" text="{mapelevation} M[-]" height="30" controller="MapStats"/>
                        </rect>
                </grid>
        <!-- ··· -->
        </window>

修改文件
\Data\Config\xui.xml
        <ruleset name="default" scale="0.7" stackpanel_scale="1.05">
        
\Data\config\ui\windows.xml
        <!-- 修改<window name="windowBackpack" width="2254" height="646" panel="Center" controller="BackpackWindow" cursor_area="true" > 中width
                 修改rows="10" cols="30"
        -->
        <window name="windowBackpack" width="2254" height="646" panel="Center" controller="BackpackWindow" cursor_area="true" >
        <!--#$-IGS END.-$#-->
                <panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
                        <button depth="3" name="btnSort" style="icon32px, press, hover" pivot="center" pos="21,-21" sprite="ui_game_symbol_backpack" tooltip_key="lblSortInventory" sound="[paging_click]" />
                        <label depth="3" name="windowName" pos="42,-6" width="250" height="32" text="INVENTORY" text_key="xuiInventory" font_size="32" />

                        <label depth="2" pos="472,-8" width="100" height="28" text="{currencyamount}" color="[mediumGrey]" justify="right" />
                        <sprite depth="4" name="costIcon" sprite="ui_game_symbol_coin" size="24,24" pos="577,-10" color="[white]" foregroundlayer="true" />
                </panel>

                <panel name="content" width="100%" height="603" depth="0" pos="0,-46" disableautobackground="true">
                                <!-- <sprite name="background" color="[black]" type="sliced" globalopacity="true"/> -->
                                <sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,0" width="603" height="303" color="[black]" type="sliced" fillcenter="false" on_press="true" />
                                <grid depth="1" name="inventory" rows="10" cols="30" pos="3,-3" cell_width="75" cell_height="75" controller="Backpack" repeat_content="true" >
                                        <item_stack name="0"/>
                                </grid>
                </panel>
        </window>
        
        <!-- 修改rows="11" cols="31" -->
        <window name="windowLooting" width="2296" height="753" controller="LootWindow" panel="Left" anchor_side="bottomright" visible="false" cursor_area="true" >
        <!--#$-IGS END.-$#-->
                <panel name="header" height="43" depth="0" disableautobackground="true">
                        <sprite depth="1" name="headerbackground" sprite="ui_game_panel_header"/>
                        <button depth="3" name="btnSort" style="icon32px, press, hover" pivot="center" pos="21,-21" sprite="ui_game_symbol_loot_sack" tooltip_key="lblSortContainer" sound="[paging_click]" />
                        <label depth="2" name="lootName" pos="39,-6" width="172" height="32" text="LOOT" text_key="xuiLoot" font_size="32" />

                        <label depth="2" name="takeAllLabel" width="32" height="30" font_size="30" color="[mediumGrey]" justify="left" pos="260,-8"/>

                        <sprite depth="2" name="takeAllIcon" style="icon32px" sprite="ui_game_symbol_hand" color="[mediumGrey]" pos="220, -4"/>
                </panel>
                <sprite depth="0" name="gridBackground" color="255,255,255,1" type="sliced" pos="0, 0" globalopacity="true" on_press="true" />
                <rect name="content" pos="3,-49" >
                        <grid depth="12" name="queue" rows="11" cols="31" cell_width="75" cell_height="75" repeat_content="true" controller="LootContainer">
                                <item_stack name="0"/>
                        </grid>
                </rect>
        </window>
\Data\Config\loot.xml        
        <!-- 修改size"31,11" -->
        <!-- player dropped backpacks, they only destroy on close when they are empty -->
        <lootcontainer id="41" count="0" size="31,11" destroy_on_close="true" sound_open="UseActions/open_backpack" sound_close="UseActions/close_backpack" open_time="1" loot_quality_template="baseTemplate">
        <item name="cobweb" count="1,2" prob="0.01"/>
        </lootcontainer>

\7DaysToDie_Data\Managed\Assembly-CSharp.dll

Bag类中
GetSlots()
SetSlots()
AddItem()
各个中的一个32为300
PlayerDataFile类中:
Read()的前3个32为300

预览图.jpg (189.13 KB, 下载次数: 5)

预览图.jpg
回复

使用道具 举报

0

主题

3

帖子

12

积分

新手玩家

Rank: 1

贡献度
0
金元
122
积分
12
精华
0
注册时间
2024-3-2
舒服的沙发
发表于 2024-4-15 00:05 来自手机 | 只看该作者
请问会下线掉东西吗?
回复 支持 反对

使用道具 举报

0

主题

3

帖子

12

积分

新手玩家

Rank: 1

贡献度
0
金元
122
积分
12
精华
0
注册时间
2024-3-2
硬硬的板凳
发表于 2024-4-23 15:09 | 只看该作者
GamerBlank 发表于 2018-9-7 11:28
.NET Reflector 打开DLL
.NET Reflector有个插件Reflexil 修改DLL

请问一下,用Reflecxil修改后,一直保存不了,怎么办?
回复 支持 反对

使用道具 举报

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

本版积分规则

Archiver|手机版|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2026-4-13 05:40 , Processed in 0.028225 second(s), 18 queries , Memcached On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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