Home   Help Search Login Register  

Author Topic: Loss of fuel after damage/Engine shut off after damage  (Read 5081 times)

0 Members and 1 Guest are viewing this topic.

Gameer_77

  • Guest
Re:Loss of fuel after damage/Engine shut off after damage
« Reply #15 on: 25 Sep 2002, 20:03:23 »
P.S should i call tomb 2 look @ dis thread ?

Ooh yeh, call on your back-up! C'mon then, ill take you both on:

LCD =   Tomb =  :beat: Gameer =





 ::)....Anyways, as fun this spam-fest is, lets get back on the rails, shall we?  :P

HEHE

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Loss of fuel after damage/Engine shut off after damage
« Reply #16 on: 25 Sep 2002, 20:12:28 »
u think u r frightnin me wid all ur foregin smilies  :P  ;D

k im getin back 2 the rails  ;D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Bronski

  • Guest
Re:Loss of fuel after damage/Engine shut off after damage
« Reply #17 on: 25 Sep 2002, 21:12:21 »
I'll try that out.  Thanks a lot for working on this.  I'll be sure to give you credit when i put this into a mission.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Loss of fuel after damage/Engine shut off after damage
« Reply #18 on: 25 Sep 2002, 21:17:15 »
first make4 sure it works  ;)  ;D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Bronski

  • Guest
Re:Loss of fuel after damage/Engine shut off after damage
« Reply #19 on: 25 Sep 2002, 23:20:09 »
I'm still getting the same error message.  Hmmmm

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Loss of fuel after damage/Engine shut off after damage
« Reply #20 on: 25 Sep 2002, 23:38:35 »
try it now ?

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Bronski

  • Guest
Re:Loss of fuel after damage/Engine shut off after damage
« Reply #21 on: 26 Sep 2002, 02:06:44 »
No error message but i am still able to eject.  

Offline KTottE

  • Former Staff
  • ****
Re:Loss of fuel after damage/Engine shut off after damage
« Reply #22 on: 26 Sep 2002, 12:18:06 »
Can't believe I've missed this thread. Must be because only times I can get on the net, is between 20:00 and 24:00 CET, which just so happens to be the exact same time that the server load is the greatest. So I kept timing out. Weeell, y'all seem to have sorted it anyways. But next time, I'll bust a cap in yer ass with my anti-spam gun ;)

Bronski, double, and triple check for spelling errors, and make sure you didn't leave anything out. Then do it all over again, and do it backwards too, so you know that the script is working.
"Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming 'WOW What a Ride!'"

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Loss of fuel after damage/Engine shut off after damage
« Reply #23 on: 26 Sep 2002, 14:34:15 »
lol  ;D

@ bronski - i cant think on nothin mor  :-\

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Gameer_77

  • Guest
Re:Loss of fuel after damage/Engine shut off after damage
« Reply #24 on: 26 Sep 2002, 19:59:13 »
I don't think you can remove the action "Eject" from the player.

LCD's thing just puts the player back in the car/plane if he gets out.

How are you running it?  ::)

 8)PEACE

Bronski

  • Guest
Re:Loss of fuel after damage/Engine shut off after damage
« Reply #25 on: 26 Sep 2002, 23:22:28 »
I actually just came up with an idea.

Would it be possible to lock the plane when the damage is reached and then unlock it when the speed reaches zero?

When you lock the plane/vehicle it disables all the commands that have to do with getting in and out of the vehicle.

If you are able to unlock the vehicle when the speed reaches zero, in other words the plane is on the ground, that would get it to do what my original idea was.

There is a car bomb script that makes the vehicle explode after it hits a certain speed.  It looks like that could be applied to this.

The car bomb script is in the editor's depot under script snippets for ground vehicles.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Loss of fuel after damage/Engine shut off after damage
« Reply #26 on: 27 Sep 2002, 01:37:16 »
if wat u say is right here is ur new script  ;D

Code: [Select]
_unit = _this select 0
_dam = _this select 1
_fuel = _this select 2
_eject= _this select 3
_pilot = _this select 4

@ getdammage _unit > _dam
#loop
_unit setfuel (fuel _unit - _fuel )
? _eject : goto "check"
#con
~0.2
? _eject and (getdammage _unit > 0) : _unit lock true
#con1
~0.2
? _eject and (getdammage _unit > 0) : _unit lock true
#con2
~0.2
? _eject and (getdammage _unit > 0) : _unit lock true
#con3
~0.2
? _eject and (getdammage _unit > 0) : _unit lock true
#con4
~0.2
? speed _unit < 5 : _unit lock  false; exit
goto "loop"

test it nd report back  ;)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Bronski

  • Guest
Re:Loss of fuel after damage/Engine shut off after damage
« Reply #27 on: 27 Sep 2002, 02:07:56 »
No error messages or anything but it doesn't work correctly.

It takes off the amount of fuel i put in but only once.  The vehicle doesn't lock either.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Loss of fuel after damage/Engine shut off after damage
« Reply #28 on: 27 Sep 2002, 02:38:03 »
wel i tink dat da prob is da way dat u wanted it 2 b - it wil lock only if da vehicle is dammaged nd it will stop lockin + loosin feul after da vehicle is stoped try da thing on litle dammaged + flyin plane  ;D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta