Jump to content

Compilation of Storage/UI-Mods : THE BIG STORAGE ONE


rucky

Recommended Posts

EDIT/UPDATE: New Version for Alpha 15.1 out! See here

 

For Old Version 14.7 : Hey Chummers and Zombie-Slayers,

 

as of public demand - okay, were only two or three or so - I will share my actual code for the UI I made for my BorderlandZ-Mod.

As this is only a WiP version as my Mod is, I provide NO cleaned up version of the windows.xml file.

I know I have a lot of comments there - only readable from me, if I got a few beers in that is...

 

It started as a compilation of the following mods (and therefore credit goes to the creator(s) of them):

 

Okay, what is included in this small Storage/UI Standalone Mod:

 

  • More Info ON Screen (Thirst and Hunger, Temperature (Global and own), Player level, Experience bar, Kill and Death counters...)
  • Player Backpack increase from 8x4 (32) to huge 17x6 (102)
  • Player crafted Storage containers from 8x9 (72) to 9x12 (108)
  • Minibike Storage from laughable (but realistic to be honest) 3x6 (18) to huge 9x12 (108)
  • As windows have to be re-scaled, moved, and more there are a lot of changes here and there as seen in the pics.

 

The values are set to get the window MAXED out on 16:9 screen resolutions. If you cannot do that because of old monitor then you have 3 Options:

  1. get better Monitor (haha.... yes, I know,... old gag)
  2. shrink the window sizes of many storage windows in the window.xml files - that is a lot of work - but you can check this file, I already have a lot of these windows shrunk to 4:3 values: these windows are called something43 instead of something169...
  3. change the scale-factor in the file xui.xml from actual 1.23 to 0.88 for native 4:3 or something like 1.10 for inbetween resolutions - see below in the code section...

 

IMPORTANT: This Mod is NOT compatible per se with any other Mod that modifies any of these four files, you have to merge them!

The files are: loot.xml, xui.xml, styles.xml and windows.xml

 

fxEFAac.jpg

xjy8pU0.jpg

iTpdxje.jpg

NVURa3b.jpg

XevPzES.jpg

 

This is a XML-ONLY change, that is Server-Side-Only-Needed (besides you want it locally for local SP games).

 

BUT. There is a very important drawback of/in this Mod.

It is hardcoded in the Assembly-CSharp.dll file that player backpack save size is only 32 (slots) wide.

 

What does that mean?

While ingame you can use the complete 102 slots this Mod provides BUT before exiting the game you have to save any item/block from the 33th slot (that is row 2 the second rightmost slot) and followers into some other Storage! (Minibike and all Storage containers are safe!)

 

Now IF you want to eliminate this problem you HAVE TO change this Assembly-CSharp.dll file with the appropriate one that DnaJur provides in his post. But THEN any player that wants to connect with your/this server also HAS TO install this file and has to play as NON-EAC!

 

Another thing I haven't got to is the Bug-On-Exit (you have to kill the Game from Taskmanager) you get when exiting the Game from a server. It is/was well-known, I don't know yet if there's a solution to it already, that wasn't a prio to me yet...

 

here are some code-snippets for people who want to merge this mod into some other mod:

 

loot.xml

<!-- lootcontainer 10 empty, storage containers the player crafts-->
<lootcontainer id="10" count="0" size="[color="#FF0000"][b]9,12[/b][/color]" sound_open="UseActions/open_chest" sound_close="UseActions/close_chest" loot_quality_template="baseTemplate">
<item name="cobweb" count="1,2"/>
</lootcontainer>
...
<!-- player dropped backpacks -->
<lootcontainer id="41" count="0,1" size="[color="#FF0000"][b]9,12[/b][/color]" 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>
...
<!-- minibike storage -->
<lootcontainer id="62" count="0,1" size="[color="#FF0000"][b]9,12[/b][/color]" sound_open="UseActions/open_shopping_basket" open_time="0" sound_close="UseActions/close_shopping_basket" loot_quality_template="baseTemplate">
<item name="cobweb" count="0" prob="0.01"/>
</lootcontainer>

 

xui.xml

<ruleset name="default" scale="[color="#FF0000"][b]1.23[/b][/color]" stackpanel_scale="[color="#FF0000"][b]0.94[/b][/color]">
...
	<window_group name="looting" left_panel_valign_top="false" controller="XUiC_LootWindowGroup">
		<window name="windowLooting"/>
		<window name="windowNonPagingHeader" />
		[color="#FF0000"][b]<window name="windowLootingPlaceholderSpecial169"/>[/b][/color]
	</window_group>

	<window_group name="vehicle" controller="XUiC_VehicleWindowGroup">
		<window name="windowVehicle[color="#FF0000"][b]169[/b][/color]"/>
		<window name="windowNonPagingHeader" />
		<window name="windowVehicleStats[color="#FF0000"][b]169[/b][/color]" />
		<window name="windowVehicleStorage[color="#FF0000"][b]169[/b][/color]" />
	</window_group>

	<window_group name="backpack">	
		<window name="itemInfoPanel"/>
		<window name="emptyInfoPanel" />
		<window name="windowBackpack"/>[color="#FF0000"][b] <!-- seems hardcoded! -->
		<window name="windowLootingPlaceholderSpecial169"/>
		<window name="HUDInfoPanel"/>[/b][/color]
	</window_group>

	<window_group name="character" controller="XUiC_CharacterSheetWindowGroup">
		<window name="CharacterFrameWindow"/>
		<window name="buffInfoPanel"/>
		<window name="PlayerStatsWindow" />
		<window name="ActiveBuffsWindow[color="#FF0000"][b]169[/b][/color]" />
		[color="#FF0000"][b]<window name="windowCharacterPlaceholderSpecial"/>[/b][/color]
	</window_group>		

	<window_group name="toolTip">
		<window name="toolTip" />
		<window name="popupMenu[color="#FF0000"][b]169[/b][/color]" />
	</window_group>

	<window_group name="workstation_forge" controller="XUiC_WorkstationWindowGroup">
		<window name="windowCraftingList"/>
		<window name="craftingInfoPanel"/>
		<window name="windowCraftingQueue"/>
		<window name="windowToolsForge" />
		<window name="windowFuel" />
		<window name="windowOutput" />
		<window name="windowForgeInput" />
		<window name="windowNonPagingHeader" />
		[color="#FF0000"][b]<window name="windowForgePlaceholderSpecial"/>[/b][/color]
	</window_group>

	<window_group name="toolbelt">
		[color="#FF0000"][b]<window name="HUDTempWaterFood"/>
		<window name="HUDXpBar" />
		<window name="HUDBuffDurations"/>[/b][/color]
		<window name="windowToolbelt" anchor="CenterBottom" />
		<window name="HUDLeftStatBars" anchor="LeftBottom" />
		<window name="HUDRightStatBars" anchor="RightBottom" />
		<window name="windowQuestTracker" anchor="RightTop" />
	</window_group>

 

styles.xml

<styles>

[color="#FF0000"][b]<!-- infopanel.window : Style for day, time, world temperature and elevation window -->
<style name="infopanel.window" type="window">
	<style_entry name="pos" value="9,50"/> <!-- 50 for vertical position to hide the waypoints from the screen as they seem to be hardcoded into the CompassWindow-controller -->
	<style_entry name="size" value="300,80"/>
	<style_entry name="anchor" value="LeftTop"/>
</style>

<!-- tempwaterfood.window : Style for player temperature, water and food window -->
<style name="tempwaterfood.window" type="window">
	<style_entry name="pos" value="9,190"/>
	<style_entry name="anchor" value="LeftBottom"/>
</style>

<!-- xpbar.window : Style for experience bar, player level indicator and toolbelt numbers window -->
<style name="xpbar.window" type="window">
	<style_entry name="pos" value="-313, 97"/>
	<style_entry name="size" value="603,30"/>
	<style_entry name="anchor" value="CenterBottom"/>
</style>

<!-- buffduration.window : Style for buff durations window -->
<style name="buffduration.window" type="window">
	<style_entry name="pos" value="9,593"/>
	<style_entry name="size" value="132,390"/>
	<style_entry name="anchor" value="LeftBottom"/>
</style>[/b][/color]

<global>

 

windows.xml

.
[b][size=7]FORGET IT.[/size][/b]
[i][size=1]try to find the differences between the other Mod and Vanilla and change MY file - 
you will have more luck doin' this way, trust me...[/size][/i]

 

hope that helps.

 

tl;dr

here's the mod.

 

Rucky out.

Link to comment
Share on other sites

I did this one

 

Hey Chummers and Zombie-Slayers,

 

as of public demand - okay, were only two or three or so - I will share my actual code for the UI I made for my BorderlandZ-Mod.

As this is only a WiP version as my Mod is, I provide NO cleaned up version of the windows.xml file.

I know I have a lot of comments there - only readable from me, if I got a few beers in that is...

 

It started as a compilation of the following mods (and therefore credit goes to the creator(s) of them):

 

Okay, what is included in this small Storage/UI Standalone Mod:

 

  • More Info ON Screen (Thirst and Hunger, Temperature (Global and own), Player level, Experience bar, Kill and Death counters...)
  • Player Backpack increase from 8x4 (32) to huge 17x6 (102)
  • Player crafted Storage containers from 8x9 (72) to 9x12 (108)
  • Minibike Storage from laughable (but realistic to be honest) 3x6 (18) to huge 9x12 (108)
  • As windows have to be re-scaled, moved, and more there are a lot of changes here and there as seen in the pics.

 

 

fxEFAac.jpg

xjy8pU0.jpg

iTpdxje.jpg

NVURa3b.jpg

XevPzES.jpg

 

This is a XML-ONLY change, that is Server-Side-Only-Needed (besides you want it locally for local SP games).

 

BUT. There is a very important drawback of/in this Mod.

It is hardcoded in the Assembly-CSharp.dll file that player backpack save size is only 32 (slots) wide.

 

What does that mean?

While ingame you can use the complete 102 slots this Mod provides BUT before exiting the game you have to save any item/block from the 33th slot (that is row 2 the second rightmost slot) and followers into some other Storage! (Minibike and all Storage containers are safe!)

 

Now IF you want to eliminate this problem you HAVE TO change this Assembly-CSharp.dll file with one of these that stallionsden provides in his thread (the 100 or the 200 would be the one you're looking for). But THEN any player that wants to connect with your/this server also HAS TO install this file and has to play as NON-EAC!

 

Another thing I haven't got to is the Bug-On-Exit (you have to kill the Game from Taskmanager) you get when exiting the Game from a server. It is/was well-known, I don't know yet if there's a solution to it already, that wasn't a prio to me yet...

 

tl;dr

here's the mod.

 

Rucky out.

 

EDIT: Topic is a bit messed up, Roland is contacted...

 

I did this one. Seemed pretty self explanatory. Downloaded from dropbox and copied the files over. Disassembled the bike got a new basket from the cheaters tab and nothing seems to have changed. I appreciate the help.

Link to comment
Share on other sites

I did this one. Seemed pretty self explanatory. Downloaded from dropbox and copied the files over. Disassembled the bike got a new basket from the cheaters tab and nothing seems to have changed. I appreciate the help.

 

to verify, try a new game, get

1) all Bike parts,

2) secure storage chest and

3) forge;

 

the result should be exactly as shown in these pics; at least I had made them so...

Link to comment
Share on other sites

Ok so quite a challenging night....hahaha....the backpack and everything works but now I am getting that null reference set error when I encounter some of the women zombies and also I put down a suitcase and that gives me the same error when I try to interact with it. I dunno...

Link to comment
Share on other sites

Ok I don't get it. So I uninstalled the game to start fresh. I copied over valmod pack like i had before and then copied your files over and now I am back to the backpack and minibike storage are not updating.....grrrrr

Link to comment
Share on other sites

I just did a clean install and I got it to work. Don't know why it worked this time. I am still getting the same error when I encounter some of the z's. I tried a new game and none of the map is showing. I walk to a portion of the map and no graphics...like I am in air. So bummed... i really wanted this mod to work.

Link to comment
Share on other sites

ok last entry cuz this is pissin me off. hahaha... I only get the error with the decayed mother and the departed woman. I shoot them and then I go to search them and error. It occasionally happens in battle which is really frustrating cuz the zombies are then kickin my arse. Its all in good fun if you could provide more help that would be great. I really like using the valmod and would really like to continue using your mod as well.

Link to comment
Share on other sites

I am using the VALmod pack. Is it compatible?

 

I am sure it is NOT compatible, sorry man...

 

to check:

I have 4 files in this mod, if ANY of these files is in Valmod's mod too... then it is NOT compatible per se...

you have to merge them.

 

loot.xml is trivial, I have only 3 or 4 small changes in it, I can give them to you or try some Diff-tools (some advanced editors do have them included already)

styles.xml and xui.xml are a bit more, but all in one block more or less, so also easy.

windows.xml on the other hand... I even gave you my working copy (thats means highly w.i.p.), it has way more changes then you need for this mod, but it would have been a horror to make it clean (that's the reason I said I would not give away a clean version of it!).

 

And... did Valmar not also has a UI-customization included?? (atleast he has one made)

(if so then it's nearly impossible to have both...)

Link to comment
Share on other sites

After I've put the dll on my server I get an Game Version Mismatch Error, says that my server has the version alpha 14.6 instead of 14.7

 

You have taken the DLL from Post #3 in this thread?

The SP one states it's Alpha 14.7. The Dedi version I could not test because I actual have no Dedi server running.

Also EVERYBODY that is joining your server needs to have the SP version installed.

Link to comment
Share on other sites

You have taken the DLL from Post #3 in this thread?

The SP one states it's Alpha 14.7. The Dedi version I could not test because I actual have no Dedi server running.

Also EVERYBODY that is joining your server needs to have the SP version installed.

 

In SP I've no problem at all, but if I try to connect to my server I got the error. I've put the DLL for SP in the folder of my client and the DLL for DEDI on my server.

 

A picture, after I've installed the DLL on my server:

158m.jpg

Link to comment
Share on other sites

Where i put this ? '-'

 

as darkseeed said:

 

"C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\7DaysToDie_Data\Managed"

if you didn't change the install folder for your game

 

and start 7dtd without EAC: go to your steam libary, rightclick on 7 days to die, and "Launch without Anticheat"

Link to comment
Share on other sites

In SP I've no problem at all, but if I try to connect to my server I got the error. I've put the DLL for SP in the folder of my client and the DLL for DEDI on my server.

 

A picture, after I've installed the DLL on my server:

158m.jpg

 

sorry can't test, verify or fix it (if broken)... have you pm'ed DnaJur about that?

possibly you can take the 200-dll from stallionsden in his thread...

Link to comment
Share on other sites

sorry can't test, verify or fix it (if broken)... have you pm'ed DnaJur about that?

possibly you can take the 200-dll from stallionsden in his thread...

 

Alright, the 200-DLL from stallionsden's thread works fine. Now I can connect to my server with no problem and can keep all inventory slot's filled.

 

I'm trying to pm DnaJur, but I can't find any way to send a pm :confused-new:

I don't know if I'm to blind to find the pm-button or there is non :wink-new:

Link to comment
Share on other sites

Alright, the 200-DLL from stallionsden's thread works fine. Now I can connect to my server with no problem and can keep all inventory slot's filled.

 

I'm trying to pm DnaJur, but I can't find any way to send a pm :confused-new:

I don't know if I'm to blind to find the pm-button or there is non :wink-new:

 

Sorry, I guess I forgot to delete backup from the previous version and it auto restored.

I updated link in the 3rd post so try that one. Should be correct one. I hope.... (gets difficult with about 100 of this things laying around :p)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...