Last resort logo

SWAT 3 - LAST RESORT GAME MODIFICATION


Spam Prevention - PLEASE READ !! (23 Apr 2021)

Due to a problem with spammers the rules for posting in the forums have changed for new users.

Newly registered users won't have their posts published until a moderator approves them.

Increased Suspect/Civilians Count

More
4 years 1 month ago - 4 years 1 month ago #1470 by DarkSynopsis

Copy-Cat wrote: How many char_starts are in MissionA?
How many swt_starts?


MissionA char_starts = 30
MissionA swt_starts = 5

Guessing once you bust past the 30 limit on suspects/civs its just using the same spawn points and pushing characters aside to get more in till it eventually can't, so while going above 30 on MissionA makes no sense I had a quick look at MissionX and it has 77 char_starts.

I was going to create a list for how many char_starts each map has but some have crazy high numbers, like MissionF (LAX Tower) seems to have 525 O.o looking at it with the web map viewer most spots seem to have 4-5 char_starts stacked on each other? never really did SWAT mapping so I don't know why this would be.

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago - 4 years 1 month ago #1471 by Slippery Jim
Why assume that the game uses the char start points at all when you do random objectives?

It could be coded to randomly spawn people in locations as per the cell divisions. I imagine those start points aren't relevant when you choose Random Objectives?

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago - 4 years 1 month ago #1473 by DarkSynopsis

Slippery Jim wrote: It could be coded to randomly spawn people in locations as per the cell divisions. I imagine those start points aren't relevant when you choose Random Objectives?


That was my assumption as well, maybe I'll test with the sample map since I actually got that to build the other week.

Edit:
Did a test, I have one char_start in the alley of the sample map which will spawn the one tango during a normal scenario but once doing random objectives and setting 30 suspects not a single one spawned at that location, they would spawn in the few rooms inside which as you mentioned are different cells.

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #1474 by Copy-Cat
Any errors when you locked the suspects to a higher number? what was the limit? List mods you used during this test.

In your original post did you use any mods that may have caused the error? What mods did you use?

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago - 4 years 1 month ago #1475 by DarkSynopsis

Copy-Cat wrote: Any errors when you locked the suspects to a higher number? what was the limit? List mods you used during this test.

In your original post did you use any mods that may have caused the error? What mods did you use?


Besides Last Resort no mods used, as for the error I didn't do much testing past the first time it occurred since didn't see a need for like 200 suspects at once.

Ended up taking a crack at this myself and and found the Hex Offsets, there are quite a few values to change since it seems to check against the set number (30) every time you hit either of the 4 arrows (sus/civs) basically any "1E" (int 30) needs to be changed, there are a few "1E" values remaining just after each of these blocks that I haven't changed, they might be used for the random button since I only looked at what the arrow buttons were doing.

Some more rigorous testing is required but this is start :)

I could list all the Hex Offsets but that seems too much so here are the blocks that need to be changed.
Code:
0003AD3C to 0003AF72 (Length 00000237) Original (30 Suspects): -------------------------------------------------------------------------------- 1E 7D 09 85 D2 7E 0C 83 FA 1E 7C 09 BA 1E 00 00 00 EB 02 33 D2 85 C0 89 91 F4 00 00 00 0F 84 98 00 00 00 8B 08 85 C9 0F 8E 8E 00 00 00 03 CA 83 F9 1E 0F 8E 83 00 00 00 B9 1E 00 00 00 6A 00 50 2B CA 6A 1E 6A 00 89 08 E8 77 00 00 00 83 C4 10 C3 8B 08 83 F9 1E 7D 09 85 C9 7E 0D 83 F9 1E 7C 0A B9 1E 00 00 00 89 08 C3 33 C9 89 08 C3 42 89 10 8D 91 F4 00 00 00 8B 08 83 F9 1E 7D 09 85 C9 7E 0C 83 F9 1E 7C 09 B9 1E 00 00 00 EB 02 33 C9 85 D2 89 08 74 25 8B 02 85 C0 7E 1F 03 C1 83 F8 1E 7E 18 B8 1E 00 00 00 6A 00 52 2B C1 6A 1E 6A 00 89 02 E8 0C 00 00 00 83 C4 10 C3 90 90 90 90 90 90 90 90 8B 54 24 08 8B 4C 24 10 53 8B 5C 24 08 56 57 8B 7C 24 18 8B 07 3B C2 8B F0 7C 02 8B F2 3B F3 7E 08 3B C2 7C 06 8B C2 EB 02 8B C3 85 C9 89 07 74 18 8B 31 85 F6 7E 12 03 F0 3B F2 7E 0C 8B F2 8B F9 2B F0 89 31 33 C9 EB CA 5F 5E 5B C3 90 90 90 8B 91 F0 00 00 00 8D 81 F0 00 00 00 85 D2 0F 8D 86 00 00 00 F7 DA 85 D2 89 10 0F 8E C7 00 00 00 8B 91 F4 00 00 00 85 D2 7E 53 83 FA 1E 7D 09 85 D2 7E 0C 83 FA 1E 7C 09 BA 1E 00 00 00 EB 02 33 D2 85 C0 89 91 F4 00 00 00 0F 84 98 00 00 00 8B 08 85 C9 0F 8E 8E 00 00 00 03 CA 83 F9 1E 0F 8E 83 00 00 00 B9 1E 00 00 00 6A 00 50 2B CA 6A 1E 6A 00 89 08 E8 37 FF FF FF 83 C4 10 C3 8B 08 83 F9 1E 7D 09 85 C9 7E 0D 83 F9 1E 7C 0A B9 1E 00 00 00 89 08 C3 33 C9 89 08 C3 4A 89 10 8D 91 F4 00 00 00 8B 08 83 F9 1E 7D 09 85 C9 7E 0C 83 F9 1E 7C 09 B9 1E 00 00 00 EB 02 33 C9 85 D2 89 08 74 25 8B 02 85 C0 7E 1F 03 C1 83 F8 1E 7E 18 B8 1E 00 00 00 6A 00 52 2B C1 6A 1E 6A 00 89 02 E8 CC FE FF FF 83 C4 10 C3 90 90 90 90 90 90 90 90 8B 81 F0 00 00 00 8D 91 F0 00 00 00 85 C0 74 04 F7 D8 EB 03 83 C8 FF 85 C0 89 02 7E 6D 8B 81 F4 00 00 00 85 C0 7E 47 83 F8 1E 7D 09 85 C0 7E 0C 83 F8 1E Modified (60 Suspects): -------------------------------------------------------------------------------- 3C 7D 09 85 D2 7E 0C 83 FA 3C 7C 09 BA 3C 00 00 00 EB 02 33 D2 85 C0 89 91 F4 00 00 00 0F 84 98 00 00 00 8B 08 85 C9 0F 8E 8E 00 00 00 03 CA 83 F9 3C 0F 8E 83 00 00 00 B9 3C 00 00 00 6A 00 50 2B CA 6A 3C 6A 00 89 08 E8 77 00 00 00 83 C4 10 C3 8B 08 83 F9 3C 7D 09 85 C9 7E 0D 83 F9 3C 7C 0A B9 3C 00 00 00 89 08 C3 33 C9 89 08 C3 42 89 10 8D 91 F4 00 00 00 8B 08 83 F9 3C 7D 09 85 C9 7E 0C 83 F9 3C 7C 09 B9 3C 00 00 00 EB 02 33 C9 85 D2 89 08 74 25 8B 02 85 C0 7E 1F 03 C1 83 F8 3C 7E 18 B8 3C 00 00 00 6A 00 52 2B C1 6A 3C 6A 00 89 02 E8 0C 00 00 00 83 C4 10 C3 90 90 90 90 90 90 90 90 8B 54 24 08 8B 4C 24 10 53 8B 5C 24 08 56 57 8B 7C 24 18 8B 07 3B C2 8B F0 7C 02 8B F2 3B F3 7E 08 3B C2 7C 06 8B C2 EB 02 8B C3 85 C9 89 07 74 18 8B 31 85 F6 7E 12 03 F0 3B F2 7E 0C 8B F2 8B F9 2B F0 89 31 33 C9 EB CA 5F 5E 5B C3 90 90 90 8B 91 F0 00 00 00 8D 81 F0 00 00 00 85 D2 0F 8D 86 00 00 00 F7 DA 85 D2 89 10 0F 8E C7 00 00 00 8B 91 F4 00 00 00 85 D2 7E 53 83 FA 3C 7D 09 85 D2 7E 0C 83 FA 3C 7C 09 BA 3C 00 00 00 EB 02 33 D2 85 C0 89 91 F4 00 00 00 0F 84 98 00 00 00 8B 08 85 C9 0F 8E 8E 00 00 00 03 CA 83 F9 3C 0F 8E 83 00 00 00 B9 3C 00 00 00 6A 00 50 2B CA 6A 3C 6A 00 89 08 E8 37 FF FF FF 83 C4 10 C3 8B 08 83 F9 3C 7D 09 85 C9 7E 0D 83 F9 3C 7C 0A B9 3C 00 00 00 89 08 C3 33 C9 89 08 C3 4A 89 10 8D 91 F4 00 00 00 8B 08 83 F9 3C 7D 09 85 C9 7E 0C 83 F9 3C 7C 09 B9 3C 00 00 00 EB 02 33 C9 85 D2 89 08 74 25 8B 02 85 C0 7E 1F 03 C1 83 F8 3C 7E 18 B8 3C 00 00 00 6A 00 52 2B C1 6A 3C 6A 00 89 02 E8 CC FE FF FF 83 C4 10 C3 90 90 90 90 90 90 90 90 8B 81 F0 00 00 00 8D 91 F0 00 00 00 85 C0 74 04 F7 D8 EB 03 83 C8 FF 85 C0 89 02 7E 6D 8B 81 F4 00 00 00 85 C0 7E 47 83 F8 3C 7D 09 85 C0 7E 0C 83 F8 3C 0003AFFC to 0003B22F (Length 00000234) Original (30 Civilians): -------------------------------------------------------------------------------- 1E 7D 09 85 D2 7E 0C 83 FA 1E 7C 09 BA 1E 00 00 00 EB 02 33 D2 85 C0 89 91 F0 00 00 00 0F 84 98 00 00 00 8B 08 85 C9 0F 8E 8E 00 00 00 03 CA 83 F9 1E 0F 8E 83 00 00 00 B9 1E 00 00 00 6A 00 50 2B CA 6A 1E 6A 00 89 08 E8 B7 FD FF FF 83 C4 10 C3 8B 08 83 F9 1E 7D 09 85 C9 7E 0D 83 F9 1E 7C 0A B9 1E 00 00 00 89 08 C3 33 C9 89 08 C3 42 89 10 8D 91 F0 00 00 00 8B 08 83 F9 1E 7D 09 85 C9 7E 0C 83 F9 1E 7C 09 B9 1E 00 00 00 EB 02 33 C9 85 D2 89 08 74 25 8B 02 85 C0 7E 1F 03 C1 83 F8 1E 7E 18 B8 1E 00 00 00 6A 00 52 2B C1 6A 1E 6A 00 89 02 E8 4C FD FF FF 83 C4 10 C3 90 90 90 90 90 90 90 90 8B 91 F4 00 00 00 8D 81 F4 00 00 00 85 D2 0F 8D 86 00 00 00 F7 DA 85 D2 89 10 0F 8E C7 00 00 00 8B 91 F0 00 00 00 85 D2 7E 53 83 FA 1E 7D 09 85 D2 7E 0C 83 FA 1E 7C 09 BA 1E 00 00 00 EB 02 33 D2 85 C0 89 91 F0 00 00 00 0F 84 98 00 00 00 8B 08 85 C9 0F 8E 8E 00 00 00 03 CA 83 F9 1E 0F 8E 83 00 00 00 B9 1E 00 00 00 6A 00 50 2B CA 6A 1E 6A 00 89 08 E8 C7 FC FF FF 83 C4 10 C3 8B 08 83 F9 1E 7D 09 85 C9 7E 0D 83 F9 1E 7C 0A B9 1E 00 00 00 89 08 C3 33 C9 89 08 C3 4A 89 10 8D 91 F0 00 00 00 8B 08 83 F9 1E 7D 09 85 C9 7E 0C 83 F9 1E 7C 09 B9 1E 00 00 00 EB 02 33 C9 85 D2 89 08 74 25 8B 02 85 C0 7E 1F 03 C1 83 F8 1E 7E 18 B8 1E 00 00 00 6A 00 52 2B C1 6A 1E 6A 00 89 02 E8 5C FC FF FF 83 C4 10 C3 90 90 90 90 90 90 90 90 8B 81 F4 00 00 00 8D 91 F4 00 00 00 85 C0 74 04 F7 D8 EB 03 83 C8 FF 85 C0 89 02 7E 6D 8B 81 F0 00 00 00 85 C0 7E 47 83 F8 1E 7D 09 85 C0 7E 0C 83 F8 1E 7C 09 B8 1E 00 00 00 EB 02 33 C0 85 D2 89 81 F0 00 00 00 74 42 8B 0A 85 C9 7E 3C 03 C8 83 F9 1E 7E 35 B9 1E 00 00 00 6A 00 52 2B C8 6A 1E 6A 00 89 0A E8 E6 FB FF FF 83 C4 10 C3 8B 02 83 F8 1E 7D 09 85 C0 7E 0D 83 F8 1E 7C 0A B8 1E Modified (60 Civilians): -------------------------------------------------------------------------------- 3C 7D 09 85 D2 7E 0C 83 FA 3C 7C 09 BA 3C 00 00 00 EB 02 33 D2 85 C0 89 91 F0 00 00 00 0F 84 98 00 00 00 8B 08 85 C9 0F 8E 8E 00 00 00 03 CA 83 F9 3C 0F 8E 83 00 00 00 B9 3C 00 00 00 6A 00 50 2B CA 6A 3C 6A 00 89 08 E8 B7 FD FF FF 83 C4 10 C3 8B 08 83 F9 3C 7D 09 85 C9 7E 0D 83 F9 3C 7C 0A B9 3C 00 00 00 89 08 C3 33 C9 89 08 C3 42 89 10 8D 91 F0 00 00 00 8B 08 83 F9 3C 7D 09 85 C9 7E 0C 83 F9 3C 7C 09 B9 3C 00 00 00 EB 02 33 C9 85 D2 89 08 74 25 8B 02 85 C0 7E 1F 03 C1 83 F8 3C 7E 18 B8 3C 00 00 00 6A 00 52 2B C1 6A 3C 6A 00 89 02 E8 4C FD FF FF 83 C4 10 C3 90 90 90 90 90 90 90 90 8B 91 F4 00 00 00 8D 81 F4 00 00 00 85 D2 0F 8D 86 00 00 00 F7 DA 85 D2 89 10 0F 8E C7 00 00 00 8B 91 F0 00 00 00 85 D2 7E 53 83 FA 3C 7D 09 85 D2 7E 0C 83 FA 3C 7C 09 BA 3C 00 00 00 EB 02 33 D2 85 C0 89 91 F0 00 00 00 0F 84 98 00 00 00 8B 08 85 C9 0F 8E 8E 00 00 00 03 CA 83 F9 3C 0F 8E 83 00 00 00 B9 3C 00 00 00 6A 00 50 2B CA 6A 3C 6A 00 89 08 E8 C7 FC FF FF 83 C4 10 C3 8B 08 83 F9 3C 7D 09 85 C9 7E 0D 83 F9 3C 7C 0A B9 3C 00 00 00 89 08 C3 33 C9 89 08 C3 4A 89 10 8D 91 F0 00 00 00 8B 08 83 F9 3C 7D 09 85 C9 7E 0C 83 F9 3C 7C 09 B9 3C 00 00 00 EB 02 33 C9 85 D2 89 08 74 25 8B 02 85 C0 7E 1F 03 C1 83 F8 3C 7E 18 B8 3C 00 00 00 6A 00 52 2B C1 6A 3C 6A 00 89 02 E8 5C FC FF FF 83 C4 10 C3 90 90 90 90 90 90 90 90 8B 81 F4 00 00 00 8D 91 F4 00 00 00 85 C0 74 04 F7 D8 EB 03 83 C8 FF 85 C0 89 02 7E 6D 8B 81 F0 00 00 00 85 C0 7E 47 83 F8 3C 7D 09 85 C0 7E 0C 83 F8 3C 7C 09 B8 3C 00 00 00 EB 02 33 C0 85 D2 89 81 F0 00 00 00 74 42 8B 0A 85 C9 7E 3C 03 C8 83 F9 3C 7E 35 B9 3C 00 00 00 6A 00 52 2B C8 6A 3C 6A 00 89 0A E8 E6 FB FF FF 83 C4 10 C3 8B 02 83 F8 3C 7D 09 85 C0 7E 0D 83 F8 3C 7C 0A B8 3C

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago - 4 years 1 month ago #1476 by Slippery Jim
Very interesting. Good work! As far as I can tell quickly looking over your post there are 15 hacks total (7 tango and 8 civ spots?). That correct?

Perhaps Copy-Cat can find a more direct hack? Perhaps there won't be and this is the only method?

Please Log in or Create an account to join the conversation.

Moderators: DarkSynopsis
Time to create page: 0.538 seconds
Powered by Kunena Forum