Cagealicous

  • Content count

    29
  • Joined

  • Last visited

Community Reputation

2 Neutral

About Cagealicous

  • Rank
    Junior Member

Recent Profile Visitors

566 profile views
  1. Alright. That didn't work as well. Since this is going nowhere, I'm going to move on for now. Thanks anyways.
  2. Well, I'm not entirely sure what you mean. I was just trying to make the prefab disappear when a certain mod was enabled. If that is what you are saying, then could you please demonstrate what you mean?
  3. It just isn't working. At this point, I really don't know what to do. Also, I'm not new to modding, only coding because my partner I worked with isn't available. So, I'm stumped at this point. I tried the first method and I tried inverting it. It still just shows up with the mod enabled. So, I don't know what to do now.
  4. It still will not work. I've tried replacing the name of "INSERTMODNAMEHERE" with mods that I created. It's more than likely the code. I'm a bit at a loss here. Any other ideas? Edit: I've tried it out without the extra statement of "else". for k,v in ipairs(KnownModIndex:GetModsToLoad()) do local Mod = KnownModIndex:GetModInfo(v).name if Mod == ("INSERTMODNAMEHERE)") then return Prefab("common/inventory/test", fn, assets) end end This in fact does work, but the prefab will only show if the mod is enabled. I'm trying to get it to show up when it is disabled and when it is enabled to not show up.
  5. I'm not entirely sure what you mean. I may be a bit newer to coding, but I know some coding. (If that means anything.) Are you saying that if I checked if the "INSERTMODNAMEHERE" name is correct? I'm sorry if I do not understand.
  6. I have been attempting to make a certain prefab disappear when another mod is enabled. I have tried and tried and tried many things, but I am yet to be successful in this endeavor. This is the current one I am using. (I know that the mod doesn't exist. The name of the mod I am crossing this prefab with does work.) for k,v in ipairs(KnownModIndex:GetModsToLoad()) do local Mod = KnownModIndex:GetModInfo(v).name if Mod == ("INSERTMODNAMEHERE") then return else return Prefab("common/inventory/test", fn, assets) end end Whenever I try this out without the mod that I want the prefab to be not included, it shows up. Though, when I test it out with the mod, it still shows up. So, I gave up for the time being. If anyone could lend a helping hand, that would be appreciated.
  7. Ethan, The Hot Head

    He goes angry and has 2x damage and moves faster, but he goes insane quickly and he cannot sleep while angry.
  8. Ethan, The Hot Head

    Version 2.1.5

    144 downloads

    This is a character mod my friend, Stormish, and I have created. The character has his own meter called Anger. When the character performs certain action incorrectly, he'll snap. Credits to: Stormish (He did most of code and some of the art), Me (I did almost all the art, some of the code). You can find the Steam Workshop version here: https://steamcommunity.com/sharedfiles/filedetails/?id=1414159393