Viper187 Posted June 20, 2005 Share Posted June 20, 2005 (edited) Well, this is a slightly nutty way to do it, but it works. Hold Aim + Jump to spawn a set of weapons/items around you. Press Next Weapon/PRevious weapon to change sets, pickup whatever you want. Jetpack, and Police Bribe are even included. I still haven't figured out how clothes pickups work, or I'd do those too. ;;this goes with the other thread opcodes in main004F: create_thread ££SNAKEWS00;;the rest of this can be put at the bottom of main.:SNAKEWS000001: wait 100 ms00D6: if 480DF: NOT actor $PLAYER_ACTOR driving00E1: key_pressed 0 6;; aim button00E1: key_pressed 0 14;; jump weapon80E1: NOT key_pressed 0 17;; fire80E1: NOT key_pressed 0 4;; action004D: jump_if_false ££SNAKEWS000215: destroy_pickup $SWPICK10215: destroy_pickup $SWPICK20215: destroy_pickup $SWPICk30215: destroy_pickup $SWPICK40215: destroy_pickup $SWPICK50215: destroy_pickup $SWPICK60215: destroy_pickup $SWPICK70215: destroy_pickup $SWPICK80215: destroy_pickup $SWPICK90215: destroy_pickup $SWPICK100215: destroy_pickup $SWPICK110215: destroy_pickup $SWPICK120215: destroy_pickup $SWPICK130215: destroy_pickup $SWPICK140215: destroy_pickup $SWPICK150215: destroy_pickup $SWPICK16:SNAKEWS0100D6: if 000E1: key_pressed 0 5;; prev weapon004D: jump_if_false ££SNAKEWS02000C: $SWSID -= 1;; integer values00D6: if 0001A: 0 > $SWSID;; integer values004D: jump_if_false ££SNAKEWS200004: $SWSID = 2;; integer values0002: jump ££SNAKEWS20:SNAKEWS0200D6: if 000E1: key_pressed 0 7;; next weapon004D: jump_if_false ££SNAKEWS200008: $SWSID += 1;; integer values00D6: if 00018: $SWSID > 2;; integer values004D: jump_if_false ££SNAKEWS200004: $SWSID = 0;; integer values0002: jump ££SNAKEWS20:SNAKEWS2000D6: if 00038: $SWSID == 0;; integer values004D: jump_if_false ££SNAKEWS2104C4: create_coordinate @1 @2 @3 from_actor $PLAYER_ACTOR offset 2.0 2.0 0.0032B: $SWPICK1 = create_weapon_pickup 342 15 ammo 20000 at @1 @2 @3000B: @2 += 1.0;; floating-point values032B: $SWPICK2 = create_weapon_pickup 343 15 ammo 20000 at @1 @2 @3000B: @2 += 1.0;; floating-point values032B: $SWPICK3 = create_weapon_pickup 344 15 ammo 20000 at @1 @2 @3000B: @2 += 1.0;; floating-point values 032B: $SWPICK4 = create_weapon_pickup 346 15 ammo 20000 at @1 @2 @304C4: create_coordinate @1 @2 @3 from_actor $PLAYER_ACTOR offset 2.0 -2.0 0.0032B: $SWPICK5 = create_weapon_pickup 347 15 ammo 20000 at @1 @2 @3000B: @2 += 1.0;; floating-point values032B: $SWPICK6 = create_weapon_pickup 348 15 ammo 20000 at @1 @2 @3000B: @2 += 1.0;; floating-point values032B: $SWPICK7 = create_weapon_pickup 349 15 ammo 20000 at @1 @2 @3000B: @2 += 1.0;; floating-point values032B: $SWPICK8 = create_weapon_pickup 350 15 ammo 20000 at @1 @2 @304C4: create_coordinate @1 @2 @3 from_actor $PLAYER_ACTOR offset 2.0 -2.0 0.0032B: $SWPICK9 = create_weapon_pickup 351 15 ammo 20000 at @1 @2 @3000B: @1 += 1.0;; floating-point values032B: $SWPICK10 = create_weapon_pickup 352 15 ammo 20000 at @1 @2 @3000B: @1 += 1.0;; floating-point values032B: $SWPICK11 = create_weapon_pickup 353 15 ammo 20000 at @1 @2 @3000B: @1 += 1.0;; floating-point values032B: $SWPICK12 = create_weapon_pickup 355 15 ammo 20000 at @1 @2 @304C4: create_coordinate @1 @2 @3 from_actor $PLAYER_ACTOR offset -2.0 2.0 0.0032B: $SWPICK13 = create_weapon_pickup 356 15 ammo 20000 at @1 @2 @3000B: @1 += -1.0;; floating-point values032B: $SWPICK14 = create_weapon_pickup 357 15 ammo 20000 at @1 @2 @3000B: @1 += -1.0;; floating-point values032B: $SWPICK15 = create_weapon_pickup 358 15 ammo 20000 at @1 @2 @3000B: @1 += -1.0;; floating-point values032B: $SWPICK16 = create_weapon_pickup 359 15 ammo 20000 at @1 @2 @3:SNAKEWS2100D6: if 00038: $SWSID == 1;; integer values004D: jump_if_false ££SNAKEWS2204C4: create_coordinate @1 @2 @3 from_actor $PLAYER_ACTOR offset 2.0 2.0 0.0032B: $SWPICK1 = create_weapon_pickup 360 15 ammo 20000 at @1 @2 @3000B: @2 += 1.0;; floating-point values032B: $SWPICK2 = create_weapon_pickup 361 15 ammo 20000 at @1 @2 @3000B: @2 += 1.0;; floating-point values032B: $SWPICK3 = create_weapon_pickup 362 15 ammo 20000 at @1 @2 @3000B: @2 += 1.0;; floating-point values 032B: $SWPICK4 = create_weapon_pickup 363 15 ammo 20000 at @1 @2 @304C4: create_coordinate @1 @2 @3 from_actor $PLAYER_ACTOR offset 2.0 -2.0 0.0032B: $SWPICK5 = create_weapon_pickup 365 15 ammo 20000 at @1 @2 @3000B: @2 += 1.0;; floating-point values032B: $SWPICK6 = create_weapon_pickup 366 15 ammo 20000 at @1 @2 @3000B: @2 += 1.0;; floating-point values032B: $SWPICK7 = create_weapon_pickup 367 15 ammo 20000 at @1 @2 @3000B: @2 += 1.0;; floating-point values032B: $SWPICK8 = create_weapon_pickup 368 15 ammo 20000 at @1 @2 @304C4: create_coordinate @1 @2 @3 from_actor $PLAYER_ACTOR offset 2.0 -2.0 0.0032B: $SWPICK9 = create_weapon_pickup 369 15 ammo 20000 at @1 @2 @3000B: @1 += 1.0;; floating-point values032B: $SWPICK10 = create_weapon_pickup 372 15 ammo 20000 at @1 @2 @3000B: @1 += 1.0;; floating-point values032B: $SWPICK11 = create_weapon_pickup 370 15 ammo 20000 at @1 @2 @3000B: @1 += 1.0;; floating-point values0213: $SWPICK12 = create_pickup 321 type 15 at @1 @2 @304C4: create_coordinate @1 @2 @3 from_actor $PLAYER_ACTOR offset -2.0 2.0 0.00213: $SWPICK13 = create_pickup 322 type 15 at @1 @2 @3000B: @1 += -1.0;; floating-point values0213: $SWPICK14 = create_pickup 323 type 15 at @1 @2 @3000B: @1 += -1.0;; floating-point values0213: $SWPICK15 = create_pickup 324 type 15 at @1 @2 @3000B: @1 += -1.0;; floating-point values0213: $SWPICK16 = create_pickup 325 type 15 at @1 @2 @3:SNAKEWS2200D6: if 00038: $SWSID == 2;; integer values004D: jump_if_false ££SNAKEWS3004C4: create_coordinate @1 @2 @3 from_actor $PLAYER_ACTOR offset 2.0 2.0 0.00213: $SWPICK1 = create_pickup 326 type 15 at @1 @2 @3000B: @2 += 1.0;; floating-point values0213: $SWPICK2 = create_pickup 327 type 15 at @1 @2 @3000B: @2 += 1.0;; floating-point values0213: $SWPICK3 = create_pickup 328 type 15 at @1 @2 @3000B: @2 += 1.0;; floating-point values 0213: $SWPICK4 = create_pickup 331 type 15 at @1 @2 @304C4: create_coordinate @1 @2 @3 from_actor $PLAYER_ACTOR offset 2.0 -2.0 0.00213: $SWPICK5 = create_pickup 333 type 15 at @1 @2 @3000B: @2 += 1.0;; floating-point values0213: $SWPICK6 = create_pickup 334 type 15 at @1 @2 @3000B: @2 += 1.0;; floating-point values0213: $SWPICK7 = create_pickup 335 type 15 at @1 @2 @3000B: @2 += 1.0;; floating-point values0213: $SWPICK8 = create_pickup 336 type 15 at @1 @2 @304C4: create_coordinate @1 @2 @3 from_actor $PLAYER_ACTOR offset 2.0 -2.0 0.00213: $SWPICK9 = create_pickup 337 type 15 at @1 @2 @3000B: @1 += 1.0;; floating-point values0213: $SWPICK10 = create_pickup 338 type 15 at @1 @2 @3000B: @1 += 1.0;; floating-point values0213: $SWPICK11 = create_pickup 339 type 15 at @1 @2 @3000B: @1 += 1.0;; floating-point values0213: $SWPICK12 = create_pickup 341 type 15 at @1 @2 @304C4: create_coordinate @1 @2 @3 from_actor $PLAYER_ACTOR offset -2.0 2.0 0.00213: $SWPICK13 = create_pickup #BODYARMOUR type 15 at @1 @2 @3000B: @1 += -1.0;; floating-point values0213: $SWPICK14 = create_pickup #BRIBE type 15 at @1 @2 @3000B: @1 += -1.0;; floating-point values0213: $SWPICK15 = create_pickup #HEALTH type 15 at @1 @2 @3000B: @1 += -1.0;; floating-point values;;0213: $SWPICK16 = create_pickup #CLOTHESP type 15 at @1 @2 @3:SNAKEWS300002: jump ££SNAKEWS00 Edited June 25, 2005 by Viper187 Link to comment Share on other sites More sharing options...
perkin Posted June 20, 2005 Share Posted June 20, 2005 Great! thanks. Ha, we can pick up clothes? interesting...I thought I can only do that through assigning to wardrobe. Link to comment Share on other sites More sharing options...
Viper187 Posted June 20, 2005 Author Share Posted June 20, 2005 Great! thanks. Ha, we can pick up clothes? interesting...I thought I can only do that through assigning to wardrobe. Yeah, you can. I've only seen it happen on that mission you have to impersonate a valet. Link to comment Share on other sites More sharing options...
Viper187 Posted June 23, 2005 Author Share Posted June 23, 2005 New version. This one uses the same keys but only spawns 1 weapon at a time in front of you. Uses less code too. :SNAKEWS000001: wait 100 ms00D6: if 480DF: NOT actor $PLAYER_ACTOR driving00E1: key_pressed 0 6;; aim button00E1: key_pressed 0 14;; jump weapon80E1: NOT key_pressed 0 17;; fire80E1: NOT key_pressed 0 4;; action004D: jump_if_false ££SNAKEWS00:SNAKEWS0100D6: if 000E1: key_pressed 0 5;; prev weapon004D: jump_if_false ££SNAKEWS02000C: $SWSID -= 1;; integer values:SNAKEWS0200D6: if 000E1: key_pressed 0 7;; next weapon004D: jump_if_false ££SNAKEWS02B0008: $SWSID += 1 ;; integer values:SNAKEWS02B00D6: if 250038: $SWSID == 329 ;; integer values0038: $SWSID == 332 ;; integer values0038: $SWSID == 340 ;; integer values0038: $SWSID == 345 ;; integer values0038: $SWSID == 354 ;; integer values0038: $SWSID == 364 ;; integer values004D: jump_if_false ££SNAKEWS0300D6: if 000E1: key_pressed 0 5;; prev weapon004D: jump_if_false ££SNAKEWS02C000C: $SWSID -= 1;; integer values0002: jump ££SNAKEWS03:SNAKEWS02C0008: $SWSID += 1 ;; integer values:SNAKEWS0300D6: if 0001A: 321 > $SWSID ;; integer values004D: jump_if_false ££SNAKEWS03B0004: $SWSID = 373 ;; integer values0002: jump ££SNAKEWS10:SNAKEWS03B00D6: if 00018: $SWSID > 373 ;; integer values004D: jump_if_false ££SNAKEWS03C0004: $SWSID = 321 ;; integer values0002: jump ££SNAKEWS10:SNAKEWS03C00D6: if 20018: $SWSID > 341 ;; integer values8038: NOT $SWSID == 371 ;; integer values8038: NOT $SWSID == 373 ;; integer values004D: jump_if_false ££SNAKEWS100002: jump ££SNAKEWS11:SNAKEWS100215: destroy_pickup $SWPICK104C4: create_coordinate @1 @2 @3 from_actor $PLAYER_ACTOR offset 0.0 2.0 0.00213: $SWPICK1 = create_pickup $SWSID type 15 at @1 @2 @30002: jump ££SNAKEWS00:SNAKEWS110215: destroy_pickup $SWPICK104C4: create_coordinate @1 @2 @3 from_actor $PLAYER_ACTOR offset 0.0 2.0 0.0032B: $SWPICK1 = create_weapon_pickup $SWSID 15 ammo 20000 at @1 @2 @30002: jump ££SNAKEWS00 Link to comment Share on other sites More sharing options...
RainingAcid Posted July 13, 2005 Share Posted July 13, 2005 Mind if I include this in my farewell mod? Link to comment Share on other sites More sharing options...
brotherbozar Posted July 25, 2005 Share Posted July 25, 2005 (edited) I love this idea, its a real cheat but it's great. It brings to mind an assassin type character who can always evade the law and get away. I'd like to see a version without the bribe but just using a cloths change to reduce your wanted level. Kind of assassins tools: A 'robbing' outfit': Balaclava and any dark clothes you see fit, maybe black windcheater and some dark jeans or joggers, maybe leather jeans. And some black sneakers. Just a couple of weapons suitable for a stealthy guy: the silenced pistol, MP5 and satchel charges. And a couple of other changes of clothes including tweed suit and dark shades or rimmed shades from DS, and just green jeans, some sneakers and T shirt. But of course with the emphasis on the fact that a change of clothes will lower your wanted level, i love the idea of nipping down an alley and changing my clothes like superman...LOL, sounds pervy. So consider this a MOD REQUEST ...please! Oh...and the age old question, where do i put this code please i really want to try this out. Thanks ..great stuff. EDIT: Ok i must be blind, didn't see the instuctions thanks Edited July 26, 2005 by brotherbozar Link to comment Share on other sites More sharing options...
jamienosdude Posted July 31, 2005 Share Posted July 31, 2005 I love this idea, its a real cheat but it's great. It brings to mind an assassin type character who can always evade the law and get away. I'd like to see a version without the bribe but just using a cloths change to reduce your wanted level. Kind of assassins tools: A 'robbing' outfit': Balaclava and any dark clothes you see fit, maybe black windcheater and some dark jeans or joggers, maybe leather jeans. And some black sneakers. Just a couple of weapons suitable for a stealthy guy: the silenced pistol, MP5 and satchel charges. And a couple of other changes of clothes including tweed suit and dark shades or rimmed shades from DS, and just green jeans, some sneakers and T shirt. But of course with the emphasis on the fact that a change of clothes will lower your wanted level, i love the idea of nipping down an alley and changing my clothes like superman...LOL, sounds pervy. So consider this a MOD REQUEST ...please! Oh...and the age old question, where do i put this code please i really want to try this out. Thanks ..great stuff. EDIT: Ok i must be blind, didn't see the instuctions thanks theres a tutorial by craig in this forum at link http://www.gtaforums.com/index.php?showtop...0entry1782668 thanks to him i know how to do it Link to comment Share on other sites More sharing options...
brotherbozar Posted July 31, 2005 Share Posted July 31, 2005 Thanks dude, that'll be very helpful Link to comment Share on other sites More sharing options...
jamienosdude Posted July 31, 2005 Share Posted July 31, 2005 Also.. heres the url if you cant be bothered to scroll down to his post http://www.gtaforums.com/index.php?showtop...dpost&p=1782668 Really, why isent his post stickied it would stop alot of people asking where to insert the code's posted here Link to comment 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