• Welcome to AtomicTorch Studio Forums.
 
Main Menu

plz delete

Started by Yomi, December 08, 2020, 08:47:32 AM

Yomi

sry , i find 0.0.2ver , is already fix scripts bug.

Mod Version : 0.0.1

first saying. for now i dont have MOD authorization.
so i cant give u any mod files.
only just to telling u "what can i do , how can i fix".
after then i will try to call author.

today i was going to use <farming plus> mod , but i have some wrong message.
so i started check this mod file.
and then find something :

Mod Name :
usually , we just need to add mod name.
but if used <Farming_Plus> , also need mod version.
otherwise , the program will be delete that mod line.
i guess the program need "_" to discern mod version , means "_" = space key.

wrong:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<mods>
  <mod>core_1.0.0</mod>
  <mod>Farming_Plus</mod>
</mods>


right:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<mods>
  <mod>core_1.0.0</mod>
  <mod>Farming_Plus_0.0.2</mod>
</mods>


also you can change mod name.
-------------------------------------------------------------------------------------------
Icon :
now the file path : Content\Textures\Technologies\Tier4\Farming4\Group.png
program cannot be recognized , then cause an error in "TechGroup.cs"

Fix : Content\Textures\Technologies\Tier4\Farming.png
now , as you see the icon is normal.
-------------------------------------------------------------------------------------------
Scripts :
file path : Scripts\Technologies\Tier4\Farming4\TechGroupFarming4.cs

bad:
namespace AtomicTorch.CBND.CoreMod.Technologies.Tier4.Farming4
{
    using AtomicTorch.CBND.CoreMod.Technologies.Tier3.Farming3;

    public class TechGroupFarming4 : TechGroup
    {
        public override string Description =>
            "Advanced farming practices and even wider crop variety.";

        public override string Name => "Farming 4";

        public override TechTier Tier => TechTier.Tier4;

        protected override void PrepareTechGroup(Requirements requirements)
        {
            requirements.AddGroup<TechGroupFarming3>(completion: 1);
        }
    }
}


right :
namespace AtomicTorch.CBND.CoreMod.Technologies.Tier4.Farming
{
    using AtomicTorch.CBND.CoreMod.Technologies.Tier3.Farming;

    public class TechGroupFarmingT4 : TechGroup
    {
        public override string Description =>
            "Advanced farming practices and even wider crop variety.";

        public override string Name => "Farming 4";

        public override TechTier Tier => TechTier.Tier4;

        protected override void PrepareTechGroup(Requirements requirements)
        {
            requirements.AddGroup<TechGroupFarmingT3>(completion: 1);
        }
    }
}


idk , maybe old version...

by the way , i translated this mod for CN language.
now i used this mod in my servers.