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. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

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

      1. Recruitment
    2. Events

    1. GTA Online

      1. Arena War
      2. After Hours
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA Next

    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 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 Mods
    10. GTA Vice City

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

      1. Guides & Strategies
      2. Help & Support
      3. GTA 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  
kiavash2k

How To make Marker to execute your mission

Recommended Posts

kiavash2k

Hi,

 

I've did work on VC so all of my tutorials are tested just in VC Right now. but it's work on SA or 3

 

Requirements:

BW's Vice Mission Builder v0.22

 

----------------------------

ok

 

If you like to make a main.scm without any mission and empty and make your stand-alone mod you can use my code, It's run VC without any mission and any marker and etc

 

 

DEFINE VERSION VICE 0.220002: jump ££OBJECT_DEFINATIONDEFINE MEMORY  34329:OBJECT_DEFINATION0002: jump ££MISSION_DEFINATIONDEFINE OBJECTS  1DEFINE OBJECT (no name)                   \\ This is an unused object. You can put anything here.:MISSION_DEFINATION0002: jump ££Game_StarterDEFINE MISSIONS  2DEFINE MISSION 0 AT ££MISSION_INITIALDEFINE MISSION 1 AT ££MISSION_1;-------------MAIN---------------:Game_Starter03A4: name_thread "MAIN"016A: fade  0? ()  0? ms04E4: unknown_refresh_game_renderer_at  250.618! -1278.601!0053: $PLAYER_CHAR = create_player #NULL at  250.6! -1278.6! 9.9!01F5: $PLAYER_ACTOR = create_emulated_actor_from_player $PLAYER_CHAR0417: start_mission  0?0352: set_actor $PLAYER_ACTOR skin_to "PLAYER"038B: load_requested_models016A: fade  1? (back)  1000& ms0353: refresh_actor $PLAYER_ACTOR04BB: select_interiour  0?  \\ select render area01B4: set_player $PLAYER_CHAR frozen_state  1? (unfrozen) ;-------------Mission 0---------------; Originally: Initialization Engine Objects and maps:MISSION_INITIAL03A4: name_thread "INITIAL"0004: $DEFAULT_WAIT_TIME =  250&  \\ integer values; Waseted And Busted Defination016C: restart_if_wasted at  493.5!  703.1!  11.1!  90!016D: restart_if_busted at  508.9!  506.8!  10.3!  174!; Set Time to 0700 Hours00C0: set_current_time  7?  00?; Set Time Cycle and weather;0 = Automatically change weather and day and night use "data\timecyc.dat";1 = Cloudy;2 = Rainy;3 = Fog;4 = Fine;5 = Rainy;6 = Black Sky with yellow sun like01B6: set_weather  0?0111: set_wasted_busted_check_to  0? (disabled)004E: end_thread;-----------------Mission 1----------------------; Orginally: Your First Mission is coded here:MISSION_1  

 

 

Now you have Empty mission and can start work with your mod Easily. if you compile this code it's work without any problem in VC. and we are not have any mission, marker, parked car, etc on map. smile.gif

 

Now we need to make marker on our map to everytime player hit this the Mission 1 started.

 

for make marker we must put our marker code in initial section before line

 

 

004E: end_thread

 

 

I've did use this code for this section for make a marker and execute the first mission:

(don't forgot to add it before the end_thread)

 

we have loop on this code so it's show the marker until the player hit the marker

 

 

:M1_Marker_Creator0001: wait 1000& ms02A7:  [email protected] = create_icon_marker_and_sphere  0? at  257.844! -1319.517! 10.090!:MARKER_LOOP 0001: wait  0? ms00D6: if  0?00FF: actor $PLAYER_ACTOR 0? near_point_3d_on_foot 257.844! -1319.517! 10.090! radius  1.0!  1.0! 2.0!004D: jump_if_false £MARKER_LOOP0164: disable_marker  [email protected]: start_mission  1?

 

 

for change the marker icon on the radar you need to change the marker number ( 0? on this code ):

 

 

02A7:  [email protected] = create_icon_marker_and_sphere 0? at  257.844! -1319.517! 10.090!

 

 

the list of the marker logos available here:

 

0 – Small purple dot

1 – Large player type icon

2 – Small arrow

3 – The ‘N’ Icon (North on the Map)

4 – The ‘A’ Icon

5 – The ‘B’ Icon

6 – The ‘C’ Icon

7 – The ‘D’ Icon

8 – The ‘K’ Icon

9 – The ‘L’ Icon

10 – The ‘P’ Icon

11 – The Spade Icon

12 – The Anchor Icon

13 – The Tree (Malabu Club) Icon

14 – A Funny sort of splat icon, not sure what it is meant to be

15 – A Clapper board (used for the film studio)

16 – The Gun Icon

17 – The Voodoo Icon

18 – The Hammer Icon

19 – The Tape Icon (Save Game Icon)

20 – The Pink ‘P’ Icon (Pole Position Club Icon)

21 – The Cherry Icon (Cherry Poppers Icon)

22 – The Yellow ‘K’ Icon (Kuffman Cabs Icon)

23 – The Skull Icon (Bikers Club Icon)

24 – The Dollar ‘$’ Icon (Printworks Icon)

25 – No Icon

26 – The Sun Icon (Sunshine Autos Icon)

27 – The Re-spray Icon

28 – The T Shirt Icon

29 – The ‘V’ Icon (Tommy’s Home Icon)

30 – The Phone Icon

31 – A Yellow ‘W’ Icon (I have not seen before)

32 – A Yellow Flag or Ice-cream (I have not seen before)

33 – Some Sort of Fish Icon (I have not seen before)

34 – Some sort of red symbol

35 – Red ‘V’ on a Black background

36 – Blue ‘V’ on a White background with some red @ the bottom

37 – A Simple drawing of the devil?

38 – A Red Heart Icon

39 – Red ‘W’ on a green background

 

ok now we have a marker with icon on the radar and sphere on the map and when player hit this mission one is loaded but the engine crashed cuz we not have code for mission 1.

 

you can use this code for mission one if you don't know how you must make a mission and don't like the engine crash:

 

 

;-----------------Mission 1----------------------; Orginally: noname:MISSION_1  03A4: name_thread "M_1"0050: gosub £M1_START00D6: if  0?0112: wasted_or_busted004D: jump_if_false £M1_FAIL:M1_START0317: increment_mission_attempts0004: $ONMISSION =  1?  \\ integer values0001: wait  0? ms054C: use_GXT_table "M1"00BC: text_highpriority "M1_1"  8000& ms  2?03C3: set_timer_with_text_to  25600?? type  1? text "ASM3_11" \\ TIME::M1_FAIL00BA: text_styled "M_FAIL"  5000& ms  1? \\ MISSION FAILED!0050: jump ££M1_Marker_Creator004E: end_thread

 

 

use the codes above instead of this codes:

 

 

;-----------------Mission 1----------------------; Orginally: Your First Mission is coded here:MISSION_1  

 

 

Hope this tutorial help you to make better mods. smile.gif

Edited by kiavash2k

Share this post


Link to post
Share on other sites
Bad~Boy#17

A very usefull tutorial, thanks icon14.gifcookie.gif

Share this post


Link to post
Share on other sites
metalistas2

NICE MAN TNX cool.gifcool.giftounge.gifcookie.gif

Share this post


Link to post
Share on other sites
gtamodder

Nice tutorial, this was helpful. happy.gif

Share this post


Link to post
Share on other sites
Black Ghost

cool thanxs man , you can eat now cookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gif

Share this post


Link to post
Share on other sites
ms.cooldude

Thanks a lot, very useful cookie.gifcookie.gif

 

If it is possible, could you create the icon number list for GTAIII, it would be much apreichiated. biggrin.gif

Share this post


Link to post
Share on other sites
metalistas2

Thx

Share this post


Link to post
Share on other sites
akkilla

would this work with gta lc?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • 1 User Currently Viewing
    0 Members, 0 Anonymous, 1 Guest

×

Important Information

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