Home   Help Search Login Register  

Author Topic: When I Die....  (Read 578 times)

0 Members and 3 Guests are viewing this topic.

Sniper_Kyle

  • Guest
When I Die....
« on: 17 Apr 2004, 18:45:00 »
Lol no im not writing my will, I just have a few questions.  Im making a nam mission where, when you die, it shows a grave site (i have it all set up) and it plays "War".  I put all of this in my "Outro-Lo0se" section of the editor.  Now, when I die, I just go to the regular "You Are Dead" screen.  I hate it.  How can i make this work?  PLZ HELP! ??? >:( :'(  

Cheers,
   Sniper_Kyle ;D

Offline Maddmatt

  • Members
  • *
Re:When I Die....
« Reply #1 on: 17 Apr 2004, 19:15:45 »
This info might help:
If you put a script in your ofp mission directory called "OnPlayerKilled.sqs" it will execute when you die instead of the normal death cutscene. Use the command "enableEndDialog" to get the "you are dead menu" to appear.

http://bushfires.org/
African Conflict Mod
Mission editor and scripter

Sniper_Kyle

  • Guest
Re:When I Die....
« Reply #2 on: 17 Apr 2004, 19:25:08 »
Ya...i already tried that but when I did, it just showed a blank screen and I couldnt do anything but alt+tab out and close it.  Thats y I went to the outro-loose thing.  


(BTW : I suck at cam scripting, I like the mission editor better.)

Cheers,
    Sniper_Kyle ;D

Offline Maddmatt

  • Members
  • *
Re:When I Die....
« Reply #3 on: 17 Apr 2004, 19:40:13 »
Did you type: enableEndDialog
 
:booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty: :booty:
http://bushfires.org/
African Conflict Mod
Mission editor and scripter

Sniper_Kyle

  • Guest
Re:When I Die....
« Reply #4 on: 17 Apr 2004, 19:48:52 »
I did, but after I put some cam commands....idk if this would effect it... ???

Cheers,
    Sniper_Kyle ;D

Sniper_Kyle

  • Guest
Re:When I Die....
« Reply #5 on: 17 Apr 2004, 20:10:29 »
Ok I just did the enableenddialog thing at the beginning of the script and it produces the same, black, screen. >:(

Plz I need more ppl to help...armstrong do u know anything? :D

Cheers,
   Sniper_Kyle ;D

Offline Maddmatt

  • Members
  • *
Re:When I Die....
« Reply #6 on: 17 Apr 2004, 20:17:10 »
The black screen is probable caused by a black out effect, add:
titlecut ["","black in",2]

That should make the black fade away, make sure it activates AFTER the screen goes black, it should be fine at the beginning but if that doesn't work try adding delays like ~1 or whatever at the beginning.
http://bushfires.org/
African Conflict Mod
Mission editor and scripter

Sniper_Kyle

  • Guest
Re:When I Die....
« Reply #7 on: 17 Apr 2004, 21:22:23 »
THX Very much...now I just need to find out how to make it change hours and I can finish this and send it to the beta testing forums! ;)

BTW, do you happen to know how to make this happen? ???

Sniper_Kyle

  • Guest
Re:When I Die....
« Reply #8 on: 18 Apr 2004, 01:41:24 »
Does any1 know how to do either of these 2 things? :

1.  How to change the time through scripts.

2. How To Make It Go To The Outro-Win After Mission Completion

Offline Maddmatt

  • Members
  • *
Re:When I Die....
« Reply #9 on: 18 Apr 2004, 13:21:39 »
There is a skiptime command. skipTime HoursToSkip
Replace HoursToSkip with how much time you want to fast forward.
To skip 2 hours you would write skipTime 2
To skip 2 hours and 30 minuts write skipTime 2.5

You cannot go to the outro once the player is dead, besides, it would be rather stupid as the player could not load a retry or save because they are deleted when the mission ends. If I am wrong and it does not get deleted then the player would have to go back to the main to load his savegame again.

Don't go into too much detail as most players click retry (or abort) as soon as they die.

http://bushfires.org/
African Conflict Mod
Mission editor and scripter

Sniper_Kyle

  • Guest
Re:When I Die....
« Reply #10 on: 18 Apr 2004, 16:41:58 »
Oook thanx for the nice skiptime thing....I just realized that, once "end1" is over it goes to the outro.  :D

Now....im gonna do the unthinkable and post my mission in the Mission : Beta Testing forum.  It is gonna get ripped to shreds cause it is my first mission.


BTW: The Mission in the Beta Test Forums is called "When Charlie Gets Cranky". ;)

Cheers,
   Sniper_Kyle ;D

Sniper_Kyle

  • Guest
Re:When I Die....
« Reply #11 on: 19 Apr 2004, 23:23:25 »
:booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty:
:booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty:
:booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty:
:booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty:
:booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty:
:booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty::booty:
« Last Edit: 19 Apr 2004, 23:24:59 by Sniper_Kyle »