Mod:Adding new items

From Dead Island Wiki

Modifying PC Dead Island
Dead Island Mods Forum

Tutorials


   Developer Mode
   Modifying Weapons
   Swap characters (Model Swap)
   Zombies (add zombies)
   Weather and Field of View (FOV)
   Dead Island Save Editor (DISE)
   Map locations (coordinates)
   Sound
   Create Reskins
   Adding & removing items
   Changing Text
   Weapon modifications
   Opening files
   Increase performance
   Disable cutscenes
  

List of what each file does


   File locations
  Game Text
  Loot random items file
  Save file
  Default.pro‎
  Inventory
  HUD
  Environment
  Challenges
  Human data
  Guns
  Vessel data

Tools


   Map Editor

 v  d  e 

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.

Contents

[edit] 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.

Dead island hex editor chnaging locations of items text must be the same size otherwise crash.jpg

As an example, replacing Melee_BroomStickBattered (24 characters) with Melee_WoodenPlankBattered (25 characters) only will cause the game to crash when loading.

Melee_BroomStickBattered original with 3 spaces after
Melee_WoodenPlankBattered replacing with only 2 spaces after

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.

[edit] Example

Paddle before modification, outside entrance of Golden Beach Bungalow.
Shovel replaces paddle, outside of Golden Beach Bungalow.

In

Dead Island/DI/ Data1.pak/maps/ Act1a/act1a.exp

replace all instances of:

Melee_Paddle.

with

Melee_Shovel.

The paddle is now replaced with a shovel outside of the Golden Beach Bungalow.

Download: All paddles in resort replaced with shovels or wooden planks

[edit] act1a.exp

See Dead Island Silver Expansion Pack (Manual Install + Tutorial) by EUTHANASIA

[edit] Have items appear in no-clip mode

This section attempts to get items appear in noclip developer 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.[1]

Currently most items and all characters (except Hotel Dominic) disappear in noclip mode.[2]

[edit] 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:

Item Notes Game Files
Green Skull
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
Item("SQ_TC_01_flare", CategoryType_QuestItem)
Item("CraftPart_Flares", CategoryType_CraftPart)
Necklace Dead island My Precious... necklace.jpg
Red Propane Canisters Dead island Afran's Camp developer mode y on note red propane tank.jpg
Remains of the Damned Red Skull Dead island Afran's Camp developer mode y on note red propane tank.jpg
Vehicles The SUV in front of Bunker 06 in the resort.

The broken truck in the Lifeguard Tower before it is repaired in the quest Lazarus Rising

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.

[edit] Items which disappear in noclip mode

See Modding: Objects disappear when you go into float mode
Normal game
Noclip mode -- notice the two Propane Canisters, and red skull remains
Dead island ID Card 009.jpg
Dead island no clip no blade in no clip.jpg

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.

  1. All characters
  2. All heroes
  3. All zombies
  4. A blade, a craft part
  5. Wallets
  6. Most, probably all dropped weapons
  7. Collectibles: ID Cards and Fact disappear


[edit] Gallery

[edit] References

  1. Noclip mode, Wikipedia.
  2. For a visual example of this being accomplished in another game, see these screenshots of Dead Rising.

[edit] See also