Jump to content

khzmusik

Members
  • Posts

    1,250
  • Joined

  • Last visited

  • Days Won

    8

Posts posted by khzmusik

  1. 4 minutes ago, bachgaman said:

    Removing the downgrading is good.

     

    I completely disagree, and even if TFP decide not to use it, I hope they keep the ability to downgrade blocks in the game.

     

    In my case, it's because I would like block degradation to be more "realistic." Instead of disappearing, blocks that are destroyed would downgrade to damaged versions. For instance, a destroyed wood block wouldn't downgrade to a wood frame, it would downgrade to one of the "destroyed" wood blocks. I mean, those destroyed versions had to come from somewhere.

     

    Obviously this is better as a mod, but if TFP remove even that ability, then it would be impractical to even mod that in.

  2. 1 hour ago, Roland said:

     

    In regards to what is in the new shape menu, here is a reference that comes close...

     

    My God, It's Full of Stars | Riding the Catskills

     

    Kudos to @schwanz9000 for the many hours of work. You guys are all going to be blown away. Trust me.

    "My God, It's full of stars..."

     

    Star shapes confirmed for A20

     

    ...Also, I think this debate about the upgrade path is much ado about nothing. So long as TFP keep the ability to upgrade and downgrade blocks in the game, it will be very easy to mod in whatever upgrade path you like.

     

    And, that's probably how it should be, because one person's "complexity" is another person's pain in the ass.

     

    For example, I personally would like it if the game favored upgrading existing locations rather than building your own structures. This would make horde nights more of an exercise in creatively working with whatever you have, and not about finding different ways to cheese the AI. That can be done by making the upgrade path easier than building from scratch.

     

    But this would totally mess with the "tower defense" aspect of the game, so probably 90% of players would hate it. I would put it in a mod, where it belongs.

     

     

  3. Hm. Thanks for that, but it's not exactly what I had in mind.

     

    This is all kind of building up to a faction-based quest system, where quests will only be offered by people (traders) who have an "alignment" with a certain faction. For example, a trader that is sympathetic to the Duke would offer a "clear" quest, but the POI that you go to is full of whiteriver NPCs and you have to kill them all. (That one is a bit over the top but you get what I mean.)

     

    That wouldn't really work if you could just find a "kill the whiteriver folks" quest as a note in a random loot chest.

     

    But, it's certainly better than nothing.

  4. Hey, all. I was wondering if it was possible to create quests that could only be given by a certain trader.  For example, Trader Jen would have a specific quest to gather medical supplies.

     

    I've looked through the XML, and if there is a way to do this, I haven't found it.

     

    Does anyone have any ideas?

  5. I couldn't edit my original post for the modlets I did (back in A18), so I started a new thread for my A19 modlets:

    People were going to the A18 repo, since that was the one in the original post, and it was causing confusion. Hope starting a new A19 thread is OK.

  6. If anyone is coming here from the original A18 thread, then the only new modlet here is the Trader Lore modlet. But I'm pretty proud of how it turned out, so I really hope people check it out.

  7. It is not surprising that people have been downloading the old A18 versions of the modlets, since I can't update the original post.

     

    I created a new topic for the A19 modlets, so we should probably move any new discussions to that thread.

     

     

  8. Hello, all. I'm starting a separate A19 thread for my modlets. I am unable to update the original post in the A18 thread, and this has unsurprisingly caused confusion. I will probably start a separate thread for my A20 modlets when I start porting them over.

     

    The old (and now deprecated) A18 thread is here:

     

    These modlets were all developed on A19.3, but they should work for any A19 version. If there are bugs or issues, feel free to let me know.

     

    The Git repo for my A19 modlets is here:
    https://gitlab.com/karlgiesing/7d2d-a19-modlets

     

    Each modlet has its own individual README file. These files can be read on the Web by going to the modlet's directory in the GitLab repo; I have provided a link for each modlet.

     

    The README files have many details about installation and usage, including whether it is recommended to create a new game world, as well as technical details about the creation of the modlet and how to modify its behavior.

     

    Feel free to download them, modify them, learn from them, use the code in your own mods/modlets, and in general do whatever you like with them. Credit is appreciated but not required.

     

    All these modlets should be available in the Mod Launcher as well. I highly recommend using that to install and manage your mods and modlets:
    http://7d2dmodlauncher.org

     

    XPath modlets
    These modlets use XPath, so they are EAC friendly. Most require installation only on the server. Those that contain custom assets (usually additional icons) will need to be installed on both the server and clients. See the individual README.md files for details.

     

    I am also including modlets that are dependent upon other modlets that use XPath (and/or custom assets), and do not have custom C# code or require DMT.

     

    Adjustments to 0-CreaturePackZombies

     

    Makes a number of adjustments to the 0-CreaturePackZombies modlet, provided by Xyth and company. Many thanks to Xyth and all the people who provided custom NPCs.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/0-CreaturePackZombies_khzmusik_Adjustments

     

     

    Auto Mechanics

     

    Adds auto mechanic traders and workstations. The workstation cannot be crafted, and can only be found at the custom trader. This means you will need to include the trader in RWG or add it by hand to Navezgane.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/khzmusik_Auto_Mechanics

     

     

    Bad Medicine

     

    • You can only craft dirty bandages using cloth alone. Dirty bandages can be sterilized (to "vanilla" bandages) using alcohol in your backpack, or by boiling with clean water in a cooking pot.
    • Dirty bandages have a chance to cause infection. Treating lacerations (as opposed to just bleeding) will always cause infection.
    • To make up for the increased chance of infection, first aid items now have a very small antiseptic effect (less than honey).
    • You can now drink grain alcohol. It has the same effects as beer, but lasts slightly longer, and has a good chance of making you sick.
    • You can also drink gasoline. Don't drink gasoline.
    • If you are on fire, don't douse yourself with flammable liquids.
    • You're not Rambo. Stitch up a wound using a sewing kit, and you'll make pain sounds for everyone to hear. Unless you're drunk.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/khzmusik_Bad_Medicine

     

     

    Book Icons

     

    Modifies the "book read" icon to be a green check mark.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/khzmusik_Book_Icons

     

     

    No Bedrolls

     

    Bedrolls and beds can still be crafted but are purely decorative. They don't act as respawn points or prevent zombie spawning.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/khzmusik_No_Bedrolls

     

     

    Preserved Foods

     

    Adds craftable canned goods and preserved foods.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/khzmusik_Preserved_Foods

     

     

    Reset Skills On Death

     

    On death, this modlet will reset (not remove) skill points, and remove all books read.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/khzmusik_Reset_Skills_On_Death

     

     

    Slow Build

     

    Slows down building, and to a lesser extent upgrading. The idea is to discourage base building, and to encourage renovating existing POIs for both horde bases and dwellings.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/khzmusik_Slow_Build

     

     

    Snowberry Love

     

    In the vanilla game, snowberries are nearly useless. This seems like a waste to me, so I added a bunch of uses for snowberries.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/khzmusik_Snowberry_Love

     

     

    UMA Zombies

     

    Adds zombie versions of the vanilla UMA archetypes.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/khzmusik_UMA_Zombies

     

     

    Modeled Zombies

     

    Adds these new zombies, which have their own models and assets (i.e. are not UMA):

     

    • a new burnt zombie

    • an older businessman zombie

    • an older businesswoman zombie

    • a skinny cowgirl zombie

    • a generic, skinny, female zombie

    • a female lumberjack zombie

    • a female office worker zombie

    • a female stripper zombie, similar to the original TFP designs (Warning! Nudity)

    • a male firefighter zombie

    • a generic, but skinny, male zombie

    • a short but stocky police woman zombie

     

    This modlet is dependent upon 0-CreaturePackZombies.

     

    It has custom assets, so it is not server-side safe. However, it does not have custom C# code, so you can just copy it into the Mods folder, and you do not need to disable EAC.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/1-CreaturePackZombies_khzmusik

     

    DMT modlets


    These modlets contain custom C# code, and need to be built using the DMT tool. The Mod Launcher includes the DMT tool, and will build them for you automatically; this is how I recommend installing the modlets.

     

    I am also including modlets that are dependent upon other modlets which require DMT, even if my own modlets do not.

     

    Crop Growth By Weather

     

    A modlet that allows crop growth to be negatively affected by adverse weather conditions.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/khzmusik_Crop_Growth_By_Weather_DMT

     

     

    Food Spoilage

     

    Introduces food spoilage to the game. This is dependent upon the 0-SphereIICore modlet (requires DMT), which provides the food spoilage code. Thank you to SphereII for doing the hard work!

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/1-SphereIICore_khzmusik_Food_Spoilage

     

     

    Mostly Dead

     

    A modlet that implements the "mostly dead" character death style for 7D2D. The idea is that when a player character dies, players respawn as an entirely new character, but they respawn into a (mostly) unchanged world. It can be modified for traditional "dead is dead" gameplay.

     

    If you get this modlet, you don't need the "No Bedrolls" or "Reset Skills On Death" XPath modlets - those features are included.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/khzmusik_Mostly_Dead_DMT

     

     

    Seasonal Weather

     

    Adds seasonal weather to the game.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/khzmusik_Seasonal_Weather_DMT

     

     

    NPC modlets - NEW

     

    I'm adding all my NPC-related modlets here, since most people will want to get some or all of them at once. Those that require DMT, or that are dependent upon modlets that themselves require DMT, will be marked as such.

     

    Adjustments to 1-NPCPackHumans (DMT)

     

    Makes a number of adjustments to the 1-NPCPackHumans modlet, provided by Xyth and company. That modlet is itself dependent upon other modlets - see the README.md. Many thanks to Xyth, SphereII, and all the people who provided custom NPCs.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/2-NPCPackHumans_khzmusik_Adjustments_DMT

     

     

    Human Factions and Prefabs

    New version available! Fixes a bug where the Tier 4 Whiteriver POI would not accept quests.

     

    New factions, and tools for adding NPCs to prefabs per faction. Also includes "sample" POIs, Tier 2 to Tier 5 for each faction.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/khzmusik_Human_Factions_Prefabs

     

     

    CreaturePack Humans for Human Factions and Prefabs

     

    Adds the CreaturePack Humans to prefabs (POIs) with human faction sleeper volumes.
    It is mainly for users who do not want to use DMT modlets.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/khzmusik_Human_Factions_Prefabs_CreaturePackHumans

     

     

    NPCPack Humans for Human Factions and Prefabs (DMT)

     

    Adds the NPCPack Humans to prefabs (POIs) with human faction sleeper volumes.


    This is the recommended package to use, provided you don't mind DMT.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/khzmusik_Human_Factions_Prefabs_NPCPackHumans

     

     

    Quests for Human Factions and Prefabs (DMT)

     

    New quests that target prefabs (POIs) containing NPCs of a certain faction.

     

    Includes a Reputation mechanic, which is affected by killing NPCs, and quest rewards that affect the player's reputation.

     

    Requires the very latest version of SphereII Core! There are added features in the new version, and this modlet will not work without them.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/khzmusik_Human_Factions_Prefabs_Quests

     

     

    Trader Lore

     

    Adds unofficial lore and history to the trader dialogs.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/khzmusik_Trader_Lore

     

     

    Human prefabs, quests, and trader lore integration (DMT)

     

    This modlet ties the trader lore, human factions, prefabs, NPCPack humans, and faction quests modlets, together into a cohesive experience.

     

    I highly recommend getting this modlet, and all its dependent modlets, if you want a fully-featured NPC experience.

     

    https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/khzmusik_Trader_Lore_Human_Factions_Prefabs_Quests

  9. I believe it is not currently possible, at least not with the vanilla code.

     

    I'm pretty sure this is how it works. When you scrap an item, the game uses the value of the "Material" property to determine what item it scraps to. It uses the "Weight" property to determine how many of those items are produced.

     

    This means you can only scrap to one item, and that you can't tie the count to the tier level.

     

    It might be possible with custom C# coding. If you want to go that route, you'd need to do a Harmony patch on the ItemActionEntryScrap.OnActivated method. But that's already a pretty complicated method, so it would be difficult. (It would probably involve either transpiling or replacing the method entirely.)

  10. I don't know how much this helps, but I'm pretty sure those icons can be modded. You can't supply your own icon, but you can swap it out with one of the other icons in the game.

     

    You can kind of see how to do this by looking in controls.xml. Here is the relevant entry in the item_stack node:

    <sprite depth="8" name="itemtypeicon" width="24" height="24" sprite="ui_game_symbol_{itemtypeicon}" pos="2,-2" foregroundlayer="true" visible="{hasitemtypeicon}" color="{itemtypeicontint}" />

     

    Now match it up with these properties in the "schematicMaster" item in items.xml:

    <property name="ItemTypeIcon" value="book"/>
    <property name="AltItemTypeIcon" value="book_read"/>

     

    Putting it all together, you'd need to find one of the "ui_game_symbol_{x}" TGA files that is appropriate, strip out the "ui_game_symbol_" prefix, and use it as the value of whichever property you'd like to change.

     

    There's a list of those TGA files in the XML.txt file. You can also look at the values used by other items, those will probably work too.

     

    I haven't tried it myself, so this is all theoretical, but maybe it will help one of you figure it out.

     

    EDIT: The XML.txt file lists something called ui_game_symbol_add.tga. So, maybe if you use "add" for the "ItemTypeIcon" value, that would make it obvious that you haven't read it? Just a thought.

     

    EDIT 2: One other thing I just discovered by looking in the code. There is apparently a property with the name "AltItemTypeIconColor" that can accept an RGB color, and this color will be used for the icon tint. It's not currently used in any items, but you could also try adding that property and see what happens.

  11. 7 hours ago, ricp said:

    Don't see the need for wandering sleepers, tbh. They will only impact on performance while providing very little in return. IMO, anyway.

     

    As someone who uses stealth quite a lot - especially in early game - I can tell you that wandering "sleeper" zombies will definitely make things more difficult.

     

    EDIT: Also, FWIW, sleeper volumes have always had an option for the zombies to spawn in awake. AFAICT it's just been ignored up until now. (And, I discovered this while trying to add custom NPCs that spawn in awake, so these changes will be very welcome to at least one modder. :) )

  12. Does anyone know what happens if you override a vanilla entry in localization.txt but only provide an English translation?

     

    For example, the vanilla 7D2D localization.txt file has this entry:

    quest_BasicSurvival1,Quest,Quest Info,,,Basic Survival 1/8,,Das 1x1 des Überlebens 1/8,Supervivencia básica 1/8,Les bases de la survie 1/8,Basi della sopravvivenza 1/8,生き残るための基礎知識 1/8,기본 생존 1/8,Podstawy przetrwania 1/8,Sobrevivência Básica 1/8,Основы выживания 1/8,Temel Hayatta Kalma 1/8,基础生存 1/8,基本生存 1/8,Supervivencia básica 1/8

     

    Let's say you wanted to insert a basic survival quest before that one, so that it is now 2 of 9. What happens if you supply this?

    quest_BasicSurvival1,Quest,Quest Info,,,Basic Survival 2/9,,,,,,,,,,,,,,

     

    Do non-English speakers still see the "1/8" text? Or does the game assume there is no localized text for that language, and display the English text?

  13. 1 hour ago, faatal said:

    Edit: Changed water to say not in A20.

     

    Oh, that sucks. Is it still on the roadmap for A21? Or is it one of those things that is just too impractical to do properly? (Sorry if I missed that conversation, it's a big thread.)

  14. On 5/13/2021 at 4:30 AM, Survager said:

    What does C# code coding have to do with installing a pre-made mod using DMT?

    [...]

    Moreover, the lock picking mod works only with DMT, as far as I know.

     

     

    I'm going to assume that you don't know what DMT does.

     

    The DMT mods that you download (like, say, SphereIICore) contain C# code that is structured in a way that the DMT tool can recognize. DMT then compiles that C# code, creates binary .dll files, and modifies the game's own .dll files to load them.

     

    I am leaving out a lot of details, but that's the general idea. If you want to learn more, here's a good overview of DMT (including SDX and Harmony patching), written by SphereII:

    https://7d2dmods.github.io/HarmonyDocs/

     

    And here is the thread that you want if you are having trouble installing mods with DMT:

    https://community.7daystodie.com/topic/13037-dmt-modding-tool/

     

    Also: the lockpicking mod does not depend upon DMT. It depends upon SphereIICore. It is SphereIICore that must be compiled with DMT.

     

    And, yes, you should compile all of the C# code inside the SphereIICore mod, even the code that is not directly relevant to lockpicking. That's how it is designed. It might be possible to isolate just the C# code that deals with lockpicking, but it wouldn't be easy. I am a C# programmer by trade, and I wouldn't want to do it.

  15. 14 hours ago, Survager said:

    Can someone just tell me which folders and files I must to copy from the SphereIICore archive to the DMT Mods folder?

     

    This is what is in the archive
    image.png.712a118cd9eb5ba51ea671a9069716cc.png

     

    I don't know where you got that archive, but it is not a "SphereIICore archive." It looks like an archive of the entire SphereII repository - including all his mods and modlets.

     

    The files inside the "0-SphereIICore" folder - and only those files - are part of the SphereIICore mod.

     

    If building C# code using DMT is too complicated for you (as it is for many people), then I recommend using the Mod Launcher instead: http://7d2dmodlauncher.org/

     

    You should be able to get both SphereII's Core mod and Xyth's lockpicking modlet directly through the Mod Launcher, and it will build any DMT or SDX mods/modlets automatically:

    http://7d2dmodlauncher.org/HowToInstallMods.html

    http://7d2dmodlauncher.org/ManagingModlets.html

  16. 13 hours ago, Survager said:

    Hi @xyth
    If I copy 0-sphereiicore and Lock mods to the folder with DMT mods, during the build process I get many errors, from the text of which it appears that all 0-sphereiicore mods are needed for the build (

     

     

    
    Parsing arguments
    Running BackupFiles
    Backup dll found: D:\Games\steamapps\common\7 Days To Die DMT\DMT/Backups/SP/19.4b7/Assembly-CSharp.dll
    Running DeployDlls
    Deploying DLLs
    Running LocalisationPatch
    Localisation no longer handled in DMT after A17
    Running InitialPatchTask
    Compiling Roslyn Scripts assembly for InitialPatch...
    Built patch file in 0ms
    PatchMods compile successful
    Found patcher mods: 3
    
    
    
    Hooking harmony
    Hooking console commands
    Running CreateModDll
    Compiling Mods.dll...
    Compiling Roslyn Scripts assembly for InitialPatch...
    Built in 0ms
    Mods.dll compile successful
    
    Parsing arguments
    Running LinkedPatchTask
    Built patch file in 0ms
    PatchMods compile successful
    Found patcher mods: 3
    Link patching 3 files
    
    Parsing arguments
    Running FinalPatchTask
    Built patch file in 0ms
    PatchMods compile successful
    Found patcher mods: 3
    Final patching 3 files
    Running CreateHarmonyDlls
    Compiling Harmony mod for 0-SphereIICore...
    Compiling Roslyn Scripts assembly for FinalPatch...
    warning CS1701: Assuming assembly reference 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' used by 'UnityEngine.CoreModule' matches identity 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' of 'mscorlib', you may need to supply runtime policy
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\XML\ModInfo.cs(31,33): warning CS0168: The variable 'e' is declared but never used
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\Blocks\BlockSecureLoot.cs(66,13): warning CS0162: Unreachable code detected
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\FoodSpoilage\FoodSpoilage.cs(75,22): error CS1061: 'ItemValue' does not contain a definition for 'CurrentSpoilage' and no accessible extension method 'CurrentSpoilage' accepting a first argument of type 'ItemValue' could be found (are you missing a using directive or an assembly reference?)
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\FoodSpoilage\FoodSpoilage.cs(75,51): error CS1061: 'ItemValue' does not contain a definition for 'CurrentSpoilage' and no accessible extension method 'CurrentSpoilage' accepting a first argument of type 'ItemValue' could be found (are you missing a using directive or an assembly reference?)
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\FoodSpoilage\FoodSpoilage.cs(76,22): error CS1061: 'ItemValue' does not contain a definition for 'NextSpoilageTick' and no accessible extension method 'NextSpoilageTick' accepting a first argument of type 'ItemValue' could be found (are you missing a using directive or an assembly reference?)
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\FoodSpoilage\FoodSpoilage.cs(76,52): error CS1061: 'ItemValue' does not contain a definition for 'NextSpoilageTick' and no accessible extension method 'NextSpoilageTick' accepting a first argument of type 'ItemValue' could be found (are you missing a using directive or an assembly reference?)
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\FoodSpoilage\FoodSpoilage.cs(62,28): error CS1061: 'ItemValue' does not contain a definition for 'CurrentSpoilage' and no accessible extension method 'CurrentSpoilage' accepting a first argument of type 'ItemValue' could be found (are you missing a using directive or an assembly reference?)
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\FoodSpoilage\FoodSpoilage.cs(63,28): error CS1061: 'ItemValue' does not contain a definition for 'NextSpoilageTick' and no accessible extension method 'NextSpoilageTick' accepting a first argument of type 'ItemValue' could be found (are you missing a using directive or an assembly reference?)
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\FoodSpoilage\FoodSpoilage.cs(89,34): error CS1061: 'ItemValue' does not contain a definition for 'CurrentSpoilage' and no accessible extension method 'CurrentSpoilage' accepting a first argument of type 'ItemValue' could be found (are you missing a using directive or an assembly reference?)
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\FoodSpoilage\FoodSpoilage.cs(90,34): error CS1061: 'ItemValue' does not contain a definition for 'NextSpoilageTick' and no accessible extension method 'NextSpoilageTick' accepting a first argument of type 'ItemValue' could be found (are you missing a using directive or an assembly reference?)
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\FoodSpoilage\FoodSpoilage.cs(128,87): error CS1061: 'ItemValue' does not contain a definition for 'CurrentSpoilage' and no accessible extension method 'CurrentSpoilage' accepting a first argument of type 'ItemValue' could be found (are you missing a using directive or an assembly reference?)
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\FoodSpoilage\FoodSpoilage.cs(191,52): error CS1061: 'ItemValue' does not contain a definition for 'NextSpoilageTick' and no accessible extension method 'NextSpoilageTick' accepting a first argument of type 'ItemValue' could be found (are you missing a using directive or an assembly reference?)
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\FoodSpoilage\FoodSpoilage.cs(192,52): error CS1061: 'ItemValue' does not contain a definition for 'NextSpoilageTick' and no accessible extension method 'NextSpoilageTick' accepting a first argument of type 'ItemValue' could be found (are you missing a using directive or an assembly reference?)
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\FoodSpoilage\FoodSpoilage.cs(195,52): error CS1061: 'ItemValue' does not contain a definition for 'NextSpoilageTick' and no accessible extension method 'NextSpoilageTick' accepting a first argument of type 'ItemValue' could be found (are you missing a using directive or an assembly reference?)
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\FoodSpoilage\FoodSpoilage.cs(273,162): error CS1061: 'ItemValue' does not contain a definition for 'NextSpoilageTick' and no accessible extension method 'NextSpoilageTick' accepting a first argument of type 'ItemValue' could be found (are you missing a using directive or an assembly reference?)
    process exited with error code -1
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\FoodSpoilage\FoodSpoilage.cs(276,132): error CS1061: 'ItemValue' does not contain a definition for 'NextSpoilageTick' and no accessible extension method 'NextSpoilageTick' accepting a first argument of type 'ItemValue' could be found (are you missing a using directive or an assembly reference?)
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\FoodSpoilage\FoodSpoilage.cs(283,52): error CS1061: 'ItemValue' does not contain a definition for 'CurrentSpoilage' and no accessible extension method 'CurrentSpoilage' accepting a first argument of type 'ItemValue' could be found (are you missing a using directive or an assembly reference?)
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\FoodSpoilage\FoodSpoilage.cs(286,91): error CS1061: 'ItemValue' does not contain a definition for 'CurrentSpoilage' and no accessible extension method 'CurrentSpoilage' accepting a first argument of type 'ItemValue' could be found (are you missing a using directive or an assembly reference?)
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\FoodSpoilage\FoodSpoilage.cs(290,52): error CS1061: 'ItemValue' does not contain a definition for 'NextSpoilageTick' and no accessible extension method 'NextSpoilageTick' accepting a first argument of type 'ItemValue' could be found (are you missing a using directive or an assembly reference?)
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\FoodSpoilage\FoodSpoilage.cs(291,52): error CS1061: 'ItemValue' does not contain a definition for 'NextSpoilageTick' and no accessible extension method 'NextSpoilageTick' accepting a first argument of type 'ItemValue' could be found (are you missing a using directive or an assembly reference?)
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\FoodSpoilage\FoodSpoilage.cs(294,77): error CS1061: 'ItemValue' does not contain a definition for 'CurrentSpoilage' and no accessible extension method 'CurrentSpoilage' accepting a first argument of type 'ItemValue' could be found (are you missing a using directive or an assembly reference?)
    d:\Games\steamapps\common\7 Days To Die DMT\DMT Mods/0-SphereIICore/Harmony\FoodSpoilage\FoodSpoilage.cs(338,60): error CS1061: 'ItemValue' does not contain a definition for 'CurrentSpoilage' and no accessible extension method 'CurrentSpoilage' accepting a first argument of type 'ItemValue' could be found (are you missing a using directive or an assembly reference?)
    Failed to compile Harmony dll Harmony-0-SphereIICore.dll
    Build failed
    

     

     

    From the output, it looks like you're not including PatchScripts\FoodSpoilagePatch.cs in the build.

     

    But, I don't know what you mean by this: "it appears that all 0-sphereiicore mods are needed for the build."

     

    0-SphereIICore is one mod. You need to install and build all of it. If you're trying to just pick and choose which files or folders you include, then of course you're going to get errors.

  17. Just an FYI for those people who actually want to do localization for their modlets, and not just add English entries...

     

    I found this online tool helpful. It will translate English text into multiple languages at once:

    https://smodin.me/translate-one-text-into-multiple-languages

     

    I can't vouch for the quality of the translations. But, IMHO, something is usually better than nothing.

     

    If anyone else knows of better translation services, then feel free to post them here.

  18. 8 hours ago, magejosh said:

    Did you upload that working version anywhere? I've been working on a server side overhaul mod I'd love to include these in, and I can't seem to figure out what's causing the NRE's when I spawn in zombieChang. I'm already using the Snufkins Zombies, and MikePewPew's Server Side Zombies, and a couple of random remixes from Doughphungus, but I'd like to use these as well. 

     

    The version in my A19 repo should be working: https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/tree/master/khzmusik_UMA_Zombies

     

    (EDIT: ignore the fact that it says "A18" in the README, that's my stupidity.)

     

    This is the first I've heard of any NREs when using those zombies in A19. However, it's possible that my non-DMT test installation is still on version A19.3.

     

    If you are using the version from the A19 repo, and run across those NREs again, could you upload logs here?

  19. On 4/13/2021 at 10:45 AM, xyth said:

    You need the creaturepack animals and mechs if your using the NPCanimals and mechs

     

     

    I really miss the days when the Mod Launcher would automatically install dependencies for you.

  20. 6 hours ago, Yerkisk said:

    Not sure if this is an error, how it was intended to work or how to fix this, but here goes

     

    My game has Friendly Fire disabled, so we cannot kill each others.

    My brother and I are playing on it. We are in the same party and live in the same base.

    We use CreaturePack Zombies, Humans, Animals, but also the DMT versions for Humans, Animals (NPCPackAnimals and NPCPackHumans), all with default settings.

    We also use NPCFactions but again all settings were left as default (so I guess we could remove that mod as it doesnt seem to do anything if we leave the setting to default?).

    We also use Khzmusik's NPCPackHumans Adjustments with the default settings, but I do not see anything in his changes that could change the behaviors below.

     

    First problem

     - I find a goat that can be recruited. The goat says "Howdy" in a human male voice. Can we completely disable their voice anywhere?

     

    I tame the Goat, which required 10 raw meat (I guess I could change the item needed to something more fitting in the xml file).

    My brother, while fighting, unfortunately hit the goat, probably doing no damage as Friendly Fire is off, but the goat sure does kill him. Goat does not turn against me.

    My Brother comes back to life, fight another zombie, and again hit the goat by mistake and gets killed by it again.

     

    Later on, my brother also find a goat, and tames it. So we both have a goat. Not sure why, but he still get the option to recruit my goat, and I still get the option to recruit his goat when we click on it. We haven't tried yet to see what happen if we do.

     

    Then, My brother finds a farmer, and hires him. Automatically the farmer runs for my goat and start beating on it, doing no damage as Friendly Fire is on.

     

    Second Problem

     - The farmer won't respond to any command as he's involved in a endless 0 damage battle with the goat who's not even reacting to him. We can't kill the goat nor the farmer as we have Friendly Fire off and both were hired. We have no idea why the farmer is now attacking the goat, who's no longer aggro on my brother.

     

    Any idea of what we could change so that hired npcs from same party members are not attacking each others?

     

    Thanks

     

    Just FYI, my adjustments don't touch the animals.

     

    The "friendly fire" issues are hopefully solved with the latest version of SphereII Core. SphereII recently merged a pull request from me that should have fixed the issues. The changes were merged 21 days ago, so you may have to remove, re-download, and re-compile Core if you have a previous version.

     

    I don't have any idea about your brother's ability to recruit your goat. Hopefully @sphereii or @xyth can point you in the right direction.

  21. 1 hour ago, tg84632002 said:

    I wanted to do the ice fridge idea but didn't  know to implement it, it would've been col to have to refill it up ice as fuel. 

     

    Honestly, the fuel type isn't the hard part. The hard part is figuring out how to calculate food spoilage differently, depending upon whether the fridge (or any container) is "on" or "off."

     

    The current Core code simply won't allow that... and with good reason. The calculations for a container are "saved up" for the next time a player opens that container. Imagine how complicated it would get if you had to calculate how much of that time was spent "on" or "off." Especially if the player isn't even in the same chunk as the container.

     

    One possibility is to make the "freezer" a workstation that "crafts" normal foods into frozen foods. But I didn't even consider it an option, because a) it's a whole lot of work (you have to have frozen equivalents of everything), and b) it's not how people think of freezers, so most players wouldn't like it, therefore it's not worth putting in the game.

     

    If that appeals to you, though, then give it a shot. Core also has code to produce powered workstations (using the vanilla power system), so you could also make them powered if you're so inclined. But it doesn't appeal to me so I probably won't be much help. :) 

  22. 13 hours ago, tg84632002 said:

    Is 0-SphereIICore all that I need for the food spoilage mod and if so can I include 0-SphereIICore in my mods?

     

    In case anyone else wants to make a food spoilage mode using Core:

     

    I made one myself. The Core code is very powerful, but the documentation leaves much to be desired. (You can tell SphereII is a dev and not a TPM. :) )

     

    I wrote up a lengthy explanation of how it all works, in my modlet's README file: https://gitlab.com/karlgiesing/7d2d-a19-modlets/-/blob/master/1-SphereIICore_khzmusik_Food_Spoilage/README.md

     

    Hopefully others will find it useful.

     

    And, about my own modlet - feel free to use it, learn from it, steal the code, and in general do whatever you want with it.

×
×
  • Create New...