✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,995
|
Post by Mr.Curious on Aug 19, 2020 16:27:57 GMT 10
RE4UHD & Ubisoft CAM script (for 3dsMAx)
So here we are years after the release of the RE4UHD Toolset by Son of Persia with a new tool from a different developer who was keen enough to finally tackle the elusive CAM file. I spent many years documenting the CAM file, taking lots of notes and collecting data, while also speaking to other enthusiasts who thought that time spent to uncover the mystery of this file was time well spent.
I recently made friends with user mariokart64n who was well versed in Max Scripting and had a burning desire to make many functioning tools for RE4, including a CAM script. I sent him all my notes and we just started testing out his code. After weeks of nightly testing and lots of video calls, we both became satisfied with what is now a fully functioning CAM edit script for 3dsMax.
Credit is also due to the master Crzosk for all the initial research he did which was instrumental in the development of this tool, as his findings and tool were both essential in how we came to understand how this file is organized.
A small note about game version compatibility This 3dsMax script will read and write for both the RE4UHD version and the 2007 Ubisoft version of Resident Evil 4!
This script is now included in the RE4UHD Toolset download (with tutorials), but can also be downloaded by itself HERE.
A full tutorial has been created in Google Doc format which can be viewed or download HERE
Happy Modding!
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,995
|
Post by Mr.Curious on Aug 26, 2020 9:48:32 GMT 10
The CAM tutorial was missing a small (but important) piece of information. This has been corrected and all links to tutorials (both individual and the main link), have updated to V.1.4
Happy MOdding !
|
|
sed.akoson@gmail.com
Posts: 651
|
Post by seda on Aug 26, 2020 13:59:28 GMT 10
you are like an angel who is leading fans to achieve their own dreams
and your tutorials are like a Bible for modding
thank you very much my dear brother for all of your efforts that you do to help us
I believe if just 5 of Capcom's employees were like you; now the company was the number 1 in the game industry
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,995
|
Post by Mr.Curious on Aug 26, 2020 16:11:48 GMT 10
seda Thank you always for your kind words of support. The truth is that I feel a great responsibility comes with knowledge, and it is the duty of those who are knowledge keepers to share their knowledge with everyone that may benefit from it. This is why I took the time to write all these tutorials. Also, this is a way of giving back to those who took great effort to create these wonderful tools for us to use. In this case, it was the amazing mariokart64n who has always lent himself to modding communities, giving us his great tools & scripts in open-source format to do as we please. He has always lent himself to me in a personal capacity, and was a great person to work with. I feel proud to have worked on this with him, so it is just my way of saying thanks when I provide these tutorials. Love you brother.
|
|
|
Post by iTo on May 24, 2021 6:30:41 GMT 10
Question, how do I begin using the tool? the tutorial explains how the tool works but i dunno how to begin using it
|
|
|
Post by iTo on May 24, 2021 7:24:59 GMT 10
Also where is the cam file?
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,995
|
Post by Mr.Curious on May 25, 2021 6:37:05 GMT 10
Also where is the cam file? Sorry I thought most people would understand the basics before using this more advanced tool. YOu will need to learn how to unpack UDAS files as the CAM file is in that container file.
|
|
|
Post by iTo on May 27, 2021 11:09:04 GMT 10
Sorry! figured out how to do that as son as I asked it here lol
|
|
|
Post by Biohazard4X on Nov 3, 2021 14:05:35 GMT 10
I had a conversation a while back talking to a fellow modder about making Dynamic camera on a 2d plane (platformer style). Though this information was only available deep in the modding channel of RE4 on the Offical REmodding boards discord. I recently brought this up for a friend and I figured I would make this information publicly available for any others Enthusiast. Here it is! For moving on a "2D" environment I would recommend using a type 2. Note that you would have to edit the path of the camera on one level at a time. For Example if your Stage has 3 Levels (3 Different Heights) that you play on,then you will have to Write out 3 Different Camera Paths on the Same Entry. Firstly Have a Player/Camera Start and a Player/Camera End. The Camera Start will signify the path of your first camera then animate normally until the Camera End (end of the Triggerzones/Stage) or Player End, but at certain points of your first camera path their will be points in the Trail that will steer off to trigger a 2nd Camera Path, this will Trigger You 2nd Camera Start. These are Signified as the Triangles(Pic Below). Animate this path fully right after finishing your first camera, then you are gonna end this camera with the Camera end of the 1st Camera or Player End. Same Thing applies to the 3rd and final camera. Just Repeat above except applying in such a way for that cameras path. Note that you cant Go around the map making camera Paths randomly not a designed path or the Camera will not work.
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,995
|
Post by Mr.Curious on Nov 3, 2021 18:18:30 GMT 10
this looks cool but I have NO CLUE what it really is supposed to do. Can you show us a video of this working in the game?
|
|
dale home
Posts: 288
|
Post by kTeo on Nov 4, 2021 0:48:20 GMT 10
this looks cool but I have NO CLUE what it really is supposed to do. Can you show us a video of this working in the game? I recorded a video in an area where i used this 2D CAM. It can also be used for multiple vertical platforms using the method Biohazard4X mentioned above.
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,995
|
Post by Mr.Curious on Nov 4, 2021 5:30:47 GMT 10
kTeo oh yes I remember this! well done. Its too bad Leon cant jump to bump those boxes! You could make them ETM objects though! I could see this scenario working so long as you had collision on both the left and right sides of Leon so that he cant escape the path of simply going forward and backwards. It might also be possible to get rid of the jumping cam (ask BioHazard X about this as he was able to remove mêlée cameras but editing the exe). Its too bad there wasn't a collision or AEV event that simply let Leon 'fall' without a prompt. I'm fairly sure with a little coding it would be possible to make Leon jump at will. As for picking up stuff and throwing it (kappa shells), I am fairly sure that wont be possible. I would love to see Leon being chased by the boulder in this view !
|
|
dale home
Posts: 288
|
Post by kTeo on Nov 4, 2021 8:54:39 GMT 10
actually, i made it so you can shoot those boxes and they turn into a brick and drop a coin in the ground! haha and yes, i limited the collision on the sides so Leon can only walk in a straight line. I had the idea to use the climb up from r300 to climb in the upper blocks but i couldn't get it working. At least i can go down a pipe for a secret area full of coins though :D
as for the jump camera, i don't think i'd want that simply because this map will be one of many sections of a VERY, VERY weird mod, so i would have to sacrifice the camera of all jumps in the game for only this area.
I have plenty of ideas to use this 2D camera even in a project like REmix, for example in the corridor full os swinging blades or a map where you have to run from a creature, etc. I plan on messing with those CAM values a lot in the future :)
|
|
|
Post by Biohazard4X on Nov 4, 2021 9:40:48 GMT 10
I would love to see Leon being chased by the boulder in this view ! Thats a very good idea haha. Since we can edit the EMI with ease now thanks to Mariokart64n scripts. All we need is too simply remove the camera from the animation and edit the stage to be like this. Very do-able!
|
|
|
Post by Biohazard4X on May 2, 2022 10:03:01 GMT 10
I don't think too many people mess with this script compared me but I recently dived back into and I discovered 2 boxes inside the CAM that seem to decipher which direction you face when the Camera will trigger. You may have noticed that certain cameras when you edit FOV or even angle or position of the camera that it may trigger or work when facing a certain direction. Their are a few examples through-out the game but the most easiest one to find and explain would be R200, First entry. You are already standing in a TriggerZone the second you load in, If you look forward up the hill the camera will be angled up the hill, If you look behind you the camera will level out and face straight like default. So how do we fix this? There are 2 Boxes Labeled as " unk055-02" and " unk055-03". These 2 boxes should always have a value in it. If they are both 0 then they will simply not work. On the other hand Putting both these Boxes at Max Values(65535) will make the Camera Trigger All the time.
If you wanted your camera to say face a certain direction then you will have to mess with it. I have found this out. Wont Trigger When player is facing on the Y+ axis unk055-02 = 0 unk055-03 = 4000 I haven't found out if this applies all the time regardless of player height or other events. Ain't Much but its a start. Hope this aids someone.
|
|