Jump to content

Change police level on multiplayer map


Recommended Posts

If you downloaded the multiplayer map and it come with a .mis file, you just need to find the CHANGE_POLICE_LEVEL command. If its an original GTA2 multiplayer level (Face Off, Tiny Town, Hidden Surprise, Downtown or Residential, the Industrial has the .mis file released) you need to hex-edit the compiled ones. The same for a map wich didnt come with the .mis file. Ask Sektor, he has done it before, maybe he can help you with this.

I don't have any easy way to find the wanted level in a compiled GTA2 mission file.

 

I suggest just recreating the Face Off script from scratch, replace invul and invis with rocket or electrogun while you are at it.

 

The game will go out of sync if you see a tank roadblock, so FBI is highest safe wanted level.

Edited by Sektor

I have the coordinates of all weapons and pick-ups, but I don't have the exact coordinates of all the initial player spawn points. If someone would supply them, I could recreate the MIS files of the multiplayerlevels.

 

Hidden Surprise

P1 Loonie (green) 146.5 , 17.5 , 2.0 0°

P2 Yakuza (blue) 144.5 , 36.5 , 2.0 90°

P3 Zaibatsu (grey) 182.5 , 33.5 , 2.0 180°

P4 Russian (red) 204.5 , 27.5 , 2.0 0°

P5 Krishna (orange) 228.5 , 44.5 , 2.0 0°

P6 Redneck (red hair, blue) 250.5 , 37.5 , 2.0 90°

 

Tiny Town

P1 Russian (red) 62.5 , 193.5 , 2.0 0°

P2 Krishna (orange) 83.5 , 179.5 , 2.0 90°

P3 Zaibatsu (grey) 115.5 , 169.5 , 2.0 270°

P4 Redneck (blond hair, blue) 53.5 , 164.5 , 2.0 0°

P5 Redneck (blond hair, blue) 77.5 , 170.5 , 2.0 0°

P6 Cop (purple) 84.5 , 192.5 , 2.0 270°

 

Face Off

P1 Redneck (red hair, blue) 44.5 , 201.5 , 5.0 135°

P2 SRS (yellow) 48.5 , 201.5 , 5.0 225°

P3 Zaibatsu (grey) 44.5 , 199.5 , 5.0 45°

P4 Loony (green) 48.5 , 199.5 , 5.0 315°

P5 Yakuza (blue) 46.5 , 199.5 , 5.0 0°

P6 Cop (purple) 46.5 , 201.5 , 5.0 180°

 

Note: starting positions vary between mmp files. These come from MP5-6P.scr

 

Downtown District

P1 Yakuza (blue) 159.5 , 139.5 , 2.0 0°

P2 ?

P3 ?

P4 ?

P5 ?

P6 ?

 

Residential District

P1 Redneck (red hair, blue) 97.5 , 73.5 , 2.0 0°

P2 ?

P3 ?

P4 ?

P5 ?

P6 ?

 

Industrial District

P1 Cop 129.5 , 121.0 , 2.0 90°

P2 ?

P3 ?

P4 ?

P5 ?

P6 ?

 

EDIT: Gustavob & B-$hep's data added. Thanks!

Edited by Lantyz

You can use the GTA2 Power Manager to activate the debug keys (by checking 'Do Debug Keys' in the tab 'debug'). Pressing 'C' will show you the coordinates of your current position.

Or, if you don't want to or aren't able to use the Power Manager, you could just make screenshots and I'll be able to figure out the coordinates with the map editor.

 

The problem is that you need six players in a single game to find out all the coordinates, which has become a bit of a rarity in online GTA2. I once tried to organise five Polish gamers at the Game Hunter into telling me their starting positions, but after half an hour of frustrating misunderstandings I decided it really wasn't worth my time. suicidal.gif

Debug keys don't work in multiplayer (so C won't display cooridinates) but Vike made a special exe that allows it (if every player uses same exe).

 

I want to setup 5 virtual machines sometime so I could do multiplayer tests all from the one PC.

Game will crash if you use patched script unless everybody has the script.

Same thing with my ped remapper tool.

 

It doesn't work in multiplayer.

 

 

I dunno. I just tried Face Off scripts and it has 6 wanted levels.

 

 

What's the problem?

Edited by B-$hep

 

Face Off

P1 Redneck (red hair, blue) 44.5 , 201.5 , 5.0 135°

P2 ?

P3 ?

P4 ?

P5 ?

P6 ?

I have coordinates for P1-4 in Face Off, and remaps for P1-3, dont have the remap for P4.

 

Face Off

P1 Redneck (red hair, blue) 44.5 , 201.5 , 5.0 135º

P2 SRS (yellow) 48.5 , 201.5 , 5.0 225º

P3 Zaibatsu (gray/black) 44.5 , 199.5 , 5.0 45º

P4 ? (?) 48.5 , 199.5 , 5.0 315º

P5 ?

P6 ?

 

P5 and P6 can be 44.5 , 200.5 and 48.5 , 200.5 or 46.5 , 199.5 , 5.0 and 46.5 , 201.5 , 5.0, but I dont know what of them is used.

Debug keys don't work in multiplayer (so C won't display cooridinates) but Vike made a special exe that allows it (if every player uses same exe).

 

I want to setup 5 virtual machines sometime so I could do multiplayer tests all from the one PC.

Where can I get this special exe?

I figured out how the coordinates are saved in compiled scripts (.SCR) files.

It needs just tidying up a bit.

Also figured out getting coordinates from SCR files. Pretty complicated thing but seems that i busted it.

 

There are some tweaks to do and i will release new SCR tool.

Then the coordinates can be get using this tool.

 

 

Of course you don't have to wait for my new version of SCR tool but i just wanted you to know that it will be easier in future.

Edited by B-$hep

Lantyz

 

I got these with my tool. This is correct data:

 

Face Off

P1 Redneck (red hair, blue) 44.5 , 201.5 , 5.0 135°

P2 SRS (yellow) 44.5 , 201.5 , 5.0 135°

P3 Zaibatsu (gray/black) 44.5 , 201.5 , 5.0 135°

P4 Loony (green) 48.5 , 199.5 , 5.0 315°

P5 Yakuza (blue) 46.5 , 199.5 , 5.0 0°

P6 Russian (red) 46.5 , 201.5 , 5.0 180°

 

 

Enjoy!

 

 

I did this with my tool in hard way. I will solve the problem with it and i will release the updated SCR tool.

 

 

Also expect alot bugfixes: specially multiplayer handling. I totally forgot them in my tool.

Edited by B-$hep

 

I did this with my tool in hard way. I will solve the problem with it and i will release the updated SCR tool.

Thanks for the data. The coordinates of P1, 2 and 3 in your post were identical, but I take it Gustavob's data are correct. I'm looking forward to your tool!

 

Since we've got all coordinates of Face Off, I could create a reasonable accurate copy of the script. The amount of ammo may be off here and there, please let me know if I missed something.

 

JoTaB, I don't know if you're familiar with scripting? To change the maximum wanted level, you simply need to add "DECLARE_POLICELEVEL ( 5 )" somewhere before LEVELSTART. Let me know if you need help with this.

 

 

PLAYER_PED player1 = ( 44.5 , 201.5 , 5.0 ) 5 135PLAYER_PED player2 = ( 48.5 , 201.5 , 5.0 ) 7 225PLAYER_PED player3 = ( 44.5 , 199.5 , 5.0 ) 8 45PLAYER_PED player4 = ( 48.5 , 199.5 , 5.0 ) 11 315PLAYER_PED player5 = ( 46.5 , 199.5 , 5.0 ) 13 0PLAYER_PED player6 = ( 46.5 , 201.5 , 5.0 ) 10 180GENERATOR pistol1 = ( 46.5 , 200.5 , 5.0 ) 0 COLLECT_00 1799 1800 40GENERATOR pistol2 = ( 83.5 , 209.5 , 2.0 ) 0 COLLECT_00 1799 1800 40GENERATOR pistol3 = ( 26.5 , 207.5 , 2.0 ) 0 COLLECT_00 1799 1800 40GENERATOR dualpistol1 = ( 36.5 , 187.5 , 2.0 ) 0 COLLECT_10 1799 1800 20GENERATOR dualpistol2 = ( 110.5 , 205.5 , 2.0 ) 0 COLLECT_10 1799 1800 20GENERATOR dualpistol3 = ( 11.5 , 216.5 , 2.0 ) 0 COLLECT_10 1799 1800 20GENERATOR dualpistol4 = ( 49.0 , 224.0 , 2.0 ) 0 COLLECT_10 1799 1800 20GENERATOR mac1 = ( 32.0 , 241.0 , 2.0 ) 0 COLLECT_01 1799 1800 15GENERATOR mac2 = ( 12.5 , 249.5 , 2.0 ) 0 COLLECT_01 1799 1800 15GENERATOR mac3 = ( 40.5 , 216.5 , 2.0 ) 0 COLLECT_01 1799 1800 15GENERATOR mac4 = ( 99.5 , 216.5 , 2.0 ) 0 COLLECT_01 1799 1800 15GENERATOR silmac1 = ( 33.0 , 202.0 , 3.0 ) 0 COLLECT_09 1799 1800 15GENERATOR silmac2 = ( 102.5 , 250.5 , 2.0 ) 0 COLLECT_09 1799 1800 15GENERATOR shotgun1 = ( 74.5 , 193.5 , 2.0 ) 0 COLLECT_06 1799 1800 15GENERATOR shotgun2 = ( 58.5 , 223.5 , 2.0 ) 0 COLLECT_06 1799 1800 15GENERATOR shotgun3 = ( 99.5 , 222.5 , 2.0 ) 0 COLLECT_06 1799 1800 15GENERATOR shotgun4 = ( 17.5 , 244.5 , 2.0 ) 0 COLLECT_06 1799 1800 15GENERATOR flame = ( 3.0 , 198.0 , 3.0 ) 0 COLLECT_08 1799 1800 7GENERATOR electro = ( 35.0 , 218.0 , 4.0 ) 0 COLLECT_03 1799 1800 7GENERATOR bagoom1 = ( 99.5 , 244.5 , 3.0 ) 0 COLLECT_02 1799 1800 5GENERATOR bagoom2 = ( 4.5 , 227.5 , 2.0 ) 0 COLLECT_02 1799 1800 5GENERATOR grenades1 = ( 3.5 , 190.5 , 2.0 ) 0 COLLECT_05 1799 1800 10GENERATOR grenades2 = ( 65.5 , 209.5 , 2.0 ) 0 COLLECT_05 1799 1800 10GENERATOR grenades3 = ( 72.5 , 244.5 , 2.0 ) 0 COLLECT_05 1799 1800 10GENERATOR molotovs = ( 105.0 , 229.0 , 3.0 ) 0 COLLECT_04 1799 1800 10GENERATOR vehmines = ( 59.5 , 201.5 , 2.0 ) 0 COLLECT_17 1799 1800 4 //consider removing thisGENERATOR vehoil = ( 95.5 , 191.5 , 2.0 ) 0 COLLECT_16 1799 1800 5GENERATOR vehmac = ( 69.5 , 250.5 , 2.0 ) 0 COLLECT_18 1799 1800 10GENERATOR vehbomb = ( 56.0 , 239.0 , 2.0 ) 0 COLLECT_15  1799 1800 1GENERATOR fingers = ( 18.0 , 198.0 , 3.0 ) 0 COLLECT_37 1799 1800 GENERATOR fr = ( 82.5 , 207.5 , 2.0 ) 0 COLLECT_36 1799 1800 GENERATOR health = ( 34.0 , 218.0 , 4.0 ) 0 COLLECT_30 1799 1800 GENERATOR armor = ( 4.5 , 241.5 , 2.0 ) 0 COLLECT_31 1799 1800 GENERATOR invul = ( 4.5 , 226.5 , 2.0 ) 0 COLLECT_34 1799 1800 //consider removing thisGENERATOR invis = ( 85.0 , 220.5 , 2.0 ) 0 COLLECT_39 1799 1800 //consider removing thisGENERATOR gang = ( 54.5 , 249.5 , 2.0 ) 0 COLLECT_40 1799 1800 LEVELSTARTSWITCH_GENERATOR ( pistol1 , ON )SWITCH_GENERATOR ( pistol2 , ON )SWITCH_GENERATOR ( pistol3 , ON )SWITCH_GENERATOR ( dualpistol1 , ON )SWITCH_GENERATOR ( dualpistol2 , ON )SWITCH_GENERATOR ( dualpistol3 , ON )SWITCH_GENERATOR ( dualpistol4 , ON )SWITCH_GENERATOR ( mac1 , ON )SWITCH_GENERATOR ( mac2 , ON )SWITCH_GENERATOR ( mac3 , ON )SWITCH_GENERATOR ( mac4 , ON )SWITCH_GENERATOR ( silmac1 , ON )SWITCH_GENERATOR ( silmac2 , ON )SWITCH_GENERATOR ( shotgun1 , ON )SWITCH_GENERATOR ( shotgun2 , ON )SWITCH_GENERATOR ( shotgun3 , ON )SWITCH_GENERATOR ( shotgun4 , ON )SWITCH_GENERATOR ( flame , ON )SWITCH_GENERATOR ( electro , ON )SWITCH_GENERATOR ( bagoom1 , ON )SWITCH_GENERATOR ( bagoom2 , ON )SWITCH_GENERATOR ( grenades1 , ON )SWITCH_GENERATOR ( grenades2 , ON )SWITCH_GENERATOR ( grenades3 , ON )SWITCH_GENERATOR ( molotovs , ON )SWITCH_GENERATOR ( vehmines , ON ) //consider removing thisSWITCH_GENERATOR ( vehoil , ON )SWITCH_GENERATOR ( vehmac , ON )SWITCH_GENERATOR ( vehbomb , ON )SWITCH_GENERATOR ( fingers , ON )SWITCH_GENERATOR ( fr , ON )SWITCH_GENERATOR ( health , ON )SWITCH_GENERATOR ( armor , ON )SWITCH_GENERATOR ( invul , ON ) //consider removing thisSWITCH_GENERATOR ( invis , ON ) //consider removing thisSWITCH_GENERATOR ( gang , ON )LEVELEND

 

Edited by Lantyz

 

I just tried Face Off scripts and it has 6 wanted levels.

That's only in singleplayer but if you start it with a 1 player MMP file or in multiplayer, the wanted level is restricted to 1 unless the script has a police level line.

 

Good job on finding the coordinates in the SCR file.

 

Here's Vike's exe that lets you use debug keys in multiplayer (teleport, show coordinates, restore health, change wanted/respect level).

 

http://gtamp.com/GTA2/gta2-debug-multiplayer.7z

 

It won't work with GH, you'll have to join games manually using manager-hkcu.exe (included) and your opponent needs the same files. You could already find out all the weapon coordinates in singleplayer and B-$hep's SCR tool will be able to get the player spawn points but maybe someone can find a use for it.

Edited by Sektor

Thanks a lot everyone! biggrin.gif

 

I took your script and added the Policelevel into it, made scripts for 2-6 players and compiled them. Thought i might share it here: Download

 

It should be possible to somehow have a launcher that edits the files accordingly when starting a multiplayer game, just and idea!

 

Thanks all again!

It's 5:31 AM here.

 

I think it is possible but how do you start multiplayer?

From Gamehunter?

 

Detecting this automatically will be hard i guess (if not impossible).

But i will look what can i do.

 

 

My SCR tool is almost done, this little app is getting very complex (already over 2000 lines of code) so there are few bugs i found and should fix before releasing it for people to test.

 

Nr of lines in code doesn't make it complex but code itself, it's all very tricky and alot of things must be done in order for this to work as it should.

 

Not many of these bugs but very important things that must be fixed.

Edited by B-$hep

I got another idea i tried to test last night, can you run 7 or even more players on gta2 multiplayer? I edited the mmp file and compiled a .scr with 7 starting positions. Sadly my computer crashed when i fired up the 5th virtual machine =/ Will try again today with more than one virtual machine host.

Just editing the MMP files is not enough to allow 7 player support, it will crash.

Actually it wont even let the 7th player join the game, it disappears from the list of network games the second (or minute...) a 6th player joins. I wonder what happens if you manage to remove this limit, and how one would go about doing that.

http://gtamp.com/GTA2/maps/faceoff-revised.7z

 

Thanks to Lantyz, B-$hep and Gustavob for finding all Face off weapon and player coordinates and recreating the script.

 

I just made the gang powerup instantly respawn, removed invul, replaced invis with rocket launcher and put a double damage powerup somewhere on the map. Max wanted level is 5.

Edited by Sektor

OK guys, i will try to release new version of SCR tool today.

As i said it has bugs.

 

 

It has some logical errors in code that returns wrong Y and Z coordinate sometimes.

If you click combobox again, it updates coordinate and returns correct one.

 

Each new or existing player is added into combobox and this is where bug comes in.

But i will fix it.

 

Then release a new version for testing.

This piece of code is getting very complex.

Edited by B-$hep

Sounds great with the SCR tool! biggrin.gif Will make some things a lot easier!

 

I played like 15 games with my brothers (3 of them) with up to wanted level 5. This is FUN biggrin.gif haha, its totally crazy playing with swat teams and special agents all over the place! Makes gameplay better too, since you will get a high wanted level when blowing up someone a few times, resulting in better survival odds for the respawning players.

 

We removed the electrogun when we played too, without the invulnerability somewhere on the map it seems overpowered, what is your opinion?

Sektor

 

You forgot to include number of players in faceoff SCR filename.

My tool is unable to detect nr of players without this.

 

It must guess this if user doesn't specify it by himself.

 

 

 

Jotab, Sektor and others:

 

Read my latest post here

http://www.gtaforums.com/index.php?act=ST&...entry1059708228

 

I released new test version

 

README.TXT has little tutorial how to change coords in STE.SCR to pay a a little visit to

Zaibatsu!

 

 

Please go through this tutorial and test it!

 

 

I want you all to test it, do you see something strange when using it?

Bugs? Weird coordinates?

 

 

Also please remember that it saves coordinates ONLY FOR PLAYER 1!

It doesn't save others yet.

 

Just test everything you can with player 1 and let me know how it works.

Edited by B-$hep

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.