Jump to content

Changing vehicles in missions with vehicle binding


MaestroMaior

Recommended Posts

MaestroMaior

Good evening everyone! the question arose of how to replace Sweet's car in the Drive-Thru mission with Perenial? Writes that 1 parameter is missing, I think that just $Sweet_Car is missing, but I don’t know how to fix it

Link to comment
Share on other sites

 

you replaced $SWEET_CAR with #PEREN , respectively you have deleted the $SWEET_CAR entry

THIS IS WRONG

Car.Create(#PEREN, 2508.7, -1671.7, 12.3)
Car.SetImmunities(#PEREN, 0, 1, 0, 0, 0)
0229: set_car #PEREN primary_color_to 59 secondary_color_to 34 
Car.Angle(#PEREN) = 166.9
053F: set_car #PEREN tires_vulnerability 0

 

 

you should change only #GREENWOO to #PEREN

054C: use_GXT_table 'SWEET3' 
Model.Load(#PEREN)

:SWEET3_2003
if 
   not Model.Available(#PEREN)
jf @SWEET3_2030 
wait 0 
jump @SWEET3_2003 

:SWEET3_2030
014C: set_parked_car_generator $2765 cars_to_generate_to 0 
0395: clear_area 1 at 2516.636 -1675.691 13.0101 radius 15.0 
0395: clear_area 1 at 2508.795 -1671.707 12.3892 radius 15.0 
0674: set_car_model #PEREN numberplate "GROVE4L_" 
$SWEET_CAR = Car.Create(#PEREN, 2508.7, -1671.7, 12.3)
Car.SetImmunities($SWEET_CAR, 0, 1, 0, 0, 0)
0229: set_car $SWEET_CAR primary_color_to 59 secondary_color_to 34 
Car.Angle($SWEET_CAR) = 166.9
053F: set_car $SWEET_CAR tires_vulnerability 0 
Model.Destroy(#PEREN)
02E4: load_cutscene_data 'SWEET2A' 

 

 

 

 

 

Edited by ZAZ
  • Like 1
Link to comment
Share on other sites

MaestroMaior

@ZAZ Thank you very much for the answer, you can help with one problem, I don’t understand how to edit the cars in the missions with Caesar’s races, because I replaced the cars and it seems to be normal, but at the start of the race they become standard again, I looked at what later refers to some other mission with a race but I don’t understand where to find it and how to edit it there 

Link to comment
Share on other sites

These are two missions
In MISSION 36 Lowrider (High Stakes) Cesar leads CJ to the race start

 

Wenn you enter the red marker, then MISSION 36 ends, the cars will be removed
and MISSION 35 Race Tournament / 8-track / Dirt Track starts
and the ids for the new carspawn are given by this race setup

Spoiler
:CPRACE_21070
0007: 454@ = 1492.407 
0007: 536@ = -1872.365 
0007: 618@ = 15.8 
0007: 455@ = 1384.263 
0007: 537@ = -1872.015 
0007: 619@ = 12.3828 
0007: 456@ = 1075.442 
0007: 538@ = -1851.978 
0007: 620@ = 12.391 
0007: 457@ = 647.3663 
0007: 539@ = -1734.185 
0007: 621@ = 12.4844 
0007: 458@ = 627.2474 
0007: 540@ = -1228.55 
0007: 622@ = 16.9893 
0007: 459@ = 497.0043 
0007: 541@ = -1282.818 
0007: 623@ = 14.6513 
0007: 460@ = 500.412 
0007: 542@ = -1326.649 
0007: 624@ = 14.8178 
0007: 461@ = 401.0033 
0007: 543@ = -1404.457 
0007: 625@ = 32.8973 
0007: 462@ = 420.3067 
0007: 544@ = -1450.714 
0007: 626@ = 29.5842 
0007: 463@ = 329.1244 
0007: 545@ = -1631.112 
0007: 627@ = 32.1247 
0007: 464@ = 366.4376 
0007: 546@ = -1647.349 
0007: 628@ = 31.7176 
0007: 465@ = 369.98 
0007: 547@ = -2030.34 
0007: 629@ = 5.55 
0006: 250@ = 12 
0006: 256@ = 6 
04AF: 700@ = 133 // = constant 
04AF: 701@ = 217 // = constant 
04AF: 702@ = 157 // = constant 
04AF: 703@ = 248 // = constant 
04AF: 704@ = 290 // = constant 
04AF: 705@ = 7 // = constant 
04AF: 716@ = 517 // = constant 
04AF: 717@ = 534 // = constant 
04AF: 718@ = 517 // = constant 
04AF: 719@ = 536 // = constant 
04AF: 720@ = 567 // = constant 
04AF: 721@ = 536 // = constant 
0006: 209@ = 6 
0006: 215@ = 0 
0006: 210@ = 8 
0006: 216@ = 0 
0006: 211@ = 2 
0006: 217@ = 1 
0006: 212@ = 0 
0006: 218@ = 0 
0006: 213@ = 3 
0006: 219@ = 3 
0002: jump @CPRACE_46262

 

 

these are the car ids
 

04AF: 716@ = 517 // = constant
04AF: 717@ = 534 // = constant
04AF: 718@ = 517 // = constant
04AF: 719@ = 536 // = constant
04AF: 720@ = 567 // = constant
04AF: 721@ = 536 // = constant

 

 

  • Like 1
Link to comment
Share on other sites

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

×
×
  • Create New...

Important Information

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