Home   Help Login Register  

Author Topic: Flat tires.  (Read 1634 times)

0 Members and 1 Guest are viewing this topic.

jcl999

  • Guest
Flat tires.
« on: 03 May 2005, 19:12:40 »
Does anyone have a flat tire script? I want it so it makes all the tires on a vehicle flat. I've tried searching the forums and couldn't find one, i also looked at the turtorials and found one but that always blew up the truck.  >:(

pazuzu

  • Guest
Re:Flat tires.
« Reply #1 on: 03 May 2005, 19:45:24 »
Cant you just give the vehicle a little dammage?

Vehicle setdammage .3

Not sure if this would do but might be worth testing.

jcl999

  • Guest
Re:Flat tires.
« Reply #2 on: 03 May 2005, 20:57:28 »
Cant you just give the vehicle a little dammage?

Vehicle setdammage .3

Not sure if this would do but might be worth testing.

If i enter it into the init, i get unknown operator.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Flat tires.
« Reply #3 on: 03 May 2005, 21:03:23 »
Emmm.......that would be:

whatevernameyougaveyourvehicle setdammage 0.3

or just

this setdammage 0.3

Planck
« Last Edit: 03 May 2005, 21:04:44 by Planck »
I know a little about a lot, and a lot about a little.

jcl999

  • Guest
Re:Flat tires.
« Reply #4 on: 03 May 2005, 21:12:47 »
Emmm.......that would be:

whatevernameyougaveyourvehicle setdammage 0.3

or just

this setdammage 0.3

Planck

Thanks, i've got that to work but the tires are still up.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Flat tires.
« Reply #5 on: 03 May 2005, 21:23:12 »
Well, experiment............try 0.4 next.


EDIT   Well, it doesn't really work, I just tried it.  I have no idea how to get a flat tyre, apart form shooting the wheel then.



Planck
« Last Edit: 03 May 2005, 21:34:23 by Planck »
I know a little about a lot, and a lot about a little.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Flat tires.
« Reply #6 on: 03 May 2005, 22:09:09 »
IIRC you can't make a flat tyre visually on a standard vehicle, there is no texture for it.    You'd have to make an addon.
Plenty of reviewed ArmA missions for you to play

pazuzu

  • Guest
Re:Flat tires.
« Reply #7 on: 03 May 2005, 22:24:55 »
There's a script for flat tire at editors depot.


http://www.ofpec.com/includes/download2.php?id=82

Offline Blanco

  • Former Staff
  • ****
Re:Flat tires.
« Reply #8 on: 03 May 2005, 23:47:33 »
Here's a crazy idea...

Camcreate bullets and give them some speed and direction with the setvelocity command. (not easy)
Repeat this until canmove is false.
« Last Edit: 06 May 2005, 03:29:28 by Blanco »
Search or search or search before you ask.

Merc

  • Guest
Re:Flat tires.
« Reply #9 on: 05 May 2005, 23:45:40 »
@Blanco
All you would have to do is camcreate bullets right where the tires are (a lot easyer said then done) and you wouldn't have to mess around with setvelocity.
« Last Edit: 05 May 2005, 23:46:18 by Merc »

Kyle Sarnik

  • Guest
Re:Flat tires.
« Reply #10 on: 07 May 2005, 04:28:57 »
whoops = "GrenadeHand" camcreate (getpos this)

Offline XCess

  • Former Staff
  • ****
Re:Flat tires.
« Reply #11 on: 07 May 2005, 04:55:44 »
whoops = "GrenadeHand" camcreate [(getpos this select 0)+ X,(getPos this select 1)+ Y,(getPos this select 2)+ Z]

Change X Y and Z until the bullet is at the same position as the tyre.  ::)

GrenadeHand surely aint the right classname though  ???

Kyle Sarnik

  • Guest
Re:Flat tires.
« Reply #12 on: 07 May 2005, 04:58:40 »
Actualy, it is, trust me, Im the guy who made the grenade pack, GrenadeHand is the ammo classname, the mag name is HandGrenade...

Offline Blanco

  • Former Staff
  • ****
Re:Flat tires.
« Reply #13 on: 07 May 2005, 05:01:41 »
@Blanco
All you would have to do is camcreate bullets right where the tires are (a lot easyer said then done) and you wouldn't have to mess around with setvelocity.

Working on it... It just need some more testing.
The script already works
 

« Last Edit: 07 May 2005, 05:03:33 by Blanco »
Search or search or search before you ask.

Offline XCess

  • Former Staff
  • ****
Re:Flat tires.
« Reply #14 on: 07 May 2005, 05:10:29 »
Actualy, it is, trust me, Im the guy who made the grenade pack, GrenadeHand is the ammo classname, the mag name is HandGrenade...

Learn summit new every day lol.  :D