• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

ModInfo.xml Version for 1.0?

zztong

Well-known member
For ModInfo.xml...

<Version value="21.0" />




... what are we using for 1.0 / 22.0 / Other? It doesn't seem to be picky, but perhaps it could be in the future?

 
What happens if you make it

<Version value="Bob" />




😁


I'm not currently in a place I can try it; maybe later tonight. IIRC, in A21 alpha characters were rejected as I would have preferred A21.0 to 21.0 before,

 
What happens if you make it

<Version value="Bob" />




😁


I'm still updating, dl'ng and organizing mods as well and havent had time to try... but I did see someone use another variation and wanted to ask if it works or if it would be valid as well.  
Someone today posted, under updated or new mods... sorry I forgot the name and Ive been trying to search it back up, but they had this:

<Version value="1.0" compat="A21"/>



well technically it was: 

<Version value="1.0" compat="A20"/>


Was wondering if any tried it yet or if it's feasible...
Also, would it be possible to list more like that, for reference. Like to include 1.0, A21, A20 and A19 for example.

bob.gif

 
Last edited by a moderator:
I am using the following in my ModInfo

<?xml version="1.0" encoding="UTF-8" ?>
<xml>
    <Name value="EpicSpire's Quality ModSlot Boost" />
    <DisplayName value="EpicSpire's Quality ModSlot Boost" />
    <Version value="1.0.0.0" />
    <Description value="Increases the ModSlots based on Quality and Tier" />
    <Author value="TheEpicSpire" />
    <Website value="www.7daystodie.com" />
</xml>


but when i go to test my mod, I am getting a red line in my console saying : EpicSpire's Quality ModSlot Boost/ModInfo.xml does not define a valid non-empty Name (^[0-9a-zA-Z_\-]+$), ignoring

can someone explain to me what i am doing wrong?

 
Don't use special characters or spaces in the Name value.  Display value is fine, but change it to something like:

EpicSpireQualityModSlotBoost

 
Don't use special characters or spaces in the Name value.  Display value is fine, but change it to something like:

EpicSpireQualityModSlotBoost
ah thanks. i've downloaded a few other mods that seem to work and they have spaces. but the no spaces thing fixed my issue. again, thanks

 
Back
Top