johnhurc Posted December 6, 2009 Share Posted December 6, 2009 (edited) i want to code a mission where i get into a car in a cutscene with a passenger and drive to a destination while the passenger talks to cj the hole trip and i also want to code clothes buying without going in the closet as i have dynamic interiors in the map so he uses an animation and the clothes appear on him Edited December 6, 2009 by johnhurc Link to comment https://gtaforums.com/topic/434713-some-mission-scripting-help/ Share on other sites More sharing options...
ZAZ Posted December 6, 2009 Share Posted December 6, 2009 (edited) i want to code a mission where i get into a car in a cutscene with a passenger and drive to a destination while the passenger talks to cj the hole trip and i also want to code clothes buying without going in the closet as i have dynamic interiors in the map so he uses an animation and the clothes appear on him so read informations of gtamodding--Create_a_thread gtamodding--Create_a_mission SCM Coding FAQ Mission Coding for Dummies Coding Bible (Part I and Part II) Design Your Own Mission CLEO CLEO Tutorial Edited December 6, 2009 by ZAZ Link to comment https://gtaforums.com/topic/434713-some-mission-scripting-help/?do=findComment&comment=1059672219 Share on other sites More sharing options...
johnhurc Posted December 6, 2009 Author Share Posted December 6, 2009 i want to code a mission where i get into a car in a cutscene with a passenger and drive to a destination while the passenger talks to cj the hole trip and i also want to code clothes buying without going in the closet as i have dynamic interiors in the map so he uses an animation and the clothes appear on him so read informations of gtamodding--Create_a_thread gtamodding--Create_a_mission SCM Coding FAQ Mission Coding for Dummies Coding Bible (Part I and Part II) Design Your Own Mission CLEO CLEO Tutorial i will look Link to comment https://gtaforums.com/topic/434713-some-mission-scripting-help/?do=findComment&comment=1059672222 Share on other sites More sharing options...
johnhurc Posted December 6, 2009 Author Share Posted December 6, 2009 i want to code clothes buying without going in the closet as i have dynamic interiors in the map so the closet will be useless so i just want to be able to go to the clothes rack and press the button "E" and the clothes are changed it can be an scm code or a cleo script Link to comment https://gtaforums.com/topic/434713-some-mission-scripting-help/?do=findComment&comment=1059672315 Share on other sites More sharing options...
ZAZ Posted December 6, 2009 Share Posted December 6, 2009 i want to code clothes buying without going in the closet as i have dynamic interiors in the map so the closet will be useless so i just want to be able to go to the clothes rack and press the button "E" and the clothes are changed it can be an scm code or a cleo script I recomand to make a cleo script if cleo works for you. How to write a cleo script is described in the Cleo tutorial. The codes to change the body parts can be found at the beginning of the main.scm, in the main thread. These are the codes to give the player his skin when he spawn at first time by gamestart. 087B: set_player $PLAYER_CHAR clothes_texture "VEST" model "VEST" body_part 0 087B: set_player $PLAYER_CHAR clothes_texture "JEANSDENIM" model "JEANS" body_part 2 087B: set_player $PLAYER_CHAR clothes_texture "SNEAKERBINCBLK" model "SNEAKER" body_part 3 087B: set_player $PLAYER_CHAR clothes_texture "PLAYER_FACE" model "HEAD" body_part 1 070D: rebuild_player $PLAYER_CHAR Link to comment https://gtaforums.com/topic/434713-some-mission-scripting-help/?do=findComment&comment=1059672758 Share on other sites More sharing options...
johnhurc Posted December 6, 2009 Author Share Posted December 6, 2009 i want to code clothes buying without going in the closet as i have dynamic interiors in the map so the closet will be useless so i just want to be able to go to the clothes rack and press the button "E" and the clothes are changed it can be an scm code or a cleo script I recomand to make a cleo script if cleo works for you. How to write a cleo script is described in the Cleo tutorial. The codes to change the body parts can be found at the beginning of the main.scm, in the main thread. These are the codes to give the player his skin when he spawn at first time by gamestart. 087B: set_player $PLAYER_CHAR clothes_texture "VEST" model "VEST" body_part 0 087B: set_player $PLAYER_CHAR clothes_texture "JEANSDENIM" model "JEANS" body_part 2 087B: set_player $PLAYER_CHAR clothes_texture "SNEAKERBINCBLK" model "SNEAKER" body_part 3 087B: set_player $PLAYER_CHAR clothes_texture "PLAYER_FACE" model "HEAD" body_part 1 070D: rebuild_player $PLAYER_CHAR well i can try but i just want a clothes buying script even if i have to go into a marker and a menu apears that i have to select say binco then torso then say vest Link to comment https://gtaforums.com/topic/434713-some-mission-scripting-help/?do=findComment&comment=1059672793 Share on other sites More sharing options...
ZAZ Posted December 6, 2009 Share Posted December 6, 2009 i want to code a mission i want to code clothes buying i just want a clothes buying script so do it my tip: start your first attemps with tiny simple script like this: {$CLEO .cs}:Akt03A4: name_thread 'AKT'08B2: toggle_thermal_vision 1:Akt_01//----------------------------Loop adresse0001: wait 0 msif0AB0: key_pressed 8004D: jump_if_false @Akt_01//--------jump instruction by negation08B2: toggle_thermal_vision 00A93: end_custom_thread and don't forget to read the tutorial Link to comment https://gtaforums.com/topic/434713-some-mission-scripting-help/?do=findComment&comment=1059673036 Share on other sites More sharing options...
johnhurc Posted December 8, 2009 Author Share Posted December 8, 2009 here is my mission plan i want to start my mission when i go new game i dont want a cutscene but i want to be standing outside a car that has a passenger and then i want to drive to a location then mission complete then i want to have a new mission where i have to drive to another place Link to comment https://gtaforums.com/topic/434713-some-mission-scripting-help/?do=findComment&comment=1059676166 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