DayZ
Mortys Weapons
 This topic has been pinned, so it's probably important
Morty  [developer] 8 Jan, 2021 @ 7:13am
How to add the types and cfgspawnabletypes
Locate the mission folder. Will be mpmissions\dayzOffline.chernarusplus if you use vanilla Chernarus.
Copy Morty_ce from the modfolder to mpmissions\dayzOffline.chernarusplus.
Copy cfgeconomycore from the modfolder to mpmissions\dayzOffline.chernarusplus and replace.

IF you run something like Expansion DO NOT replace the cfgeconomycore.
Open cfgeconomycore in Notepad++ or something like that and add:

<!-- Morty Weapons -->
<ce folder="Morty_ce">
<file name="Morty_types.xml" type="types" />
<file name="Morty_cfgspawnabletypes.xml" type="spawnabletypes" />
</ce>
< >
Showing 1-9 of 9 comments
War Bunny 1 Mar, 2021 @ 1:01pm 
thank you
M4vrick89 5 Apr, 2021 @ 1:41pm 
Hey there! I used Dayz Expansion and I created Morty_ce folder in mpmission/Expansion.ChernarusPlusGloom and copied type.xml and cfgspawnabletypes.xml. I added
<!-- Morty Weapons -->
<ce folder="Morty_ce">
<file name="Morty_types.xml" type="types" />
<file name="Morty_cfgspawnabletypes.xml" type="spawnabletypes" />
</ce> in cfgeconomycore.xml, but mortys weapon intem is has not been added to the server COT object spawner is not visible any TTC item. Sorry my english not so good. Thx for help.
Last edited by M4vrick89; 6 Apr, 2021 @ 10:24am
PapaOurs009 1 May, 2021 @ 11:53pm 
Thank you for the explanation, but it would have been useful to add your explanation as a readme.txt file to your mod.
TEAMCHORLITO 20 Jan, 2022 @ 3:20pm 
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<economycore>
<classes>
<!--
These are rootclasses to be used by economy.
Do not forget to add attribute act="character", if root class represents character (player, infected, animal)
Do not forget to add attribute act="car", if root class represents moveable vehicles
-->
<rootclass name="DefaultWeapon" /> <!-- weapons -->
<rootclass name="DefaultMagazine" /> <!-- magazines -->
<rootclass name="Inventory_Base" /> <!-- inventory items -->
<rootclass name="HouseNoDestruct" reportMemoryLOD="no" /> <!-- houses, wrecks -->
<rootclass name="SurvivorBase" act="character" reportMemoryLOD="no" /> <!-- player characters -->
<rootclass name="DZ_LightAI" act="character" reportMemoryLOD="no" /> <!-- infected, animals -->
<rootclass name="CarScript" act="car" reportMemoryLOD="no" /> <!-- cars (sedan, hatchback, transitBus, V3S, ...) -->
</classes>
<defaults>
<default name="dyn_radius" value="30" />
<default name="dyn_smin" value="0" />
<default name="dyn_smax" value="0" />
<default name="dyn_dmin" value="1" />
<default name="dyn_dmax" value="5" />
<default name="log_ce_loop" value="false"/>
<default name="log_ce_dynamicevent" value="false"/>
<default name="log_ce_vehicle" value="false"/>
<default name="log_ce_lootspawn" value="false"/>
<default name="log_ce_lootcleanup" value="false"/>
<default name="log_ce_lootrespawn" value="false"/>
<default name="log_ce_statistics" value="false"/>
<default name="log_ce_zombie" value="false"/>
<default name="log_ce_animal" value="false"/>
<default name="log_storageinfo" value="false"/>
<default name="log_hivewarning" value="true"/>
<default name="log_missionfilewarning" value="true"/>
<default name="save_events_startup" value="true"/>
<default name="save_types_startup" value="true"/>
</defaults>
<!-- ST_WEAPONS ECONOMY -->
<ce folder="ST_Weapons_ce">
<file name="ST_Weapons_types.xml" type="types" />
<file name="ST_Weapons_cfgspawnabletypes.xml" type="spawnabletypes" />
</ce>
</economycore>

ASI ESTA PUESTO PERO CADA VEZ QUE ENTRO ME TIRA EL SERVER ABAJO Y ME SALE EL MENSAJE QUE TE DIJE ANTES. NO SE SI CONFLICTA CON ALGO
What files changed today
nick 3 May, 2023 @ 1:01pm 
Originally posted by Dingo:
What files changed today
:shit:
GruntGamingYT™ 5 Aug, 2023 @ 7:48am 
i did everything listed above but still cant get this to work/ after i did all this all loot stopped spawning in my server
Originally posted by GruntGamingYT™:
i did everything listed above but still cant get this to work/ after i did all this all loot stopped spawning in my server

did you ever fix this? hate to necro a thread but its happening to my server atm
Originally posted by awesome gummy worm:
Originally posted by GruntGamingYT™:
i did everything listed above but still cant get this to work/ after i did all this all loot stopped spawning in my server

did you ever fix this? hate to necro a thread but its happening to my server atm

make sure your server bat files has the correct line aswell plus the key file is in there if you don't have it already. I managed to make the items spawn in by doing all that and adding the lines Morty shared to the bottom of my cfgeconomycore (I'm using Expansion Mod)
< >
Showing 1-9 of 9 comments
Per page: 1530 50