Quantcast

Jump to content

» «
Photo

Driving a car

  • This topic is locked This topic is locked
7 replies to this topic
GliderX
  • GliderX

    Player Hater

  • Members
  • Joined: 13 Mar 2009

#1

Posted 08 September 2009 - 12:27 PM

I wanted to make lots of actors chase and shoot the player on motorcycles and cars.. umm how do you do that?

Kratos2000
  • Kratos2000

    ;)

  • Members
  • Joined: 14 Jul 2009

#2

Posted 08 September 2009 - 01:34 PM Edited by Kratos2000, 08 September 2009 - 01:37 PM.

if you need to be on a car, know it, they wont shoot you, only crash their cars

PatrickW
  • PatrickW

    GTA Juggernaut

  • Inactive Staff
  • Joined: 07 Jan 2004
  • Netherlands
  • Best Script 2013 [DYOM]
    Best Script 2012 [DYOM]

#3

Posted 09 September 2009 - 11:43 PM

This only works in the V5 beta:
  • Spawn a car
  • Spawn an actor, set animation to "sit_in_car", driver seat and set behaviour to "attack player"
  • Spawn an actor, with a machinegun, animation "sit in car" in a passengerseat, and set his gang to "enemy"
The driver will try to rundown the player, or crash into the player's car. The enemy passenger with a "drive-by" weapon will shoot at the player from the car.

This should also work with a bike, a driver and a passenger, but I haven't tested that one myself yet.

Kratos2000
  • Kratos2000

    ;)

  • Members
  • Joined: 14 Jul 2009

#4

Posted 10 September 2009 - 10:10 AM

i test the drive by from the car 5 times, the actors never shoot from the car (if you one a car too. only a friend actor will shoot when he is in your car.)

Spider-Vice
  • Spider-Vice

    Let's Bounce

  • Zaibatsu
  • Joined: 09 Oct 2006
  • Portugal
  • Contribution Award [GTA V]

#5

Posted 10 September 2009 - 01:48 PM

Yeah, it seems to happen randomly. But try putting sit in car, enemy, a machinegun and Follow Player.

PatrickW
  • PatrickW

    GTA Juggernaut

  • Inactive Staff
  • Joined: 07 Jan 2004
  • Netherlands
  • Best Script 2013 [DYOM]
    Best Script 2012 [DYOM]

#6

Posted 10 September 2009 - 04:07 PM

Drive-by shooting at the player is suppose to occur, when the following conditions are met:
  • Actor has "sit in car" or "enter car" animation in one of the passenger seats.
  • Actor has gang-setting "enemy".
  • Actor has a "drive-by compatible" weapon.
  • The car in whoch the actor sits is close to the Player.

Kratos2000
  • Kratos2000

    ;)

  • Members
  • Joined: 14 Jul 2009

#7

Posted 10 September 2009 - 04:20 PM

QUOTE (PatrickW @ Sep 10 2009, 16:07)
Drive-by shooting at the player is suppose to occur, when the following conditions are met:
  • Actor has "sit in car" or "enter car" animation in one of the passenger seats.
  • Actor has gang-setting "enemy".
  • Actor has a "drive-by compatible" weapon.
  • The car in whoch the actor sits is close to the Player.


all these conditions were.
and only my friend actor(was in my car in back seat) shoot.

Gauravdeep
  • Gauravdeep

    ROCKER!!

  • Members
  • Joined: 04 Aug 2009

#8

Posted 27 September 2009 - 03:26 PM

QUOTE (PatrickW @ Sep 10 2009, 16:07)
Drive-by shooting at the player is suppose to occur, when the following conditions are met:

  • Actor has "sit in car" or "enter car" animation in one of the passenger seats.
  • Actor has gang-setting "enemy".
  • Actor has a "drive-by compatible" weapon.
  • The car in whoch the actor sits is close to the Player.

Hey PatrickW how do u make an actor drive?
I'm really confused?? dontgetit.gif whatsthat.gif mercie_blink.gif cryani.gif
Not making him "Follow player" or "Attack Player"




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users