GAME MASTER Posted March 10, 2013 Share Posted March 10, 2013 I've noticed that the army soldiers in two missions are not the same as the original army where you get 6 wanted level. In that particular mission of Tanks-Giving! and Army Base Alert!, when I start shooting in the army area, the soldiers start shooting each other! Why does that happen? Also the colours of their clothes is quite bright than the normal soldiers from wanted level. Link to comment Share on other sites More sharing options...
Sektor Posted March 10, 2013 Share Posted March 10, 2013 (edited) Their colour looks the same as army (remap 4). They might only look brighter because they use the running animation more than army because army is always shooting. I think all the missions on Residential were coded by Stephen Banks. On "Tanks Giving", you don't get a wanted level until after you leave the base. The army in the base are just DUMMY characters and not real army. I can only speculate why he designed it the way he did. Perhaps, they aren't normal army because that base is closed off most of the time and he wanted to place them in specific positions, make them patrol a specific way and delete them after the mission to free up system resources. I don't know if he meant to make them attack each other. It might be for a joke but he probably just gave them the wrong character occupation. Many of the occupations aren't even listed in the official documentation, so easy mistake to make. Here's part of the "Tanks Giving" mission script (decompiled with Epic GTA2 Map Editor): chr7 = CREATE_CHAR (234.50, 115.50, 255.00) 4 180 DUMMY END ADD_PATROL_POINT (chr7, 237.50, 115.50, 2.00) ADD_PATROL_POINT (chr7, 234.50, 115.50, 2.00) SET_CHAR_THREAT_REACTION (chr7, REACT_AS_NORMAL) SET_CHAR_THREAT_SEARCH (chr7, AREA_PLAYER_ONLY) GIVE_WEAPON (chr7, MACHINE_GUN) They are set to DUMMY occupation when they should be ARMY or any occupation that doesn't attack characters with the same occupation. http://projectcerbera.com/gta/2/tutorials/character-ai Edited March 30, 2013 by Sektor Link to comment Share on other sites More sharing options...
GAME MASTER Posted March 10, 2013 Author Share Posted March 10, 2013 So that explains why unnatural army does exist in "Tanks Giving" and "Army Base Alert!" before it had been removed from the AI script, that what I wanted to know. I look at your link and saw "DUMMY" which is said to be a normal pedestrian and the unnatural army soldiers are acting like a normal people instead of an offical army. The threat assessment: SET_CHAR_THREAT_REACTION (chr7, REACT_AS_NORMAL) explains why they starts shooting each other when several soldiers are near when I start shooting first. Is that the same possibility threat reaction from Loonies mission Radio Za-Za! and Redneck mission Penal Ties!, also known as Alma Mater Return! where people and prisoners are going crazy because of CRIMINAL_TYPE 2 and CRIMINAL_TYPE 1? The character occupation is normally sets to default for each mission in Residential District and other area, is there a way to alter the AI script to make it more interesting or will it mess up the game? The Road block tank driver character from inside the tank during roadblock are vicious and starting punching other ped. When I kill that specific character, it doesn't disappear, it just remain on the map forever. Is that because of an AI script? Link to comment Share on other sites More sharing options...
Sektor Posted March 10, 2013 Share Posted March 10, 2013 (edited) I think gta2.exe would need to be modified to make Road block tank driver vanish when killed. It's possible to patch the SCR to change their occupation from DUMMY to ARMY but there aren't any easy tools to find the location of the bytes that need changing. B-$hep and TradeMark could figure it out. The decompiled Downtown and Residential scripts don't recompile because the Epic decompiler doesn't decompile "IF statements" and some other things and there are too many to recreate manually. Industrial is the easiest to change since we have the official MIS source files. Edited March 10, 2013 by Sektor Link to comment Share on other sites More sharing options...
B-$hep Posted March 10, 2013 Share Posted March 10, 2013 What should be changed then? Is this the only one? chr7 = CREATE_CHAR (234.50, 115.50, 255.00) 4 180 DUMMY END Or there are more? DUMMY must be changed to ARMY or CRIMINAL_TYPE1? Link to comment Share on other sites More sharing options...
Sektor Posted March 10, 2013 Share Posted March 10, 2013 Change DUMMY to ARMY. I don't know exactly how ARMY occupation acts differently to DUMMY but hopefully they don't shoot each other. // Decompiled from "ste_rm3.scr" Using Epic GTA2 Script Decompiler by T.M. chr7 = CREATE_CHAR (234.50, 115.50, 255.00) 4 180 DUMMY END chr8 = CREATE_CHAR (234.50, 109.50, 255.00) 4 180 DUMMY END chr9 = CREATE_CHAR (228.50, 110.50, 255.00) 4 180 DUMMY END chr10 = CREATE_CHAR (228.50, 94.50, 255.00) 4 180 DUMMY END chr11 = CREATE_CHAR (232.50, 93.50, 255.00) 4 180 DUMMY END chr12 = CREATE_CHAR (233.50, 88.50, 255.00) 4 180 DUMMY END Link to comment Share on other sites More sharing options...
B-$hep Posted March 10, 2013 Share Posted March 10, 2013 (edited) Ok i found the place, i was looking originally into ste.scr and was unable to find them. Now i found, what should i do now? ARMY or CRIMINAL_TYPE1? Is this .scr file the only one that should be changed? EDIT: ok got it. EDIT2: do you know how many missions should i pass before i get to the tanks giving? to test it out? i haven't played this for a long time now. Edited March 10, 2013 by B-$hep Link to comment Share on other sites More sharing options...
Sektor Posted March 10, 2013 Share Posted March 10, 2013 (edited) rm3 means rednecks medium difficulty third mission. I think you have to do the easy rednecks missions first but also been a long time since I played the missions. It might just depend on respect. If you are manually patching, use the SCR files included with v11.43. Edited March 10, 2013 by Sektor Link to comment Share on other sites More sharing options...
B-$hep Posted March 10, 2013 Share Posted March 10, 2013 I patched but isn't the original .scr the latest? If not, then where to get latest? I will try to get to the mission now and will see how the changes work. Link to comment Share on other sites More sharing options...
Sektor Posted March 10, 2013 Share Posted March 10, 2013 Some SCR files were changed in v10.3 and I included them with v11.43. Now we have the decompiler, I could check exactly what changed, hopefully not just garbage data. Thanks for patching them. Link to comment Share on other sites More sharing options...
B-$hep Posted March 10, 2013 Share Posted March 10, 2013 (edited) Ok got to the "tanks giving", only 2 missions has to be done. Now the guy in army near the gate where the flashing yellow thingy is that you have to blow up, he is shooting me thru the fence. I don't think that they did this before. Or did they? Anyway i will go further, i will blow the gate. But what should i look at. How they should react? Currently they don't shoot theirselves but all shooting and hunting me. They are in green army outfit, but i think occupation is far from that was before. BTW: I think only thing that was changed was just garbage data. But im not sure either Edited March 10, 2013 by B-$hep Link to comment Share on other sites More sharing options...
Sektor Posted March 10, 2013 Share Posted March 10, 2013 (edited) As DUMMY, they normally shoot at you even if you are outside the gate. They also deliberately target themselves after they get bored of you. Edited March 11, 2013 by Sektor Link to comment Share on other sites More sharing options...
B-$hep Posted March 11, 2013 Share Posted March 11, 2013 (edited) But as real army guards they don't shoot until i get into base? What the hell i modified then. They still shoot me. Confusing stuff. EDIT: ok, they shoot me but they don't shoot each other anymore. I did a compare with 11.43 .scr and patched .scr. If they shoot each other and that was only bug, then it's fixed. But i did compare on 11.43 .scr file and original R* free GTA2 .scr and they are pretty different. How is that possible anyway? I will patch the 11.43, including the crane thing and will upload the patched version. I will try to find the patched crane ste.scr or description of patching of ste.scr in my archives. Then i will fix the crane bug. Edited March 11, 2013 by B-$hep Link to comment Share on other sites More sharing options...
Sektor Posted March 11, 2013 Share Posted March 11, 2013 (edited) Another big reason for using characters that look like army instead of the real army is to give an incentive to get that army base tank instead of just some random tank. You said they don't shoot themselves, so if that is true then you fixed it. There is more than just garbage data differences. DISABLE_THREAD_TRIGGER (trigger13) and SET_PHONE_DEAD (obj8) exist in v11.43 ste_rm1.scr "GREATEST HITS" but not in v9.6F (rockstargames.com/classics version). That seems to be the only STE mission that was changed. There are also some changes to STE.scr that I need to look at. They are different because v11.43 uses the SCR files that were included with v10.3 and for some reason Rockstar didn't include all the v10.3 patches in the rockstargames.com/classics version. Edited March 11, 2013 by Sektor Link to comment Share on other sites More sharing options...
GAME MASTER Posted March 11, 2013 Author Share Posted March 11, 2013 I will patch the 11.43, including the crane thing and will upload the patched version. I will try to find the patched crane ste.scr or description of patching of ste.scr in my archives. Then i will fix the crane bug. Crane thing? You mean the Redneck crusher bug glitch that does not give out rewards after crushing the vehicle? Link to comment Share on other sites More sharing options...
Sektor Posted March 11, 2013 Share Posted March 11, 2013 Yes, those rewards appear inside a wall instead of on the conveyor. B-$hep will fix it by moving the reward spawn point one block over. Link to comment Share on other sites More sharing options...
B-$hep Posted March 12, 2013 Share Posted March 12, 2013 (edited) Ok, seems done, check the other forum. I was at work whole day, that's why it took so long Edited March 12, 2013 by B-$hep Link to comment Share on other sites More sharing options...
Sektor Posted March 12, 2013 Share Posted March 12, 2013 Both fixes work. Thank you. Download here: http://gtamp.com/forum/viewtopic.php?f=4&t=647&p=7703#p7702 Link to comment Share on other sites More sharing options...
chapapote Posted March 30, 2013 Share Posted March 30, 2013 I suppose it's similar to the cops that appear inside the residential district pólice station, they aren't real cops. Link to comment Share on other sites More sharing options...
B-$hep Posted March 30, 2013 Share Posted March 30, 2013 Yep, i don't know who they are. Just shooting like crazy when you get there. I hate that. Good tip actually Chapapote. I will try to change the behaviour of them. Link to comment Share on other sites More sharing options...
chapapote Posted April 1, 2013 Share Posted April 1, 2013 I suppose they just wanted to make lots of cops to appear inside the police station, and the only way to make them appear in large quantites was to make a gang that looked exactly like them and make the police station its territory. And well, it's kind of justified that they shoot at you. You aren't supposed to be there. Link to comment Share on other sites More sharing options...
Recommended Posts