Modifying PC Dead Rising 2 |
---|
Opening files to edit (Gibbed's)
All game items (items.txt)
|
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 file[]
First unpack (open up) the datafile.big file located in your Dead Rising 2/data/ folder on your computer.
See Dead Rising 2 Mods/Opening and recompiling files for full instructions on how to do this.
Change a safe house bucket into the drill bucket[]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" }
This bucket normally spawns just outside of one of the Safe house large storage rooms.
Down the hall from the security room and bathroom.
Simply replace "Bucket" with "Combo_BucketDrill" twice, on the first and third lines:[1] cItemPlacement Combo_BucketDrill { ItemName = "Combo_BucketDrill" Location = "2.495,-0.876,-8.313" Rotation = "-0.000,0.002,0.000,1.000" }
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.
The Drill Bucket should be where the safe house bucket was before.
|
All Items available to add[]
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 on the Dead Rising 2 forum which add items to areas use this same process.
Figuring out where to place an item[]
It is difficult to figure out exactly where to place an item.
To place an item, a modder can:
- replacing one item with a new item as explained above,
- edit existing mod files which already have items placed in new locations, or
- place items with new coordinates then play to test to make sure the item is in the right location.
The location of the bucket is: "Location = "2.495,-0.876,-8.313"
See Mod:Coordinates for placing items with new coordinates
Chuck's location to place items[]
- Further information: Mod:Coordinates
By activating debug mode, 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.
making items float[]
Adding: PropState = "-2" makes the item float in space instead of fall. Items do not tip over or roll.
Example:
cItemPlacement Combo_BucketDrill { ItemName = "Combo_BucketDrill" Location = "2.495,-0.876,-8.313" Rotation = "-0.000,0.002,0.000,1.000" PropState = "-2" }
Missions.txt[]
Removing items[]
In missions.txt section cMissionDefinition Tutorial2_Katey:
cMissionSendCommandToProp DestroyBarricade1 { PropCommand = "17" PropName = "MetalBarricade1" }
Removing rope on Viki after Chuck the Role Model:
cMissionSendCommandToProp DestroyRope4 { PropCommand = "17" TargetNPCName = "srv_vikki" }
cMissionOnFail VikkiDead { cMissionSetChuckState DestroyRopes { ChuckState = "40" Item = "RebeccaRope" }
Create fires[]
In missions.txt section cMissionDefinition Tutorial2_Katey:
cMissionStartEffect GolfCartFire1 { EffectEnum = "51" Location = "-344.752,-7.185,47.367" Loop = "true" Rotation = "0,0,0,1" }
Resizing items[]
- See also enlarging/ resizing characters.
Cinematic distortion radical item size increase
Examples[]
Americana Casino with only 10 items lined up | |
---|---|
|
Locations files in datafile.big[]
For Off the Record:
americana_casino.txt arena_backstage.txt arena_stadium.txt atlantica_casino.txt food_barn.txt fortune_exterior.txt laboratory.txt palisades.txt rooftop_atlantica.txt rooftop_hotel.txt rooftop_royal.txt rooftop_safehouse.txt rooftop_theater.txt rooftop_yucatan.txt royal_flush.txt safehouse.txt safehouse_poker.txt south_plaza.txt tape_die.txt theme_park.txt underground.txt yucatan_casino.txt |
Empty:
- dr1_foodcourt.txt
- dr1_paradiseplaza.txt
Video[]
Gallery[]
References[]
- ↑ What is written on the cItemPlacement line after cItemPlacement is unimportant, a modder can add Chuck_is_cool for example.
As long as what is entered is one word, and that word is unique in that section or file. If the same name is identical to another cItemPlacement entry, the identically named item will not appear.
For example, say these two sections are added to safehouse.txt:
cItemPlacement Chuck_is_cool { ItemName = "Combo_BucketDrill" Location = "2.495,-0.876,-8.313" Rotation = "-0.000,0.002,0.000,1.000" }
and
cItemPlacement Chuck_is_cool { ItemName = "Combo_BucketDrill" Location = "2.5,-0.9,-9" Rotation = "-0.1,0.2,0.1,1" }
Because the line cItemPlacement Chuck_is_cool is identical, one of possibly both items will not appear.
See also[]
- Dead Rising 2 Mods/List of items - list of items you can add to the game.
- Mod:Coordinates
External links[]
- Spawning an Item with "cItemPlacement" Forum tutorial which this tutorial is based upon.
- Anno's Weapons arena, proboards, 527 weapons and items in the arena and under the arena
- WEAPONS: Storage Room 11, proboards
- WEAPONS: Beefy Storage Room 11 + Super Bat, proboards