Quantcast

Jump to content

» «
Photo

2 Police Mavericks

6 replies to this topic
maurice16
  • maurice16

    Modder to the Maxx

  • Members
  • Joined: 02 Apr 2013

#1

Posted 12 July 2013 - 01:34 AM

Is there a way or some code I could use to get a 2nd police maverick after me? And if so is it possible to set the second maverick to come when I have 5 stars?

Jack...
  • Jack...

    Firearms and adrenaline!!!

  • Members
  • Joined: 06 Dec 2011
  • None

#2

Posted 12 July 2013 - 04:12 PM Edited by JACK JONES, 12 July 2013 - 04:16 PM.

Download my SWAT in the air mod, extract everything besides 3starheli.cs to CLEO folder, open #Chopper.cs (from CLEO folder) with Sanny Builder, find the first 5 lines that look like this:
CODE
wait 250
if and
0256:   player $PLAYER_CHAR defined
010F:   player $PLAYER_CHAR wanted_level > 2
810F:   not   player $PLAYER_CHAR wanted_level > 5

, replace it with this:
CODE
wait 250
if and
0256:   player $PLAYER_CHAR defined
010F:   player $PLAYER_CHAR wanted_level > 4

press f6, close everything, start the game and my helicopter will attack you at 5th and 6th star.
If you hate my new heli then use the address 0xA10ADB (works with 1.0) to call another chopper.

maurice16
  • maurice16

    Modder to the Maxx

  • Members
  • Joined: 02 Apr 2013

#3

Posted 12 July 2013 - 04:52 PM

QUOTE (JACK JONES @ Friday, Jul 12 2013, 16:12)
Download my SWAT in the air mod, extract everything besides 3starheli.cs to CLEO folder, open #Chopper.cs (from CLEO folder) with Sanny Builder, find the first 5 lines that look like this:
CODE
wait 250
if and
0256:   player $PLAYER_CHAR defined
010F:   player $PLAYER_CHAR wanted_level > 2
810F:   not   player $PLAYER_CHAR wanted_level > 5

, replace it with this:
CODE
wait 250
if and
0256:   player $PLAYER_CHAR defined
010F:   player $PLAYER_CHAR wanted_level > 4

press f6, close everything, start the game and my helicopter will attack you at 5th and 6th star.
If you hate my new heli then use the address 0xA10ADB (works with 1.0) to call another chopper.


So how can i call 2?

Jack...
  • Jack...

    Firearms and adrenaline!!!

  • Members
  • Joined: 06 Dec 2011
  • None

#4

Posted 12 July 2013 - 05:57 PM

You either use the method I described with my mod (2 choppers will attack you - the old and mine after 4th star) or use this code:
CODE
{$CLEO}
0000:  

while true
   repeat
       wait 0
   until 010F:   player $PLAYER_CHAR wanted_level > 4
   05DF: write_memory 0xA10ADB size 1 value 1 virtual_protect 0

   while 010F:   player $PLAYER_CHAR wanted_level > 4
       wait 0
   end
   05DF: write_memory 0xA10ADB size 1 value 0 virtual_protect 0
end

and then 2 old choppers should attack.

maurice16
  • maurice16

    Modder to the Maxx

  • Members
  • Joined: 02 Apr 2013

#5

Posted 12 July 2013 - 09:49 PM

QUOTE (JACK JONES @ Friday, Jul 12 2013, 17:57)

CODE
{$CLEO}
0000:  

while true
   repeat
       wait 0
   until 010F:   player $PLAYER_CHAR wanted_level > 4
   05DF: write_memory 0xA10ADB size 1 value 1 virtual_protect 0

   while 010F:   player $PLAYER_CHAR wanted_level > 4
       wait 0
   end
   05DF: write_memory 0xA10ADB size 1 value 0 virtual_protect 0
end

and then 2 old choppers should attack.


So can I just make a new cleo with this code or do i replace it in yours? BTW thanks, alot of people dont answer noob questions, but im just new at all this coding icon14.gif

Jack...
  • Jack...

    Firearms and adrenaline!!!

  • Members
  • Joined: 06 Dec 2011
  • None

#6

Posted 14 July 2013 - 10:31 AM

Make a new CLEO panic.gif.

maurice16
  • maurice16

    Modder to the Maxx

  • Members
  • Joined: 02 Apr 2013

#7

Posted 14 July 2013 - 11:54 AM

CODE
until 010F:   player $PLAYER_CHAR wanted_level > 4
   05DF: write_memory 0xA10ADB size 1 value 1 virtual_protect 0

   while 010F:   player $PLAYER_CHAR wanted_level > 4


If i change one of these to 2 will they attack at different times, I want one to attack at 3 stars and one to tag along at 5.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users