BanjoOz Posted November 12, 2008 Share Posted November 12, 2008 A quick question... has anyone figured out how to edit the items you get when looting a dead enemy? I assumed it was in the LVLI group, under the various DeathItemxxx records (and using the LVL0 subrecord). For example, I tried making a dead Brahmin give you a Brahmin-Skin Outfit when it dies. Checking "DeathItemBrahmin100" has the LVL0 of:01 00 4E 44 98 51 01 00 01 00 00 00 I don't know what the first four "pairs" are, but the second is the FormID for Brahmin Steak (reversed). I assume the ninth "word" (01) is how many steaks are there to loot (but haven't checked that yet). So, when I replaced 98510100 with e58d0100 (Brahmin-Skin Outfit FormID, reversed), and kill the Brahmin in Megaton, it indeed has that item instead of the steak. I wanted it to have both, however, and that's what I can't figure out. As a wild guess (based on playing with CONT entries for merchants), I tried adding a cloned second LVL0 with the new FormID, but on loading the game, only this second LVL0 seemed to be used... ie, dead brahmins had the outfit, but not the steak anymore. Has anyone had more success than I have? I'm sure there's something simple I've missed! Link to comment Share on other sites More sharing options...
Roflcore Posted November 12, 2008 Share Posted November 12, 2008 So why don't you check out a corpse with has more on it by default? That should show you how its done, shouldn't it? Link to comment Share on other sites More sharing options...
OmniTree Posted November 12, 2008 Share Posted November 12, 2008 So why don't you check out a corpse with has more on it by default? That should show you how its done, shouldn't it? I wish it was that simple. I'm trying to edit the loot list for NPC's carrying a specific weapon, which is in and of itself simple. Except there is a minor problem, after editing both LVL0 entries in the LVLI entry that correspond to ammo type there is still the original ammo type in the loot. Somewhere there must be a master loot table for the various NPC's that takes precedence prior to WithAmmo<weapontype><NPC type>. The problem is, its not referenced anywhere. It's like being told to draw a line from Point A to Point B. You know where Point A is cause your standing on it. However, you have no idea where Point B is, all you know is it exists somewhere. Link to comment Share on other sites More sharing options...
BanjoOz Posted November 12, 2008 Author Share Posted November 12, 2008 I had a good look at some of the other "deathitem" entries, and from what I can gather, these are used for making an item spawn on a corpse that it would otherwise not be carrying (eg. to prevent the player "stealing" bloatfly meat from a living bloatfly, for example). Actual inventory (for living creatures and npcs) I'm thinking are stored elsewhere (as OmniTree indicated... I'm trying to find the same answers he is re: the ammo/rechambering weapons dilemma!). That said, I've managed to get dead Brahmins to have lootable: 4 Brahmin Steaks, 2 Brahmin Skulls, 1 Brahmin-Skin Outfit. I managed this by a bit of guesswork, actually, so I don't know if it's the "right" way... some of the other "deathitem" entries did indeed have multiple LVL0 entries (as I was trying at first, without success), but the difference with them was that the LVLF subrecord had the hex value of 04, while the unmodded Brahmin (with it's single LVL0 listing) had this set to 00. I'm not sure WHY changing this works, but I am guessing (I've never tried any sort of modding or hex editing before, so this is pretty new to me!) that this value somehow controls if the item spawn is a single drop or multiple... though I'm not sure if I'm right, given that even if it's set to "04", that can't be a correlating number (eg 4 items spawn) since my 4 steaks, 2 skulls and outfit add up to more than 4! Still, at least it works now, though I don't know if it's worth posting! Link to comment Share on other sites More sharing options...
BlindSniper Posted November 12, 2008 Share Posted November 12, 2008 I made a post that was relevant to this one in the mod request section. I'll just paste it: "I found something interesting in FOMM regarding information on containers for anyone who might have not noticed: http://img45.imageshack.us/img45/6300/fallout3xw0.jpghttp://img45.imageshack.us/img45/fallout3xw0.jpg/1/w1280.png Under GRUP(CONT) are all the containers in the game. My picture selects a First Aid Kit container, and under that selects CNTO. If you click the "69" it shows the form ID (It's the first one so it should already be selected). I'm very sure this actually refers to the formID of the Stimpak. You can check out the formID's of a lot of things by googling a console cheatlist of all the item ID's. I'd imagine maybe nearby is the maximum/minimum numbers for how many can spawn in that particular container type. In fact in that same code is a value of 1 and 2. Just throwin that out there in case a willing modder didn't know. :thumbsup: Oh, and to get a full picture, click the top tab, clicking anywhere else will just send ya to ImageHost." Maybe it helps. The reason I've been poking around in there was to find a way to overall reduce the ammunition found off of corpses and in containers. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.