Hi!
i want to make some questions about custom cleo missions
i've readed all your tuts xD from everyone (i think)
and i want to know how to make that the screen goes slowly to black, as in some missions....
also how to make that the camera move up in a cutscene,i mean going up, but watching in some part of the ground
i made this .CM. right now, that is only the cutscene i will finish it later but i want to know that things..
and i have more questions but right now i don't remember xD
i want to add the camera moving up, at the final, when actor 6@ show finger xD
this script, it's working for me, after read all your Tuts i can do that the camera move looking the car.. BUT i have a little problem i don't know how to fix it xD
when the car is moving and the camer it's looking, the car looks like shaking xD it's not to much but that's not the point...
can you help me fixing these problem?
thanks!!
i want to make some questions about custom cleo missions
i've readed all your tuts xD from everyone (i think)
and i want to know how to make that the screen goes slowly to black, as in some missions....
also how to make that the camera move up in a cutscene,i mean going up, but watching in some part of the ground
i made this .CM. right now, that is only the cutscene i will finish it later but i want to know that things..
and i have more questions but right now i don't remember xD
i want to add the camera moving up, at the final, when actor 6@ show finger xD
- Spoiler:
{$CLEO .cm}
thread 'CMTSTMIS'
gosub @mission_start
if
wasted_or_busted
else_jump @CMTSTMIS_71
gosub @mission_failed
:CMTSTMIS_71
gosub @mission_clean
end_thread
:mission_start
increment_mission_attempts
$ONMISSION = 1
09BA: show_entered_zone_name 0
Player.ClearWantedLevel($PLAYER_CHAR)
:CMTSTMIS_98
if
00FF: actor $PLAYER_ACTOR sphere 0 in_sphere 2486.177 -1656.669 13.3442 radius 1.5 1.5 1.5 on_foot
else_jump @CMTSTMIS_98
02A3: enable_widescreen 1
Player.CanMove($PLAYER_CHAR) = False
00C0: set_current_time_hours_to 2 minutes_to 10
set_weather 8
01F0: set_max_wanted_level_to 0
01EB: set_traffic_density_multiplier_to 0.0
03DE: set_pedestrians_density_multiplier_to 0.0
Model.Load(#WMOICE)
Model.Load(#FAM6)
Model.Load(#BULLET)
:CMTSTMIS_199
wait 0
if and
Model.Available(#WMOICE)
Model.Available(#FAM6)
Model.Available(#BULLET)
else_jump @CMTSTMIS_199
Camera.SetPosition(1006.155, -1963.991, 115.6919, 0.0, 0.0, 0.0)
Camera.PointAt(1006.155, -1963.991, 115.6919, 2)
0395: clear_area 1 at 1369.582 -1734.725 13.3828 radius 150.0
5@ = Car.Create(#BULLET, 1369.582, -1734.725, 13.3828)
Car.Angle(5@) = 267.8372
09C7: change_player $PLAYER_CHAR model_to #FAM6
Player.Build($PLAYER_CHAR)
072A: put_actor $PLAYER_ACTOR into_car 5@ driverseat
01C8: 6@ = create_actor_pedtype 24 model #WMOICE in_car 5@ passenger_seat 0
060B: set_actor 6@ decision_maker_to 32
Model.Destroy(#WMOICE)
Model.Destroy(#FAM6)
Model.Destroy(#BULLET)
wait 7000
Car.DriveTo(5@, 1532.213, -1688.783, 13.3828)
Car.SetMaxSpeed(5@, 16.0)
00AE: set_car 5@ traffic_behaviour_to 2
0679: put_camera_on_car 5@ with_offset 0.42 0.8 0.45 rotation -0.28 0.0 0.4 0.0 2
wait 2000
0679: put_camera_on_car 5@ with_offset -0.42 0.8 0.45 rotation 0.28 0.0 0.4 0.0 2
wait 2000
33@ = 0
:CMTSTMIS_535
Camera.Restore_WithJumpCut
0407: store_coords_to 70@ 71@ 72@ from_car 5@ with_offset 0.0 0.0 1.0
Camera.SetPosition(1463.548, -1725.984, 23.5469, 0.0, 0.0, 0.0)
Camera.PointAt(70@, 71@, 72@, 2)
if
33@ > 5500
else_jump @CMTSTMIS_1195
33@ = 0
:CMTSTMIS_637
Camera.Restore_WithJumpCut
0407: store_coords_to 70@ 71@ 72@ from_car 5@ with_offset 0.0 0.0 1.0
Camera.SetPosition(1535.071, -1724.774, 13.3828, 0.0, 0.0, 0.0)
Camera.PointAt(70@, 71@, 72@, 2)
if
33@ > 5500
else_jump @CMTSTMIS_1206
33@ = 0
:CMTSTMIS_739
Camera.Restore_WithJumpCut
if
01C1: car 5@ stopped
else_jump @CMTSTMIS_1173
Car.SetMaxSpeed(5@, 0.0)
0407: store_coords_to 70@ 71@ 72@ from_car 5@ with_offset 0.0 0.0 0.0
Camera.SetPosition(1545.436, -1670.214, 16.5604, 0.0, 0.0, 0.0)
Camera.PointAt(70@, 71@, 72@, 2)
0633: AS_actor $PLAYER_ACTOR exit_car
0633: AS_actor 6@ exit_car
wait 2000
07CD: AS_actor 6@ walk_to 1543.202 -1675.65 13.556 stop_with_angle 81.1821 within_radius 0.0
0850: AS_actor $PLAYER_ACTOR follow_actor 6@
:CMTSTMIS_894
if
00FF: actor $PLAYER_ACTOR sphere 0 in_sphere 1543.202 -1675.65 13.556 radius 2.0 2.0 2.0 on_foot
else_jump @CMTSTMIS_1184
Camera.SetPosition(1537.918, -1675.849, 13.5469, 0.0, 0.0, 0.0)
04C4: store_coords_to 73@ 74@ 75@ from_actor $PLAYER_ACTOR with_offset 0.5 0.7 0.5
Camera.PointAt(73@, 74@, 75@, 2)
0639: AS_actor 6@ rotate_to_actor $PLAYER_ACTOR
0639: AS_actor $PLAYER_ACTOR rotate_to_actor 6@
05BF: AS_actor $PLAYER_ACTOR look_at_actor 6@ 10000 ms
wait 1000
00BB: show_text_lowpriority GXT 'MSG1J' time 4000 flag 1
0967: actor $PLAYER_ACTOR move_mouth 4000 ms
wait 4000
00BB: show_text_lowpriority GXT 'MSG2J' time 4000 flag 1
0967: actor 6@ move_mouth 4000 ms
wait 4000
05C2: AS_actor 6@ show_the_finger
wait 2000
Actor.RemoveReferences(6@)
Car.RemoveReferences(5@)
02A3: enable_widescreen 0
01F0: set_max_wanted_level_to 6
01EB: set_traffic_density_multiplier_to 1.0
03DE: set_pedestrians_density_multiplier_to 1.0
Player.CanMove($PLAYER_CHAR) = True
$ONMISSION = 0
mission_cleanup
gosub @mission_passed
end_thread
:CMTSTMIS_1173
wait 0
jump @CMTSTMIS_739
:CMTSTMIS_1184
wait 0
jump @CMTSTMIS_894
:CMTSTMIS_1195
wait 0
jump @CMTSTMIS_535
:CMTSTMIS_1206
wait 0
jump @CMTSTMIS_637
:mission_clean
$ONMISSION = 0
mission_cleanup
return
:mission_failed
00BA: show_text_styled GXT 'M_FAIL' time 5000 style 1 // ~r~MISSION FAILED!
return
:mission_passed
00BA: show_text_styled GXT 'Mission Passed!' time 5000 style 1
0394: play_music 2
return
this script, it's working for me, after read all your Tuts i can do that the camera move looking the car.. BUT i have a little problem i don't know how to fix it xD
when the car is moving and the camer it's looking, the car looks like shaking xD it's not to much but that's not the point...
can you help me fixing these problem?
thanks!!