spaceeinstein Posted July 4, 2005 Share Posted July 4, 2005 (edited) CONVERTED FOR SAN ANDREAS! Created by Barton Waterduck for Vice City. Converted to San Andreas by spaceeinstein. This mod is a script mod that creates first person view while in car. First person as in being able to see the dashboard. Keep pressing CAMERA while in any vehicle until you get the first person view. Needs some tweaking for San An since this is a straight conversion from Vice City. Installation for intermediate scripters only. Please download Barton's mission builder using Craig's link. 004F: create_thread ££CameraMod004F: create_thread ££CameraModes------------:CameraModes0001: wait 0 ms00D6: if 00256: player $PLAYER_CHAR defined004D: jump_if_false ££CameraModes00D6: if 000DF: actor $PLAYER_ACTOR driving004D: jump_if_false ££CameraModes00D6: if 000E1: key_pressed 0 13004D: jump_if_false ££CameraModes:CameraModesLoop0001: wait 0 ms00D6: if 080E1: NOT key_pressed 0 13004D: jump_if_false ££CameraModesLoop0008: $CameraMode += 1;; integer values00D6: if 00018: $CameraMode > 5;; integer values004D: jump_if_false ££CameraModesLoopEnd0004: $CameraMode = 0;; integer values:CameraModesLoopEnd0002: jump ££CameraModes:CameraMod0001: wait 0 ms00D6: if 00256: player $PLAYER_CHAR defined004D: jump_if_false ££CameraMod00D6: if 08118: NOT actor $PLAYER_ACTOR dead004D: jump_if_false ££CameraMod00D6: if 00038: $CameraMode == 2;; integer values004D: jump_if_false ££CameraMod00D6: if 180E1: NOT key_pressed 0 580E1: NOT key_pressed 0 7004D: jump_if_false ££CameraMod00D6: if 000DF: actor $PLAYER_ACTOR driving004D: jump_if_false ££CameraMod03C0: $CameraModCar = actor $PLAYER_ACTOR car0005: $CameraHeight = .65;; floating-point values (was .75)0005: $CameraYOffset = 0.0;; floating-point values (was -.55)0005: $CameraXOffset = 0.0;; floating-point values00D6: if 000DD: actor $PLAYER_ACTOR driving_vehicle_type #COACH004D: jump_if_false ££CAMERA10005: $CameraHeight = 2.0;; floating-point values0005: $CameraYOffset = 2.0;; floating-point values:CAMERA100D6: if 2100DD: actor $PLAYER_ACTOR driving_vehicle_type #SQUALO00DD: actor $PLAYER_ACTOR driving_vehicle_type #TROPIC004D: jump_if_false ££CAMERA20005: $CameraHeight = .95;; floating-point values:CAMERA200D6: if 000DD: actor $PLAYER_ACTOR driving_vehicle_type #JETMAX004D: jump_if_false ££CAMERA30005: $CameraHeight = 1.0;; floating-point values0005: $CameraYOffset = -.5;; floating-point values :CAMERA300D6: if 000DD: actor $PLAYER_ACTOR driving_vehicle_type #FAGGIO004D: jump_if_false ££CAMERAAT0005: $CameraYOffset = -.45;; floating-point values :CAMERAAT00D6: if 000DD: actor $PLAYER_ACTOR driving_vehicle_type #AT400004D: jump_if_false ££CAMTANK0005: $CameraYOffset = 0.7;; floating-point values:CAMTANK00D6: if 000DD: actor $PLAYER_ACTOR driving_vehicle_type #RHINO004D: jump_if_false ££CAMTRAIS0005: $CameraHeight = 2.2;; floating-point values0005: $CameraYOffset = 0.3;; floating-point values:CAMTRAIS00D6: if 2100DD: actor $PLAYER_ACTOR driving_vehicle_type #FREIGHT00DD: actor $PLAYER_ACTOR driving_vehicle_type #STREAK004D: jump_if_false ££CAMERA40005: $CameraXOffset = 5.0;; floating-point values:CAMERA40001: wait 0 ms00D6: if 00256: player $PLAYER_CHAR defined004D: jump_if_false ££CameraModCleanup00D6: if 000DF: actor $PLAYER_ACTOR driving004D: jump_if_false ££CameraModCleanup00D6: if 00038: $CameraMode == 2;; integer values004D: jump_if_false ££CameraModCleanup00D6: if 180E1: NOT key_pressed 0 580E1: NOT key_pressed 0 7004D: jump_if_false ££CameraModCleanup02E3: $TCCYfix = car $CameraModCar speed0005: $CameraXOffset = 0.0;; floating-point values0005: $CMYOffset2 = 6.0;; floating-point values:CAMERA70015: $TCCYfix /= 30.0;; floating-point values0059: $TCCYfix += $CameraYOffset;; floating-point values04C4: create_coordinate $CameraXPos $CameraYPos $CameraZPos from_actor $PLAYER_ACTOR offset 0.0 $TCCYfix $CameraHeight04C4: create_coordinate $CameraPXPos $CameraPYPos $CameraPZPos from_actor $PLAYER_ACTOR offset $CameraXOffset $CMYOffset2 $CameraHeight 015F: set_camera_position $CameraXPos $CameraYPos $CameraZPos 0.0 0.0 0.00160: point_camera $CameraPXPos $CameraPYPos $CameraPZPos 20002: jump ££CAMERA4:CameraModCleanup01C3: remove_references_to_car $CameraModCar;; Like turning a car into any random car02EB: restore_camera_with_jumpcut0002: jump ££CameraMod Known glitches: Same glitches as in Vice City: the camera is not smooth as always. Edited July 22, 2005 by spaceeinstein Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/ Share on other sites More sharing options...
Frolicated Posted July 4, 2005 Share Posted July 4, 2005 N00B question, how do I implement into the game. What tools do I need? Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2961559 Share on other sites More sharing options...
gta_matt Posted July 4, 2005 Share Posted July 4, 2005 Well Mission Builder told me it couldn't define object coach,squalo,tropic and so on.So I threw this together. DEFINE OBJECT COACH ; Object number -389 DEFINE OBJECT SQUALO ; Object number -390 DEFINE OBJECT TROPIC ; Object number -391 DEFINE OBJECT JETMAX ; Object number -392 DEFINE OBJECT FAGGIO ; Object number -393 then added at the top DEFINE OBJECTS 394 It compiled ok but crashes when I start a new game.What should I do? Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2961697 Share on other sites More sharing options...
Roald Posted July 4, 2005 Share Posted July 4, 2005 Any screenshots? I don't get the concept...by pressing "V" you can get first person view in your car already. Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2962388 Share on other sites More sharing options...
Bernard Jazz Posted July 4, 2005 Share Posted July 4, 2005 But with that mod you can see the steering wheel, dashboard, etc.. Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2962400 Share on other sites More sharing options...
Craig Kostelecky Posted July 4, 2005 Share Posted July 4, 2005 Well Mission Builder told me it couldn't define object coach,squalo,tropic and so on.So I threw this together. DEFINE OBJECT COACH ; Object number -389 DEFINE OBJECT SQUALO ; Object number -390 DEFINE OBJECT TROPIC ; Object number -391 DEFINE OBJECT JETMAX ; Object number -392 DEFINE OBJECT FAGGIO ; Object number -393 then added at the top DEFINE OBJECTS 394 It compiled ok but crashes when I start a new game.What should I do? Those shouldn't be defined as objects. They're referrences to the vehicle.ide ID numbers. If you copy the default.ide, peds.ide, and vehicles.ide (along with the american.gxt) to your MB folder, you can use the #PCJ600 type names. Or you can redownload MB from my site. Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2962442 Share on other sites More sharing options...
V41N Posted July 4, 2005 Share Posted July 4, 2005 (edited) Why does this mod use camera modes 3 & 4?? Shouldn't it just use the first person mode? That's why when switching to the next mode, the camera can't be moved with the mouse... Kinda silly... Also I noticed it uses the car's speed to keep the camera where it is, that's why it's jumpy.. Isn't there a way that you can lock the camera to an object without using a loop to keep it there? In my opinion if you can't move the mouse to look around while in first person view, then it makes it pointless anyway. Without an IMAX view there's no peripheral vision and so you can't see crap. Would still be better than the default one though I guess. Edited July 4, 2005 by NDG474 Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2963556 Share on other sites More sharing options...
spaceeinstein Posted July 4, 2005 Author Share Posted July 4, 2005 Hey, I just converted it from Vice City. For now I am just converting mods straight from Vice City. Later I (or others) will modify it. Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2963867 Share on other sites More sharing options...
Fro Posted July 4, 2005 Share Posted July 4, 2005 Or..maybe you can give a download link? Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2963962 Share on other sites More sharing options...
GTA3Freak-2001 Posted July 5, 2005 Share Posted July 5, 2005 Or..maybe you can give a download link? You have to add the mission code to the mission.scm file. Anyway if your so worried about it not being perfect then wait for stretchnutter to release his CamHack. Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2965040 Share on other sites More sharing options...
spaceeinstein Posted July 5, 2005 Author Share Posted July 5, 2005 (edited) Damn I'm so dumb. I just realized that the camera freezing from afar is part of the mod. I updated the code up there. It repositions the camera so it looks better in San An and in new vehicles of San An but I haven't got around doing it for the Rhino yet. Edited July 5, 2005 by spaceeinstein Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2966271 Share on other sites More sharing options...
GameMaster90 Posted July 5, 2005 Share Posted July 5, 2005 Or..maybe you can give a download link? You have to add the mission code to the mission.scm file. Anyway if your so worried about it not being perfect then wait for stretchnutter to release his CamHack. Oh, do you know if he is working on the Camhack for San Andreas right now? Great mod btw, but would someone perhaps upload their SCM with this already installed? I'd gladly appreciate it. Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2966383 Share on other sites More sharing options...
Marklund Posted July 5, 2005 Share Posted July 5, 2005 Or..maybe you can give a download link? You have to add the mission code to the mission.scm file. Anyway if your so worried about it not being perfect then wait for stretchnutter to release his CamHack. Oh, do you know if he is working on the Camhack for San Andreas right now? Great mod btw, but would someone perhaps upload their SCM with this already installed? I'd gladly appreciate it. I don't know if he is working on it now, but it's only going to be for CJ, not the vehicles. So bye bye awsome movies with camhack... That's what he told me. Edit: Is stretchnutter s_racer? Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2967536 Share on other sites More sharing options...
Fro Posted July 6, 2005 Share Posted July 6, 2005 See the thing is, I don't know how to install this into the .scm. All the knowledge of the .scm I had was only limited to car spawn locations. Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2967976 Share on other sites More sharing options...
GTA3Freak-2001 Posted July 6, 2005 Share Posted July 6, 2005 Or..maybe you can give a download link? You have to add the mission code to the mission.scm file. Anyway if your so worried about it not being perfect then wait for stretchnutter to release his CamHack. Oh, do you know if he is working on the Camhack for San Andreas right now? Great mod btw, but would someone perhaps upload their SCM with this already installed? I'd gladly appreciate it. I don't know if he is working on it now, but it's only going to be for CJ, not the vehicles. So bye bye awsome movies with camhack... That's what he told me. Edit: Is stretchnutter s_racer? Yes Racer_S is his other alias, anyway he dropped a hint in his Advanced Controls program as to his starting work on the SA Camhack. I don't see why he would only do it for CJ because there's really not many more camera angles you can get besides a first person view. @Fro - Either do I lol seriously thought there are tutorials on this in the Tutorials forum. Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2968375 Share on other sites More sharing options...
Heckler90210 Posted July 7, 2005 Share Posted July 7, 2005 Im kind of exited to try this out, I'm fairly skilled in scm but I have no idea whatsoever what to do with this, could spaceeinstein (or anyone for that matter) give it to us already compiled or at least give us some half ass instructions. Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2974101 Share on other sites More sharing options...
Fro Posted July 8, 2005 Share Posted July 8, 2005 Im kind of exited to try this out, I'm fairly skilled in scm but I have no idea whatsoever what to do with this, could spaceeinstein (or anyone for that matter) give it to us already compiled or at least give us some half ass instructions. http://www.gtaforums.com/index.php?showtop...0entry1782668 A great tut. It helped me, it should help you. Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2974277 Share on other sites More sharing options...
Marklund Posted July 8, 2005 Share Posted July 8, 2005 Or..maybe you can give a download link? You have to add the mission code to the mission.scm file. Anyway if your so worried about it not being perfect then wait for stretchnutter to release his CamHack. Oh, do you know if he is working on the Camhack for San Andreas right now? Great mod btw, but would someone perhaps upload their SCM with this already installed? I'd gladly appreciate it. I don't know if he is working on it now, but it's only going to be for CJ, not the vehicles. So bye bye awsome movies with camhack... That's what he told me. Edit: Is stretchnutter s_racer? Yes Racer_S is his other alias, anyway he dropped a hint in his Advanced Controls program as to his starting work on the SA Camhack. I don't see why he would only do it for CJ because there's really not many more camera angles you can get besides a first person view. @Fro - Either do I lol seriously thought there are tutorials on this in the Tutorials forum. Oops, I meant he's only going to do it for the vehicles. And I do hope he makes it just like the old one, so we can have free-cams and that stuff. Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2975298 Share on other sites More sharing options...
Heckler90210 Posted July 8, 2005 Share Posted July 8, 2005 Well now that I've tried this mod, its kind of a massive dissapointment, sure, it works in trains, the rain doesn't get inside ur car, you can see traffic lights through the windshield, and its pretty fun, but I just can't get by how if you go over 20 mph you're vision will be obstructed by the back of CJ's head, just driving on normal terrain shakes the sh*t out of you too, in al fairness, this mod would be alot better if the bumper cam was modified, opposed to making a whole new camera angle. Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2976441 Share on other sites More sharing options...
spaceeinstein Posted July 9, 2005 Author Share Posted July 9, 2005 It's not meant for this type of camera to actually move. This camera suppose to do simple camera movements while in scenes and such. So blame the code, not the mod. Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2978405 Share on other sites More sharing options...
stormm12 Posted July 9, 2005 Share Posted July 9, 2005 Sounds like a great mod, especially to wet our appetites until Camhack is released by Racer_S. Spaceinstein, it is very easy to be critical. You didn't have to spend the time converting the code, but you did, and it is greatly appreciated. Only thing is, I know myself and others have had trouble installing the code into the main.scm file (followed tutorials, and apparently I am a coding moron ). Anyways, any chance you or someone else could post a compiled main.scm file with the new code in it? Thanks in advance. Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2979147 Share on other sites More sharing options...
spaceeinstein Posted July 9, 2005 Author Share Posted July 9, 2005 Too many people asking this. Ok, first download the BW Mission Builder (search for Craig for a link). After that open main.scm with the mission builder. Wait until it finishes and you'll see plain English coding. CTRL+F "004F". Now you see a bunch of 004F: create_thread ???. Right after the last 004F, add my 004F: create_thread only. After that CTRL+F "Mission 0". Add the rest of my code right BEFORE that. Now click "Run" and click "Compile". After that's finished, start new game. Same goes for 90% of all create_thread mods. Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2979197 Share on other sites More sharing options...
stormm12 Posted July 10, 2005 Share Posted July 10, 2005 Thanks a lot spaceeinstein - good diredctions - it worked! Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2979747 Share on other sites More sharing options...
Gtazzer Posted July 12, 2005 Share Posted July 12, 2005 How retarded is this? First Person in the car? Who cares.. I want First Person on foot. First Person in car is already implimented in the game.. who wants to see the crappy dashboard textures anyways Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2984951 Share on other sites More sharing options...
spaceeinstein Posted July 12, 2005 Author Share Posted July 12, 2005 (edited) --- Edited July 19, 2005 by spaceeinstein Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-2985137 Share on other sites More sharing options...
spaceeinstein Posted July 19, 2005 Author Share Posted July 19, 2005 First person camera code updated. It comes right before San An's first person view. If it doesn't, make San An's FPV in a car and hop into a train. Then keep pressing CAMERA until you get this FPV. That's how you fix it. This FPV also uses San An's FPV if you press LOOK RIGHT/LEFT/BEHIND buttons. Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-3000643 Share on other sites More sharing options...
GTA_Don Times Posted January 9, 2006 Share Posted January 9, 2006 (edited) Hi Ppl!!! im new here and hopefully will be regular! i just want to know how to enable the dashboard in first person camera. i read the posts above and im completely lost. can someone help me out? thnx! Edited January 9, 2006 by GTA_Don Times Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-3443073 Share on other sites More sharing options...
spaceeinstein Posted January 9, 2006 Author Share Posted January 9, 2006 This mod is outdated. I found a new opcode that creates a better first person view. Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-3443562 Share on other sites More sharing options...
GTA_Don Times Posted January 10, 2006 Share Posted January 10, 2006 can u please share it with me? Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-3445208 Share on other sites More sharing options...
Zelius Posted January 10, 2006 Share Posted January 10, 2006 Damn, and here you had me thinking you created a first person view while on foot. Good work though! Link to comment https://gtaforums.com/topic/201514-bartons-first-person-camera/#findComment-3445486 Share on other sites More sharing options...
Recommended Posts