Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. DLC
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
      7. The Diamond Casino Heist
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

Sign in to follow this  
gtasanandreasmaster

help me with this mission code

Recommended Posts

gtasanandreasmaster

right i have these codes for a mision script but dont knmow how to put them in game i have the tools u will need to do it

 

swimming mod

 

; Swimming mod. Press FORWARD when in water to "swim".; Stear with the mouse.; This mod doesn't work very well with missions that use boats.004F: create_thread ££SwimmingMod  ...:SwimmingMod0001: wait 250 ms 00D6: if 0 0256:   player $PLAYER_CHAR defined 004D: jump_if_false ££SwimmingMod 00D6: if 0 80E0:   NOT   player $PLAYER_CHAR driving 004D: jump_if_false ££SwimmingMod5 0054: store_player $PLAYER_CHAR position_to [email protected] [email protected] [email protected] ; no-swim areas (because z_ground didn't do it)00D6: if 0 8057:   NOT   player $PLAYER_CHAR 0 in_cube -209.0 -1450.0 0.0 -110.0 -1337.0 20.0 004D: jump_if_false ££SwimmingMod 00D6: if 1 0021:   [email protected] > 0.0;; floating-point values 0023:   7.0 > [email protected];; floating-point values 004D: jump_if_false ££SwimmingMod :SwimmingMod20001: wait 50 ms 00D6: if 0 0256:   player $PLAYER_CHAR defined 004D: jump_if_false ££SwimmingMod 0054: store_player $PLAYER_CHAR position_to [email protected] [email protected] [email protected] 00D6: if 0 0023:   7.0 > [email protected];; floating-point values 004D: jump_if_false ££SwimmingMod 00D6: if 21 0021:   [email protected] > -10.0;; floating-point values 80E1:   NOT   key_pressed 0 8 004D: jump_if_false ££SwimmingMod4 00D6: if 0 00E1:   key_pressed 0 8 004D: jump_if_false ££SwimmingMod2 00D6: if 0 8118:   NOT   actor $PLAYER_ACTOR dead 004D: jump_if_false ££SwimmingMod 04C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 2.0 0.0 0055: put_player $PLAYER_CHAR at [email protected] [email protected] [email protected] 0002: jump ££SwimmingMod2 :SwimmingMod40055: put_player $PLAYER_CHAR at [email protected] [email protected] -100.0 0002: jump ££SwimmingMod2 :SwimmingMod503C1: [email protected] = player $PLAYER_CHAR car 00D6: if 0 02BF:   car [email protected] sunk 004D: jump_if_false ££SwimmingMod 00D6: if 3 80DE:   NOT   player $PLAYER_CHAR driving_vehicle_type #rio 80DE:   NOT   player $PLAYER_CHAR driving_vehicle_type #predator 80DE:   NOT   player $PLAYER_CHAR driving_vehicle_type #squalo 80DE:   NOT   player $PLAYER_CHAR driving_vehicle_type #speeder 004D: jump_if_false ££SwimmingMod 00D6: if 3 80DE:   NOT   player $PLAYER_CHAR driving_vehicle_type #reefer 80DE:   NOT   player $PLAYER_CHAR driving_vehicle_type #tropic 80DE:   NOT   player $PLAYER_CHAR driving_vehicle_type #skimmer 80DE:   NOT   player $PLAYER_CHAR driving_vehicle_type #coastg 004D: jump_if_false ££SwimmingMod 00D6: if 3 80DE:   NOT   player $PLAYER_CHAR driving_vehicle_type #dinghy 80DE:   NOT   player $PLAYER_CHAR driving_vehicle_type #marquis 80DE:   NOT   player $PLAYER_CHAR driving_vehicle_type #jetmax 80DE:   NOT   player $PLAYER_CHAR driving_vehicle_type #SEASPAR 004D: jump_if_false ££SwimmingMod 00D6: if 3 80DE:   NOT   player $PLAYER_CHAR driving_vehicle_type #rcbandit 80DE:   NOT   player $PLAYER_CHAR driving_vehicle_type #rcbaron 80DE:   NOT   player $PLAYER_CHAR driving_vehicle_type #rcraider 80DE:   NOT   player $PLAYER_CHAR driving_vehicle_type #rcgoblin 004D: jump_if_false ££SwimmingMod 0001: wait 1000 ms 0407: create_coordinate [email protected] 2@ [email protected] from_car [email protected] offset -3.0 0.0 0.0 012A: put_player $PLAYER_CHAR at [email protected] [email protected] [email protected] and_remove_from_car 0002: jump ££SwimmingMod 

 

mission select mod

 

; When this mod is included in the original script,; you can start any mission anywhere at any time.; Usage: When on foot, press and hold CAMERA key,;        press STRAFE LEFT or STRAFE RIGHT to select mission,;        press ACTION key to start selected mission.004F: create_thread ££StartMissions...:StartMissions0001: wait 250 ms00D6: if  00256:   player $PLAYER_CHAR defined004D: jump_if_false ££StartMissions00D6: if  080E0:   NOT   player $PLAYER_CHAR driving004D: jump_if_false ££StartMissions00D6: if  000E1:   key_pressed  0  19 ;; look behind key004D: jump_if_false ££StartMissions30322: kill_player $PLAYER_CHAR:StartMissions300D6: if  000E1:   key_pressed  0  13 ;; camera key004D: jump_if_false ££StartMissions00D6: if  000E1:   key_pressed  0  10 ;; strafe left004D: jump_if_false ££StartMissions2000C: $TEST -= 100D6: if 0001A:   2 > $TEST004D: jump_if_false ££ShowMText0004: $TEST = 20002: jump ££ShowMText:StartMissions200D6: if  000E1:   key_pressed  0  11 ;; strafe right004D: jump_if_false ££ShowMText0008: $TEST += 100D6: if 00018:   $TEST > 96004D: jump_if_false ££ShowMText0004: $TEST = 96:ShowMText01E4: text 1number lowpriority "HJ_IS"  $test  240 ms  100D6: if  000E1:   key_pressed  0  4 ;; action key004D: jump_if_false ££StartMissions00D6: if  00038:   $ONMISSION ==  0 ;; integer values004D: jump_if_false ££StartMissions00D6: if  003EE:   player $PLAYER_CHAR controllable004D: jump_if_false ££StartMissions0417: start_mission $test0001: wait 1000 ms0002: jump ££StartMissions

 

 

thats just some of the code i want in da game

i have this file called vicebuilder which came with loads of mission mods

 

plz help

Edited by gtasanandreasmaster

Share this post


Link to post
Share on other sites
Raindancer
Please mind the gap, between the thread and the platform edge

Share this post


Link to post
Share on other sites
gtasanandreasmaster
Please mind the gap, between the thread and the platform edge

do u know how to put this in da game

Share this post


Link to post
Share on other sites
spaceeinstein

---

Edited by spaceeinstein

Share this post


Link to post
Share on other sites
gtasanandreasmaster
Did you know you posted in the wrong forum? Did you attempt to read this pinned topic? And did you attempt to go to the tutorial forum to find out?

user posted image

sorry sorry sorry sorry sorry sorry sorry sorry sorry

 

i am sorry plz plz plz plz lock this

Share this post


Link to post
Share on other sites
GT-1

Moved to editing, you have not got an answer to your problem so i'll leave this open also.

Share this post


Link to post
Share on other sites
PatrickW

Including these two pieces of code into the main.scm file is not the most trivial.

You'll first have to gain an understanding about th ebasics of SCM modding.

 

You said you have Vice builder. This should also contain a file named readme.txt.

Read though this file very carefully, until you are sure that you understand its content.

Now read it through once more to be certain.

 

Now goto the pinned tutorial topic in this forum, and work through some of them to see how things work.

 

If you worked your way through this all, you should be able to include these pieces of code into the original. If you still run into trouble, you can always ask here for help.

 

Share this post


Link to post
Share on other sites
gtasanandreasmaster
Including these two pieces of code into the main.scm file is not the most trivial.

You'll first have to gain an understanding about th ebasics of SCM modding.

 

You said you have Vice builder. This should also contain a file named readme.txt.

Read though this file very carefully, until you are sure that you understand its content.

Now read it through once more to be certain.

 

Now goto the pinned tutorial topic in this forum, and work through some of them to see how things work.

 

If you worked your way through this all, you should be able to include these pieces of code into the original. If you still run into trouble, you can always ask here for help.

 

i know how to add parked cars and weapons and pickups etc

 

but i just dont know how to add this kind of code into the game

 

is there a certain place in the main.scm where i should paste it or can i just put it anywere's

 

Share this post


Link to post
Share on other sites
Craig Kostelecky

What you want to do is add a new thread to the game. I wrote a tutorial about that exact same thing a long time ago. You can find that tut here. Go through that, and if you have any specific questions, feel free to ask.

Share this post


Link to post
Share on other sites
gtasanandreasmaster

thankz man ur guide has realy helped

 

i succsesforly added the code to the game and it works thankz a lot man

Edited by gtasanandreasmaster

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.