Is there a way to change a mod's cockpit camera without using CamHack?

  • You DO NOT need an account in order to download the content that we host....ONLY make an account if you plan to be an ACTIVE member.
  • We DO NOT Allow Multiple Accounts, those people found to have more than one linked to their IP address Will be Banned.

Squared

Member
Hot Pass Member
Nov 12, 2018
3
18
The cockpit camera on the SNG mods have always been too far back for my liking and was looking for a way to move the camera WITHOUT using CamHack. Since CamHack doesn't work in replay mode, it poses an issue for the videos I plan to make on my YT channel. I tried using the "make_a_cam" utility to see if I couldn't figure something out on my own. Through trial and error I found that:

Cam 1 = Front
Cam 2 = Rear
Cam 3 = ??? (It seemed to change the roof cam, but that's what Cam 4 changed as well so I'm not sure)
Cam 4 = Roof
Cam 5 = Right
Cam 6 = Left

Alas, none of the cameras were the cockpit. So I did some further Googling and found a comment SNG made on SRD about moving the camera. He apparently covered the process on Twitch (I tried looking through past streams on his channel but was unable to find this stream in particular). Most importantly, SNG stated: "I'll take you through the process of [editing the cockpit camera] and why you can't edit it on your own." Is there genuinely not a way to modify the camera? Is it a power limited to the mod maker or is it just a complicated process?

I guess if this isn't something I can do, SNG did link an altered "make_a_cam" file for the MENCS19 mod in the same comment (which would fix at one of the mods for me), but the link 404's now. Is there anyone who has this modified cam file and can share it then?
 

VASCAR.Wix.GNS

Well-Known Member
Hot Pass Member
Jul 15, 2020
64
43
well yes, if you dont drive... for replay i suggest free cam by tyler mallon. his newest version lets you go into cars and all stuff like that. SRM did make a video on it explaining it. ill link it. but if its for driving only i have no idea to help as i dont drive on the game much. SRM Video
 
  • Like
Reactions: 2guns

JNorton (WKC)

Well-Known Member
VIP
Hot Pass Member
Sep 28, 2016
736
93
The cockpit camera on the SNG mods have always been too far back for my liking and was looking for a way to move the camera WITHOUT using CamHack. Since CamHack doesn't work in replay mode, it poses an issue for the videos I plan to make on my YT channel. I tried using the "make_a_cam" utility to see if I couldn't figure something out on my own. Through trial and error I found that:

Cam 1 = Front
Cam 2 = Rear
Cam 3 = ??? (It seemed to change the roof cam, but that's what Cam 4 changed as well so I'm not sure)
Cam 4 = Roof
Cam 5 = Right
Cam 6 = Left

Alas, none of the cameras were the cockpit. So I did some further Googling and found a comment SNG made on SRD about moving the camera. He apparently covered the process on Twitch (I tried looking through past streams on his channel but was unable to find this stream in particular). Most importantly, SNG stated: "I'll take you through the process of [editing the cockpit camera] and why you can't edit it on your own." Is there genuinely not a way to modify the camera? Is it a power limited to the mod maker or is it just a complicated process?

I guess if this isn't something I can do, SNG did link an altered "make_a_cam" file for the MENCS19 mod in the same comment (which would fix at one of the mods for me), but the link 404's now. Is there anyone who has this modified cam file and can share it then?


Try this: gpl_carcam_editor_v1.0
 

Attachments

  • gpl_carcam_editor_v1.0.7z
    413.9 KB · Views: 10

Squared

Member
Hot Pass Member
Nov 12, 2018
3
18
Try this: gpl_carcam_editor_v1.0
Windows is giving me the classic "Virus detected" when downloading--just to make sure, this is safe right? It's a situation similar to how FreeCam gets labelled a virus by Windows?
 

JNorton (WKC)

Well-Known Member
VIP
Hot Pass Member
Sep 28, 2016
736
93
Windows is giving me the classic "Virus detected" when downloading--just to make sure, this is safe right? It's a situation similar to how FreeCam gets labelled a virus by Windows?


Yeah windows/antivirus programs love to do that to rarely downloaded programs. Its fine.
 

Mystical

Always 110%
VIP
Member of the Year
Render Partner
Hot Pass Member
Moderator
Dec 21, 2017
1,505
93
Cockpit camera for mods are hardcoded when compiled. The coordinates are in the script section for Interior View, more specifically the code looks like this for my ICR mod for example:

Head_Position: TRANSFORM NAME head POS(-0.55,0.5,0.5) ROT(0,0,0) maEmpty

(X, Y, Z) X = Forward/back, Y = Left and Right, Z = Up and Down

You would need to recompile the mod changing the POS numbers to move where the camera is that you see.


Also doing a quick search on Cosmin's youtube channel you can find most of the cokcpit editing vids I beleive you were looking for:
 
Last edited:

Squared

Member
Hot Pass Member
Nov 12, 2018
3
18
Cockpit camera for mods are hardcoded when compiled. The coordinates are in the script section for Interior View, more specifically the code looks like this for my ICR mod for example:

Head_Position: TRANSFORM NAME head POS(-0.55,0.5,0.5) ROT(0,0,0) maEmpty

(X, Y, Z) X = Forward/back, Y = Left and Right, Z = Up and Down

You would need to recompile the mod changing the POS numbers to move where the camera is that you see.


Also doing a quick search on Cosmin's youtube channel you can find most of the cokcpit editing vids I beleive you were looking for:
Aaaahhhh I see, I'll see if I can figure it out. Thank you guys for your help, much appreciated. Actually, I guess I've gotta know where to begin. . . based on my 5-minute Google search I'm guessing I need a decompiler, but which file am I going to be decompiling?
 
Last edited:

Mystical

Always 110%
VIP
Member of the Year
Render Partner
Hot Pass Member
Moderator
Dec 21, 2017
1,505
93
You'd need the original mod source files, 3ds max scene, make3do.exe, and original script that made the mod to recompile. In other words the original mod maker Cosmin would be the only one with that stuff (other than make3do anyone can get that).
 

Squared

Member
Hot Pass Member
Nov 12, 2018
3
18
Welp, that might put an end to my plans then. As far as I know Cosmin exited the mod making scene a while ago, and I'm not sure he would want to share all those files with a random like me. I don't even know how to reach out to him or if he would like being bothered about it either. I can always learn to live with the cam the way it is now. Anyway, thanks a ton for trying to help out, and sorry if this ended up being a waste of time.
 

Mystical

Always 110%
VIP
Member of the Year
Render Partner
Hot Pass Member
Moderator
Dec 21, 2017
1,505
93
Cosmin has a discord channel and also is a user here and at SRD though I don't think he visits the forums often. But yeah I don't think he will willingly share the files or spend time making a cockpit edit since he only does iracing these days and I think some racing for NR2003 but not making mods anymore.
 

Hot Links