We are currently changing the Bohemia Interactive forum software. This means http://forums.bistudio.com will be 'Read Only' until Friday. Apologies for the inconvenience.

Results 1 to 4 of 4

Thread: Disable mission ending completely?

  1. #1
    Gunnery Sergeant
    Join Date
    Jul 18 2001
    Gothenburg, Sweden

    Disable mission ending completely?

    I am trying to make a "never ending" mission where one takes on tasks from a list of available jobs.
    It will start with you simply leasing a light helicopter and take people on tours or taxi jobs to/from airports and various locations on the map. If you manage to make a profit after fuel and maintenance and lease related costs you would eventually be able to afford your own helicopter(s) and take on ever more difficult tasks with a higher profit margin.

    As it's still a game i want to keep the mission going even if you happen to crash a helicopter into the side of a building at 250 Km/H. Replacing the "death" event with a visit to a hospital ala GTA style but with a hefty bill and the loss of your helicopter. (Hope you had insurance etc)
    Game would only end when you run out of money or can't take any jobs because you have a reputation for crashing a lot.

    So my question then...

    Is it possible to make an SP mission never end on death?

    I have searched for hours and found nothing, i have tried using a "description.ext" file with "respawn = 3;" in it and added the corresponding "respawn_west", "respawn_east" etc markers but on death the mission still ends.

  2. #2
    there are two ways
    a) copy the onPlayerDeath.sqs (or similar name) into the mission and adjust the code
    b) use "player allowDamage false" and scripting to make sure the player itself never can die

    if you use search for a) you should be find more info in the forum
    probably also in the BIKI

    Current active projects: None

    Maintained/assisted projects: IFA3, Blitzkrieg

    Help: Got a crash? Report it! What is the RPT log file?

  3. #3
    It is very possible currently i have been making a mission called mercenaries chernarus GTA Style actually more mercenaries style but hey,

    There are plenty of revive scripts for arma 2 that can be converted. Mine is currently working off the bat. What i must say is it will kill most systems but for yourself you will be ok if you taylor the game to your system. I find my mission dies after about 5 hours of palying time but that was in arma engine.

    The only thing that really does kill it is sometimes scripts don't work the same on reload of a mission, i have found that to be the biggest hurdle. So test everything thoroughly for this leaving no real local variables open and you should be good to go. best of luck

    http://forums.bistudio.com/showthrea...-Revive-Script <-- Should work

  4. #4
    Gunnery Sergeant
    Join Date
    Jul 18 2001
    Gothenburg, Sweden
    Author of the Thread
    Looks very promising. I remember these from the good ol' days in OFP i think. (onPlayerKilled.sqs that is)
    Will get to work with this when i get back home!

    Thanks guys!

Similar Threads

  1. mission ending
    By emperor117 in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 6
    Last Post: Jul 19 2011, 20:04
  2. Defining an end to the mission/ending the mission?
    By ryan d ale in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 3
    Last Post: Jun 29 2011, 10:47
  3. Disable Greeting for a Mission COMPLETELY
    By Himmelsfeuer in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 2
    Last Post: Nov 25 2009, 17:26
  4. Ending a mission how?
    By Polishdude in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 2
    Last Post: Mar 22 2003, 23:19
  5. How could i completely disable sound?
    By Chomps in forum TROUBLESHOOTING
    Replies: 1
    Last Post: Jun 14 2002, 22:52

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts