Busy with work + studies. Will be back when I have free time. Please be patient. :)
Posts: 58
|
Post by moehammered on May 15, 2020 11:11:18 GMT 10
where are the weapons prefabs folders and files, I could take a look into them and run some test. I recently made a thread for my upcoming (might be awhile lol) weapon and ammo mod residentevilmodding.boards.net/thread/13271/wip-weapons-ammo-requesting-help if you guys want to check it out. there i also mentioned a couple of my findings and requested help from anyone that might've found what I'm struggling with. Folder for weapon prefabs is 'natives\stm\escape\prefab\character\weapon'. Let me know if anything interesting happens! Good job on making a thread. Thanks for also helping out with this, I wanted to do this too but I'm kind of stretched thin haha. I'll give the thread a look and place future findings in there for you
|
|
Leap of Faith Master
Posts: 53
|
Post by aziank on May 17, 2020 13:04:29 GMT 10
anyway to make it short; where can i find the file for Dario location, the area where Jill meets Mikhail, and how to edit items in lockers/safes/drawers, and other areas of the game? Oh aziank btw, I'm not certain because I haven't had time but I mentioned there is a 'locker.scn.20' file that looks to hold the items available in lockers(and I believe safes). Could give that a try. Hey Moe this post is toward you, but mostly for those that are looking for the locker's item placement (and only lockers, i'm still trying to find cases and boxes). I haven't been playing around much, unless we talking about just playing the game and trying to S rank a few difficulties haha. But here is the locker file that you mentioned to me awhile back...i'll explain with some pictures you can see here that this location is the garage (finding the wounded UBCS soldier) and in the locker is a first aid spray. but it is not until you scroll quite a bit down to where it say failure check and failure count in the decoded text that you will find what item it is and where to change it. i have not yet figured out how many bytes to count, but how i manage to do so was looking up the item id and messing around i found the item quantity. 01 being first aid spray and the 00 a couple of bytes over is the quantity to give an example of this, i changed the quantity of the grenade in the donuts shop locker. you only get 1 which kinda sucks haha. first locate the donuts shop in the decoded text to the right. again i haven't figured out exactly how many bytes to jump to get to the item id, and you can see that there is no 41 anywhere to the left in the previous picture (which is the id for grenade) till you get to the failure check and failure count in the decoded text. there i left the 41 as is and i made the 01 (4 bytes to the right) to 03 making 3 grenades in the locker. now i'm not actually sure 4 is the exact amount needed to jump to get to quantity, i made a guess lol here is a screenshot in game of the changed, there are 3 grenades in the locker now
|
|
Leap of Faith Master
Posts: 53
|
Post by aziank on May 17, 2020 13:15:08 GMT 10
the cases file and breakable boxes i haven't found yet, and i haven't seen anything that mentioned what items get you from breakable boxes since they have their own list of what to spawn when you break them.
then i'll look into the weapons prefab and see if i can get the ammo issue fixed. so far (and again) i can only spawn weapons that has unlimited ammo to work
|
|
Busy with work + studies. Will be back when I have free time. Please be patient. :)
Posts: 58
|
Post by moehammered on May 17, 2020 16:01:54 GMT 10
Very nice aziank . Thanks for taking the time to write up an example of editing the locker.scn file. Yeah I have toyed with it once or twice and byte offset varies in a few of them but I did learn that before every text there's usually a variable stating the length of the string in there. I wanted to attempt changing the text and getting it to work but I've mostly crashed the game haha. I only wanted to change the text to test if I can actually edit the file, and if so I wanted to attempt cutting and pasting parts of the file around to see if I could determine the structure. To hint you to breakable boxes there's a file called reliefitemdata.user.2 in 'natives\stm\escape\userdata\system'. The top half of it I believe is pointing out item IDs that can be used based on DA rank, and the bottom half denotes quantity I believe. All the data types are 4 byte integers I think. I've been meaning to play with this file and the shopitemdata file too but I'm a bit lazy . There's also a dropitem folder in there so that could also point to something. (Btw I'm gonna try and release a hex-viewer that used next to a hex editor can help find meaningful data values. It's what I've been using to find information. Hopefully it'll help you out.)
|
|
|
Post by rkoe62 on Apr 18, 2023 8:41:27 GMT 10
Great tutorial - worked fine and helped me to spawn some items/weapons there that I wanted to have - thank you very much!
|
|
|
Post by blackboar101 on Jul 21, 2023 9:41:49 GMT 10
Getting Weapons to spawn: i_600_controlstation_area.scn.20 Same thing, but here we go to the part where it says "w.p.6.2.0.0._.g.r.e.n.a.d.e._.0.2" and repeat our process, and replace the "41" we find at 80 bytes to the right, with 0B: You can now spawn a spare shotgun in case Barry pops up, or something.
Edit: Those weapons spawn with ammo bug, cant reload from their intended ammo type. More experimenting needed sadly HEY MAN. Where is the start gun g19. the handgun pickup from the dead cop. i want change it to another weapon to play up town. can u give me some advice?
|
|
|
Post by rafadesanto on Feb 18, 2024 7:46:32 GMT 10
Would it be possible to swap key items around? I wanted to do things like put the kendo key in the lockpick box and put the lockpick in the box that is located in front of the police car at the entrance to the police station parking lot, to increase backtracking
|
|