Author Topic: Delete respawn option  (Read 880 times)

Legacy_Bassix

  • Jr. Member
  • **
  • Posts: 65
  • Karma: +0/-0
Delete respawn option
« on: September 05, 2010, 03:09:58 pm »


               Hello, folks.
I've a problem. I'm trying to delete the respawn option, so you're only able to load the game when you die. Like in the source stone in the original campaign '<img'>.  Does anyone know how to do this?

Cheers
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Delete respawn option
« Reply #1 on: September 05, 2010, 03:40:12 pm »


               

// Spawn in the Death GUI.
// The default (as defined by BioWare) can be spawned in by PopUpGUIPanel, but
// if you want to turn off the "Respawn" or "Wait for Help" buttons, this is the
// function to use.
// - oPC
// - bRespawnButtonEnabled: if this is TRUE, the "Respawn" button will be enabled
//   on the Death GUI.
// - bWaitForHelpButtonEnabled: if this is TRUE, the "Wait For Help" button will
//   be enabled on the Death GUI (Note: This button will not appear in single player games).
// - nHelpStringReference
// - sHelpString
void PopUpDeathGUIPanel(object oPC, int bRespawnButtonEnabled=TRUE, int bWaitForHelpButtonEnabled=TRUE, int nHelpStringReference=0, string sHelpString="")


               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Delete respawn option
« Reply #2 on: September 05, 2010, 03:46:15 pm »


               In other words, open script nw_o0_death in the script editor, then find the line 230 and replace it for this:

DelayCommand(2.5,PopUpDeathGUIPanel(oPlayer,FALSE,FALSE));

then save and thats it
               
               

               


                     Modifié par ShaDoOoW, 05 septembre 2010 - 02:46 .
                     
                  


            

Legacy_Bassix

  • Jr. Member
  • **
  • Posts: 65
  • Karma: +0/-0
Delete respawn option
« Reply #3 on: September 05, 2010, 04:16:41 pm »


               Great, thanks!
               
               

               
            

Legacy_Grymlorde

  • Sr. Member
  • ****
  • Posts: 362
  • Karma: +0/-0
Delete respawn option
« Reply #4 on: September 09, 2010, 09:30:39 pm »


               And remember to save the script with a new name.
               
               

               
            

Legacy_Grymlorde

  • Sr. Member
  • ****
  • Posts: 362
  • Karma: +0/-0
Delete respawn option
« Reply #5 on: September 09, 2010, 09:31:42 pm »


               And remember to save the new script with a new name.