Mod:Adding new items
From Dead Island Wiki
|Modifying PC Dead Island|
|Dead Island Mods Forum|
In Dead Island items out in the open, such as weapons, craft parts, or quest items can be switched. It is a goal to allow an editor to place items anywhere in Dead Island, not as drops, but as items which can be seen by the player laying around.
Every item and terrain is added to each area with a .exp file. Each area's .exp file is found in Dead Island/DI/Data1.pak/maps in a folder for each area.
For example, the Resort map area is found in Dead Island/DI/Data1.pak/maps/Act1a/act1a.exp.
To open an .exp file, a modder needs a hex editor.
 Replacing items
To switch the item, a modder needs to replace the name of the item (Melee_MetalRodPaddle), not the mesh (.msh) (weapon_paddle_a.msh).
Like most hex editors, the total size of the file must remain the same, even one less or one extra character will cause the game to always crash when loading that area.
As an example, replacing Melee_BroomStickBattered (24 characters) with Melee_WoodenPlankBattered (25 characters) only will cause the game to crash when loading.
To replace Melee_BroomStickBattered with Melee_WoodenPlankBattered the modder must replace Melee_BroomStickBattered AND one space after the name, represented in the text editor as a dot "." This way the total file remains the same size.
So for example, in act1a.exp originally one of the Melee_BroomStickBattered items has three spaces (dots) after it.
A modder would replace Melee_BroomStickBattered with Melee_WoodenPlankBattered and there would only be two spaces (dots) after the new entry.
Dead Island/DI/ Data1.pak/maps/ Act1a/act1a.exp
replace all instances of:
 Have items appear in no-clip mode
Noclip is a video game cheat command that prevents the first-person player character camera from being obstructed by other objects and permits the camera to move in any direction, allowing it to pass through such things as walls, props, and other players.
 Items which remain visible in noclip mode
Promisingly, there are some items which remain in noclip mod exceptions. This is promising because items meshes which disappear can be swapped with items that still appear.
Quest items do not disappear in noclip mode. A few other items do not disappear in noclip mode. This is based on the following items not disappearing in quest mode:
|Flares||Probably only the flare placed by the game for the quest Light My Fire, not a dropped flare. Probably not quest flares.|| In Mod:File_locations#Inventory.scr
|Red Propane Canisters|
|Remains of the Damned Red Skull|
|Vehicles|| The SUV in front of Bunker 06 in the resort.
The truck smashed into the Silver Bungalow District bungalow in the Bloody Valentine quest.
Vehicles return to their original location when the player goes into no-clip mode.
 Items which disappear in noclip mode
Blade on corner of nightstand next to bathtub disappears in noclip mode. Again, it is strongly speculated that 'placed quest items do not disappear, but that craft items do.
- All characters
- All heroes
- All zombies
- A blade, a craft part
- Most, probably all dropped weapons
- Collectibles: ID Cards and Fact disappear
 See also
- Mod:Zombies#Increase number of zombies that spawn - which also uses .exp files.