Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

DayzTopia

Mod objects not spawning after adding to types.xml

Recommended Posts

As you can read in the title, I got a big issue. We're trying to get our files working for our modded server, but after many tries, it's still not working. 

I already added some objects to the types.xml going like:

    <type name="SR1M">
        <nominal>10</nominal>
        <lifetime>10800</lifetime>
        <restock>1800</restock>
        <min>7</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="1" count_in_hoarder="1" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
        <category name="weapons"/>
        <usage name="Military"/>
        <value name="Tier3"/>
        <value name="Tier4"/>
    </type>

but even after deleting the storage_1 folder to kinda wipe the server, there is still no additional loot spawning except vanilla stuff. 

If anyone can help me with this, I would really appreciate it.

Share this post


Link to post
Share on other sites

From the snippets you gave us I don't see any issues... All the new items don't spawn ? None of them right ? Are they all weapons ? (just in case)

Are you sure the "SR1M" is the classname issued in your mod (just in case) ?

Share this post


Link to post
Share on other sites
9 hours ago, Lt.Master said:

From the snippets you gave us I don't see any issues... All the new items don't spawn ? None of them right ? Are they all weapons ? (just in case)

Are you sure the "SR1M" is the classname issued in your mod (just in case) ?

None of the new items spawn. vanilla items still spawn just fine. most of them are actually weapons, yes. and as I used the classnames given out by the mod-authors, I guess it actually the right one. still i can find the SR1M through the admin menu with the exact same name.

Share this post


Link to post
Share on other sites

could it probably cause issues if there are still objects listed in the types.xml that arent part of the modpack anymore?

 

Share this post


Link to post
Share on other sites
2 hours ago, DayzTopia said:

None of the new items spawn. vanilla items still spawn just fine. most of them are actually weapons, yes. and as I used the classnames given out by the mod-authors, I guess it actually the right one. still i can find the SR1M through the admin menu with the exact same name.

Alright so you used the right classnames

1 hour ago, DayzTopia said:

could it probably cause issues if there are still objects listed in the types.xml that arent part of the modpack anymore?

 

I never tryed but it could probably stuck the server and force him to use a backup of type.xml I guess ?

Share this post


Link to post
Share on other sites
1 minute ago, Lt.Master said:

I never tryed but it could probably stuck the server and force him to use a backup of type.xml I guess ?

i should give it a try and clean it up once i got the time... 

Share this post


Link to post
Share on other sites

oof... found some </types> somewhere in the middle of the types.xml code... could be the solution to my problem... I'll tell you if it's solved asap

 

Share this post


Link to post
Share on other sites

×