Mod packs ... hiding unwanted items from the "store"

User avatar
W1der
Posts: 3684
Joined: Wed Jan 13, 2016 7:53 pm
Location: SWEDEN

Mod packs ... hiding unwanted items from the "store"

Post by W1der » Tue Jul 19, 2016 9:18 pm

Some mods contain several items that shows/fills up the "store" menus.

Is there an easy way to "hide" the ones you don´t like to use?
[Win10] Intel i7-6700K 4.0GHz / GTX1070 Dual OC 8GB GDDR5 / 32GB 2133MHz DDR4 SDRAM

User avatar
EZP
1. Verwarnung
Posts: 492
Joined: Thu May 21, 2015 1:30 am

Re: Mod packs ... hiding unwanted items from the "store"

Post by EZP » Wed Jul 20, 2016 1:14 am

Open the 'moddesc.xml' and snip out the unwanted 'storeItem' sections.
Platform=PC

(I am also a heavy mod addict) :D

Putting your gaming platform of choice in your signature will help us all mingle a little easier and ask/answer questions with less confusion.
Go to...Control Panel/Profile/Edit signature

User avatar
W1der
Posts: 3684
Joined: Wed Jan 13, 2016 7:53 pm
Location: SWEDEN

Re: Mod packs ... hiding unwanted items from the "store"

Post by W1der » Wed Jul 20, 2016 10:29 am

EZP wrote:Open the 'moddesc.xml' and snip out the unwanted 'storeItem' sections.
Would that be this section of code?

Code: Select all

<storeItem>
            <name>
                <de>Warnschild "Holzfällung"</de>
                <en>warning sign "Holzfällung"</en>
            </name>
            <rotation>0</rotation>
            <image active="store/warnschild1_store.dds" brand="store/brand.dds"/>
            <price>120</price>
            <dailyUpkeep>1</dailyUpkeep>
            <xmlFilename>warnschild1.xml</xmlFilename>
			<species>placeable</species>
			<brand>Forstobjekte</brand>
            <category>placeables</category>
        </storeItem>
Last edited by W1der on Wed Jul 20, 2016 4:06 pm, edited 1 time in total.
[Win10] Intel i7-6700K 4.0GHz / GTX1070 Dual OC 8GB GDDR5 / 32GB 2133MHz DDR4 SDRAM

User avatar
EZP
1. Verwarnung
Posts: 492
Joined: Thu May 21, 2015 1:30 am

Re: Mod packs ... hiding unwanted items from the "store"

Post by EZP » Wed Jul 20, 2016 1:58 pm

Yep...


Disclaimer...for the record, always keep a backup of course :)
Platform=PC

(I am also a heavy mod addict) :D

Putting your gaming platform of choice in your signature will help us all mingle a little easier and ask/answer questions with less confusion.
Go to...Control Panel/Profile/Edit signature

User avatar
W1der
Posts: 3684
Joined: Wed Jan 13, 2016 7:53 pm
Location: SWEDEN

Re: Mod packs ... hiding unwanted items from the "store"

Post by W1der » Wed Jul 20, 2016 2:21 pm

EZP wrote:Yep...


Disclaimer...for the record, always keep a backup of course :)
Thanks ... gonna try it out as soon as possible ...
The "wife" has me on taking down the walls in the garage today ... :blushnew:
[Win10] Intel i7-6700K 4.0GHz / GTX1070 Dual OC 8GB GDDR5 / 32GB 2133MHz DDR4 SDRAM

User avatar
Jaguar95
Posts: 736
Joined: Sat Dec 29, 2012 2:11 pm

Re: Mod packs ... hiding unwanted items from the "store"

Post by Jaguar95 » Wed Jul 20, 2016 2:35 pm

You don't need to delete the entries.

Just set an <!-- before <storeItem> and an --> after </storeItem>

Then it looks like this:

Code: Select all

<!--<storeItem>
<name>
<de>Warnschild "Holzfällung"</de>
<en>warning sign "Holzfällung"</en>
</name>
<rotation>0</rotation>
<image active="store/warnschild1_store.dds" brand="store/brand.dds"/>
<price>120</price>
<dailyUpkeep>1</dailyUpkeep>
<xmlFilename>warnschild1.xml</xmlFilename>
<species>placeable</species>
<brand>Forstobjekte</brand>
<category>placeables</category>
</storeItem> -->
Now all entries between this tags are interpreted as a comment. <!-- begins the comment and --> close the comment.


So you have everytime the possibility to get the entries back to the store. ;)
Last edited by Jaguar95 on Thu Jul 21, 2016 8:37 am, edited 1 time in total.

User avatar
W1der
Posts: 3684
Joined: Wed Jan 13, 2016 7:53 pm
Location: SWEDEN

Re: Mod packs ... hiding unwanted items from the "store"

Post by W1der » Wed Jul 20, 2016 2:40 pm

Jaguar 95 wrote:You don't need to delete the entries.

Just set an <!-- before <storeItem> and an --> after </storeItem>

Then it looks like this:

Code: Select all

<!--<storeItem>
<name>
<de>Warnschild "Holzfällung"</de>
<en>warning sign "Holzfällung"</en>
</name>
<rotation>0</rotation>
<image active="store/warnschild1_store.dds" brand="store/brand.dds"/>
<price>120</price>
<dailyUpkeep>1</dailyUpkeep>
<xmlFilename>warnschild1.xml</xmlFilename>
<species>placeable</species>
<brand>Forstobjekte</brand>
<category>placeables</category>
</storeItem> -->
Now all entries betwenn this tags are interpreted as a comment. <!-- begins the comment and --> close the comment.


So you have every time the possibility to get the entries back to the store. ;)
Solid tip ... I appr it a lot ... so helpful!
I wish I knew this a long time ago ... :gamer:
[Win10] Intel i7-6700K 4.0GHz / GTX1070 Dual OC 8GB GDDR5 / 32GB 2133MHz DDR4 SDRAM

BostonJohnny1226
Posts: 644
Joined: Sat Nov 08, 2014 2:50 am

Re: Mod packs ... hiding unwanted items from the "store"

Post by BostonJohnny1226 » Wed Jul 20, 2016 3:50 pm

Thanks for the tip.

Post Reply