MrGTAmodsgerman Posted January 11, 2014 Share Posted January 11, 2014 Hello guys, i wanna make a cool cleo mod that change the explosion of all cars in GTA San Andreas. Like in reallife,the car doestnt explode! the car burning only. But how i can get it to work?if the car has a good handling with fast demage then it must looks like this:http://www.youtube.com/watch?v=4_2joWhWuywi have a car with this handling but i want that mod. I search on google but i didnt find a mod that makes this nice effect.what i need to do to change the time? it have to work with the traffic drivers. any help? Link to comment Share on other sites More sharing options...
Lass2248 Posted January 12, 2014 Share Posted January 12, 2014 Try to use a check script like if the car is damaged enough to have black smoke the engine will automatically turn off and cannot be used anymore. Link to comment Share on other sites More sharing options...
Shmoopy Posted January 12, 2014 Share Posted January 12, 2014 http://gtaforums.com/topic/365936-the-realistic-car-explosion/ Link to comment Share on other sites More sharing options...
MrGTAmodsgerman Posted January 12, 2014 Author Share Posted January 12, 2014 Try to use a check script like if the car is damaged enough to have black smoke the engine will automatically turn off and cannot be used anymore. the car have to burn, like in the video the car burn but didnt explode like in the video. i make tried your comment but the car explode any code that stop only the explosion? :CARCRASH_110001: wait 0 ms 00D6: if 0256: player $PLAYER_CHAR defined 004D: jump_if_false @CARCRASH_11 00D6: if and00DF: actor $PLAYER_ACTOR driving 84A9: not actor $PLAYER_ACTOR driving_heli 84AB: not actor $PLAYER_ACTOR driving_plane 84C8: not actor $PLAYER_ACTOR driving_flying_vehicle 89AE: not actor $PLAYER_ACTOR driving_train 004D: jump_if_false @CARCRASH_11 03C0: [email protected] = actor $PLAYER_ACTOR car :CARCRASH_120001: wait 250 ms 00D6: if 8185: not car [email protected] health >= 250004D: jump_if_false @CARCRASH_1102D4: car [email protected] turn_off_engine 0002: jump @CARCRASH_11 i make this Professor Calculus 1 Link to comment Share on other sites More sharing options...
MrGTAmodsgerman Posted January 12, 2014 Author Share Posted January 12, 2014 http://gtaforums.com/topic/365936-the-realistic-car-explosion/ i have this mod but it doesnt do what i want Link to comment Share on other sites More sharing options...
MrGTAmodsgerman Posted January 19, 2014 Author Share Posted January 19, 2014 http://gtaforums.com/topic/365936-the-realistic-car-explosion/ i have this mod but it doesnt do what i want // This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007{$VERSION 3.1.0027}{$CLEO .cs}//-------------MAIN---------------0000: NOP03A4: name_thread 'CARCRASH' :CARCRASH_110001: wait 0 ms 00D6: if 0256: player $PLAYER_CHAR defined 004D: jump_if_false @CARCRASH_11 00D6: if and00DF: actor $PLAYER_ACTOR driving 84A9: not actor $PLAYER_ACTOR driving_heli 84AB: not actor $PLAYER_ACTOR driving_plane 84C8: not actor $PLAYER_ACTOR driving_flying_vehicle 89AE: not actor $PLAYER_ACTOR driving_train 004D: jump_if_false @CARCRASH_11 03C0: [email protected] = actor $PLAYER_ACTOR car 0227: [email protected] = car [email protected] health :CARCRASH_120001: wait 0 ms 004D: jump_if_false @CARCRASH_12 00D6: if 0256: player $PLAYER_CHAR defined 004D: jump_if_false @CARCRASH_12 00D6: if 00DF: actor $PLAYER_ACTOR driving00D6: if0227: [email protected] = 1002D4: car [email protected] turn_off_engine0325: [email protected] = create_car [email protected] fire0001: wait 1000 ms0002: jump @CARCRASH_13 :CARCRASH_130001: wait 0 ms 00D6: if 0256: player $PLAYER_CHAR defined 00D6: if 80DF: not actor $PLAYER_ACTOR driving01C3: remove_references_to_car [email protected] // Like turning a car into any random car that doesnt work PLEASE HELP!!! Game crash Link to comment Share on other sites More sharing options...
jakejohnsonusa Posted February 1, 2014 Share Posted February 1, 2014 (edited) I did this as a SA-MP script in my server. I'll explain it and then, if you know how to begin with it, you can try creating the code. 1. Get all cars in a streamed range (not sure how to do this myself, but I'm a newer scripter). 2. Make sure the car is in streamed range (can't remember the range to use sorry), if it's not remove_references_to_car 3. Use opcode 03ED on the car (this will disable it from exploding when flipped). 3. Check if the vehicle is bellow a health of 250, this is when the fire will begin (249.99 and down). 4. If the vehicle is bellow 250, then set it to 240 (this will loop the health so the vehicle stays low enough to be on fire, but not low enough to make it explode). 5. You can use opcode 02CF to create fire around the car for more realism. 6. If you want the explosions, try adding a variable to count how many times the vehicle has been bellow 250 (each loop +=1), maybe after 60 times, have it create_explosion at the cars location. 7. Have this loop. Edited February 1, 2014 by jakejohnsonusa Link to comment Share on other sites More sharing options...
ZAZ Posted February 2, 2014 Share Posted February 2, 2014 one more idea: you can change the visuell effects of car explosion with molotov effect by edit effects.fxp 2 effects will be shown if car is wrecked: explosion_medium explosion_fuel_car grenades and rpg are using diffrent explosion effects but the explosion sound and the tiny jump will still happen olmstead007 1 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