Dead Island

Dead Island

View Stats:
Guns and Ammo modding
Basically I want to add guns and ammo to the shop and assign a reasonable price to them. I am looking at some of the mods on the mod list thread and none of them is what I am looking for.

Mostly, I am looking to add ammo to the shop.

If adding ammos to an existing shop is not possible, what about replacing one of the shop's inventory?

Reason being that ammos are too damn rare I want to shoot some zombies. I think shops sell ammo later on in the game but I am not that far into the game yet.

Thanks.
< >
Showing 1-7 of 7 comments
hendawg2020 Nov 14, 2013 @ 10:34pm 
Ok, I'll come into this assuming you haven't looked into how to tweak the game.

Oh, I should also note: doing any of this is not VAC-ban-worthy.

If you go to >Documents>DeadIsland, if you don't already have this folder, create a folder titled "Data". You place modded files into this folder and the game reads from it instead of the game's default folder.

So, you can go to wherever you installed your game (ie: C:\Program Files (x86)\Steam\steamapps\common\Dead Island\DI) and you can copy Data0.pak and/or Data3.pak to a safe place so you won't be messing with your save files while you try things out.

The pak files, you should use a program like 7zip to extract the contents to 2 folders, 1 where you will keep a backup that will not be modified, and the other, where you will do your modifications. See my folder structure below. "Game backups" is where I backup my game saves so I can restore if I lose progress. I also decided to use it for my "mod" backups.

Here's my backup/mods folder structure btw (EDIT: backup files/folders not shown):

C:\Users\Me\Documents\Game backups\Dead Island backup\Data0.pak (Backup file)
C:\Users\Me\Documents\Game backups\Dead Island backup\Data1.pak (Backup file)
C:\Users\Me\Documents\Game backups\Dead Island backup\Data2.pak (Backup file)
C:\Users\Me\Documents\Game backups\Dead Island backup\Data3.pak (Backup file)
C:\Users\Me\Documents\Game backups\Dead Island backup\Data0_Modded (Backup file gets "copied" using 7zip into this folder)
C:\Users\Me\Documents\Game backups\Dead Island backup\Data0_Original (Backup file gets "copied" using 7zip into this folder)
C:\Users\Me\Documents\Game backups\Dead Island backup\Data3_Modded (Backup file gets "copied" using 7zip into this folder)
C:\Users\Me\Documents\Game backups\Dead Island backup\Data3_Original (Backup file gets "copied" using 7zip into this folder)


Once you extract the contents of the pak file(s), dig around, read the files, see what they do. Determine which ones you should mod and copy that modded file to Documents\DeadIsland\out\Data.

For your quest in changing what gets dropped in the shops, a good file to check out is Shops.scr. Open it with a text editor and just tweak some things. Play around, replace things that don't work. This is why we keep backups.

Basically, this is how you "mod" the game.

NOW...

Doing this comes with responsibility. Responsibility upon yourself in keeping backup files. Responsibility in not ruining other people's fun. You want certain things? Do it in offline mode. There's really only one rule when doing this sorta stuff...just D.B.A.A. I goof around with things in offline mode for this reason.

If you ever want to undo the effects of your modding of files to your game and saves, removing the files from Documents\DeadIsland\out\Data and overwriting your game saves with your backup game saves *should* just do the trick.

Hope this helps and, please, D.B.A.A. ;)
Last edited by hendawg2020; Nov 14, 2013 @ 10:39pm
Thanks, but I still can't figure out how to put in a price for the ammo added to the shops.
hendawg2020 Nov 15, 2013 @ 8:38pm 
Honestly, that's one of the things I've never messed with. So, I can't tell you which files or fields to modify. Best I can say is maybe look for fields that say "Price", "Cost", "Value", etc., tweak the values, test it, if it doesn't do what you want, revert your changes.

But, to maybe help you out, I remember seeing something regarding "Price" in one of the Inventory files. But I'm pretty sure that that's for the selling price..

Just mess around with stuff and revert files if needed. Once you find it, I'm sure you'll feel some satisfaction. Moreso than if somebody just tells you what to do..
I managed to add ammo to vendors but the price is too expensive. So what I did instead was to increase the amount of money dropped.
Nite69 Nov 16, 2013 @ 4:58pm 
ammo and guns are only rare at the beginning of the game, once you hit the second big map (Morseby I think is the name) guns and ammo will start to be found by actual human enemys
Strange_Music Nov 16, 2013 @ 9:10pm 
I think the Ak47 mod increases the price of items in shops. But if you want to change them yourself then just go into your intentory file and add the line Price(x); to the weapon you want a price increase. (I add it under DamgeType) and change x to any value you want. This is very tedious however because it requirs you to do that for every weapon in the game but that's the only way I've found out how to change weapon pricing.
@hendawg2020

+1 your comment was what i needed.
< >
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: Nov 14, 2013 @ 12:24pm
Posts: 7