Jump to content

some mission scripting help


Recommended Posts

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 by johnhurc
Link to comment
https://gtaforums.com/topic/434713-some-mission-scripting-help/
Share on other sites

 

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 by ZAZ
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

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 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 

 

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

 

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

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

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
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

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