|
Post by mentalmachine on Apr 28, 2018 13:33:38 GMT 10
Hi all,
As title says, am a first time RE4 modder looking to edit the games item and enemy spawn locations ie change an item to another and same for enemies - not sure what tools I should be looking at/for in order to achieve this.
Any help would be very much appreciated.
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,991
|
Post by Mr.Curious on Apr 29, 2018 5:43:22 GMT 10
Hey welcome to the modding scene~! Editing Items, Treasures, and WeaponsI have created a tutorial for editing ITA files which are the files responsible for the placement of items, treasures, weapons found throughout the game. You can edit the ITA file using a HEX editor like HxD. There will be tools available sometime in the near future that are developed by Son of Persia that arent available yet. You will need to extract the ITA file from the UDAS archive using Son of Persia's first Toolset.Editing Enemy ID's and locationsHere is my tutorial on how to edit the ESL file which is responsible for the placement of enemies in the game. As some enemy types are incompatible, I suggest you use Raz0r's new Trainer when playing/modding this game. The trainer fixes all kinds of issues, some of which are related to enemy type incompatibilities. Happy Modding!
|
|
|
Post by mentalmachine on May 3, 2018 14:07:17 GMT 10
Thank you so much for your time and info.
In regards to swapping items, I tried to swap the shotgun in the village with a TMP, but when I went to pick it up the screen went black and the game basically froze. I am aware that to show the preview of the weapon I need to add the BIN and TPL files and link them in the IDX file, however where would I find the BIN/TPL files for such a weapon that isn't pickup-able in the game?
With the enemy changing, are certain enemies only able to be used in certain rooms? ie the Novistador's can only be placed in their 3 rooms? Is there any doco saying what enemies are locked to what rooms?
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,991
|
Post by Mr.Curious on May 3, 2018 17:41:32 GMT 10
"but when I went to pick it up the screen went black and the game basically froze"This is because there were no textures for this weapon in your pack file and teh model was not present in your room ITM file. The ITM is the file for each room which contains all the models room items like treasures, weapons, ammo etc. If the model is not present in your ITM file you wont be able to see it, only the sparkle from it. If you pick it up (from the sparkle),the game crashes because there is no model for it, and/or the textures are missing. You should wait until @raz0r releases his Companion Project if you want to mod ITA & ITM (or until Son of Persia releases his new Toolset). Albert and I came up with the idea of a master ITM file that is loaded with the companion. This way all models and textures will be loaded with each room so you will be able to place anything anywhere very easily. "With the enemy changing, are certain enemies only able to be used in certain rooms"?Yes, sort of.. They are limited by stages. For example you can not load stage 2 ganados in stage 1. However, you WILL BE ABLE TO DO THIS, when the Companion Project is released. Cheers
|
|
|
Post by mentalmachine on May 3, 2018 18:18:18 GMT 10
1) Yep, figured that would be the case, in this specific case, if I was determined to make a mod that would change the shotgun to a Killer7/TMP (ie weapons that can only be bought from the Merchant) how would I go about doing that without the upcoming Toolsets? Is it a case that the rooms that have a Merchant in them have all of his weapons pre-loaded with the needed BIN/TPL files? Or am I just going have to wait?
I will definitely check out either tools once they come out, but am curious about this example as a proof-of-concept for what I ultimately wish to do.
2) Huh, that's very odd design...
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,991
|
Post by Mr.Curious on May 4, 2018 9:41:59 GMT 10
" Is it a case that the rooms that have a Merchant in them have all of his weapons pre-loaded with the needed BIN/TPL files?"
Good question grasshopper! I do not know this answer, but.. I challenge you to try this and report back!
For now yes, you will need those tools to modify items in the rooms, and who knows when all that is to be released. For the time being I am consulting each week with raz0r to see if we can make future modding easier by using master files in the Companion DLL.
And yes, the more you mod this game the more you will see how they did so many things in odd ways. It was mostly to conserve processing power and loading times, but computing power has grown immensely since they ported this game (and a terrible port it was).
In any case, please feel free to ask me anything you need to know about modding stuff. I will be releasing full tutorials when the tools are released.
Cheers
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,991
|
Post by Mr.Curious on May 5, 2018 12:42:22 GMT 10
come to think of it the idea about the Merchant will not work as there are no ITM models involved in this. The items for the Merchant are al in the 'ss' folders which have nothing to do with items we see in game.
|
|
|
Post by mentalmachine on May 7, 2018 11:13:42 GMT 10
Yeah, I posted that thought in a bit of a rush, but later sat down and realized that too. That being the case, then the models required to pickup items that aren't picked up in the game may not exist? and so picking up a Killer7 or TMP may in fact be unfeasible?
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,991
|
Post by Mr.Curious on May 7, 2018 11:37:21 GMT 10
Yeah, I posted that thought in a bit of a rush, but later sat down and realized that too. That being the case, then the models required to pickup items that aren't picked up in the game may not exist? and so picking up a Killer7 or TMP may in fact be unfeasible? Exactly. The model needs to be present in the ITM file. The developers only packed the models that were going to be used for that particular stage into the ITM for each UDAS file. Son of Persia made in ITM tool that allows us to add whatever model we want along with the TPL that points to the room package number… Fairly straightforward but a bit of work and could get tricky when people use different stage mods. This is why we came up with the master ITM file… It has all the treasures weapons and items that can be found throughout the game… So it will be as simple as editing the ITA file to add stuff. Stay tuned.
|
|