spaceeinstein Posted April 3, 2007 Share Posted April 3, 2007 (edited) This topic will have updates to mods that I released in separate topics a long time ago. This topic will also have instructions on installing them. All of these codes are already featured in my All in One Mod. The codes will be using the latest version of the Sanny Builder. First Person Camera This is a first person camera only in a vehicle. I modified the code so much that this really isn't Barton's code anymore. YES - Goes into first person view NO - Returns to normal view Find 004F: create_thread @MS_BIKE_MISSIONS Add below 004F: create_thread @CAMERAM0005: $160 = 0.00005: $166 = -.10005: $167 = .69 Find //-------------Mission 0--------------- Add above :CAMERAM03A4: name_thread 'CAMERAM' :CAMERAM_110001: wait 10 ms 00D6: if 0256: player $PLAYER_CHAR defined 004D: jump_if_false @CAMERAM_11 0050: gosub @CAMERAM_117 00D6: if and00DF: actor $PLAYER_ACTOR driving 00E1: player 0 pressed_key 11 004D: jump_if_false @CAMERAM_81 0004: $705 = 1 0050: gosub @CAMERAM_117 0002: jump @CAMERAM_11 :CAMERAM_8100D6: if and00DF: actor $PLAYER_ACTOR driving 00E1: player 0 pressed_key 10 004D: jump_if_false @CAMERAM_11 0050: gosub @CAMERAM_342 0002: jump @CAMERAM_11 :CAMERAM_11700D6: if and00DF: actor $PLAYER_ACTOR driving 09E7: player $PLAYER_CHAR not_frozen 004D: jump_if_false @CAMERAM_375 00D6: if 0038: $705 == 1 004D: jump_if_false @CAMERAM_449 0004: $159 = 1 00D6: if and80E1: not player 0 pressed_key 5 80E1: not player 0 pressed_key 7 004D: jump_if_false @CAMERAM_411 0004: $640 = 1 067C: put_camera_on_actor $PLAYER_ACTOR with_offset $160 $166 $167 rotation 0.0 90.0 0.0 0.0 2 00D6: if 00E1: player 0 pressed_key 11 004D: jump_if_false @CAMERAM_449 0494: get_joystick 0 data_to 0@ 1@ 2@ 3@ 0093: 1@ = integer 1@ to_float 0093: 2@ = integer 2@ to_float 0093: 3@ = integer 3@ to_float 0017: 1@ /= 2000.0 0017: 2@ /= 2000.0 0017: 3@ /= 2000.0 005B: $160 += 2@ // @ += @ (float) 0063: $166 -= 1@ // @ -= @ (float) 005B: $167 += 3@ // @ += @ (float) 0051: return :CAMERAM_34200D6: if 0038: $705 == 1 004D: jump_if_false @CAMERAM_449 02EB: restore_camera_with_jumpcut 09AD: vehicle_camera_mode 3 0004: $705 = 0 0051: return :CAMERAM_37500D6: if and0038: $705 == 1 0038: $159 == 1 004D: jump_if_false @CAMERAM_449 02EB: restore_camera_with_jumpcut 0004: $159 = 0 0051: return :CAMERAM_41100D6: if and0038: $705 == 1 0038: $640 == 1 004D: jump_if_false @CAMERAM_449 015A: restore_camera 09AD: vehicle_camera_mode 0 0004: $640 = 0 :CAMERAM_4490051: return God Mode This will make CJ and his vehicle invincible. The doors will be locked. To unlock the door, hold the HORN button. Find 004F: create_thread @MS_BIKE_MISSIONS Add below 004F: create_thread @GOD Find //-------------Mission 0--------------- Add above :GOD0001: wait 0 ms 00D6: if 0256: player $PLAYER_CHAR defined 004D: jump_if_false @GOD 0223: set_actor $PLAYER_ACTOR health_to 250 035F: actor $PLAYER_ACTOR armour += 250 02AB: set_actor $PLAYER_ACTOR immunities BP 1 FP 1 EP 1 DP 1 SP 1 04D8: toggle_actor $PLAYER_ACTOR drowns_in_water 0 00D6: if 00DF: actor $PLAYER_ACTOR driving 004D: jump_if_false @GOD 03C0: 0@ = actor $PLAYER_ACTOR car 0224: set_car 0@ health_to 32000 053F: toggle_car 0@ tires_vulnerability 0 02AC: set_car 0@ immunities BP 1 FP 1 EP 1 DP 1 SP 1 020A: set_car 0@ door_status_to 2 00D6: if or00E1: player 0 pressed_key 18 8449: not actor $PLAYER_ACTOR in_a_car 004D: jump_if_false @GOD 020A: set_car 0@ door_status_to 1 0002: jump @GOD Car Unflip This will unflip your vehicle if your vehicle is flipped and stopped. Find 004F: create_thread @MS_BIKE_MISSIONS Add below 004F: create_thread @UNFLIP Find //-------------Mission 0--------------- Add above :UNFLIP0001: wait 250 ms 00D6: if 0256: player $PLAYER_CHAR defined 004D: jump_if_false @UNFLIP 00D6: if and00DF: actor $PLAYER_ACTOR driving 847A: not actor $PLAYER_ACTOR driving_bike 004D: jump_if_false @UNFLIP 03C0: 0@ = actor $PLAYER_ACTOR car 00D6: if and01F4: car 0@ flipped 01C1: car 0@ stopped 82BF: not car 0@ sunk 004D: jump_if_false @UNFLIP 00AA: store_car 0@ position_to 1@ 2@ 3@ 0009: 3@ += 2 0174: 4@ = car 0@ Z_angle 00AB: put_car 0@ at 1@ 2@ 3@ 0175: set_car 0@ Z_angle_to 4@ 0001: wait 2000 ms 0002: jump @UNFLIP Speedometer This is a speedometer that measures and displays your vehicle's speed in miles per hour. Find 004F: create_thread @MS_BIKE_MISSIONS Add below 004F: create_thread @SPEEDO Find //-------------Mission 0--------------- Add above :SPEEDO0001: wait 50 ms 00D6: if 00DF: actor $PLAYER_ACTOR driving 004D: jump_if_false @SPEEDO_117 03C0: 0@ = actor $PLAYER_ACTOR car 00D6: if 00DB: actor $PLAYER_ACTOR in_car 0@ 004D: jump_if_false @SPEEDO 02E3: 1@ = car 0@ speed 0011: 1@ *= 2.4854 008C: 1@ = float 1@ to_integer 0086: $Speed = 1@ // $ = $ (float) 04F7: status_text $Speed type 0 line 4 GXT 'CUT01' // global_variable 0002: jump @SPEEDO :SPEEDO_1170001: wait 250 ms 0151: remove_status_text $Speed 0002: jump @SPEEDO Get a GXT editor to open the file american.gxt. Find "CUT01". Replace the text with "MPH" and save the file. For those outside the U.S., replace 0011: 1@ *= 2.4854 with 0011: 1@ *= 4.0 to get KPH. Real Time Clock This will make San Andreas' clock be exactly like real life. The weather will be permanently clear because this mod messes up the weather. Find 004F: create_thread @MS_BIKE_MISSIONS Add below 004F: create_thread @RTMOD Find //-------------Mission 0--------------- Add above :RTMOD03A4: name_thread 'RTMOD' :RTMOD_110001: wait 10 ms 00BF: 0@ = current_time_hours, 1@ = current_time_minutes 00C0: set_current_time_hours_to 0@ minutes_to 1@ 01B6: set_weather 0 00D6: if 0019: 32@ > 59999 004D: jump_if_false @RTMOD_11 0006: 32@ = 0 000A: 1@ += 1 00D6: if 0019: 1@ > 59 004D: jump_if_false @RTMOD_128 0006: 1@ = 0 000A: 0@ += 1 00D6: if 0019: 0@ > 23 004D: jump_if_false @RTMOD_128 0006: 0@ = 0 :RTMOD_12800C0: set_current_time_hours_to 0@ minutes_to 1@ 0002: jump @RTMOD_11 Wall Climbing This lets CJ teleport to a coordinate of -100.0. You can teleport into the bottom of the ocean or the top of a building by holding the JUMP button for three seconds. Find 004F: create_thread @MS_BIKE_MISSIONS Add below 004F: create_thread @NONAME_3 Find //-------------Mission 0--------------- Add above :NONAME_30001: wait 250 ms 00D6: if 0256: player $PLAYER_CHAR defined 004D: jump_if_false @NONAME_3 0006: 33@ = 0 :NONAME_3_280001: wait 0 ms 00D6: if and09E7: player $PLAYER_CHAR not_frozen 8A0C: not player $PLAYER_CHAR on_jetpack 80DF: not actor $PLAYER_ACTOR driving 00E1: player 0 pressed_key 14 0038: $ACTIVE_INTERIOR == 0 004D: jump_if_false @NONAME_3 00D6: if 0019: 33@ > 3000 004D: jump_if_false @NONAME_3_28 04C4: store_coords 1@ 2@ 3@ from_actor $PLAYER_ACTOR with_offset 0.0 1.0 0.0 00A1: put_actor $PLAYER_ACTOR at 1@ 2@ -100.0 0002: jump @NONAME_3 GTA2 Camera This simulates GTA2's camera. Find 004F: create_thread @MS_BIKE_MISSIONS Add below 004F: create_thread @GTA2C Find //-------------Mission 0--------------- Add above :GTA2C03A4: name_thread 'GTA2C' :GTA2C_110001: wait 10 ms 00D6: if 0256: player $PLAYER_CHAR defined 004D: jump_if_false @GTA2C_11 00D6: if and8965: not actor $PLAYER_ACTOR swimming 09E7: player $PLAYER_CHAR not_frozen 86B9: not cutscene_data_loaded 004D: jump_if_false @GTA2C_372 00D6: if 80DF: not actor $PLAYER_ACTOR driving 004D: jump_if_false @GTA2C_171 0004: $Camera = 1 00A0: store_actor $PLAYER_ACTOR position_to 1@ 2@ 3@ 00A0: store_actor $PLAYER_ACTOR position_to 4@ 5@ 6@ 000B: 6@ += 15.0 000B: 2@ += 2.0 015F: set_camera_position 4@ 5@ 6@ rotation 0.0 0.0 0.0 0160: set_camera_point_at 1@ 2@ 3@ mode 2 0002: jump @GTA2C_11 :GTA2C_1710001: wait 10 ms 00D6: if 0256: player $PLAYER_CHAR defined 004D: jump_if_false @GTA2C_11 03C0: 0@ = actor $PLAYER_ACTOR car 00D6: if 00DB: actor $PLAYER_ACTOR in_car 0@ 004D: jump_if_false @GTA2C_11 02E3: 7@ = car 0@ speed 0087: 8@ = 7@ // @ = @ (float) 0017: 8@ /= 2.0 0407: store_coords_to 1@ 2@ 3@ from_car 0@ with_offset 0.0 8@ 0.0 0407: store_coords_to 4@ 5@ 6@ from_car 0@ with_offset 0.0 8@ 0.0 000B: 6@ += 15.0 005B: 6@ += 7@ // @ += @ (float) 000B: 2@ += 2.0 015F: set_camera_position 4@ 5@ 6@ rotation 0.0 0.0 0.0 0160: set_camera_point_at 1@ 2@ 3@ mode 2 0002: jump @GTA2C_171 :GTA2C_37200D6: if 0038: $Camera == 1 004D: jump_if_false @GTA2C_11 0004: $Camera = 0 02EB: restore_camera_with_jumpcut 0002: jump @GTA2C_11 Hidden Interiors Mod This mod links you to many interiors that are not linked to the outside world. ACTION + JUMP - Activate mod ACTION + NO - Deactivate mod ACTION + YES - View enterable interiors GROUP CTRL FOWARD or GROUP CTRL BACKWARD - Scroll through locations of enterable interiors ENTER - Select place to spawn While in interior, equip a camera so you won't teleport back out. Unequip it to teleport out. If you fell out of interior, you'll have a parachute on you. Interiors linked: Sweet's Ryder's OG Loc's Denise's Jim's Sticky Donut (Rusty Brown's) BDup's Apartment BDup's Crack Place Angel Pine trailer Truth's motel room Wu Zi's betting shop Katie's Rusty Brown's Michelle's Barbara's Bike School Millie's Helena's SFPD Zero's RC field (find a door in Zero's RC Shop) Liberty City Shamal Transfender Loco Low Co. Wheel Arch Angels Unused stadium Wu Zi's maintenance room (find it in the Four Dragons Casino) Brothel Blastin Fools Record Warehouse Second unused stadium Unused Ammunation (when on a mission, enter the specific Ammunation, go to the door leading to the shooting range, and then go to a door) Francis Intl Airport Second Brothel Jefferson Motel (there are two hidden rooms and the roof access is accessible) Find DEFINE EXTERNAL_SCRIPTS 78 Change to DEFINE EXTERNAL_SCRIPTS 79 Find DEFINE SCRIPT HOTDOG AT @HOTDOGV // 77 Add below DEFINE SCRIPT INT AT @MULTI // 78 Find 004F: create_thread @MS_BEAT_THE_COCK Add below 004F: create_thread @HIDINT Find //-------------Mission 0--------------- Add above :HIDINT0001: wait 250 ms 00D6: if 0256: player $PLAYER_CHAR defined 004D: jump_if_false @HIDINT_147 00D6: if and80DF: not actor $PLAYER_ACTOR driving 00E1: player 0 pressed_key 4 00E1: player 0 pressed_key 14 004D: jump_if_false @HIDINT_147 0926: $SCRIPT_STATUS = external_script_status 78 00D6: if 0038: $SCRIPT_STATUS == 0 004D: jump_if_false @HIDINT_147 08A9: load_external_script 78 00D6: if 08AB: external_script 78 loaded 004D: jump_if_false @HIDINT_147 016A: fade 0 time 500 01B4: toggle_player $PLAYER_CHAR can_move 0 0001: wait 500 ms 0913: run_external_script 78 0001: wait 500 ms 01B4: toggle_player $PLAYER_CHAR can_move 1 016A: fade 1 time 500 :HIDINT_1470002: jump @HIDINT Add to dead end of file Part 1 Part 2 Get a GXT editor to open the file american.gxt. Find the following text to replace: MWUZ02B - Hidden Interiors Mod is currently activated. In order to save, press ~k~~PED_ANSWER_PHONE~ + ~k~~CONVERSATION_NO~ to deactivate it. MWUZ02E - MultiMod is currently activated. In order to use the Driver Mod, press ~k~~PED_ANSWER_PHONE~ + ~k~~CONVERSATION_NO~ to deactivate it. FED_SCZ - ~w~Press ~h~~k~~GROUP_CONTROL_FWD~~w~ or ~h~~k~~GROUP_CONTROL_BWD~~w~ to select an area. Press ~h~~k~~VEHICLE_ENTER_EXIT~~w~ to teleport to that area. FEST_H1 - Denise's TPLAY9 - Whetstone Trailer CHEAT4 - Motel Room FEST_H2 - Katie's CHEAT5 - Barbara's FEST_H4 - Michelle's CHEAT6 - Millie's FEST_H3 - Helena's FEST_BB - Stadium FED_SPR - Studio FED_SCP - Warehouse Edited June 8, 2007 by spaceeinstein Link to comment https://gtaforums.com/topic/272532-miscellaneous-mods/ Share on other sites More sharing options...
Gouveia Posted April 3, 2007 Share Posted April 3, 2007 Holy sh*t you're back! And thanks for all that mods, I was really missing the FPC! Link to comment https://gtaforums.com/topic/272532-miscellaneous-mods/#findComment-4143408 Share on other sites More sharing options...
SteaVor Posted April 4, 2007 Share Posted April 4, 2007 Does the First Person Camera code work? (I don't have any comiler installed at the moment.) You're creating the thread 'CAMERAM', but there's no such label in the code that is to be added above 'Mission 0'? Did you forget to include the first part of the code? Link to comment https://gtaforums.com/topic/272532-miscellaneous-mods/#findComment-4144750 Share on other sites More sharing options...
spaceeinstein Posted April 4, 2007 Author Share Posted April 4, 2007 (edited) I forgot to copy the entire code. Only the thread name is missing. Fixed. I think I got most of them. If any of these codes have any errors, please post. Edited April 5, 2007 by spaceeinstein Link to comment https://gtaforums.com/topic/272532-miscellaneous-mods/#findComment-4146185 Share on other sites More sharing options...
sueey Posted April 19, 2007 Share Posted April 19, 2007 very pretty,my buddy!You are a good man~~~~~~~~ Link to comment https://gtaforums.com/topic/272532-miscellaneous-mods/#findComment-4193245 Share on other sites More sharing options...
pdmods Posted May 3, 2007 Share Posted May 3, 2007 How can i add the SPEEDO in a new script? Link to comment https://gtaforums.com/topic/272532-miscellaneous-mods/#findComment-4218570 Share on other sites More sharing options...
SteaVor Posted May 3, 2007 Share Posted May 3, 2007 Space, why don't you add the imperial/metric conversion stuff (042X opcode range), so that europeans get some useful speed values? (You'd have to change the GXT string depending on your preferred system of measurement of course). @pdmods: space explained it already: In short, get Sanny Builder (link is in the first post) and put the lines of code at the places in code that you are directed to. The last step is compiling the code in SB. You have to start a new game! Link to comment https://gtaforums.com/topic/272532-miscellaneous-mods/#findComment-4218587 Share on other sites More sharing options...
1stgenLX-Turbo Posted July 31, 2007 Share Posted July 31, 2007 Great work with the speedometer I loved how it looked in vice city and I tried to request someone to mod this but you done it already congrats. Link to comment https://gtaforums.com/topic/272532-miscellaneous-mods/#findComment-4424206 Share on other sites More sharing options...
supralov3r Posted July 31, 2007 Share Posted July 31, 2007 (edited) Never mind I figured it out! Edited July 31, 2007 by supralov3r Link to comment https://gtaforums.com/topic/272532-miscellaneous-mods/#findComment-4424249 Share on other sites More sharing options...
*sigh* Posted August 1, 2007 Share Posted August 1, 2007 Is there any way possible I could get the First Person camera in download form? I don't want to muck about with downloading an editor to use the code, so if I could just dl it, that'd be great. If course, explaining to me what to do with the code in the first place would be better than nothing. I'm pretty sure it has something to do with the Main.scm, which I figure requires an editor, but that's all I know. Link to comment https://gtaforums.com/topic/272532-miscellaneous-mods/#findComment-4425598 Share on other sites More sharing options...
SteaVor Posted August 1, 2007 Share Posted August 1, 2007 Simply download Sanny Builder (link in first post), decompile SA's main.scm and follow the detailed instructions in the first post about where to put all those lines. Then compile and start a new game. Link to comment https://gtaforums.com/topic/272532-miscellaneous-mods/#findComment-4425900 Share on other sites More sharing options...
*sigh* Posted August 1, 2007 Share Posted August 1, 2007 Simply download Sanny Builder (link in first post), decompile SA's main.scm and follow the detailed instructions in the first post about where to put all those lines. Then compile and start a new game. Is there any way to make an old saved game compatible with the first person cam? Link to comment https://gtaforums.com/topic/272532-miscellaneous-mods/#findComment-4427404 Share on other sites More sharing options...
supralov3r Posted August 2, 2007 Share Posted August 2, 2007 No because when you modify the main part of the script you HAVE to start a new game so sorry. Link to comment https://gtaforums.com/topic/272532-miscellaneous-mods/#findComment-4427616 Share on other sites More sharing options...
*sigh* Posted August 2, 2007 Share Posted August 2, 2007 No because when you modify the main part of the script you HAVE to start a new game so sorry. Gah. Oh well, I could always just make a .bat file to switch out the original with the the new and back on the fly, so it won't be that much of a hassle. Link to comment https://gtaforums.com/topic/272532-miscellaneous-mods/#findComment-4427793 Share on other sites More sharing options...
james227uk Posted March 15, 2008 Share Posted March 15, 2008 I dont mean to bump this topic, but the interiors script is giving me lots of problems Link to comment https://gtaforums.com/topic/272532-miscellaneous-mods/#findComment-1057612532 Share on other sites More sharing options...
Killa Ker Posted March 18, 2008 Share Posted March 18, 2008 (edited) Find CODE 004F: create_thread @MS_BEAT_THE_COCK i cant find this in my main scm. i did a search and it said not found. Edited March 18, 2008 by Killa Ker Link to comment https://gtaforums.com/topic/272532-miscellaneous-mods/#findComment-1057626116 Share on other sites More sharing options...
TheBBC American Posted May 26, 2008 Share Posted May 26, 2008 There is no 004F in my main.scm script. It seems like you left a lot of steps out. I didn't even know where to look for this code until I read Killa Ker's post that mentioned the main.scm file. The only line that has the "create_thread @MS_BIKE_MISSIONS" is line 0948. This thread has less code and still seems to be missing a lot of steps. I've tried Spooky's download and the camhack. I can't get Spooky's to show up at all in game either by the proxy dll or the hook method, and camhack keeps crashing my game. I'd love to have Spooky's speedometer, but I'd settle for anything at this point. Can someone clear this up for me? Thx, BBCA Link to comment https://gtaforums.com/topic/272532-miscellaneous-mods/#findComment-1058150676 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now