kiavash2k Posted May 4, 2008 Share Posted May 4, 2008 (edited) 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. 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. Edited May 5, 2008 by kiavash2k Link to comment Share on other sites More sharing options...
Bad~Boy#17 Posted May 5, 2008 Share Posted May 5, 2008 A very usefull tutorial, thanks Link to comment Share on other sites More sharing options...
metalistas2 Posted June 10, 2008 Share Posted June 10, 2008 NICE MAN TNX Link to comment Share on other sites More sharing options...
gtamodder Posted June 12, 2008 Share Posted June 12, 2008 Nice tutorial, this was helpful. Link to comment Share on other sites More sharing options...
Black Ghost Posted June 18, 2008 Share Posted June 18, 2008 cool thanxs man , you can eat now Link to comment Share on other sites More sharing options...
ms.cooldude Posted July 1, 2008 Share Posted July 1, 2008 Thanks a lot, very useful If it is possible, could you create the icon number list for GTAIII, it would be much apreichiated. Link to comment Share on other sites More sharing options...
metalistas2 Posted July 14, 2008 Share Posted July 14, 2008 Thx Link to comment Share on other sites More sharing options...
akkilla Posted July 28, 2008 Share Posted July 28, 2008 would this work with gta lc? Link to comment Share on other sites More sharing options...
cl55684 Posted November 24, 2020 Share Posted November 24, 2020 Thank you. 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