Jump to content

making an actor stronger


gtasbigfoot

Recommended Posts

hi in sannybuilder a would like to make an actor kill the player in about 6 to 7 hits the actor is bigfoot it should be possible since bigfoot has its own cleo script but i dont think a code like that it possible in a mission editor! bigfoots fighting style is 5.0(thats blocking and boxing like moves)

Link to comment
Share on other sites

Check out the pedstats.dat in the data folder, the "attack strength". But that means you have to remove the pedtype you are going to use for bigfoot from all the peds if you don't want peds to have same powers. Find some pedtype that aren't many, like "STAT_GEEK_GIRL" (1).

Link to comment
Share on other sites

ok but the peds will have power the bigfoot is a special actor i think i will leave it as do not want peds to be strong the bigfoot is strong enough! i dont replace peds bigfoot is added in so i can fight a real bigfoot

Link to comment
Share on other sites

right i got the code

 

100.0 7.5 100 100 0 0 15.0 1.0 0 3

 

that makes bigfoot stronger

 

0@ = -1

16@ = 0

 

:NONAME_14

wait 0

if and

$ONMISSION == 0

823D: not special_actor 1 loaded

jf @NONAME_53

023C: load_special_actor 'BIGFOOT' as 1 // models 290-299

 

:NONAME_53

Actor.StorePos($PLAYER_ACTOR, 1@, 2@, 3@)

if and

0@ == -1

$ONMISSION == 0

1@ > -3315.392

not 1@ >= 163.3204

2@ > -3019.81

not 2@ >= -704.2101

jf @NONAME_469

0087: 4@ = 1@ // (float)

0087: 5@ = 1@ // (float)

0087: 6@ = 2@ // (float)

0087: 7@ = 2@ // (float)

4@ -= 180.0

5@ += 180.0

6@ -= 180.0

7@ += 180.0

0208: 8@ = random_float_in_ranges 4@ 5@

0208: 9@ = random_float_in_ranges 6@ 7@

02CE: 10@ = ground_z_at 8@ 9@ 2000.0

03D3: get_route_nearest_for 8@ 9@ 10@ store_to 11@ 12@ 13@ Z_angle_to 14@

050A: 15@ = distance_between_XYZ 8@ 9@ 10@ and_XYZ 11@ 12@ 13@

if and

0025: 10@ > 11@ // (float)

15@ > 50.0

10@ >= 5.0

80FE: not actor $PLAYER_ACTOR sphere 0 in_sphere 8@ 9@ 10@ radius 160.0 160.0 160.0

023D: special_actor 1 loaded

jf @NONAME_469

0@ = Actor.Create(Player4, #SPECIAL01, 8@, 9@, 10@)

0208: 17@ = random_float_in_ranges 0.0 360.0

Actor.Angle(0@) = 17@

0446: set_actor 0@ immune_to_headshots 0

Actor.Health(0@) = 10000

07BC: set_actor 0@ decision_maker_to 32 // AS_pack_version

04D8: set_actor 0@ drowns_in_water 0

0946: set_actor 0@ actions_uninterupted_by_weapon_fire 1

07FE: set_actor 0@ fighting_style_to 5 0

03FE: set_actor 0@ money 0

0245: set_actor 0@ walk_style_to "OLDMAN"

 

:NONAME_469

if

Actor.Dead(0@)

jf @NONAME_511

Actor.RemoveReferences(0@)

0@ = -1

16@ = 0

jump @NONAME_613

 

:NONAME_511

if

80FE: not actor 0@ sphere 0 in_sphere 1@ 2@ 3@ radius 200.0 200.0 200.0

jf @NONAME_572

Actor.DestroyWithFade(0@)

0@ = -1

16@ = 0

 

:NONAME_572

if and

051A: actor 0@ damaged_by_actor $PLAYER_ACTOR

16@ == 0

jf @NONAME_613

05E2: AS_actor 0@ kill_actor $PLAYER_ACTOR

16@ = 1

 

:NONAME_613

jump @NONAME_14

 

 

i dont want to put it in peds stats is it possible to put it in here ant really important just buging me thats all!

Link to comment
Share on other sites

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
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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