Author Topic: Introduction to SCM coding VC\LC  (Read 25564 times)

0 Members and 1 Guest are viewing this topic.

Offline DJS

  • Veteran Member
  • Posts: 755
  • Click my sig yo
    • View Profile
    • YouTubz
Introduction to SCM coding VC\LC
« Reply #30 on: June 16, 2007, 05:26:36 AM »
Link for that

Offline VenomX

  • Veteran Member
  • Posts: 4294
    • View Profile
Introduction to SCM coding VC\LC
« Reply #31 on: June 16, 2007, 05:34:20 AM »

Offline DJS

  • Veteran Member
  • Posts: 755
  • Click my sig yo
    • View Profile
    • YouTubz
Introduction to SCM coding VC\LC
« Reply #32 on: June 17, 2007, 06:11:26 AM »
There is something else i need, that thing to tell me everythings ids and names
And how would i get lots of diffrent tommy characters in it?

EDIT: i think if found it
« Last Edit: June 17, 2007, 06:18:03 AM by DJS »

Offline VenomX

  • Veteran Member
  • Posts: 4294
    • View Profile
Introduction to SCM coding VC\LC
« Reply #33 on: June 17, 2007, 06:18:26 AM »
Replace a pedestrian model and texture with your players, then spawn loads of that ped .

Offline DJS

  • Veteran Member
  • Posts: 755
  • Click my sig yo
    • View Profile
    • YouTubz
Introduction to SCM coding VC\LC
« Reply #34 on: June 17, 2007, 06:26:57 AM »
now i just need to find the ped textures XD
()

Offline VenomX

  • Veteran Member
  • Posts: 4294
    • View Profile
Introduction to SCM coding VC\LC
« Reply #35 on: June 17, 2007, 12:15:09 PM »
Quick question to anyone that knows, even with lonely mod and the driver's behaviour set to 8?, why does the car still attempt to drive on the correct side of the road?  Any help would be appreciated, thank you.

Offline DJS

  • Veteran Member
  • Posts: 755
  • Click my sig yo
    • View Profile
    • YouTubz
Introduction to SCM coding VC\LC
« Reply #36 on: June 17, 2007, 02:12:13 PM »
/me has a new problem . Ive spent half of my day making this it was going well but it just dont work no more   . Any help would be nice. The game just freezes after the bikes are spawned

DEFINE VERSION VICE 0.22

0002: jump ££Label008620
DEFINE MEMORY  34329

:Label008620
0002: jump ££Label008644
DEFINE OBJECTS  1
DEFINE OBJECT DOOR                        \\ This is an unused object. You can put anything here.

:Label008644
0002: jump ££Label008658
DEFINE MISSIONS  0

;-------------MAIN---------------


:Label008658
03A4: name_thread "MAIN"
016A: fade  0? ()  0? ms
01F0: set_max_wanted_level_to  0?
03AD: toggle_rubbish  0?
03DE: set_pedestrians_density_multiplier_to  0?
01EB: set_car_density_to  0?
0111: set_wasted_busted_check_to  0? (disabled)
00C0: set_current_time  12?  0?
04E4: unknown_refresh_game_renderer_at  380.60!  253.15!
03CB: set_camera  380.60!  253.15!  15.43!
0053: $PLAYER_CHAR = create_player #NULL at -538.780! 695.463! 10.104!
01F5: $PLAYER_ACTOR = create_emulated_actor_from_player $PLAYER_CHAR
0330: set_player $PLAYER_CHAR infinite_run_to  1? (true)
0001: wait  0? ms
01B6: set_weather  0?
00D6: if  0?
8118:   NOT   actor $PLAYER_ACTOR dead
004D: jump_if_false ££Label0086EF
0352: set_actor $PLAYER_ACTOR skin_to "PLAYER"
038B: load_requested_models
0353: refresh_actor $PLAYER_ACTOR
0222: set_player  2228?? health_to  250!

:Label0086EF
016A: fade  1? (back)  1000& ms
00D6: if  0?
0256:   player $PLAYER_CHAR defined
004D: jump_if_false ££Label0086EF
04BB: select_interiour  0?  \\ select render area
01B4: set_player $PLAYER_CHAR frozen_state  1? (unfrozen)
01B7: release_weather

:Label008700
0001: wait  1000& ms
0247: request_model #PCJ600
0247: request_model #PCJ600
0247: request_model #VICE1
0247: request_model #VICE2

00D6: if  0?
8248:   NOT   model #PCJ600 available
8248:   NOT   model #PCJ600 available
8248:   NOT   model #VICE1 available
8248:   NOT   model #VICE2 available

004D: jump_if_false ££Label008706
0001: wait  1000& ms
0002: jump ££Label008700

:Label008706
038B: load_requested_models
0001: wait  1000& ms
0002: jump ££Label008711

:Label008711
0001: wait  1000& ms
00A5:  400?? = create_car #PCJ600 at -528.136!  732.589!  10.094!
0175: set_car  400?? z_angle_to  90!
00AE: unknown_set_car  400?? to_ignore_traffic_lights  1?
00AD: set_car  400?? max_speed_to  0!
02AC: set_car  400?? immunities  1?  1?  1?  1?  1?
0129:  28?? = create_actor  4? #VICE2 in_car  400?? driverseat
0350: unknown_actor  28?? not_scared_flag  1?
009A:  32?? = create actor  4? #VICE1 at -560.087! 705.578! 19.534!
00A5:  404?? = create_car #PCJ600 at -525.472!  698.483!  10.075!
0175: set_car  404?? z_angle_to  180!
00AE: unknown_set_car  404?? to_ignore_traffic_lights  1?
00AD: set_car  404?? max_speed_to  0!
02AC: set_car  404?? immunities  1?  1?  1?  1?  1?
0002: jump ££Label008722

:Label008722
0001: wait  7000& ms
02C2: car  400?? drive_to_point -528.225!  689.647!  9.706!
00AD: set_car  400?? max_speed_to  40!
0001: wait  1000& ms
0383: actor  28?? car horn activated == true
0122: actor  28?? pressing horn
0383: actor  28?? car horn activated == false
0002: jump ££Label100862

:label100862
0239: actor  28?? run to  -545.219! 694.679! 19.553!
0239: actor  28?? run to  -526.854! 695.999! 10.101!
« Last Edit: June 17, 2007, 02:13:27 PM by DJS »

Offline VenomX

  • Veteran Member
  • Posts: 4294
    • View Profile
Introduction to SCM coding VC\LC
« Reply #37 on: June 17, 2007, 02:30:59 PM »
Opcode 0383 doesn't work for actors, its a player specific code.  Just search for a horn midi on google, and put that into your film instead .

Offline Neo Anderson

  • ATS precision whore
  • Veteran Member
  • Posts: 5079
  • Registered on: April 16, 2004
    • View Profile
Introduction to SCM coding VC\LC
« Reply #38 on: June 17, 2007, 02:49:51 PM »
Quote from: VenomX
Quick question to anyone that knows, even with lonely mod and the driver's behaviour set to 8?, why does the car still attempt to drive on the correct side of the road?  Any help would be appreciated, thank you.
could you post your script that given you troubles?


Offline DJS

  • Veteran Member
  • Posts: 755
  • Click my sig yo
    • View Profile
    • YouTubz
Introduction to SCM coding VC\LC
« Reply #39 on: June 18, 2007, 11:35:24 AM »
Is there an opcode that makes the cars/ bikes go in a strait line?. The bikes keep going left and right on the road

Strait -   ______________
................................._________
Left to right - \____/................... \_______

Crappy drawings but i think you know what i mean
« Last Edit: June 18, 2007, 11:39:06 AM by DJS »

Offline Neo Anderson

  • ATS precision whore
  • Veteran Member
  • Posts: 5079
  • Registered on: April 16, 2004
    • View Profile
Introduction to SCM coding VC\LC
« Reply #40 on: June 18, 2007, 02:17:02 PM »
It all depends on the opcodes you have used. Post the SCM.txt and I'll take a look.

Offline morbidxxx

  • Veteran Member
  • Posts: 4093
    • View Profile
Introduction to SCM coding VC\LC
« Reply #41 on: June 20, 2007, 10:36:37 AM »
I was trying to make a script were on guy try to kill me but in the end I got this http://www.youtube.com/watch?v=6W5vEfBq-Dg

Offline VenomX

  • Veteran Member
  • Posts: 4294
    • View Profile
Introduction to SCM coding VC\LC
« Reply #42 on: June 20, 2007, 11:00:39 AM »
Hehe, looks like you spawend a load of players instead of actors .
« Last Edit: June 20, 2007, 11:01:32 AM by VenomX »

Offline DJS

  • Veteran Member
  • Posts: 755
  • Click my sig yo
    • View Profile
    • YouTubz
Introduction to SCM coding VC\LC
« Reply #43 on: June 20, 2007, 12:02:18 PM »
ok fixed the other problem thanks to VenomX over msn but i have a new problem. One bike dont spawn in the proper position and sometimes it spawned weird :/ and antoeher bike dont move when itsmeant to :/. Take a look see what you can finds wrong
DEFINE VERSION VICE 0.22

0002: jump ££Label008620
DEFINE MEMORY  34329

:Label008620
0002: jump ££Label008644
DEFINE OBJECTS  1
DEFINE OBJECT DOOR                        \\ This is an unused object. You can put anything here.

:Label008644
0002: jump ££Label008658
DEFINE MISSIONS  0

;-------------MAIN---------------


:Label008658
03A4: name_thread "MAIN"
016A: fade  0? ()  0? ms
01F0: set_max_wanted_level_to  0?
03AD: toggle_rubbish  0?
03DE: set_pedestrians_density_multiplier_to  0?
01EB: set_car_density_to  0?
0111: set_wasted_busted_check_to  0? (disabled)
00C0: set_current_time  12?  0?
04E4: unknown_refresh_game_renderer_at  380.60!  253.15!
03CB: set_camera  380.60!  253.15!  15.43!
0053: $PLAYER_CHAR = create_player #NULL at -471.144! 689.531! 9.611!
01F5: $PLAYER_ACTOR = create_emulated_actor_from_player $PLAYER_CHAR
0330: set_player $PLAYER_CHAR infinite_run_to  1? (true)
0001: wait  0? ms
01B6: set_weather  0?
00D6: if  0?
8118:   NOT   actor $PLAYER_ACTOR dead
004D: jump_if_false ££Label0086EF
0352: set_actor $PLAYER_ACTOR skin_to "PLAYER"
038B: load_requested_models
0353: refresh_actor $PLAYER_ACTOR
0222: set_player  2228?? health_to  250!

:Label0086EF
016A: fade  1? (back)  1000& ms
00D6: if  0?
0256:   player $PLAYER_CHAR defined
004D: jump_if_false ££Label0086EF
04BB: select_interiour  0?  \\ select render area
01B4: set_player $PLAYER_CHAR frozen_state  1? (unfrozen)
01B7: release_weather

:Label008700
0001: wait  1000& ms
0247: request_model #PCJ600
0247: request_model #PCJ600
0247: request_model #PCJ600
0247: request_model #VICE1
0247: request_model #VICE2
00D6: if  0?
8248:   NOT   model #PCJ600 available
8248:   NOT   model #PCJ600 available
8248:   NOT   model #PCJ600 available
8248:   NOT   model #VICE1 available
8248:   NOT   model #VICE2 available

004D: jump_if_false ££Label008706
0001: wait  1000& ms
0002: jump ££Label008700

:Label008706
038B: load_requested_models
0001: wait  1000& ms
0002: jump ££Label008711

:Label008711
0001: wait  1000& ms
00A5:  400?? = create_car #PCJ600 at -661.025! 624.178! 9.438!
0175: set_car  400?? z_angle_to  000!
00AE: unknown_set_car  400?? to_ignore_traffic_lights  1?
00AD: set_car  400?? max_speed_to  0!
02AC: set_car  400?? immunities  1?  1?  1?  1?  1?
0129:  28?? = create_actor  4? #VICE2 in_car  400?? driverseat
0350: unknown_actor  28?? not_scared_flag  1?
009A:  32?? = create actor  4? #VICE1 at -560.087! 705.578! 19.534!
00A5:  404?? = create_car #PCJ600 at -523.926! 698.151! 9.930!
0175: set_car  404?? z_angle_to  003!
00AE: unknown_set_car  404?? to_ignore_traffic_lights  0?
00AD: set_car  404?? max_speed_to  0!
02AC: set_car  404?? immunities  1?  1?  1?  1?  1?
00A5:  396?? = create_car #PCJ600 at -471.130! 689.531! 9.611!
0175: set_car  396?? z_angle_to  180!
00AE: unknown_set_car  404?? to_ignore_traffic_lights  0?
00AD: set_car  396?? max_speed_to  0!
02AC: set_car  396?? immunities  1?  1?  1?  1?  1?
0002: jump ££Label008722

:Label008722
0001: wait 2000& ms
00AF: set car  400?? driver behaviour to  1?
02C2: car 400?? drive_to_point -530.410! 686.076! 9.931!
00AD: set_car  400?? max_speed_to  20!
0001: wait  12000& ms
0002: jump ££Label100862

:label100862
0239: actor 32?? run to  -546.182! 697.452! 19.534!
0001: wait  3000& ms
0239: actor 32?? run to  -526.121! 697.891! 10.090
0001: wait  3000& ms
01D5: actor  32?? go_to_and_drive_car  404??
0002: jump ££Label100863

:Label100863
0001: wait  2000& ms
00AF: set car  404?? driver behaviour to  1?
00AD: set_car  400?? max_speed_to  30!
00AD: set_car  404?? max_speed_to  30!
02C2: car 400?? drive_to_point  -418.192! 947.754! 9.930!
02C2: car 404?? drive_to_point  -417.036! 950.396! 9.930!
0002: jump ££Label00864

:Label00864
0247: request_model #PCJ600
0247: request_model #VICE3
00D6: if  0?
8248:   NOT   model #PCJ600 available
8248:   NOT   model #VICE3 available

004D: jump_if_false ££Label008706
0001: wait  1000& ms
0002: jump ££Label00865

:Label00865
038B: load_requested_models
0001: wait  1000& ms
0002: jump ££Label00866

:Label00866
00A5:  408?? = create_car #PCJ600 at -459.632! 934.121! 10.104!
0175: set_car  408?? z_angle_to  270!
00AE: unknown_set_car  408?? to_ignore_traffic_lights  0?
00AD: set_car  408?? max_speed_to  0!
02AC: set_car  408?? immunities  1?  1?  1?  1?  1?
0129:  36?? = create_actor  4? #VICE3 in_car  408?? driverseat
0002: jump ££Label00867                          

:Label00867
0001: wait  14000& ms
00AD: set_car  408?? max_speed_to  30!
02C2: car 408?? drive_to_point  -448.334! 939.505! 9.624!
0001: wait  5000& ms
0002: jump ££Label00868      

:Label00868
00AD: set_car  408?? max_speed_to  30!
02C2: car 408?? drive_to_point  -430.978! 1340.765! 10.141!
0001: wait  1500& ms
02C2: car 404?? drive_to_point  -459.343! 1338.092! 10.136!
02C2: car 400?? drive_to_point  -445.244! 1339.422! 10.141!
0002: jump ££Label00869

:Label00869
0247: request_model #PCJ600
0247: request_model #VICE4
00D6: if  0?
8248:   NOT   model #PCJ600 available
8248:   NOT   model #VICE4 available

004D: jump_if_false ££Label008706
0001: wait  1000& ms
0002: jump ££Label00870

:Label00870
038B: load_requested_models
0001: wait  1000& ms
0002: jump ££Label00871

:Label00871
00A5:  412?? = create_car #PCJ600 at -757.976! 1318.754! 10.139!
0175: set_car  412?? z_angle_to  0!
00AE: unknown_set_car  412?? to_ignore_traffic_lights  0?
00AD: set_car  412?? max_speed_to  0!
02AC: set_car  412?? immunities  1?  1?  1?  1?  1?
0129:  40?? = create_actor  4? #VICE4 in_car  412?? driverseat
0002: jump ££Label00872

:Label00872
0001: wait  25000& ms
00AD: set_car  412?? max_speed_to  30!
02C2: car 412?? drive_to_point  -447.721! 1317.101! 9.440!
0001: wait  3000& ms
02C2: car 404?? drive_to_point  -781.834! 1366.931! 10.136!
02C2: car 400?? drive_to_point  -781.229! 1361.648! 10.141!
02C2: car 408?? drive_to_point  -780.703! 1357.062! 10.141!
0001: wait  500& ms
02C2: car 412?? drive to point  -780.203! 1352.705! 10.141!
0002: jump ££Label00873

:Label00873
0247: request_model #PCJ600
0247: request_model #VICE5
00D6: if  0?
8248:   NOT   model #PCJ600 available
8248:   NOT   model #VICE5 available
0002: jump ££Label00874

:Label00874
038B: load_requested_models
0001: wait  1000& ms
0002: jump ££Label00875

:Label00875
00A5:  416?? = create_car #PCJ600 at -761.869! 1318.161! 10.136!
0175: set_car  416?? z_angle_to  90!
00AE: unknown_set_car  412?? to_ignore_traffic_lights  0?
00AD: set_car  416?? max_speed_to  0!
02AC: set_car  416?? immunities  1?  1?  1?  1?  1?
009A:  44?? = create actor  4? #VICE5 at -753.534! 1343.057! 10.786!
0002: jump ££Label00876

:Label00876
0001: wait  10000& ms
00AD: set_car  400?? max_speed_to  20!
00AD: set_car  404?? max_speed_to  20!
00AD: set_car  408?? max_speed_to  20!
00AD: set_car  412?? max_speed_to  20!
0239: actor 44?? run to  -761.699! 1319.437! 10.784!
0001: wait  5000& ms
01D5: actor  44?? go_to_and_drive_car  416??
0001: wait  1000& ms
00AD: set_car  416?? max_speed_to  20!
02C2: car 416?? drive to point  -779.600! 1347.445! 10.141!
0002: jump ££Label008743



:Label008743
0001: wait 1000& ms
0002: jump ££Label008743




Offline Neo Anderson

  • ATS precision whore
  • Veteran Member
  • Posts: 5079
  • Registered on: April 16, 2004
    • View Profile
Introduction to SCM coding VC\LC
« Reply #44 on: June 20, 2007, 01:42:45 PM »
Quote from: DJS
ok fixed the other problem thanks to VenomX over msn but i have a new problem. One bike dont spawn in the proper position and sometimes it spawned weird :/ and antoeher bike dont move when itsmeant to :/. Take a look see what you can finds wrong
DEFINE VERSION VICE 0.22

0002: jump ££Label008620
DEFINE MEMORY  34329

:Label008620
0002: jump ££Label008644
DEFINE OBJECTS  1
DEFINE OBJECT DOOR                        \\ This is an unused object. You can put anything here.

:Label008644
0002: jump ££Label008658
DEFINE MISSIONS  0

;-------------MAIN---------------


:Label008658
03A4: name_thread "MAIN"
016A: fade  0? ()  0? ms
01F0: set_max_wanted_level_to  0?
03AD: toggle_rubbish  0?
03DE: set_pedestrians_density_multiplier_to  0?
01EB: set_car_density_to  0?
0111: set_wasted_busted_check_to  0? (disabled)
00C0: set_current_time  12?  0?
04E4: unknown_refresh_game_renderer_at  380.60!  253.15!
03CB: set_camera  380.60!  253.15!  15.43!
0053: $PLAYER_CHAR = create_player #NULL at -471.144! 689.531! 9.611!
01F5: $PLAYER_ACTOR = create_emulated_actor_from_player $PLAYER_CHAR
0330: set_player $PLAYER_CHAR infinite_run_to  1? (true)
0001: wait  0? ms
01B6: set_weather  0?
00D6: if  0?
8118:   NOT   actor $PLAYER_ACTOR dead
004D: jump_if_false ££Label0086EF
0352: set_actor $PLAYER_ACTOR skin_to "PLAYER"
038B: load_requested_models
0353: refresh_actor $PLAYER_ACTOR
0222: set_player  2228?? health_to  250!

:Label0086EF
016A: fade  1? (back)  1000& ms
00D6: if  0?
0256:   player $PLAYER_CHAR defined
004D: jump_if_false ££Label0086EF
04BB: select_interiour  0?  \\ select render area
01B4: set_player $PLAYER_CHAR frozen_state  1? (unfrozen)
01B7: release_weather

:Label008700
0001: wait  1000& ms
0247: request_model #PCJ600
0247: request_model #PCJ600
0247: request_model #PCJ600
0247: request_model #VICE1
0247: request_model #VICE2
00D6: if  0?
8248:   NOT   model #PCJ600 available
8248:   NOT   model #PCJ600 available
8248:   NOT   model #PCJ600 available
8248:   NOT   model #VICE1 available
8248:   NOT   model #VICE2 available
                                                     <---------------- why the space?
004D: jump_if_false ££Label008706
0001: wait  1000& ms
0002: jump ££Label008700

:Label008706
038B: load_requested_models
0001: wait  1000& ms
0002: jump ££Label008711

:Label008711
0001: wait  1000& ms
00A5:  400?? = create_car #PCJ600 at -661.025! 624.178! 9.438!
0175: set_car  400?? z_angle_to  000!
00AE: unknown_set_car  400?? to_ignore_traffic_lights  1?
00AD: set_car  400?? max_speed_to  0!
02AC: set_car  400?? immunities  1?  1?  1?  1?  1?
0129:  28?? = create_actor  4? #VICE2 in_car  400?? driverseat
0350: unknown_actor  28?? not_scared_flag  1?
009A:  32?? = create actor  4? #VICE1 at -560.087! 705.578! 19.534!
00A5:  404?? = create_car #PCJ600 at -523.926! 698.151! 9.930!
0175: set_car  404?? z_angle_to  003!
00AE: unknown_set_car  404?? to_ignore_traffic_lights  0?
00AD: set_car  404?? max_speed_to  0!
02AC: set_car  404?? immunities  1?  1?  1?  1?  1?
00A5:  396?? = create_car #PCJ600 at -471.130! 689.531! 9.611!
0175: set_car  396?? z_angle_to  180!
00AE: unknown_set_car  404?? to_ignore_traffic_lights  0?
00AD: set_car  396?? max_speed_to  0!
02AC: set_car  396?? immunities  1?  1?  1?  1?  1?
0002: jump ££Label008722

:Label008722
0001: wait 2000& ms
00AF: set car  400?? driver behaviour to  1?
02C2: car 400?? drive_to_point -530.410! 686.076! 9.931!
00AD: set_car  400?? max_speed_to  20!
0001: wait  12000& ms
0002: jump ££Label100862 <---------- bad label number, you go from 008722 to 100862?

:label100862
0239: actor 32?? run to  -546.182! 697.452! 19.534!
0001: wait  3000& ms
0239: actor 32?? run to  -526.121! 697.891! 10.090
0001: wait  3000& ms
01D5: actor  32?? go_to_and_drive_car  404??
0002: jump ££Label100863

:Label100863
0001: wait  2000& ms
00AF: set car  404?? driver behaviour to  1?
00AD: set_car  400?? max_speed_to  30!
00AD: set_car  404?? max_speed_to  30!
02C2: car 400?? drive_to_point  -418.192! 947.754! 9.930!
02C2: car 404?? drive_to_point  -417.036! 950.396! 9.930!
0002: jump ££Label00864

:Label00864
0247: request_model #PCJ600
0247: request_model #VICE3
00D6: if  0?
8248:   NOT   model #PCJ600 available
8248:   NOT   model #VICE3 available
                                                     <--------------- again a space?
004D: jump_if_false ££Label008706
0001: wait  1000& ms
0002: jump ££Label00865

:Label00865
038B: load_requested_models
0001: wait  1000& ms
0002: jump ££Label00866

:Label00866
00A5:  408?? = create_car #PCJ600 at -459.632! 934.121! 10.104!
0175: set_car  408?? z_angle_to  270!
00AE: unknown_set_car  408?? to_ignore_traffic_lights  0?
00AD: set_car  408?? max_speed_to  0!
02AC: set_car  408?? immunities  1?  1?  1?  1?  1?
0129:  36?? = create_actor  4? #VICE3 in_car  408?? driverseat
0002: jump ££Label00867                          

:Label00867
0001: wait  14000& ms
00AD: set_car  408?? max_speed_to  30!
02C2: car 408?? drive_to_point  -448.334! 939.505! 9.624!
0001: wait  5000& ms
0002: jump ££Label00868      

:Label00868
00AD: set_car  408?? max_speed_to  30!
02C2: car 408?? drive_to_point  -430.978! 1340.765! 10.141!
0001: wait  1500& ms
02C2: car 404?? drive_to_point  -459.343! 1338.092! 10.136!
02C2: car 400?? drive_to_point  -445.244! 1339.422! 10.141!
0002: jump ££Label00869

:Label00869
0247: request_model #PCJ600
0247: request_model #VICE4
00D6: if  0?
8248:   NOT   model #PCJ600 available
8248:   NOT   model #VICE4 available
                                                    <------------ space again?
004D: jump_if_false ££Label008706
0001: wait  1000& ms
0002: jump ££Label00870

:Label00870
038B: load_requested_models
0001: wait  1000& ms
0002: jump ££Label00871

:Label00871
00A5:  412?? = create_car #PCJ600 at -757.976! 1318.754! 10.139!
0175: set_car  412?? z_angle_to  0!
00AE: unknown_set_car  412?? to_ignore_traffic_lights  0?
00AD: set_car  412?? max_speed_to  0!
02AC: set_car  412?? immunities  1?  1?  1?  1?  1?
0129:  40?? = create_actor  4? #VICE4 in_car  412?? driverseat
0002: jump ££Label00872

:Label00872
0001: wait  25000& ms
00AD: set_car  412?? max_speed_to  30!
02C2: car 412?? drive_to_point  -447.721! 1317.101! 9.440!
0001: wait  3000& ms
02C2: car 404?? drive_to_point  -781.834! 1366.931! 10.136!
02C2: car 400?? drive_to_point  -781.229! 1361.648! 10.141!
02C2: car 408?? drive_to_point  -780.703! 1357.062! 10.141!
0001: wait  500& ms
02C2: car 412?? drive to point  -780.203! 1352.705! 10.141!
0002: jump ££Label00873

:Label00873
0247: request_model #PCJ600
0247: request_model #VICE5
00D6: if  0?
8248:   NOT   model #PCJ600 available
8248:   NOT   model #VICE5 available <--------- missing a 004D: jump_if_false ££Label
0002: jump ££Label00874

:Label00874
038B: load_requested_models
0001: wait  1000& ms
0002: jump ££Label00875

:Label00875
00A5:  416?? = create_car #PCJ600 at -761.869! 1318.161! 10.136!
0175: set_car  416?? z_angle_to  90!
00AE: unknown_set_car  412?? to_ignore_traffic_lights  0?
00AD: set_car  416?? max_speed_to  0!
02AC: set_car  416?? immunities  1?  1?  1?  1?  1?
009A:  44?? = create actor  4? #VICE5 at -753.534! 1343.057! 10.786!
0002: jump ££Label00876

:Label00876 <---------------- bad label numbers run all the way down to here
0001: wait  10000& ms
00AD: set_car  400?? max_speed_to  20!
00AD: set_car  404?? max_speed_to  20!
00AD: set_car  408?? max_speed_to  20!
00AD: set_car  412?? max_speed_to  20!
0239: actor 44?? run to  -761.699! 1319.437! 10.784!
0001: wait  5000& ms
01D5: actor  44?? go_to_and_drive_car  416??
0001: wait  1000& ms
00AD: set_car  416?? max_speed_to  20!
02C2: car 416?? drive to point  -779.600! 1347.445! 10.141!
0002: jump ££Label008743



:Label008743
0001: wait 1000& ms
0002: jump ££Label008743



Check your old scm ^ up there. I added in red what I found.
Here's your scm with the obvious errors i found now fixed.
« Last Edit: June 20, 2007, 01:44:21 PM by Neo Anderson »

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal