IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Pages: (2) [1] 2   ( Go to first unread post ) Reply to this topicStart new topicStart Poll

 Change police level on multiplayer map

 
JoTaB  
Posted: Monday, Dec 7 2009, 16:06
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 21, 2009

XXXXX



Is it possible to change the maximum wanted level on the multiplayer maps? I'm thinking about an edited mission file, but do i need to hex-edit the compiled one? Please point me in the right direction =)

Thanks! biggrin.gif
PM
  Top
 

 
Gustavob  
Posted: Tuesday, Dec 8 2009, 22:18
Quote Post


Martian
Group Icon
Group: Members
Joined: May 17, 2009

mars.gif

XXXXX



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.
Users WebsitePM
  Top
 

 
JoTaB  
Posted: Wednesday, Dec 9 2009, 01:05
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 21, 2009

XXXXX



Ok, i'll PM him.

The map i was thinking of editing was Face Off, my favourite multiplayer map xD Played it TOO many times haha biggrin.gif
PM
  Top
 

 
Sektor  
Posted: Wednesday, Dec 9 2009, 01:51
Quote Post


GTAMP.com
Group Icon
Group: Members
Joined: Jan 28, 2003

au.gif

Member Award




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.

This post has been edited by Sektor on Wednesday, Dec 9 2009, 09:19
Users WebsitePMMSNXbox Live
  Top
 

 
Lantyz  
Posted: Thursday, Dec 10 2009, 14:49
Quote Post


S · Q · R · L
Group Icon
Group: Members
Joined: Sep 24, 2005

nl.gif

XXXXX



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!

This post has been edited by Lantyz on Monday, Dec 28 2009, 14:45
Users WebsitePMMSN
  Top
 

 
JoTaB  
Posted: Friday, Dec 11 2009, 23:25
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 21, 2009

XXXXX



What is the proper way to get the coordinates of the player in-game? I could get them if i just knew how smile.gif
PM
  Top
 

 
Lantyz  
Posted: Saturday, Dec 12 2009, 09:27
Quote Post


S · Q · R · L
Group Icon
Group: Members
Joined: Sep 24, 2005

nl.gif

XXXXX



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
Users WebsitePMMSN
  Top
 

 
JoTaB  
Posted: Saturday, Dec 12 2009, 10:47
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 21, 2009

XXXXX



I can get 6 players on a LAN, just give me some days and i'll get you the coordinates (im not at home right now). I think it will be crazy with FBI agents on multiplayer xD
PM
  Top
 

 
Sektor  
Posted: Saturday, Dec 12 2009, 12:58
Quote Post


GTAMP.com
Group Icon
Group: Members
Joined: Jan 28, 2003

au.gif

Member Award




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.
Users WebsitePMMSNXbox Live
  Top
 

 
B-$hep  
Posted: Saturday, Dec 12 2009, 13:39
Quote Post


0xBADF00D
Group Icon
Group: Members
Joined: Nov 13, 2004

et.gif

XXXXX



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?

This post has been edited by B-$hep on Saturday, Dec 12 2009, 14:01
Users WebsitePMMSN
  Top
 

 
Gustavob  
Posted: Saturday, Dec 12 2009, 17:31
Quote Post


Martian
Group Icon
Group: Members
Joined: May 17, 2009

mars.gif

XXXXX



QUOTE (Lantyz @ Dec 10 2009, 14:49)
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.
Users WebsitePM
  Top
 

 
JoTaB  
Posted: Sunday, Dec 13 2009, 14:11
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 21, 2009

XXXXX



QUOTE (Sektor @ Dec 12 2009, 12:58)
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?
PM
  Top
 

 
B-$hep  
Posted: Sunday, Dec 13 2009, 16:16
Quote Post


0xBADF00D
Group Icon
Group: Members
Joined: Nov 13, 2004

et.gif

XXXXX



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.

This post has been edited by B-$hep on Sunday, Dec 13 2009, 16:24
Users WebsitePMMSN
  Top
 

 
B-$hep  
Posted: Wednesday, Dec 16 2009, 02:10
Quote Post


0xBADF00D
Group Icon
Group: Members
Joined: Nov 13, 2004

et.gif

XXXXX



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.

This post has been edited by B-$hep on Wednesday, Dec 16 2009, 02:25
Users WebsitePMMSN
  Top
 

 
Lantyz  
Posted: Wednesday, Dec 16 2009, 19:58
Quote Post


S · Q · R · L
Group Icon
Group: Members
Joined: Sep 24, 2005

nl.gif

XXXXX



QUOTE (B-$hep @ Dec 16 2009, 03:10)
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.

CODE
PLAYER_PED player1 = ( 44.5 , 201.5 , 5.0 ) 5 135
PLAYER_PED player2 = ( 48.5 , 201.5 , 5.0 ) 7 225
PLAYER_PED player3 = ( 44.5 , 199.5 , 5.0 ) 8 45
PLAYER_PED player4 = ( 48.5 , 199.5 , 5.0 ) 11 315
PLAYER_PED player5 = ( 46.5 , 199.5 , 5.0 ) 13 0
PLAYER_PED player6 = ( 46.5 , 201.5 , 5.0 ) 10 180

GENERATOR pistol1 = ( 46.5 , 200.5 , 5.0 ) 0 COLLECT_00 1799 1800 40
GENERATOR pistol2 = ( 83.5 , 209.5 , 2.0 ) 0 COLLECT_00 1799 1800 40
GENERATOR pistol3 = ( 26.5 , 207.5 , 2.0 ) 0 COLLECT_00 1799 1800 40
GENERATOR dualpistol1 = ( 36.5 , 187.5 , 2.0 ) 0 COLLECT_10 1799 1800 20
GENERATOR dualpistol2 = ( 110.5 , 205.5 , 2.0 ) 0 COLLECT_10 1799 1800 20
GENERATOR dualpistol3 = ( 11.5 , 216.5 , 2.0 ) 0 COLLECT_10 1799 1800 20
GENERATOR dualpistol4 = ( 49.0 , 224.0 , 2.0 ) 0 COLLECT_10 1799 1800 20
GENERATOR mac1 = ( 32.0 , 241.0 , 2.0 ) 0 COLLECT_01 1799 1800 15
GENERATOR mac2 = ( 12.5 , 249.5 , 2.0 ) 0 COLLECT_01 1799 1800 15
GENERATOR mac3 = ( 40.5 , 216.5 , 2.0 ) 0 COLLECT_01 1799 1800 15
GENERATOR mac4 = ( 99.5 , 216.5 , 2.0 ) 0 COLLECT_01 1799 1800 15
GENERATOR silmac1 = ( 33.0 , 202.0 , 3.0 ) 0 COLLECT_09 1799 1800 15
GENERATOR silmac2 = ( 102.5 , 250.5 , 2.0 ) 0 COLLECT_09 1799 1800 15
GENERATOR shotgun1 = ( 74.5 , 193.5 , 2.0 ) 0 COLLECT_06 1799 1800 15
GENERATOR shotgun2 = ( 58.5 , 223.5 , 2.0 ) 0 COLLECT_06 1799 1800 15
GENERATOR shotgun3 = ( 99.5 , 222.5 , 2.0 ) 0 COLLECT_06 1799 1800 15
GENERATOR shotgun4 = ( 17.5 , 244.5 , 2.0 ) 0 COLLECT_06 1799 1800 15
GENERATOR flame = ( 3.0 , 198.0 , 3.0 ) 0 COLLECT_08 1799 1800 7
GENERATOR electro = ( 35.0 , 218.0 , 4.0 ) 0 COLLECT_03 1799 1800 7
GENERATOR bagoom1 = ( 99.5 , 244.5 , 3.0 ) 0 COLLECT_02 1799 1800 5
GENERATOR bagoom2 = ( 4.5 , 227.5 , 2.0 ) 0 COLLECT_02 1799 1800 5
GENERATOR grenades1 = ( 3.5 , 190.5 , 2.0 ) 0 COLLECT_05 1799 1800 10
GENERATOR grenades2 = ( 65.5 , 209.5 , 2.0 ) 0 COLLECT_05 1799 1800 10
GENERATOR grenades3 = ( 72.5 , 244.5 , 2.0 ) 0 COLLECT_05 1799 1800 10
GENERATOR molotovs = ( 105.0 , 229.0 , 3.0 ) 0 COLLECT_04 1799 1800 10

GENERATOR vehmines = ( 59.5 , 201.5 , 2.0 ) 0 COLLECT_17 1799 1800 4 //consider removing this
GENERATOR vehoil = ( 95.5 , 191.5 , 2.0 ) 0 COLLECT_16 1799 1800 5
GENERATOR vehmac = ( 69.5 , 250.5 , 2.0 ) 0 COLLECT_18 1799 1800 10
GENERATOR vehbomb = ( 56.0 , 239.0 , 2.0 ) 0 COLLECT_15  1799 1800 1

GENERATOR 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 this
GENERATOR invis = ( 85.0 , 220.5 , 2.0 ) 0 COLLECT_39 1799 1800 //consider removing this
GENERATOR gang = ( 54.5 , 249.5 , 2.0 ) 0 COLLECT_40 1799 1800

LEVELSTART

SWITCH_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 this
SWITCH_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 this
SWITCH_GENERATOR ( invis , ON ) //consider removing this
SWITCH_GENERATOR ( gang , ON )

LEVELEND


This post has been edited by Lantyz on Wednesday, Dec 16 2009, 20:03
Users WebsitePMMSN
  Top
 

 
Sektor  
Posted: Friday, Dec 18 2009, 05:09
Quote Post


GTAMP.com
Group Icon
Group: Members
Joined: Jan 28, 2003

au.gif

Member Award




QUOTE (B-$hep @ Dec 13 2009, 00:39)
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.

This post has been edited by Sektor on Friday, Dec 18 2009, 05:34
Users WebsitePMMSNXbox Live
  Top
 

 
JoTaB  
Posted: Wednesday, Dec 23 2009, 00:14
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 21, 2009

XXXXX



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!
PM
  Top
 

 
B-$hep  
Posted: Wednesday, Dec 23 2009, 03:25
Quote Post


0xBADF00D
Group Icon
Group: Members
Joined: Nov 13, 2004

et.gif

XXXXX



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.

This post has been edited by B-$hep on Wednesday, Dec 23 2009, 03:29
Users WebsitePMMSN
  Top
 

 
JoTaB  
Posted: Wednesday, Dec 23 2009, 10:24
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 21, 2009

XXXXX



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.
PM
  Top
 

 
B-$hep  
Posted: Wednesday, Dec 23 2009, 10:35
Quote Post


0xBADF00D
Group Icon
Group: Members
Joined: Nov 13, 2004

et.gif

XXXXX



Maybe GTA2 allows it but probably will go out of sync or crashes.
But let us know.

This is getting interesting, i should run also few VM's.
Users WebsitePMMSN
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Pages: (2) [1] 2 

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG