spaceeinstein 1,800 Posted February 9, 2017 Share Posted February 9, 2017 (edited) Introduction Exclusive Bang is a modification for Grand Theft Auto III and Grand Theft Auto: Vice City utilizing the CLEO Library. The built-in cheats "BANGBANGBANG" for GTA III and "BIGBANG" for Vice City blow up all vehicles but they could be better if they did not blow up your own vehicle. With this mod, type "BIGBANG" in GTA III or "BANGBANGBANG" in Vice City to blow up all vehicles except the one you are currently in. Installation for GTA III Download the mod for GTA III at GTAGarage. Download CLEO for GTA III at http://cleo.li/. From the CLEO download, copy III.CLEO.asi into GTA III's folder. If CLEO.asi already exists in the folder, you must delete that file. From this mod download, place the CLEO folder containing SEBang.cs into GTA III's folder. This mod has been tested only on III v1.00 US. Installation for Vice City Download the mod for Vice City at GTAGarage. Download CLEO for Vice City at http://cleo.li/. From the CLEO download, copy VC.CLEO.asi into Vice City's folder. If CLEO.asi already exists in the folder, you must delete that file. From this mod download, place the CLEO folder containing SEBang.cs into Vice City's folder. This mod has been tested only on VC v1.00 US. Source for GTA III Sanny Builder constVEHICLE_POOL = 0x9430DCVEHICLE_SIZE = 0x5A8P_ENTITY_POOL = [email protected]_VAR = [email protected]_COUNT = [email protected]_FLAG = [email protected]_COUNT = [email protected]_ENTITIES = [email protected]_FLAG = [email protected]_ENTITY = [email protected]_ENTITY_POOL : intTEMP_VAR : intMAX_COUNT : intCURRENT_COUNT : intP_ENTITIES : intCURRENT_ENTITY : intend0000:while true wait 10 if 0ADC: test_cheat "BIGBANG" then 0ACA: show_text_box "Cheat activated" gosub @EXPLODE endend:EXPLODE// get entity pool pointer0A8D: P_ENTITY_POOL = read_memory VEHICLE_POOL size 4 virtual_protect 0// get maximum entity countTEMP_VAR = P_ENTITY_POOLTEMP_VAR += 80A8D: MAX_COUNT = read_memory TEMP_VAR size 4 virtual_protect 0CURRENT_COUNT = 0// get flag pointerTEMP_VAR = P_ENTITY_POOLTEMP_VAR += 40A8D: P_FLAG = read_memory TEMP_VAR size 4 virtual_protect 0// get entity pointerTEMP_VAR = P_ENTITY_POOL0A8D: P_ENTITIES = read_memory TEMP_VAR size 4 virtual_protect 0// for each entitywhile if CURRENT_COUNT GTA3script {LVAR_INT p_entity_pool, temp_var, max_count, p_flag, current_count, p_entities, current_flag, current_entityNOPbang_loop: WAIT 10 IF TEST_CHEAT "BIGBANG" PRINT_HELP_STRING "Cheat activated" GOSUB explode ENDIF GOTO bang_loopexplode: // get entity pool pointer READ_MEMORY 0x9430DC 4 0 p_entity_pool // get maximum entity count temp_var = p_entity_pool + 8 READ_MEMORY temp_var 4 0 max_count current_count = 0 // get flag pointer temp_var = p_entity_pool + 4 READ_MEMORY temp_var 4 0 p_flag // get entity pointer temp_var = p_entity_pool READ_MEMORY temp_var 4 0 p_entities // for each entity WHILE current_count Source for Vice City Sanny Builder constVEHICLE_POOL = 0xA0FDE4VEHICLE_SIZE = 0x5DCP_ENTITY_POOL = [email protected]_VAR = [email protected]_COUNT = [email protected]_FLAG = [email protected]_COUNT = [email protected]_ENTITIES = [email protected]_FLAG = [email protected]_ENTITY = [email protected]_1 = [email protected]_2 = [email protected]_3 = [email protected]_ENTITY_POOL : intTEMP_VAR : intMAX_COUNT : intCURRENT_COUNT : intP_ENTITIES : intCURRENT_ENTITY : intend0000:while true wait 10 0A8D: VAL_1 = read_memory 0xA10942 size 4 virtual_protect 0 0A8D: VAL_2 = read_memory 0xA10946 size 4 virtual_protect 0 0A8D: VAL_3 = read_memory 0xA1094A size 4 virtual_protect 0 if and VAL_1 == 0x42414E47 // bang VAL_2 == 0x42414E47 // bang VAL_3 == 0x42414E47 // bang then 0A8C: write_memory 0xA1094D size 1 value 0x20 virtual_protect 1 0ACA: show_text_box "Cheat activated" gosub @EXPLODE endend:EXPLODE// get entity pool pointer0A8D: P_ENTITY_POOL = read_memory VEHICLE_POOL size 4 virtual_protect 0// get maximum entity countTEMP_VAR = P_ENTITY_POOLTEMP_VAR += 80A8D: MAX_COUNT = read_memory TEMP_VAR size 4 virtual_protect 0CURRENT_COUNT = 0// get flag pointerTEMP_VAR = P_ENTITY_POOLTEMP_VAR += 40A8D: P_FLAG = read_memory TEMP_VAR size 4 virtual_protect 0// get entity pointerTEMP_VAR = P_ENTITY_POOL0A8D: P_ENTITIES = read_memory TEMP_VAR size 4 virtual_protect 0// for each entitywhile if CURRENT_COUNT GTA3script {LVAR_INT p_entity_pool, temp_var, max_count, p_flag, current_count, p_entities, current_flag, current_entity, val_1, val_2, val_3NOPbang_loop: WAIT 10 READ_MEMORY 0xA10942 4 0 val_1 READ_MEMORY 0xA10946 4 0 val_2 READ_MEMORY 0xA1094A 4 0 val_3 IF val_1 = 0x42414E47 // bang AND val_2 = 0x42414E47 // bang AND val_3 = 0x42414E47 // bang WRITE_MEMORY 0xA1094D 1 0x20 1 PRINT_HELP_STRING "Cheat activated" GOSUB explode ENDIF GOTO bang_loopexplode: // get entity pool pointer READ_MEMORY 0xA0FDE4 4 0 p_entity_pool // get maximum entity count temp_var = p_entity_pool + 8 READ_MEMORY temp_var 4 0 max_count current_count = 0 // get flag pointer temp_var = p_entity_pool + 4 READ_MEMORY temp_var 4 0 p_flag // get entity pointer temp_var = p_entity_pool READ_MEMORY temp_var 4 0 p_entities // for each entity WHILE current_count Thanks to AmanSin001 for the initial idea. Edited February 9, 2017 by spaceeinstein 16 Link to post Share on other sites
Sneed 12,768 Posted February 9, 2017 Share Posted February 9, 2017 tear gas hurting people next plz. 1 Link to post Share on other sites
dkluin 29,735 Posted February 9, 2017 Share Posted February 9, 2017 That's a nice change, I like it. Link to post Share on other sites
Natasha 1,004 Posted February 9, 2017 Share Posted February 9, 2017 Brilliant. Always gave me amusement in truth! Even if it was your own car. Link to post Share on other sites
Silent 15,839 Posted February 9, 2017 Share Posted February 9, 2017 That name sounds pretty kinky though. 10 Link to post Share on other sites
gts. 2,305 Posted February 10, 2017 Share Posted February 10, 2017 Nice. Rather than a new mod is a fix, isn't? Link to post Share on other sites
stef_92 931 Posted February 17, 2017 Share Posted February 17, 2017 Nice. Rather than a new mod is a fix, isn't?No, it's a mod - it doesn't FIX anything. There's nothing to be fixed here. 1 Link to post Share on other sites
Jimmy 3,405 Posted February 17, 2017 Share Posted February 17, 2017 Nice idea spaceeinstein. You should change the name though. Link to post Share on other sites
DEALUX 2,554 Posted February 17, 2017 Share Posted February 17, 2017 I was imagining being able to bring a prostitute home or something. 1 Link to post Share on other sites
gts. 2,305 Posted February 17, 2017 Share Posted February 17, 2017 Nice. Rather than a new mod is a fix, isn't? No, it's a mod - it doesn't FIX anything. There's nothing to be fixed here. It fixes in some way that your current vehicle doesn't explodes with the cheat. So, I consider it a fix IMO, doesn't mean that you should consider this a fix just like me but anyway enough offtopic with this. Link to post Share on other sites
Silent 15,839 Posted February 18, 2017 Share Posted February 18, 2017 Maybe not strictly a fix, more like a design choice improvement. Link to post Share on other sites
crashoverride93 120 Posted February 18, 2017 Share Posted February 18, 2017 You know maybe it would be considered more of a fix if it were an asi instead of a Cleo script. But then again who knows. Link to post Share on other sites
stef_92 931 Posted February 18, 2017 Share Posted February 18, 2017 You know maybe it would be considered more of a fix if it were an asi instead of a Cleo script. But then again who knows.You can have the same thing as an asi and Cleo script. In fact there's no difference (in the final result). 1 Link to post Share on other sites
Rachel Amber 668 Posted February 19, 2017 Share Posted February 19, 2017 Can you release tear gas fix? Link to post Share on other sites
spaceeinstein 1,800 Posted March 2, 2017 Author Share Posted March 2, 2017 For those who wanted me to release my more potent tear gas mod, check it out here. 2 Link to post Share on other sites
crashoverride93 120 Posted March 3, 2017 Share Posted March 3, 2017 (edited) You know maybe it would be considered more of a fix if it were an asi instead of a Cleo script. But then again who knows. You can have the same thing as an asi and Cleo script. In fact there's no difference (in the final result).What I was saying was I think it would be considered a more of fix if it was an asi rather then a Cleo script considering that 3 and vice city load asi's natively meaning no need for the added Cleo library. I was talking about what silent and gts were talking about. Edited March 3, 2017 by crashoverride93 Link to post Share on other sites