RoboMat Posted March 16, 2014 Share Posted March 16, 2014 If your mods don't work with the current version then they are outdated. Link to comment Share on other sites More sharing options...
Narnobie111 Posted April 9, 2014 Share Posted April 9, 2014 I've been trying to download mods. When I start the game I go to check the mod in the modloader. I click it and it shows the green check. I then play the game but no mods work like there are none installed so I don't know what to do. If anyone could help me thank you Link to comment Share on other sites More sharing options...
syfy Posted April 9, 2014 Share Posted April 9, 2014 which mods are you trying to use, and on which build? Link to comment Share on other sites More sharing options...
Narnobie111 Posted April 9, 2014 Share Posted April 9, 2014 which mods are you trying to use, and on which build?Well I was trying to download Bedford Falls but that didn't work the other mod I was trying to use was Necroforge and I'm on build 25 in IWBUMS Link to comment Share on other sites More sharing options...
Wayfarer Posted July 14, 2014 Share Posted July 14, 2014 Well, this answered my question of "how do I overwrite default items with a mod". Thanks! Link to comment Share on other sites More sharing options...
WaffleFish Posted August 25, 2014 Share Posted August 25, 2014 I have no idea what I am doing wrong here, but this will not override the vanilla duct tape. The only difference is that mine has many more uses (20 rather than 4). I am a complete idiot, missing loads of commas, and I was literally editing the wrong file. Link to comment Share on other sites More sharing options...
bowlympicshero Posted September 9, 2014 Share Posted September 9, 2014 How exactly would one go about distributing a new item into the game? Do I need a distribution script or lua? I successfully added an item by modifying the base SuburbsDistributions.lua but would like to make it a less invasive process. For all intents and purposes let's choose the spawn location as a house stove since they're always empty and easy to find. Link to comment Share on other sites More sharing options...
Suomiboi Posted September 9, 2014 Share Posted September 9, 2014 How exactly would one go about distributing a new item into the game? Do I need a distribution script or lua? I successfully added an item by modifying the base SuburbsDistributions.lua but would like to make it a less invasive process. For all intents and purposes let's choose the spawn location as a house stove since they're always empty and easy to find. You'll need to do a new lua file and add as follows:require "Items/SuburbsDistributions";MoreFoods = {}table.insert(SuburbsDistributions["conveniencestore"]["fridge"].items, "MoreFoods.GroundBeef");table.insert(SuburbsDistributions["conveniencestore"]["fridge"].items, 3);table.insert(SuburbsDistributions["conveniencestore"]["shelves"].items, "MoreFoods.Rice");table.insert(SuburbsDistributions["conveniencestore"]["shelves"].items, 2);table.insert(SuburbsDistributions["conveniencestore"]["shelves"].items, "MoreFoods.Spaghetti");table.insert(SuburbsDistributions["conveniencestore"]["shelves"].items, 2);table.insert(SuburbsDistributions["conveniencestore"]["shelves"].items, "MoreFoods.PastaSheet");table.insert(SuburbsDistributions["conveniencestore"]["shelves"].items, 1);In the first [] box is the location, in the second is the container type and then you add the item module and item name separated with a dot. On the second row it's the same with the chance of spawning the item which you just defined. This is the fastest and most used way of adding items. EDIT: horrible typo Link to comment Share on other sites More sharing options...
bowlympicshero Posted September 9, 2014 Share Posted September 9, 2014 You'll need to do a new lua file and add as follows:require "Items/SuburbsDistributions";MoreFoods = {}table.insert(SuburbsDistributions["conveniencestore"]["fridge"].items, "MoreFoods.GroundBeef");table.insert(SuburbsDistributions["conveniencestore"]["fridge"].items, 3);table.insert(SuburbsDistributions["conveniencestore"]["shelves"].items, "MoreFoods.Rice");table.insert(SuburbsDistributions["conveniencestore"]["shelves"].items, 2);table.insert(SuburbsDistributions["conveniencestore"]["shelves"].items, "MoreFoods.Spaghetti");table.insert(SuburbsDistributions["conveniencestore"]["shelves"].items, 2);table.insert(SuburbsDistributions["conveniencestore"]["shelves"].items, "MoreFoods.PastaSheet");table.insert(SuburbsDistributions["conveniencestore"]["shelves"].items, 1);In the first [] box is the location, in the second is the container type and then you add the item module and item name separated with a dot. On the second row it's the same with the chance of spawning the item which you just defined. This is the fastest and most used way of adding items. EDIT: horrible typo Maybe I'm missing something because I can't get it to work. [VwSSuburbsDistributions.lua]require "Items/SuburbsDistributions";VwSBase = {}table.insert(SuburbsDistributions["all"]["stove"].items, "VwSBase.Hatchet");table.insert(SuburbsDistributions["all"]["stove"].items, 100); [VwSItems.txt]module VwSBase{item Hatchet { MaxRange = 1, WeaponSprite = Hammer, MinAngle = 0, Type = Weapon, MinimumSwingTime = 3, KnockBackOnNoDeath = TRUE, SwingAmountBeforeImpact = 0.02, Categories = Axe, ConditionLowerChanceOneIn = 30, Weight = 1, SplatNumber = 0, PushBackMod = 0.5, MaxDamage = 1, SubCategory = Swinging, ConditionMax = 10, MaxHitCount = 1, DoorDamage = 15, SwingAnim = Bat, WeaponWeight = 1, DisplayName = Hatchet, MinRange = 0.61, SwingTime = 2.5, MinDamage = 0.5, KnockdownMod = 0, SplatBloodOnNoDeath = TRUE, Icon = Beer, RunAnim = Run_Weapon2, IdleAnim = Idle_Weapon2, TwoHandWeapon = TRUE, }} Am I missing any brackets or is there any kind of syntax error? Link to comment Share on other sites More sharing options...
Suomiboi Posted September 9, 2014 Share Posted September 9, 2014 Nothing that I can see... You should double check the file locations though. The lua should be in modname/media/lua (might have to be in lua/server I'm not really sure) and the script at modname/media/scripts. That's really all I can help you with. If you'll upload the mod I could have a look at some point... but I'm a bit busy atm so don't wait on it. Link to comment Share on other sites More sharing options...
bowlympicshero Posted September 9, 2014 Share Posted September 9, 2014 Nothing that I can see... You should double check the file locations though. The lua should be in modname/media/lua (might have to be in lua/server I'm not really sure) and the script at modname/media/scripts. That's really all I can help you with. If you'll upload the mod I could have a look at some point... but I'm a bit busy atm so don't wait on it. Would it perhaps have to do with the fact that there are zero rolls for loot distribution in the stove? Would I have to set the rolls? Adding this doesn't work:table.setn(SuburbsDistributions["all"]["stove"].rolls, 5);Or perhaps there's just something I'm not getting. I guess I'll just have to fiddle with it until I get it. Link to comment Share on other sites More sharing options...
Suomiboi Posted September 10, 2014 Share Posted September 10, 2014 Best help I can give is to look at other people's mods/code and try to imitate them and step by step turn it into your own code. Link to comment Share on other sites More sharing options...
bowlympicshero Posted September 10, 2014 Share Posted September 10, 2014 Best help I can give is to look at other people's mods/code and try to imitate them and step by step turn it into your own code. LOL That's what I thought (and did) as well. I just copied the distribution lua to my mod for the time being so I could test effects and icons. Thanks for the help. Link to comment Share on other sites More sharing options...
ErebusDraken Posted July 21, 2018 Share Posted July 21, 2018 (edited) Ok, so I have a torrented version I will be buying the game when I get paid I just wanted to try out the full game before buying into it (I know I could just do the demo but I wanted to try the full thing to see how I would like it). every time I click mods it crashes have any workarounds? Edited July 21, 2018 by ErebusDraken Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now