Home   Help Search Login Register  

Author Topic: Tank catch fire script  (Read 833 times)

0 Members and 1 Guest are viewing this topic.

Spliff air

  • Guest
Tank catch fire script
« on: 25 Aug 2002, 19:45:11 »
I have been looking for a tank on fire script for ages and ive tried triggers but nothing works

Offline Gastovski

  • Members
  • *
  • #loop; Gastovski setdammage 0; ~0.01; goto "loop";
    • Falklands Mod
Re:Tank catch fire script
« Reply #1 on: 25 Aug 2002, 21:09:01 »
By thi do you mean that you want to make it look like the tank is on fire, or a script that tells the player that the tank is on fire and will explode if he is not out by a certain time limit?

Also check the res script (I remember a thread on this forum called "Fires like those in Resistance" look for that)

Spliff air

  • Guest
Re:Tank catch fire script
« Reply #2 on: 25 Aug 2002, 21:44:39 »
uh not exatly what i want is this u are in a tank and u see another tank u shot the tank but instead of the tank blowing up i want it to catch fire and then the crew bail out

tai mai shu

  • Guest
Re:Tank catch fire script
« Reply #3 on: 25 Aug 2002, 22:59:33 »
hmm, check if the enemy tank's damage level is at a certain level, than use firesource.sqs to create fire on the tank, than give the tank crew the "crew1 action ["eject"]" command, than after a while  (using ~random x) make the tank blow up.

ill write the script for you later today, but im gonna eat.  ill post it in an hour or so.

peace
tai mai shu  :afro: :booty: :wave:

Spliff air

  • Guest
Re:Tank catch fire script
« Reply #4 on: 25 Aug 2002, 23:06:51 »
no i dont want the tank to blow up just stay on fire

Offline Gastovski

  • Members
  • *
  • #loop; Gastovski setdammage 0; ~0.01; goto "loop";
    • Falklands Mod
Re:Tank catch fire script
« Reply #5 on: 25 Aug 2002, 23:48:48 »
Well then just take out the setdammage 1 command...

Init.sqs
Code: [Select]
_tank = tank
_crew1 = crew1
_crew2 = crew2
_crew3 = crew3
_crew1 moveindriver _tank
_crew2 moveingunner _tank
_crew3 moveincommander _tank

Fire.sqs
Code: [Select]
_tank = tank
_crew1 = crew1
_crew2 = crew2
_crew3 = crew3
[_tank] exec "fireresource.sqs"
~2
[_crew1,_crew2,_crew3] action ["eject"]

It should work but you need a tank called tank, and three crew member called crew1,2, and 3...

Spliff air

  • Guest
Re:Tank catch fire script
« Reply #6 on: 26 Aug 2002, 00:51:00 »
there are 11 tanks

Offline Gastovski

  • Members
  • *
  • #loop; Gastovski setdammage 0; ~0.01; goto "loop";
    • Falklands Mod
Re:Tank catch fire script
« Reply #7 on: 26 Aug 2002, 15:29:19 »
Well then just adapt the script for use in 11 tanks...

;D

Code: [Select]
_tank = tank
_crew1 = crew1
_crew2 = crew2
_crew3 = crew3
_crew1 moveindriver _tank
_crew2 moveingunner _tank
_crew3 moveincommander _tank

_tank2 = tank2
_crew12 = crew12
_crew22 = crew22
_crew32 = crew32
_crew12 moveindriver _tank2
_crew22 moveingunner _tank2
_crew32 moveincommander _tank2

_tank3 = tank3
_crew13 = crew13
_crew23 = crew23
_crew33 = crew33
_crew13 moveindriver _tank3
_crew23 moveingunner _tank3
_crew33 moveincommander _tank3

etc until you have _tank11

Soldier8Boy

  • Guest
Re:Tank catch fire script
« Reply #8 on: 02 Sep 2002, 06:04:37 »
This script is located in the forums at the http://www.thecorps.insideofp.com and is made by Evil_Joe. There is also a script that puts one engine on the c47 on fire and smoking. As well as a crash'n'burn script. Also an amazing paradrop script which u say which order they jump at, and how long between each jump.

Offline Terame

  • Members
  • *
  • Nice one OFPEC
    • http://fantasyscifi.com/main/ fantasy scifi sci-fi
Re:Tank catch fire script
« Reply #9 on: 17 Mar 2003, 08:19:39 »
This script is located in the forums at the http://www.thecorps.insideofp.com and is made by Evil_Joe. There is also a script that puts one engine on the c47 on fire and smoking. As well as a crash'n'burn script. Also an amazing paradrop script which u say which order they jump at, and how long between each jump.



Dead link  :'(
You can travel to infinity though the endless passages of the cosmos. Even
better this belongs to you. This is your mind

Plizkin

  • Guest
Re:Tank catch fire script
« Reply #10 on: 17 Mar 2003, 15:41:17 »
there is a good fire script in the Campaign "Resistance". Somebody see it yet ? :P