0 Members and 1 Guest are viewing this topic.
DEFINE VERSION VICE 1.30002: jump ££Label008620DEFINE MEMORY 34329:Label0086200002: jump ££Label008644DEFINE OBJECTS 1DEFINE OBJECT DOOR ; This is an unused object. You can put anything here.:Label0086440002: jump ££Label008658DEFINE MISSIONS 0;-------------MAIN---------------:Label00865803A4: name_thread "MAIN"016A: fade 0 () 0 ms01F0: set_max_wanted_level_to 003AD: set_rubbish 0 (invisible)03DE: set_pedestrians_density_multiplier_to 001EB: set_car_density_to 00111: set_wasted_busted_check_to 0 (disabled)00C0: set_current_time 10 004E4: unknown_refresh_game_renderer_at -712.4792 1052.17303CB: set_camera -712.4792 1052.173 18.077150053: $PLAYER_CHAR = create_player #NULL at -712.4792 1052.173 18.0771501F5: $PLAYER_ACTOR = create_emulated_actor_from_player $PLAYER_CHAR0330: set_player $PLAYER_CHAR infinite_run_to 1 (true)0001: wait 0 ms01B6: set_weather 000D6: if 08118: NOT actor $PLAYER_ACTOR dead004D: jump_if_false ££Label0086FA0352: set_actor $PLAYER_ACTOR skin_to "PLAYER"038B: load_requested_models0353: refresh_actor $PLAYER_ACTOR0222: set_player $6 health_to 100.0:Label0086FA016A: fade 1 (back) 1000 ms00D6: if 00256: player $PLAYER_CHAR defined004D: jump_if_false ££Label0086FA04BB: select_interiour 0 ;; select render area01B4: set_player $PLAYER_CHAR frozen_state 1 (unfrozen)01B7: release_weather0002: jump ££Label008725:Label0087250001: wait 1000 ms0247: request_model #BKA00D6: if 08248: NOT model #BKA available004D: jump_if_false ££Label0087490001: wait 1000 ms0002: jump ££Label008725:Label008749038B: load_requested_models0001: wait 1000 ms0002: jump ££Label008757:Label0087570002: jump ££Label00875E:Label00875E009A: $7 = create_actor 4 #BKA at -606.7478 -332.5978 11.28901015F: set_camera_position -828.9935 917.0188 38.70028 0.0 0.0 0.00160: point_camera -782.6692 850.2357 11.08462 20001: wait 3000 ms015F: set_camera_position -382.6062 -513.3868 22.83041 0.0 0.0 0.00160: point_camera -378.4856 -565.9042 17.28306 10460: set_camera_pointing_time 0.0 100000001: wait 12000 ms015F: set_camera_position -580.8517 -375.2814 20.19859 0.0 0.0 0.00160: point_camera -606.7478 -332.5978 11.28901 10460: set_camera_pointing_time 0.0 50000001: wait 1000 ms0002: jump ££Label008839:Label0088390002: jump ££Label008840:Label0088400001: wait 2000 ms0002: jump ££Label00884C:Label00884C0001: wait 1000 ms0002: jump ££Label00884C
:Label0087250001: wait 1000 ms0247: request_model #BKA00D6: if 08248: NOT model #BKA available004D: jump_if_false ££Label0087490001: wait 1000 ms0002: jump ££Label008725:Label008749009A: $7 = create_actor 4 #BKA at -606.7478 -332.5978 11.28901038B: load_requested_models0001: wait 1000 ms0002: jump ££Label008757:Label0087570002: jump ££Label00875E
Did the actor spawn at all? Or just not in the location you specified?Try spawning your actor sooner in the script - like this:Code: [Select]:Label0087250001: wait 1000 ms0247: request_model #BKA00D6: if 08248: NOT model #BKA available004D: jump_if_false ££Label0087490001: wait 1000 ms0002: jump ££Label008725:Label008749009A: $7 = create_actor 4 #BKA at -606.7478 -332.5978 11.28901038B: load_requested_models0001: wait 1000 ms0002: jump ££Label008757:Label0087570002: jump ££Label00875ESometimes it can be easier to seperate your threads a little. One set for your actor, another for your camera, etc. You have to kind of time it out in regards to your wait states, but having them as separate threads can make it easier to find where mistakes in the codes are. create_thread ££actorcreate_thread ££camera Like that. You can also skip threads by simply commenting the create_thread opcodes out, rather than having to comment everything in the thread out.
All done \m/!!!
Your friends ? )
do you like editing?
kaneda can you have me again how can i set the point for actor ( where actor's watching ) like point of camera
009A: $7 = create_actor 4 #BKA at -606.7478 -332.5978 11.28901
Quote from: Basiµm on September 17, 2012, 02:51:42 AMdo you like editing?Oh!!! I think everyone wants it to be perfect Quote from: Neverlose on September 16, 2012, 11:01:16 PMkaneda can you have me again how can i set the point for actor ( where actor's watching ) like point of camera That easy . you can use the opcode on your scriptCode: [Select]009A: $7 = create_actor 4 #BKA at -606.7478 -332.5978 11.28901But changing the pos and load your actor requested models I never use it but also know a little
SMF 2.0.19 | SMF © 2021, Simple Machines