Jump to content

Bestand door rockstar in san andreas file gevonden


Recommended Posts

Geplaatst: (bewerkt)

Hey,

Ik was in de files van San Andreas aan het zien ik ga naar data en zie daartuissen main.sc staan niet main.scm welke bij data >> script staat,

er staat vanboven dit:

// Test script for Industrial level

en daaronder een hele code:


// Test script for Industrial level

VAR_INT  player scplayer
VAR_INT  TEST_CAR test_char
VAR_FLOAT x_float_m y_float_m z_float_m player_heading_debug debug_car_heading
VAR_INT magic_car button_press_flag car_colour car_colour2
VAR_INT flag_create_car initial_create_car initial_car_selected counter_create_car

x_float_m = 0.0
y_float_m = 0.0
z_float_m = 0.0
player_heading_debug = 0.0
debug_car_heading = 0.0

magic_car = 0
button_press_flag = 0
car_colour = 0
car_colour2 = 0
flag_create_car = 0
initial_create_car = 0
initial_car_selected = 0
counter_create_car = 151 //CAR_CHEETAH


SCRIPT_NAME mainscr

// SET_INTRO_IS_PLAYING FALSE

CREATE_PLAYER 0 1498.8 -1661.3 12.5 player
GET_PLAYER_CHAR player scplayer

DO_FADE 0 FADE_OUT

LOAD_SCENE 137.0 -1574.0 11.0

/*
REQUEST_MODEL CAR_CHEETAH

WHILE NOT HAS_MODEL_LOADED CAR_CHEETAH

WAIT 0

ENDWHILE

CREATE_CAR CAR_CHEETAH -1138.406f -661.471f -100.0f TEST_CAR

MARK_MODEL_AS_NO_LONGER_NEEDED CAR_CHEETAH
*/

REQUEST_MODEL male01

WHILE NOT HAS_MODEL_LOADED male01

WAIT 0

ENDWHILE

CREATE_CHAR PEDTYPE_CIVMALE male01 1500.0 -1660.0 13.0f test_char

// MARK_MODEL_AS_NO_LONGER_NEEDED male01


DEBUG_ON

//LAUNCH_MISSION debug.sc

DO_FADE 1000 FADE_IN

MainLoop:

WAIT 0


IF IS_PLAYER_PLAYING player
 IF IS_BUTTON_PRESSED PAD2 RIGHTSHOULDER1
 AND flag_create_car = 0
 AND button_press_flag = 0
  GET_CHAR_COORDINATES scplayer x_float_m y_float_m z_float_m
  GET_CHAR_HEADING scplayer player_heading_debug
  IF player_heading_debug < 45.0
  AND player_heading_debug > 0.0
   y_float_m += 5.0
   debug_car_heading = 90.0
  ENDIF
  IF player_heading_debug < 360.0
  AND player_heading_debug > 315.0
   y_float_m += 5.0
   debug_car_heading = 90.0
  ENDIF
  IF player_heading_debug < 135.0
  AND player_heading_debug > 45.0
   x_float_m -= 5.0
   debug_car_heading = 180.0
  ENDIF
  IF player_heading_debug < 225.0
  AND player_heading_debug > 135.0
   y_float_m -= 5.0
   debug_car_heading = 270.0
  ENDIF
  IF player_heading_debug < 315.0
  AND player_heading_debug > 225.0
   x_float_m += 5.0
   debug_car_heading = 0.0
  ENDIF
  z_float_m = z_float_m + 0.6
  GET_GROUND_Z_FOR_3D_COORD x_float_m y_float_m z_float_m z_float_m
  REQUEST_MODEL counter_create_car
  WHILE NOT HAS_MODEL_LOADED counter_create_car

   WAIT 0

   PRINT_NOW LOADCAR 100 1 //"Loading vehicle, press pad2 leftshoulder1 to cancel"

   IF IS_BUTTON_PRESSED PAD2 LEFTSHOULDER1
//++ counter_create_car
GOTO next_carzzz
   ENDIF

  ENDWHILE

  CREATE_CAR counter_create_car x_float_m y_float_m z_float_m magic_car
  SET_CAR_HEADING magic_car debug_car_heading

  LOCK_CAR_DOORS magic_car CARLOCK_UNLOCKED

  MARK_MODEL_AS_NO_LONGER_NEEDED counter_create_car
  MARK_CAR_AS_NO_LONGER_NEEDED magic_car

  next_carzzz:
  IF initial_create_car = 0

   IF counter_create_car = 151
   AND initial_car_selected = 0
counter_create_car = 105 //BIKE_BIKE
initial_car_selected = 1
   ENDIF

   IF counter_create_car = 105
   AND initial_car_selected = 0
counter_create_car = 110 //CAR_TAXI
initial_car_selected = 1
   ENDIF

   IF counter_create_car = 110 
   AND initial_car_selected = 0
counter_create_car = 128 //CAR_CABBIE
initial_car_selected = 1
   ENDIF

   IF counter_create_car = 128 
   AND initial_car_selected = 0
counter_create_car = 116 //CAR_POLICE
initial_car_selected = 1
   ENDIF

   IF counter_create_car = 116 
   AND initial_car_selected = 0
counter_create_car = 97 //CAR_FIRETRUCK
initial_car_selected = 1
   ENDIF

   IF counter_create_car = 97 
   AND initial_car_selected = 0
counter_create_car = 106 //CAR_AMBULANCE
initial_car_selected = 1
   ENDIF

   IF counter_create_car = 106 
   AND initial_car_selected = 0
counter_create_car = 119 //CAR_BANSHEE
initial_car_selected = 1
   ENDIF

   IF counter_create_car = 119 
   AND initial_car_selected = 0
counter_create_car = 101 //CAR_INFERNUS
initial_car_selected = 1
initial_create_car = 1
   ENDIF

   IF counter_create_car = 101 
   AND initial_car_selected = 0
counter_create_car = 92 //CAR_STINGER
initial_car_selected = 1
initial_create_car = 1
   ENDIF

  ELSE
   ++ counter_create_car

   IF counter_create_car > 153
counter_create_car = 90
   ENDIF

   IF counter_create_car = 140 //PLANE_AIRTRAIN
   OR counter_create_car = 141 //PLANE_DEADDODO
counter_create_car = 142
   ENDIF

   IF counter_create_car = 124 //TRAIN_SUBWAY
   OR counter_create_car = 125 //HELI_POLICE
counter_create_car = 126
   ENDIF

   IF counter_create_car = 131 //CAR_RCBANDIT 
counter_create_car = 132
   ENDIF

   IF counter_create_car = 147 //HELI
counter_create_car = 148
   ENDIF

  ENDIF
  flag_create_car = 1
  button_press_flag = 1
 ENDIF

 IF IS_BUTTON_PRESSED PAD2 LEFTSHOULDER1
 AND flag_create_car = 1
  IF NOT IS_CAR_DEAD magic_car
   GENERATE_RANDOM_INT_IN_RANGE 0 88 car_colour2
   CHANGE_CAR_COLOUR magic_car car_colour car_colour2 // 0 - 88
   ++car_colour
   IF car_colour > 87
car_colour = 0
   ENDIF
  ENDIF
 ENDIF

 IF NOT IS_BUTTON_PRESSED PAD2 RIGHTSHOULDER1
 AND button_press_flag = 1
  button_press_flag = 0
 ENDIF

 IF IS_BUTTON_PRESSED PAD2 RIGHTSHOULDER1
 AND flag_create_car = 1
 AND button_press_flag = 0
  IF IS_CAR_DEAD magic_car
   DELETE_CAR magic_car
  ELSE
   IF NOT IS_CHAR_IN_CAR scplayer magic_car
DELETE_CAR magic_car
   ELSE
MARK_CAR_AS_NO_LONGER_NEEDED magic_car
   ENDIF
  ENDIF 
  flag_create_car = 0
  initial_car_selected = 0
  button_press_flag = 1
 ENDIF
ENDIF


GOTO MainLoop

TERMINATE_THIS_SCRIPT

heeft iemand dat ook al opgemerkt, en weet iemand waarvoor dat is?

ik denk dat dat de scriptingsstijl van rockstar is en niet de opcodes enzo waar wij gebruik van maken.

EDIT: ik ga even een cleane san andreas map bekijken het kan zijn dat dit door een mod is.

EDIT 2: ook te vinden in een cleane installatie.

Bewerkt: door megadreams
Geplaatst:

Dat is in ieder geval voor de Playstation 2 bedoeld, want ik een comment zie je staan:

//"Loading vehicle, press pad2 leftshoulder1 to cancel"

Dat zijn knopjes voor op de PS2. Ik denk zelf dat dit mogelijk een script is voor het testen van San Andreas door de makers, het is een soort van carspawner. Ik heb het zelf nooit zien staan, eigenlijk.

Geplaatst: (bewerkt)

Ik denk eerder dat dit van GTAIII is, aan de voertuigen te zien wel. De DEADDODO en AIRTRAIN zijn vliegtuigen uit GTAIII, evenals de STINGER een auto is uit deze GTA.

Edit: Daarnaast beginnen de voertuigid's van GTA San Andreas bij 400, in dat script zitten de id's tussen de ~100 en 150.

Bewerkt: door Basssss
Geplaatst: (bewerkt)

Ik denk eerder dat dit van GTAIII is, aan de voertuigen te zien wel. De DEADDODO en AIRTRAIN zijn vliegtuigen uit GTAIII, evenals de STINGER een auto is uit deze GTA.

Ik twijfel tussen GTA3 en GTA VC, dit is wat ik denk:

GTA 3:

-Stinger (bestaat niet in GTA SA)

-PLANE_AIRTRAIN (verwijst denk ik naar de vliegtuigen die opstijgen en landen)

-PLANE_DEADDODO (verwijst denk ik naar de dodo waar bijna niet mee te vliegen is)

-TRAIN_SUBWAY (verwijst naar de subway en de trein in Portland)

GTA VC:

-Stinger (bestaat niet in GTA SA)

-PLANE_AIRTRAIN (verwijst denk ik naar de vliegtuigen die opstijgen en landen)

-BIKE_BIKE (geen moto's in GTA3)

-HELI_POLICE (geen helicopters in GTA3)

-HELI (geen helicopters in GTA3)

EDIT: waarschijnlijk weer een ongebruikt iets, en ja, zoals jullie weten laat Rockstar ongebruikt dingen nogal vaak staan, alsof ze geen zin hebben om het te verwijderen

Bewerkt: door Freaksken
Geplaatst:

105 is de id van de Cheetah in GTAIII, en in dat script staat achter id 105 "BIKE_BIKE". Dus ik denk dat BIKE_BIKE de Cheetah moet zijn.

Geplaatst:

105 is de id van de Cheetah in GTAIII, en in dat script staat achter id 105 "BIKE_BIKE". Dus ik denk dat BIKE_BIKE de Cheetah moet zijn.

Rockstar maakt veel fouten in ieder geval dus die // zal dan wel niet kloppen.

Geplaatst: (bewerkt)

GTA 3:

-Stinger (bestaat niet in GTA SA)

GTA VC:

-Stinger (bestaat niet in GTA SA)

Zeker wel. http://nl.wikigta.org/wiki/Puncture_Wounds

Euh, srry maar wat moet ik zien? dat is een stratum met spijkermatten

EDIT: ah nu snap ik wat je bedoelt, op de foto staat dat je 3 stingers hebt, maar dat slaat op de spijkermatten he en niet op de auto's en ik denk dat het hier wel om voertuigen gaat

Bewerkt: door Freaksken
Geplaatst:

Hoewel de voertuignummers duidelijk uit VC of III komen, is er duidelijk wel het een en ander veranderd aan de inhoud van dit bestand tussen VC en SA. Bijvoorbeeld de startcoordinaten zijn veranderd (volgens mij hebben deze zelfs nog nut in SA), en de commando's GET_PLAYER_COORDINATES e.d. zijn vervangen door GET_CHAR_COORDINATES. Dit is in lijn met het verwijderen van deze opcodes in San Andreas.

Verder gebruikt GTA4, hoewel deze dezelfde main.sc bijlevert als SA, toch een compleet andere versie van de .sc-taal.

  • 2 weken later...
Geplaatst: (bewerkt)

Ik heb ook een main.sc gevonden in Vice City dit is weer van die industrial alleen is de code wel wat anders.


// Test script for Industrial level

VAR_INT  player
VAR_INT  TEST_CAR
VAR_FLOAT x_float_m y_float_m z_float_m player_heading_debug debug_car_heading
VAR_INT magic_car button_press_flag car_colour car_colour2
VAR_INT flag_create_car initial_create_car initial_car_selected counter_create_car

x_float_m = 0.0
y_float_m = 0.0
z_float_m = 0.0
player_heading_debug = 0.0
debug_car_heading = 0.0

magic_car = 0
button_press_flag = 0
car_colour = 0
car_colour2 = 0
flag_create_car = 0
initial_create_car = 0
initial_car_selected = 0
counter_create_car = 151 //CAR_CHEETAH


SCRIPT_NAME mainscr

SET_INTRO_IS_PLAYING FALSE

CREATE_PLAYER 0 -880.0 -646.5 11.2 player

REQUEST_MODEL CAR_CHEETAH

DO_FADE 0 FADE_OUT

LOAD_SCENE -880.0 -646.5 13.2

WHILE NOT HAS_MODEL_LOADED CAR_CHEETAH

WAIT 0

ENDWHILE

CREATE_CAR CAR_CHEETAH -1138.406f -661.471f -100.0f TEST_CAR

MARK_MODEL_AS_NO_LONGER_NEEDED CAR_CHEETAH

DEBUG_ON

//LAUNCH_MISSION debug.sc

DO_FADE 1000 FADE_IN

MainLoop:

WAIT 0


IF IS_PLAYER_PLAYING player
 IF IS_BUTTON_PRESSED PAD2 RIGHTSHOULDER1
 AND flag_create_car = 0
 AND button_press_flag = 0
  GET_PLAYER_COORDINATES player x_float_m y_float_m z_float_m
  GET_PLAYER_HEADING player player_heading_debug
  IF player_heading_debug < 45.0
  AND player_heading_debug > 0.0
   y_float_m += 5.0
   debug_car_heading = 90.0
  ENDIF
  IF player_heading_debug < 360.0
  AND player_heading_debug > 315.0
   y_float_m += 5.0
   debug_car_heading = 90.0
  ENDIF
  IF player_heading_debug < 135.0
  AND player_heading_debug > 45.0
   x_float_m -= 5.0
   debug_car_heading = 180.0
  ENDIF
  IF player_heading_debug < 225.0
  AND player_heading_debug > 135.0
   y_float_m -= 5.0
   debug_car_heading = 270.0
  ENDIF
  IF player_heading_debug < 315.0
  AND player_heading_debug > 225.0
   x_float_m += 5.0
   debug_car_heading = 0.0
  ENDIF
  z_float_m = z_float_m + 0.6
  GET_GROUND_Z_FOR_3D_COORD x_float_m y_float_m z_float_m z_float_m
  REQUEST_MODEL counter_create_car
  WHILE NOT HAS_MODEL_LOADED counter_create_car

   WAIT 0

   PRINT_NOW LOADCAR 100 1 //"Loading vehicle, press pad2 leftshoulder1 to cancel"

   IF IS_BUTTON_PRESSED PAD2 LEFTSHOULDER1
//++ counter_create_car
GOTO next_carzzz
   ENDIF

  ENDWHILE

  CREATE_CAR counter_create_car x_float_m y_float_m z_float_m magic_car
  SET_CAR_HEADING magic_car debug_car_heading

  LOCK_CAR_DOORS magic_car CARLOCK_UNLOCKED

  MARK_MODEL_AS_NO_LONGER_NEEDED counter_create_car
  MARK_CAR_AS_NO_LONGER_NEEDED magic_car

  next_carzzz:
  IF initial_create_car = 0

   IF counter_create_car = 151
   AND initial_car_selected = 0
counter_create_car = 105 //BIKE_BIKE
initial_car_selected = 1
   ENDIF

   IF counter_create_car = 105
   AND initial_car_selected = 0
counter_create_car = 110 //CAR_TAXI
initial_car_selected = 1
   ENDIF

   IF counter_create_car = 110 
   AND initial_car_selected = 0
counter_create_car = 128 //CAR_CABBIE
initial_car_selected = 1
   ENDIF

   IF counter_create_car = 128 
   AND initial_car_selected = 0
counter_create_car = 116 //CAR_POLICE
initial_car_selected = 1
   ENDIF

   IF counter_create_car = 116 
   AND initial_car_selected = 0
counter_create_car = 97 //CAR_FIRETRUCK
initial_car_selected = 1
   ENDIF

   IF counter_create_car = 97 
   AND initial_car_selected = 0
counter_create_car = 106 //CAR_AMBULANCE
initial_car_selected = 1
   ENDIF

   IF counter_create_car = 106 
   AND initial_car_selected = 0
counter_create_car = 119 //CAR_BANSHEE
initial_car_selected = 1
   ENDIF

   IF counter_create_car = 119 
   AND initial_car_selected = 0
counter_create_car = 101 //CAR_INFERNUS
initial_car_selected = 1
initial_create_car = 1
   ENDIF

   IF counter_create_car = 101 
   AND initial_car_selected = 0
counter_create_car = 92 //CAR_STINGER
initial_car_selected = 1
initial_create_car = 1
   ENDIF

  ELSE
   ++ counter_create_car

   IF counter_create_car > 153
counter_create_car = 90
   ENDIF

   IF counter_create_car = 140 //PLANE_AIRTRAIN
   OR counter_create_car = 141 //PLANE_DEADDODO
counter_create_car = 142
   ENDIF

   IF counter_create_car = 124 //TRAIN_SUBWAY
   OR counter_create_car = 125 //HELI_POLICE
counter_create_car = 126
   ENDIF

   IF counter_create_car = 131 //CAR_RCBANDIT 
counter_create_car = 132
   ENDIF

   IF counter_create_car = 147 //HELI
counter_create_car = 148
   ENDIF

  ENDIF
  flag_create_car = 1
  button_press_flag = 1
 ENDIF

 IF IS_BUTTON_PRESSED PAD2 LEFTSHOULDER1
 AND flag_create_car = 1
  IF NOT IS_CAR_DEAD magic_car
   GENERATE_RANDOM_INT_IN_RANGE 0 88 car_colour2
   CHANGE_CAR_COLOUR magic_car car_colour car_colour2 // 0 - 88
   ++car_colour
   IF car_colour > 87
car_colour = 0
   ENDIF
  ENDIF
 ENDIF

 IF NOT IS_BUTTON_PRESSED PAD2 RIGHTSHOULDER1
 AND button_press_flag = 1
  button_press_flag = 0
 ENDIF

 IF IS_BUTTON_PRESSED PAD2 RIGHTSHOULDER1
 AND flag_create_car = 1
 AND button_press_flag = 0
  IF IS_CAR_DEAD magic_car
   DELETE_CAR magic_car
  ELSE
   IF NOT IS_PLAYER_IN_CAR player magic_car
DELETE_CAR magic_car
   ELSE
MARK_CAR_AS_NO_LONGER_NEEDED magic_car
   ENDIF
  ENDIF 
  flag_create_car = 0
  initial_car_selected = 0
  button_press_flag = 1
 ENDIF
ENDIF


GOTO MainLoop

TERMINATE_THIS_SCRIPT

In het script word ook verwezen naar debug.sc welke ik ook gevonden heb in de Vice City files:

MISSION_START

VAR_FLOAT x_float_m y_float_m z_float_m player_heading_debug debug_car_heading
VAR_INT magic_car button_press_flag car_colour car_colour2
VAR_INT flag_create_car initial_create_car initial_car_selected counter_create_car

x_float_m = 0.0
y_float_m = 0.0
z_float_m = 0.0
player_heading_debug = 0.0
debug_car_heading = 0.0

magic_car = 0
button_press_flag = 0
car_colour = 0
car_colour2 = 0
flag_create_car = 0
initial_create_car = 0
initial_car_selected = 0
counter_create_car = 105 //CAR_CHEETAH

SCRIPT_NAME debug

mission_start_debug:

WAIT 0

IF IS_PLAYER_PLAYING player
 IF IS_BUTTON_PRESSED PAD2 RIGHTSHOULDER1
 AND flag_create_car = 0
 AND button_press_flag = 0
  GET_PLAYER_COORDINATES player x_float_m y_float_m z_float_m
  GET_PLAYER_HEADING player player_heading_debug
  IF player_heading_debug < 45.0
  AND player_heading_debug > 0.0
   y_float_m += 5.0
   debug_car_heading = 90.0
  ENDIF
  IF player_heading_debug < 360.0
  AND player_heading_debug > 315.0
   y_float_m += 5.0
   debug_car_heading = 90.0
  ENDIF
  IF player_heading_debug < 135.0
  AND player_heading_debug > 45.0
   x_float_m -= 5.0
   debug_car_heading = 180.0
  ENDIF
  IF player_heading_debug < 225.0
  AND player_heading_debug > 135.0
   y_float_m -= 5.0
   debug_car_heading = 270.0
  ENDIF
  IF player_heading_debug < 315.0
  AND player_heading_debug > 225.0
   x_float_m += 5.0
   debug_car_heading = 0.0
  ENDIF
  z_float_m = z_float_m + 0.6
  GET_GROUND_Z_FOR_3D_COORD x_float_m y_float_m z_float_m z_float_m
  REQUEST_MODEL counter_create_car
  WHILE NOT HAS_MODEL_LOADED counter_create_car

   WAIT 0

   PRINT_NOW LOADCAR 100 1 //"Loading vehicle, press pad2 leftshoulder1 to cancel"

   IF IS_BUTTON_PRESSED PAD2 LEFTSHOULDER1
//++ counter_create_car
GOTO next_carzzz
   ENDIF

  ENDWHILE

  CREATE_CAR counter_create_car x_float_m y_float_m z_float_m magic_car
  SET_CAR_HEADING magic_car debug_car_heading

  LOCK_CAR_DOORS magic_car CARLOCK_UNLOCKED

  MARK_MODEL_AS_NO_LONGER_NEEDED counter_create_car
  MARK_CAR_AS_NO_LONGER_NEEDED magic_car

  next_carzzz:
  IF initial_create_car = 0

   IF counter_create_car = 105
   AND initial_car_selected = 0
counter_create_car = 110 //CAR_TAXI
initial_car_selected = 1
   ENDIF

   IF counter_create_car = 110 
   AND initial_car_selected = 0
counter_create_car = 128 //CAR_CABBIE
initial_car_selected = 1
   ENDIF

   IF counter_create_car = 128 
   AND initial_car_selected = 0
counter_create_car = 116 //CAR_POLICE
initial_car_selected = 1
   ENDIF

   IF counter_create_car = 116 
   AND initial_car_selected = 0
counter_create_car = 97 //CAR_FIRETRUCK
initial_car_selected = 1
   ENDIF

   IF counter_create_car = 97 
   AND initial_car_selected = 0
counter_create_car = 106 //CAR_AMBULANCE
initial_car_selected = 1
   ENDIF

   IF counter_create_car = 106 
   AND initial_car_selected = 0
counter_create_car = 119 //CAR_BANSHEE
initial_car_selected = 1
   ENDIF

   IF counter_create_car = 119 
   AND initial_car_selected = 0
counter_create_car = 101 //CAR_INFERNUS
initial_car_selected = 1
initial_create_car = 1
   ENDIF

   IF counter_create_car = 101 
   AND initial_car_selected = 0
counter_create_car = 92 //CAR_STINGER
initial_car_selected = 1
initial_create_car = 1
   ENDIF

   IF counter_create_car = 92 
   AND initial_car_selected = 0
counter_create_car = 90
initial_car_selected = 1
initial_create_car = 1
   ENDIF

  ELSE
   ++ counter_create_car

   IF counter_create_car > 146
counter_create_car = 105
initial_create_car = 0
   ENDIF

   IF counter_create_car = 140 //PLANE_AIRTRAIN
   OR counter_create_car = 141 //PLANE_DEADDODO
//   OR counter_create_car = 142 //BOAT_SPEEDER
//   OR counter_create_car = 143 //BOAT_REEFER
counter_create_car = 142
   ENDIF

   IF counter_create_car = 124 //TRAIN_SUBWAY
   OR counter_create_car = 125 //HELI_POLICE
counter_create_car = 126
   ENDIF

//   IF counter_create_car = 120 //BOAT_PREDATOR
   IF counter_create_car = 121 //CAR_BUS
counter_create_car = 122
   ENDIF

   //IF counter_create_car = 114 //CAR_BUGGY
   // counter_create_car = 116
   //ENDIF

   IF counter_create_car = 131 //CAR_RCBANDIT
counter_create_car = 132
   ENDIF
  ENDIF
  flag_create_car = 1
  button_press_flag = 1
 ENDIF

 IF IS_BUTTON_PRESSED PAD2 LEFTSHOULDER1
 AND flag_create_car = 1
  IF NOT IS_CAR_DEAD magic_car
   GENERATE_RANDOM_INT_IN_RANGE 0 88 car_colour2
   CHANGE_CAR_COLOUR magic_car car_colour car_colour2 // 0 - 88
   ++car_colour
   IF car_colour > 87
car_colour = 0
   ENDIF
  ENDIF
 ENDIF

 IF NOT IS_BUTTON_PRESSED PAD2 RIGHTSHOULDER1
 AND button_press_flag = 1
  button_press_flag = 0
 ENDIF

 IF IS_BUTTON_PRESSED PAD2 RIGHTSHOULDER1
 AND flag_create_car = 1
 AND button_press_flag = 0
  IF IS_CAR_DEAD magic_car
   DELETE_CAR magic_car
  ELSE
   IF NOT IS_PLAYER_IN_CAR player magic_car
DELETE_CAR magic_car
   ELSE
MARK_CAR_AS_NO_LONGER_NEEDED magic_car
   ENDIF
  ENDIF 
  flag_create_car = 0
  initial_car_selected = 0
  button_press_flag = 1
 ENDIF
ENDIF

GOTO mission_start_debug

MISSION_END 

EDIT: main.sc in san andreas komt overeen met die in Vice City alleen is in san andreas op sommige plaatsen // en /* */ gezet, om iets uit te zetten.

Of het werkelijk volledig hetzelfde is weet ik nog niet zeker maar dat test ik nog uit.

EDIT 2: De twee bovenstaande vars verschillen een beetje.

Bewerkt: door megadreams

Een reactie plaatsen

Je kan nu een reactie plaatsen en pas achteraf registreren. Als je al lid bent, log eerst in om met je eigen account een reactie te plaatsen.

Gast
Op dit onderwerp reageren...

×   Je hebt text geplaatst met opmaak.   Opmaak verwijderen

  Only 75 emoji are allowed.

×   Je link is automatisch ingevoegd.   In plaats daarvan weergeven als link

×   Je vorige bewerkingen zijn hersteld.   Alles verwijderen

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent actief   0 leden

    • Er zijn hier geen geregistreerde gebruikers aanwezig.
×
×
  • Create New...