Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
oh, im very interested, could you please tell me what xml should i change in order to make bookcase & bookstorebookcase spawn items?
thanks you a lot, also i used your working lights mod on our server to enable those lights, looking awesome!
cheers!
(Replace the XXXX with a block ID that isnt being used)
<block id="XXXX" name="Admin Bookcase">
<property name="CustomIcon" value="cntBookStoreBookcase" />
<property name="Material" value="wood_weak" />
<property name="Shape" value="Half" />
<property name="Texture" value="67,241,241,241,241,241" />
<property name="Place" value="TowardsPlacer90" />
<drop event="Destroy" count="0" />
<property name="DowngradeBlock" value="cntBookcase" />
</block>
<block id="XXXX" name="Admin Bookcase Store">
<property name="CustomIcon" value="cntBookStoreBookcase" />
<property name="Material" value="wood_weak" />
<property name="Shape" value="Half" />
<property name="Texture" value="67,241,241,241,241,241" />
<property name="Place" value="TowardsPlacer90" />
<drop event="Destroy" count="0" />
<property name="DowngradeBlock" value="cntBookStoreBookcase" />
</block>
Now you place this "admin bookcase" wherever you want then break it. When it breaks it will downgrade into a normal bookcase which will be lootable.
can i bother you a little bit more, now that i got your attention lol, so thats how i can make functional cash registers or beverage coolers? id love to make those functional too, just to emulate 100% the original stores.
thanks again, i swear by god i've been searching on google, 7dtd forums (trough im not registered to post there but i always read the forums)
and couldnt find that answer
that contains lootable fridges, cabinets, beverage coolers, cash registers, bookcases, etc.
<block id="XXXX" name="Admin Cash Register">
<property name="CustomIcon" value="cntCashRegister" />
<property name="Material" value="MmetalNoGlue" />
<property name="MaxDamage" value="10" />
<property name="StabilitySupport" value="false" />
<property name="Shape" value="Ext3dModel" />
<property name="Mesh" value="models" />
<property name="Model" value="LootContainers/cash_register" param1="main_mesh" />
<drop event="Destroy" count="0" />
<property name="DowngradeBlock" value="cntCashRegister" />
</block>
<block id="XXXX" name="Admin Beer Cooler">
<property name="CustomIcon" value="cntBeerCooler" />
<property name="MaxDamage" value="10" />
<property name="Material" value="Mmetal_weak" />
<property name="Texture" value="191,191,190,191,191,191" />
<property name="Place" value="TowardsPlacer90" />
<drop event="Destroy" count="0" />
<property name="DowngradeBlock" value="cntBeerCooler" />
</block>
Those should do it.
As for a mod with those... I might make one at some point.
nevermind, i started a brand new game and they work (singleplayer)
you're 100% right.. this needs to be modded in game, love it!!
now i need working cabinets and fridges, toilets and ill be all set up to fix things that get broken as the people plays on the server!!
thanks again for your help and for your time, extremely valuable!!
letme know if its ok to add you as friend, so in case of needing further information i can contact you.
cheers!
but in-game its just a wooden block, that becomes wood upon damaging it lol
<block id="3000" name="cntFridgeadmin">
<property name="Class" value="Loot" />
<property name="Material" value="metal" />
<property name="Shape" value="ModelEntity" />
<property name="Texture" value="282" />
<property name="LootList" value="4" />
<property name="Model" value="Entities/LootContainers/fridgePrefab" />
<property name="DescriptionKey" value="refrigeratorGroupDesc"/>
<property class="RepairItems">
<property name="forgedIron" value="6" />
<property name="scrapCable" value="1" />
<property name="shortMetalPipe" value="2" />
</property>
<drop event="Harvest" name="scrapCable" count="1" tool_category="Disassemble" />
<drop event="Harvest" name="shortMetalPipe" count="1" tool_category="Disassemble" />
<drop event="Harvest" name="scrapIron" count="8" tool_category="Disassemble" />
<drop event="Destroy" name="scrapIron" count="2" prob="1" />
<drop event="Fall" name="scrapMetalPile" count="1" prob=".75" stick_chance="1" />
Remove
<property name="Class" value="Loot" />
<property name="LootList" value="67" />
Add
<property name="DowngradeBlock" value="cntToilet01" />
This is the most important line. It tells the block to downgrade into something else when destroyed. In the above example its a cntToilet01.
<block id="XXXX" name="Admin Toilet">
<property name="CustomIcon" value="cntToilet01" />
<property name="MaxDamage" value="50" />
<property name="Material" value="Mmetal_weak" />
<property name="StabilitySupport" value="false" />
<property name="Shape" value="Ext3dModel" />
<property name="Mesh" value="models" />
<property name="Texture" value="282" />
<property name="Model" value="Plumbing/toilet01" param1="main_mesh" />
<property name="DowngradeBlock" value="cntToilet01" />
<drop event="Destroy" count="0" />
</block>
<block id="XXXX" name="Admin Cabinet">
<property name="CustomIcon" value="cntCabinet" />
<property name="MaxDamage" value="50" />
<property name="Material" value="wood_weak" />
<property name="Texture" value="261,228,262,228,228,228" />
<property name="DowngradeBlock" value="cntCabinet" />
<drop event="Destroy" count="0" />
</block>
<block id="XXXX" name="Admin Fridge">
<property name="CustomIcon" value="cntFridge" />
<property name="MaxDamage" value="50" />
<property name="Material" value="metal" />
<property name="Shape" value="ModelEntity" />
<property name="Texture" value="282" />
<property name="Model" value="Entities/LootContainers/fridgePrefab" />
<property name="DowngradeBlock" value="cntFridge" />
<drop event="Destroy" count="0" />
</block>
letme know if i can add you, i promise im not going to bother you, ill just contact you just in case i need information. if not then it's fine.
ty again!
https://7daystodie.com/forums/showthread.php?41961-Mod-Resource-User-Placable-Lootable-Containers&p=440410#post440410
nice work, very usefull! don't know if you included them, but there are also those blue and red backpacks, the purse, sports bag, duffel bags, oh and the cars, that may contain random loot
trash bags, foul trash, and can't remember the other one, i modded in the first 2 backpacks and they spawn loot. ^^
ty again!