Quantcast

Jump to content

» «
Photo

I need help with my script of killer peds

5 replies to this topic
TomiiM
  • TomiiM

    The Serial Killer

  • Members
  • Joined: 08 Jan 2018
  • Argentina

#1

Posted 08 January 2018 - 06:10 AM

Welcome to all, i need some help for a series of mods that I'm creating. This mods try to recreate serial killers in gta but I have a very basic knowledge about modding and i need help in.

 

*When I point to a ped, he raises his hands and i dont like it

*When i kill a mod, it does not appear again and I would like it to do so

*How can I do to have a climate in the area of ​​the mod?

 

Please help me

PD: Excuse me if my English is poorly written

 


Sanmodder
  • Sanmodder

    Fan script

  • Members
  • Joined: 11 Sep 2017
  • Poland

#2

Posted 10 January 2018 - 06:30 AM

if you want to have more impressions, add my code

Welcome to all, i need some help for a series of mods that I'm creating. This mods try to recreate serial killers in gta but I have a very basic knowledge about modding and i need help in.

 

*When I point to a ped, he raises his hands and i dont like it

*When i kill a mod, it does not appear again and I would like it to do so

*How can I do to have a climate in the area of ​​the mod?

 

Please help me

PD: Excuse me if my English is poorly written

 

{$CLEO .CS}

0000: nop 

Model.Load(#MICRO_UZI)
Model.Load(#MP5LNG)
Model.Load(#AK47)
Model.Load(#M4)
Model.Load(#TEC9)
038B: load_requested_models 

while true
    wait 0 
    if or
       not Model.Available(#MICRO_UZI)
       not Model.Available(#MP5LNG)
       not Model.Available(#AK47)
       not Model.Available(#M4)
       not Model.Available(#TEC9)
    jf break 
end 

0209: [email protected] = random_int_in_ranges 28 32 
while true
    repeat
    wait 0 
    until if  Player.Defined(0)
    Actor.StorePos($PLAYER_ACTOR, [email protected], [email protected], [email protected])
    if
       0AE1: [email protected] = random_actor_near_point [email protected] [email protected] [email protected] in_radius 2650.0 find_next 1 pass_deads 0 //IF and SET 
    then
        if
            not actor.Dead([email protected])
        then
            if 
                not Actor.HasWeapon([email protected], [email protected])
            then 
            Actor.GiveWeaponAndAmmo([email protected], [email protected], 9000)
            Actor.WeaponAccuracy([email protected]) = 88
            060B: set_actor [email protected] decision_maker_to 3
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 0 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 4 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 5 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 7 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 8 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 9 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 10 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 11 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 12 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 13 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 14 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 22 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 17 // see ped.dat 
            end
        end
    end
end
 

spyderblack66
  • spyderblack66

    expert recreating missions

  • Members
  • Joined: 18 Mar 2017
  • Argentina

#3

Posted 10 January 2018 - 06:06 PM

:evilgrin: as I do with the coordinates they are not marked there to put them


how did you do to put it blank and write the codes you tell me please


Sanmodder
  • Sanmodder

    Fan script

  • Members
  • Joined: 11 Sep 2017
  • Poland

#4

Posted 10 January 2018 - 06:20 PM

:evilgrin: as I do with the coordinates they are not marked there to put them


how did you do to put it blank and write the codes you tell me please

to whom this message to me :)


TomiiM
  • TomiiM

    The Serial Killer

  • Members
  • Joined: 08 Jan 2018
  • Argentina

#5

Posted 14 January 2018 - 12:19 AM Edited by TomiiM, 14 January 2018 - 12:19 AM.

 

if you want to have more impressions, add my code

Welcome to all, i need some help for a series of mods that I'm creating. This mods try to recreate serial killers in gta but I have a very basic knowledge about modding and i need help in.

 

*When I point to a ped, he raises his hands and i dont like it

*When i kill a mod, it does not appear again and I would like it to do so

*How can I do to have a climate in the area of ​​the mod?

 

Please help me

PD: Excuse me if my English is poorly written

 

{$CLEO .CS}

0000: nop 

Model.Load(#MICRO_UZI)
Model.Load(#MP5LNG)
Model.Load(#AK47)
Model.Load(#M4)
Model.Load(#TEC9)
038B: load_requested_models 

while true
    wait 0 
    if or
       not Model.Available(#MICRO_UZI)
       not Model.Available(#MP5LNG)
       not Model.Available(#AK47)
       not Model.Available(#M4)
       not Model.Available(#TEC9)
    jf break 
end 

0209: [email protected] = random_int_in_ranges 28 32 
while true
    repeat
    wait 0 
    until if  Player.Defined(0)
    Actor.StorePos($PLAYER_ACTOR, [email protected], [email protected], [email protected])
    if
       0AE1: [email protected] = random_actor_near_point [email protected] [email protected] [email protected] in_radius 2650.0 find_next 1 pass_deads 0 //IF and SET 
    then
        if
            not actor.Dead([email protected])
        then
            if 
                not Actor.HasWeapon([email protected], [email protected])
            then 
            Actor.GiveWeaponAndAmmo([email protected], [email protected], 9000)
            Actor.WeaponAccuracy([email protected]) = 88
            060B: set_actor [email protected] decision_maker_to 3
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 0 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 4 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 5 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 7 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 8 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 9 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 10 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 11 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 12 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 13 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 14 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 22 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 17 // see ped.dat 
            end
        end
    end
end
 

 

 

 

What is this?

060B: set_actor 3@ decision_maker_to 3
077A: set_actor 3@ acquaintance 4 to_actors_pedtype 0

  • Sanmodder likes this

Sanmodder
  • Sanmodder

    Fan script

  • Members
  • Joined: 11 Sep 2017
  • Poland

#6

Posted 14 January 2018 - 04:44 AM

 

 

if you want to have more impressions, add my code

Welcome to all, i need some help for a series of mods that I'm creating. This mods try to recreate serial killers in gta but I have a very basic knowledge about modding and i need help in.

 

*When I point to a ped, he raises his hands and i dont like it

*When i kill a mod, it does not appear again and I would like it to do so

*How can I do to have a climate in the area of ​​the mod?

 

Please help me

PD: Excuse me if my English is poorly written

 

{$CLEO .CS}

0000: nop 

Model.Load(#MICRO_UZI)
Model.Load(#MP5LNG)
Model.Load(#AK47)
Model.Load(#M4)
Model.Load(#TEC9)
038B: load_requested_models 

while true
    wait 0 
    if or
       not Model.Available(#MICRO_UZI)
       not Model.Available(#MP5LNG)
       not Model.Available(#AK47)
       not Model.Available(#M4)
       not Model.Available(#TEC9)
    jf break 
end 

0209: [email protected] = random_int_in_ranges 28 32 
while true
    repeat
    wait 0 
    until if  Player.Defined(0)
    Actor.StorePos($PLAYER_ACTOR, [email protected], [email protected], [email protected])
    if
       0AE1: [email protected] = random_actor_near_point [email protected] [email protected] [email protected] in_radius 2650.0 find_next 1 pass_deads 0 //IF and SET 
    then
        if
            not actor.Dead([email protected])
        then
            if 
                not Actor.HasWeapon([email protected], [email protected])
            then 
            Actor.GiveWeaponAndAmmo([email protected], [email protected], 9000)
            Actor.WeaponAccuracy([email protected]) = 88
            060B: set_actor [email protected] decision_maker_to 3
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 0 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 4 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 5 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 7 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 8 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 9 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 10 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 11 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 12 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 13 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 14 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 22 // see ped.dat 
            077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 17 // see ped.dat 
            end
        end
    end
end
 

 

 

 

What is this?

060B: set_actor 3@ decision_maker_to 3
077A: set_actor 3@ acquaintance 4 to_actors_pedtype 0

 

Acquaintance options:
4 - Hate
3 - Dislike
2 - Like    
1 - Respect
--------------------------------------------------------------------------------------
077A: set_actor [email protected] acquaintance 4 to_actors_pedtype 0
--------------------------------------------------------------------------------------
0  PLAYER1  
1  PLAYER2  
2  PLAYER_NETWORK  
3  PLAYER_UNUSED  
4  CIVMALE  
5  CIVFEMALE  
6  COP  
7  GANG1 (Ballas)
8  GANG2 (Grove Street Families)
9  GANG3 (Los Santos Vagos)
10  GANG4 (San Fierro Rifa)
11  GANG5 (Da Nang Boys)
12  GANG6 (Mafia)
13  GANG7 (Mountain Cloud Triad)
14  GANG8 (Varrio Los Aztecas)
15  GANG9 (unused)
16  GANG10 (unused)
17  DEALER  
18  MEDIC  
19  FIREMAN  
20  CRIMINAL  
21  BUM*  
22  PROSTITUTE  
23  SPECIAL





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users