ZAZ Posted November 5, 2021 Author Share Posted November 5, 2021 On 11/4/2021 at 12:22 PM, ED9M said: I want the object to stay in place and not disappear. stay in which place? also, you throw the object, how should it stay then? CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
ED9M Posted November 7, 2021 Share Posted November 7, 2021 On 11/5/2021 at 3:09 PM, ZAZ said: stay in which place? also, you throw the object, how should it stay then? After falling, the object must be in the place where it fell. I want everything to be realistic. In this case, the actor must throw the fire into the car. And the fire must not disappear. I already assume that it is possible to create the same object in its place after the fall. But I haven't tested how this will work yet. I don't understand why objects in GTA San Andreas disappear after being thrown. In GTA 4 and GTA 5, objects do not disappear after being thrown. In this case, fire is an object with red smoke. Link to comment Share on other sites More sharing options...
ZAZ Posted November 7, 2021 Author Share Posted November 7, 2021 10 hours ago, ED9M said: I don't understand why objects in GTA San Andreas disappear after being thrown. The SA objects have different behavior, depending to settings inside object.dat Many of them doesn't collide with map (ground, buildings) But the object of your script is 3065, BBALL_col It collides with everything and it's possible to check when it collides It doesn't disappear If it disappear, then it's because of your codes after the throwing 11 hours ago, ED9M said: After falling, the object must be in the place where it fell. I want everything to be realistic. In this case, the actor must throw the fire into the car. And the fire must not disappear. I already assume that it is possible to create the same object in its place after the fall. But I haven't tested how this will work yet. disable collision, when it collide then the object freeze at position in the moment of the collision if 04DA: has_object 0@ collided then 0382: set_object 0@ collision_detection 0 end or read position and create explosion or particle effect at the collisions position if 04DA: has_object 0@ collided then 01BB: store_object 0@ position_to 14@ 15@ 16@ 064B: 20@ = create_particle "explosion_molotov" at 14@ 15@ 16@ type 4 064F: make_temp_particle_visible_and_remove_references 20@ end Try the script below, it contains the codes of your post But this time it's a complete script Press backspace to spawn actor, car and object infront of player_actor The actor throws the BBALL_col to the car The object collision will be disabled for 1500ms, in the moment of collision and object position will be read 5 seconds later everything disappear, but an explosion effect appears at position of collision {$CLEO .cs} thread 'OBJCARA' while true wait 0 if 0256: player $PLAYER_CHAR defined then if 0AB0: key_pressed 8//--------------------------------- key backspace then 0247: request_model #SWMOCD 0247: request_model #ALPHA 0247: request_model 3065 038B: load_requested_models 04C4: create_coordinate 21@ 22@ 23@ from_actor $PLAYER_ACTOR offset 8.0 4.0 0.2 009A: 2@ = create_actor_pedtype 5 model #SWMOCD at 21@ 22@ 23@ 23@ += 2.5 0107: 0@ = create_object 3065 at 21@ 22@ 23@ 04C4: create_coordinate 11@ 12@ 13@ from_actor $PLAYER_ACTOR offset -8.0 4.0 0.2 00A5: 1@ = create_car #ALPHA at 11@ 12@ 13@ 0175: set_car 1@ z_angle_to 90.0 06BA: AS_actor 2@ turn_to_and_look_at 11@ 12@ 13@ repeat wait 0 04ED: load_animation "GRENADE" until 04EE: animation "GRENADE" loaded //wait 1500 0392: make_object 0@ moveable 1 Object.SetImmunities(0@,1,1,1,1,1) 070A: AS_actor 2@ attach_to_object 0@ offset 0.04 0.1 -0.02 on_bone 6 16 perform_animation "NULL" IFP_file "NULL" time -1 066E: create_particle "SMOKE_FLARE" attached_to_object 0@ with_offset 0.0 0.0 0.0 rotation 0.0 0.0 0.0 flag 1 handle_as 19@ 064C: make_particle 19@ visible wait 1500 00AA: store_car 1@ position_to 11@ 12@ 13@ wait 50 01BB: store_object 0@ position_to 14@ 15@ 16@ 0063: 11@ -= 14@ 0063: 12@ -= 15@ 13@ += 0.7 0605: actor 2@ perform_animation_sequence "WEAPON_throw" from_file "GRENADE" 4.0 loop 0 0 0 0 -1 ms wait 500 070B: set_actor 2@ onbone_attached_object_operation 0 0682: detach_object 0@ 0.0 0.0 0.0 collision_detection 0 Object.ToggleInMovingList(0@) = True Object.Throw(0@, 11@, 12@, 10.0) wait 500 04D9: object 0@ set_scripted_collision_check 1 0382: set_object 0@ collision_detection 1 0906: set_object 0@ mass_to 35.0 // float 0908: set_object 0@ turn_mass_to 35.0 // float 33@ = 0 while 7000 > 33@ wait 0 if 04DA: has_object 0@ collided then 0382: set_object 0@ collision_detection 0 01BB: store_object 0@ position_to 14@ 15@ 16@ break end end wait 1500 0382: set_object 0@ collision_detection 1 wait 5000 064B: 20@ = create_particle "explosion_molotov" at 14@ 15@ 16@ type 4 064F: make_temp_particle_visible_and_remove_references 20@ 0650: destroy_particle 19@ 0108: destroy_object 0@ 009B: destroy_actor 2@ 00A6: destroy_car 1@ 04EF: release_animation "GRENADE" end end end CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
Maelubiyet Posted November 11, 2021 Share Posted November 11, 2021 (edited) Hey ZAZ. I know this is not the place but can't PM you and it seems you check this topic frequently. I wonder if you could share the source texts for your gta sa stripped main script with externscripts and submissions? The links on your website are dead. Edited November 11, 2021 by Maelubiyet Link to comment Share on other sites More sharing options...
Komandan Z Posted November 24, 2021 Share Posted November 24, 2021 (edited) On 11/5/2021 at 7:09 PM, ZAZ said: stay in which place? also, you throw the object, how should it stay then? hello sir @ZAZ Edited November 24, 2021 by Komandan Z Link to comment Share on other sites More sharing options...
Komandan Z Posted November 24, 2021 Share Posted November 24, 2021 Hello sir @ZAZ ,sir...can you help me...how to get X rotation...using opcode store position...? For example, I use this method.. :A wait 0 00AA: store_car [email protected] position_to [email protected] [email protected] [email protected] 01BB: store_object [email protected] position_to [email protected] [email protected] [email protected] 0063: [email protected] -= [email protected] // (float) 0063: [email protected] -= [email protected] // (float) 0063: [email protected] -= [email protected] // (float) 0604: get_Z_angle_for_point [email protected] [email protected] store_to [email protected] 0453: set_object [email protected] xyz_rotation [email protected] 0.0 [email protected] Jump @A Link to comment Share on other sites More sharing options...
ZAZ Posted November 25, 2021 Author Share Posted November 25, 2021 check out opcode 07C3: CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
Truong Vu Posted November 30, 2021 Share Posted November 30, 2021 Sorry for bump but is there any way to make traffic in gta agressive and police chase them in cleo code ? Link to comment Share on other sites More sharing options...
ZAZ Posted November 30, 2021 Author Share Posted November 30, 2021 There isn't any code to realize it. It needs to write a script to create such a feature. CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
MP5 Posted December 6, 2021 Share Posted December 6, 2021 Speaking of traffic, is it possible to write a script that spawns traffic vehicles with specific car parts from Transfender/Loco Low/Arch Angels? Link to comment Share on other sites More sharing options...
ZAZ Posted December 6, 2021 Author Share Posted December 6, 2021 Yes MP5 1 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
Milford809 Posted February 17 Share Posted February 17 (edited) How do I use CLEO4 and install SB3 on XP SP1? I am trying to use the CallFix Script for the hot coffee mod but don't know how to install of use any of these programs on XP. Quote That glitch was supposed to be fixed after v2.0. You may not have the version you think. I don't remember how compatible HG saves are with v1, but you might be able to fix your problem with the CallFix cleo script. If it gives a compatibility error then with a bit of effort it shouldn't be too tough to adapt the script to a HC main.scm. Edited February 17 by Milford809 Link to comment Share on other sites More sharing options...
ZAZ Posted February 17 Author Share Posted February 17 (edited) 2 hours ago, Milford809 said: How do I use CLEO4 ? read this informations about cleo3 and cleo4 both should work an win xp, sp1 is not good, sp2 was better You game should be modable, did you already install and play with any mod? you need a nocd gta_sa.exe you need asi loader DOWNLOAD CLEO4 at https://cleo.li/download.html i recommand CLEO 4.1 an auto-installer of CLEO 4.1.1.30f by Alien for San Andreas CLEO 4: - cleo.asi - bass.dll - vorbisFile.dll - vorbisHooked.dll - CLEO-folder for Script-Mods - FileSystemOperations.cleo - IniFiles.cleo - IntOperations.cleo - CLEO_TEXT - folder watch GTA-Cleo4.jpg 2 hours ago, Milford809 said: How do I install SB3 on XP SP1? easy as pie download sanny at https://sannybuilder.com/downloads.html and run setup exe learn more about First Steps in Cleo scripting with Sannybuilder learn also about main script modding understand what is hardcoded and was is main.scm script 2 hours ago, Milford809 said: I am trying to use the CallFix Script for the hot coffee mod the unlock for hot coffee is only one entry in main.scm change this: $GF_CENSORE_FLAG = 1 to this $GF_CENSORE_FLAG = 0 this is the best way to do it should also work with save game loading but it needs one more fix to recompile the main.scm because Sannybuilder gives an error at compiling you need to find this Label: :SYND4_3650 and change this :SYND4_3650 if jf @SYND4_3672 wait 0 jump @SYND4_3650 or maybe it looks like this :SYND4_3650 00D6: if 004D: jump_if_false @SYND4_3672 0001: wait 0 ms 0002: jump @SYND4_3650 to this :SYND4_3650 //if //jf @SYND4_3672 wait 0 jump @SYND4_3650 Edited February 17 by ZAZ CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
Milford809 Posted February 17 Share Posted February 17 1 hour ago, ZAZ said: read this informations about cleo3 and cleo4 both should work an win xp, sp1 is not good, sp2 was better You game should be modable, did you already install and play with any mod? you need a nocd gta_sa.exe you need asi loader DOWNLOAD CLEO4 at https://cleo.li/download.html i recommand CLEO 4.1 an auto-installer of CLEO 4.1.1.30f by Alien for San Andreas CLEO 4: - cleo.asi - bass.dll - vorbisFile.dll - vorbisHooked.dll - CLEO-folder for Script-Mods - FileSystemOperations.cleo - IniFiles.cleo - IntOperations.cleo - CLEO_TEXT - folder watch GTA-Cleo4.jpg easy as pie download sanny at https://sannybuilder.com/downloads.html and run setup exe learn more about First Steps in Cleo scripting with Sannybuilder learn also about main script modding understand what is hardcoded and was is main.scm script the unlock for hot coffee is only one entry in main.scm change this: $GF_CENSORE_FLAG = 1 to this $GF_CENSORE_FLAG = 0 this is the best way to do it should also work with save game loading but it needs one more fix to recompile the main.scm because Sannybuilder gives an error at compiling you need to find this Label: :SYND4_3650 and change this :SYND4_3650 if jf @SYND4_3672 wait 0 jump @SYND4_3650 or maybe it looks like this :SYND4_3650 00D6: if 004D: jump_if_false @SYND4_3672 0001: wait 0 ms 0002: jump @SYND4_3650 to this :SYND4_3650 //if //jf @SYND4_3672 wait 0 jump @SYND4_3650 fyi I am running Windows XP Home Edition SP1 Version 2002. Link to comment Share on other sites More sharing options...
Milford809 Posted February 17 Share Posted February 17 Sanny Builder 3 isn't installing on my OS unfortunately. Link to comment Share on other sites More sharing options...
Milford809 Posted February 17 Share Posted February 17 (edited) So far I've downloaded the ASI Loader and CLEO 4.1. I've also downloaded Sanny Builder 3 but that version isn't Win32 compatible. Is there an older version I can use that will work? My issue isn't the Hot Coffee mod working. It works. I just can't take phone calls after "House Party" by OG LOC and I am locked out of the story because I can't get phone calls. OrionSR helped me with this with the CallFix Script. I'm just trying to figure out how to get that into the game now. Edited February 17 by Milford809 Link to comment Share on other sites More sharing options...
Milford809 Posted February 17 Share Posted February 17 Sanny Builder 3.00 worked for me. Link to comment Share on other sites More sharing options...
ZAZ Posted February 18 Author Share Posted February 18 (edited) 19 hours ago, Milford809 said: My issue isn't the Hot Coffee mod working. It works. I just can't take phone calls after "House Party" by OG LOC and I am locked out of the story because I can't get phone calls. OrionSR helped me with this with the CallFix Script. I'm just trying to figure out how to get that into the game now. fixing a bug that was caused by a fix your method to unlock hot coffee was bullsh*t Download SannyBuilder-v3.3.3.exe it works on my win xp laptop can we talk a little bit about win xp why and how do you use it? is it your only computer? or do you run a virtual machine? i have an old win xp laptop because some tools doesn't work on newer systems Edited February 18 by ZAZ CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
Milford809 Posted February 18 Share Posted February 18 37 minutes ago, ZAZ said: fixing a bug that was caused by a fix your method to unlock hot coffee was bullsh*t Download SannyBuilder-v3.3.3.exe it works on my win xp laptop can we talk a little bit about win xp why and how do you use it? is it your only computer? or do you run a virtual machine? i have an old win xp laptop because some tools doesn't work on newer systems but i can't serve the internet with it Just PM me. Link to comment Share on other sites More sharing options...
OrionSR Posted February 18 Share Posted February 18 2 hours ago, ZAZ said: fixing a bug that was caused by a fix The CallFix script will not introduce additional bugs. It will refuse to work on a main.scm script not recognized as compatible with v1 or v2 or if the conditions aren't appropriate. CallFix was not designed for or tested on HCv2.x, but it might work anyway as HC scripts are v1 compliant. HC v1 was a simple tool for toggling the censor flag. HC v2.00 is a custom main that, in addition to enabling the nude girlfriend models, tried to unlock the other islands, properties, shops and girlfriends early, which causes the LS1 phone script to terminate early. This glitch was supposed to be fixed in HC v2.01 but by then the controversy had erupted so few links to the updated mod were ever available. HC v2.00 is the dominant version available for download, and is frequently misidentified as v2.1, so this annoying phone glitch continues to persist. In my opinion, any player that is so inexperienced that they require constant hand holding just to install and run a simple cleo script should wait a few years until they are mature enough to realize that the Hot Coffee mod is dumb as stone and not worth installing or fixing. @Milford809 Hot Coffee is still a taboo topic on these forums. Do not PM me with questions on HC or I will block you and petition that your public comments on this subject be moderated. Link to comment Share on other sites More sharing options...
Milford809 Posted February 18 Share Posted February 18 (edited) 32 minutes ago, OrionSR said: The CallFix script will not introduce additional bugs. It will refuse to work on a main.scm script not recognized as compatible with v1 or v2 or if the conditions aren't appropriate. CallFix was not designed for or tested on HCv2.x, but it might work anyway as HC scripts are v1 compliant. HC v1 was a simple tool for toggling the censor flag. HC v2.00 is a custom main that, in addition to enabling the nude girlfriend models, tried to unlock the other islands, properties, shops and girlfriends early, which causes the LS1 phone script to terminate early. This glitch was supposed to be fixed in HC v2.01 but by then the controversy had erupted so few links to the updated mod were ever available. HC v2.00 is the dominant version available for download, and is frequently misidentified as v2.1, so this annoying phone glitch continues to persist. In my opinion, any player that is so inexperienced that they require constant hand holding just to install and run a simple cleo script should wait a few years until they are mature enough to realize that the Hot Coffee mod is dumb as stone and not worth installing or fixing. @Milford809 Hot Coffee is still a taboo topic on these forums. Do not PM me with questions on HC or I will block you and petition that your public comments on this subject be moderated. Ok. Well, how do I load mods with SannyBuilder then. IDK how to do any of that. everything else is installed. CLEO4.1 and The ASI Loader. 32 minutes ago, OrionSR said: The CallFix script will not introduce additional bugs. It will refuse to work on a main.scm script not recognized as compatible with v1 or v2 or if the conditions aren't appropriate. CallFix was not designed for or tested on HCv2.x, but it might work anyway as HC scripts are v1 compliant. HC v1 was a simple tool for toggling the censor flag. HC v2.00 is a custom main that, in addition to enabling the nude girlfriend models, tried to unlock the other islands, properties, shops and girlfriends early, which causes the LS1 phone script to terminate early. This glitch was supposed to be fixed in HC v2.01 but by then the controversy had erupted so few links to the updated mod were ever available. HC v2.00 is the dominant version available for download, and is frequently misidentified as v2.1, so this annoying phone glitch continues to persist. In my opinion, any player that is so inexperienced that they require constant hand holding just to install and run a simple cleo script should wait a few years until they are mature enough to realize that the Hot Coffee mod is dumb as stone and not worth installing or fixing. @Milford809 Hot Coffee is still a taboo topic on these forums. Do not PM me with questions on HC or I will block you and petition that your public comments on this subject be moderated. Right. Because blowing peoples heads off and chainsawing people to bits is totally acceptable, but a bit of nudity and everyone looses their sh*t. Grow up. Go for it. Block me. IDGAF. I don't give a rats ass what's considered "taboo" or not to you. I've already got the mod working anyways and I've seen it in action. Baseless censorship is retarded and pisses me off and I won't be tolerating any of it in my games. Edited February 18 by Milford809 Link to comment Share on other sites More sharing options...
Milford809 Posted February 18 Share Posted February 18 (edited) I recommend everybody download the correct glitch free version of the Hot Coffee mod. It's located here. I just installed it and it lets phone calls through. Take a picture of you playing it and send it to those Boomer cunts Hillary Clinton and Jack Thompson while your at it. https://www.thegtaplace.com/downloads/f548-hot-coffee-v21 Replace the main.img and script files in the "Data" folder in your directory with the ones in the mod zip folder. Edited February 18 by Milford809 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