FANDOM



Dead Rising 2 Mods/Spawning an Item with cItemPlacement
Dead Rising 2 ubtri yesterday today and tomorrow items atop with mod
 
Modifying PC Dead Rising 2

Tutorials


   Reskin Modifications
   Opening files to edit
   Placing items
    List of items

Modifications


   Debug Mode
   Reskin Modifications
   Model Modifications
   Level Modifications
   Other Modifications

What each file does list


   .Big Files
    Reskin files

 v  d  e 

In the Dead Rising 2 PC version a player can edit PC files replacing items such as weapons and food, and creating new locations for items.

Below is a tutorial on how this is done.

Opening the datafile.big fileEdit

First extract/open up the datafile.big file located in your Dead Rising 2 folder on your computer.

See Dead Rising 2 Mods/Opening and recompiling files for full instructions on how to do this.


Open Safehouse.txtEdit

Dead rising safehouse txt in datafile big

Datafile.big should now be extracted/opened up.

In the folder you extracted datafile.big to scroll down and open safehouse.txt. The default folder created for is datafile.big is /dead rising 2/data/datafile_big

Safehouse.txt is where the game reads where all of the items are placed in the safehouse.

Change a safe house bucket into the drill bucketEdit

Dead rising safehouse txt first entry

First entry in Safehouse.txt.

The very first entry in Safehouse.txt is a Bucket:

cItemPlacement Bucket
{
	ItemName = "Bucket"
	Location = "2.495,-0.876,-8.313"
	Rotation = "-0.000,0.002,0.000,1.000"
}


Dead rising safe house bucket unmodified
Dead rising safe house bucket unmodified (2)

This bucket normally spawns just outside of one of the Safe house large storage rooms.

Dead rising drill bucket in safehouse mod (2)

Down the hall from the security room and bathroom.


Dead rising safehouse txt first entry drill bucket

Simply replace "Bucket" with "Combo_BucketDrill" twice, on the first and third lines:

cItemPlacement Combo_BucketDrill 
{
    ItemName = "Combo_BucketDrill"
    Location = "2.495,-0.876,-8.313"
    Rotation = "-0.000,0.002,0.000,1.000"
}


Save the safehouse.txt file.

Repack the datafile.big file as explained at Dead Rising 2 Mods/Opening and recompiling files, making sure the modified file is named datafile.big.

Start the game.

Dead rising drill bucket in safehouse mod

The Drill Bucket should be where the safe house bucket was before.

All Items available to addEdit

A full list of all items is in data/datafile.big in the items.txt file. This list has been recreated here as a sortable alphabetized list: Dead Rising 2 Mods/List of items. Notice that the Bucket and Combo_BucketDrill are found on this list. Follow the steps above to add other items. The level modification mods which add items to areas use this same process.


Selecting item locationsEdit

To create a location of an item, an editor can:

  1. change items in the game as above, or
  2. edit existing mods files with items placed in new locations.
  3. edit the coordinates then play to test the coordinates.

Here we are going to edit the coordinates then play to test the coordinates.

The location of the bucket is: "Location = "2.495,-0.876,-8.313"

Location = "x-coordinate,y-coordinate,z-coordinate"

X and Y coordinates: vertical placement

Z coordinate: horizontal placement (up and down)


Chuck's location to place itemsEdit

Dead rising drill bucket in safehouse mod (3)

By activating debug mode and adding a text file, a player can activate a green positioning line.

In this screen shot, Chuck is standing on the Drill Bucket. The coordinates are:

Local Player Pos 1.9, -1.1, -8.1 (Rot 1.7)

The location of the bucket in safehouse.txt is:

Location = "2.495,-0.876,-8.313"

The Local Player Pos coordinates helps give a general location to place items.

TriviaEdit

See alsoEdit

NotesEdit

External linksEdit

Template:D2

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.