Vilespring Posted October 9, 2014 Share Posted October 9, 2014 (edited) I am very new to GTA SA, and I already feel the need to make my own mod! So, I've downloaded a model of the patriot that can have its color changed, primary color is body, secondary is wheels. I then had to go into the carcols.dat and make the patriot spawn the same color it did before, instead of bright red. (I did this alright, a tad bit lighter than the unmodded one. I'll fix it later) I was conformed this was working when it spawns at the military base, and white Patriots spawned via garage mods changed to the default color in pay and sprays. I then ran into a dead end. I cannot get the Patriot into transfender. It says cannot be modded. I added this into the carmods.dat, and still nothing. ....nebula, bnt_b_sc_m, exh_b_l, exh_b_m, exh_b_t, exh_b_ts, nto_b_l, nto_b_s, nto_b_tw, spl_b_bar_m, spl_b_bbr_l, spl_b_bbr_m, spl_b_mar_m, wg_l_b_sskpatriot,oceanic, nto_b_l, nto_b_s, nto_b_tw ... I'm confused, because doesn't this mean it is recongnized by the game as being moddable, but unable to have body parts added? All I really want is color selection, but being able to put different tires on it would be a plus. Maybe even, stretching it a bit here, hydraulics? Edited October 9, 2014 by Vilespring Link to comment Share on other sites More sharing options...
AVTOMAN Posted October 9, 2014 Share Posted October 9, 2014 (edited) You have to put the parameters in carmod.dat, you can not put: patriot, ??? -> patriot, any parameters Patriot is not a civilian vehicle: you can not modify in TransFender... You have to change the last parameter of vehicles.ide from -1 to 0, to enter into TransFender: 470, patriot, patriot, car, PATRIOT, PATRIOT, null, ignore, 2, 0, 0, -1, 0.894, 0.894, 0 However, you can only get into it. In fact, the main.scm does not allow it equally: if and84C8: not actor $PLAYER_ACTOR driving_flying_vehicle84A7: not actor $PLAYER_ACTOR driving_boat8969: not car $CARMOD_CAR is_noncivilian_vehicle8975: not car $CARMOD_CAR emergency_vehicleelse_jump @CARMOD_2466gosub @CARMOD_23687 Main.scm also controls which vehicles have the second color, but if they are not in the list then assigns equally the second color, for example the vehicle Bandito, which is not in carcols.dat LIST: ID: 422 = bobcat ID: 423 = mrwhoop ID: 424 = bfinject ID: 429 = banshee ID: 442 = romero ID: 466 = glendale ID: 467 = oceanic ID: 471 = quad ID: 479 = regina ID: 480 = comet ID: 483 = camper ID: 489 = rancher ID: 491 = virgo ID: 492 = greenwoo ID: 494 = hotring ID: 495 = sandking ID: 496 = blistac ID: 502 = hotrina ID: 503 = hotrinb ID: 504 = bloodra ID: 517 = majestic ID: 522 = nrg500 ID: 525 = towtruck ID: 536 = blade ID: 541 = bullet ID: 554 = firela ID: 557 = primo ID: 567 = savanna ID: 573 = duneride ID: 575 = broadway ID: 576 = tornado ID: 583 = tug ID: 603 = phoenix Edited October 9, 2014 by Automan Link to comment Share on other sites More sharing options...
Vilespring Posted October 10, 2014 Author Share Posted October 10, 2014 (edited) Alright, so I've changed the parmeter to 0, but still getting unmoddable notification. What else do I need to do to be able to paint it in the garage? and if I wanted to change both colors, just add the patriot to the list above, by adding ID: 470 = patriot What tool do I need to edit Main.scm? Edited October 10, 2014 by Vilespring Link to comment Share on other sites More sharing options...
ZAZ Posted October 11, 2014 Share Posted October 11, 2014 (edited) i try to help in this way: normally the monster truck won't get accepted in tuning shops but i installed a mod for the monster that comes with paintjobs and let the monster drive into tuningshop to get the paintjobs i found out that it was because of an entry of the custom handling line: MTRUCK_A 5000.0 20000.0 3.0 0.0 0.0 -0.35 80 0.65 0.85 0.55 5 120.0 50.0 25.0 4 P 7.0 0.45 0 35.0 1.5 0.07 0.0 0.45 -0.3 0.5 0.3 0.4 0.35 40000 00220081 00740040 0 1 20entry of modelFlags (00220081) or handlingflag(00740040) or both made the trickcan't remember and actually i have no access to my PC have a look to cerberas handling definitions and btw. the Ford E-250 '86 Monster Truck is a very nice mod with excellent paintjobs and if I wanted to change both colors, just add the patriot to the list above, by adding ID: 470 = patriot What tool do I need to edit Main.scm? download and install sannybuilderstudying tutorial makes sense then make backup of GTASA\data\script\main.scm and GTASA\data\script\script.img then open main.scm with sannybuilder scroll down to line 525006 there you find the script block that checks for car id's :CARMOD_2233700D6: if or04A3: $10444 == 401 // $ == any 04A3: $10444 == 402 // $ == any 04A3: $10444 == 404 // $ == any 04A3: $10444 == 405 // $ == any 04A3: $10444 == 409 // $ == any 04A3: $10444 == 410 // $ == any 004D: jump_if_false @CARMOD_22403 0004: $10443 = 1 :CARMOD_2240300D6: if or04A3: $10444 == 411 // $ == any 04A3: $10444 == 412 // $ == any 04A3: $10444 == 413 // $ == any 04A3: $10444 == 415 // $ == any 04A3: $10444 == 418 // $ == any 04A3: $10444 == 419 // $ == any 004D: jump_if_false @CARMOD_22469 0004: $10443 = 1 :CARMOD_2246900D6: if or04A3: $10444 == 421 // $ == any 04A3: $10444 == 426 // $ == any 04A3: $10444 == 434 // $ == any 04A3: $10444 == 436 // $ == any 04A3: $10444 == 440 // $ == any 004D: jump_if_false @CARMOD_22527 0004: $10443 = 1 :CARMOD_2252700D6: if or04A3: $10444 == 444 // $ == any 04A3: $10444 == 445 // $ == any 04A3: $10444 == 451 // $ == any 04A3: $10444 == 457 // $ == any 04A3: $10444 == 458 // $ == any 04A3: $10444 == 461 // $ == any 004D: jump_if_false @CARMOD_22593 0004: $10443 = 1 :CARMOD_2259300D6: if or04A3: $10444 == 462 // $ == any 04A3: $10444 == 463 // $ == any 04A3: $10444 == 468 // $ == any 04A3: $10444 == 474 // $ == any 04A3: $10444 == 475 // $ == any 04A3: $10444 == 477 // $ == any 004D: jump_if_false @CARMOD_22659 0004: $10443 = 1 :CARMOD_2265900D6: if or04A3: $10444 == 478 // $ == any 04A3: $10444 == 481 // $ == any 04A3: $10444 == 482 // $ == any 04A3: $10444 == 500 // $ == any 04A3: $10444 == 506 // $ == any 004D: jump_if_false @CARMOD_22717 0004: $10443 = 1 :CARMOD_2271700D6: if or04A3: $10444 == 507 // $ == any 04A3: $10444 == 510 // $ == any 04A3: $10444 == 516 // $ == any 04A3: $10444 == 518 // $ == any 04A3: $10444 == 521 // $ == any 04A3: $10444 == 526 // $ == any 004D: jump_if_false @CARMOD_22783 0004: $10443 = 1 :CARMOD_2278300D6: if or04A3: $10444 == 527 // $ == any 04A3: $10444 == 529 // $ == any 04A3: $10444 == 530 // $ == any 04A3: $10444 == 531 // $ == any 04A3: $10444 == 533 // $ == any 04A3: $10444 == 534 // $ == any 004D: jump_if_false @CARMOD_22849 0004: $10443 = 1 :CARMOD_2284900D6: if or04A3: $10444 == 539 // $ == any 04A3: $10444 == 540 // $ == any 04A3: $10444 == 543 // $ == any 04A3: $10444 == 545 // $ == any 04A3: $10444 == 546 // $ == any 004D: jump_if_false @CARMOD_22907 0004: $10443 = 1 :CARMOD_2290700D6: if or04A3: $10444 == 547 // $ == any 04A3: $10444 == 550 // $ == any 04A3: $10444 == 551 // $ == any 04A3: $10444 == 552 // $ == any 04A3: $10444 == 555 // $ == any 04A3: $10444 == 556 // $ == any 004D: jump_if_false @CARMOD_22973 0004: $10443 = 1 :CARMOD_2297300D6: if or04A3: $10444 == 559 // $ == any 04A3: $10444 == 560 // $ == any 04A3: $10444 == 561 // $ == any 04A3: $10444 == 509 // $ == any 04A3: $10444 == 562 // $ == any 04A3: $10444 == 558 // $ == any 004D: jump_if_false @CARMOD_23039 0004: $10443 = 1 :CARMOD_2303900D6: if or04A3: $10444 == 565 // $ == any 04A3: $10444 == 571 // $ == any 04A3: $10444 == 572 // $ == any 04A3: $10444 == 574 // $ == any 04A3: $10444 == 579 // $ == any 04A3: $10444 == 580 // $ == any 004D: jump_if_false @CARMOD_23105 0004: $10443 = 1 :CARMOD_2310500D6: if or04A3: $10444 == 581 // $ == any 04A3: $10444 == 582 // $ == any 04A3: $10444 == 585 // $ == any 04A3: $10444 == 586 // $ == any 04A3: $10444 == 589 // $ == any 04A3: $10444 == 543 // $ == any 004D: jump_if_false @CARMOD_23171 0004: $10443 = 1 :CARMOD_2317100D6: if or04A3: $10444 == 587 // $ == any 04A3: $10444 == 600 // $ == any 04A3: $10444 == 602 // $ == any 04A3: $10444 == 420 // $ == any 04A3: $10444 == 400 // $ == any 04A3: $10444 == 439 // $ == any 004D: jump_if_false @CARMOD_23237 0004: $10443 = 1 :CARMOD_2323700D6: if or04A3: $10444 == 535 // $ == any 04A3: $10444 == 542 // $ == any 04A3: $10444 == 549 // $ == any 04A3: $10444 == 438 // $ == any 004D: jump_if_false @CARMOD_23287 0004: $10443 = 1 :CARMOD_2328700D6: if or04A3: $10444 == 422 // $ == any 04A3: $10444 == 423 // $ == any 04A3: $10444 == 424 // $ == any 04A3: $10444 == 429 // $ == any 04A3: $10444 == 442 // $ == any 04A3: $10444 == 536 // $ == any 004D: jump_if_false @CARMOD_23353 0004: $10443 = 2 :CARMOD_2335300D6: if or04A3: $10444 == 466 // $ == any 04A3: $10444 == 467 // $ == any 04A3: $10444 == 471 // $ == any 04A3: $10444 == 479 // $ == any 04A3: $10444 == 483 // $ == any 04A3: $10444 == 489 // $ == any 004D: jump_if_false @CARMOD_23419 0004: $10443 = 2 :CARMOD_2341900D6: if or04A3: $10444 == 491 // $ == any 04A3: $10444 == 492 // $ == any 04A3: $10444 == 494 // $ == any 04A3: $10444 == 495 // $ == any 04A3: $10444 == 496 // $ == any 04A3: $10444 == 502 // $ == any 004D: jump_if_false @CARMOD_23485 0004: $10443 = 2 :CARMOD_2348500D6: if or04A3: $10444 == 503 // $ == any 04A3: $10444 == 504 // $ == any 04A3: $10444 == 517 // $ == any 04A3: $10444 == 522 // $ == any 04A3: $10444 == 525 // $ == any 04A3: $10444 == 480 // $ == any 004D: jump_if_false @CARMOD_23551 0004: $10443 = 2 :CARMOD_2355100D6: if or04A3: $10444 == 541 // $ == any 04A3: $10444 == 517 // $ == any 04A3: $10444 == 554 // $ == any 04A3: $10444 == 567 // $ == any 004D: jump_if_false @CARMOD_23601 0004: $10443 = 2 :CARMOD_2360100D6: if or04A3: $10444 == 573 // $ == any 04A3: $10444 == 575 // $ == any 04A3: $10444 == 576 // $ == any 04A3: $10444 == 583 // $ == any 04A3: $10444 == 603 // $ == any 004D: jump_if_false @CARMOD_23659 0004: $10443 = 2 :CARMOD_2365900D6: if 04A3: $10444 == 557 // $ == any 004D: jump_if_false @CARMOD_23685 0004: $10443 = 2 :CARMOD_236850051: return then change a car id with this of patriot the first for example: 04A3: $10444 == 470instead 04A3: $10444 == 401(consider that then the car of the changed id can't have the colormenue)then save the source txt file, then click on "compile+copy" (game must be off for compiling script.img) then test it savegames should still work because you only changed a value Edited October 11, 2014 by ZAZ CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now