Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Is it possible to prevent "Press Fire to Restart Level"...?
Is it possible to prevent "Press Fire to Restart Level"...?
2002-02-23, 2:53 AM #1
I'm working on a SP level and I'd like to respawn the player somewhere in the level when he gets killed...
But the problem is, when the player gets killed, the message "Press Fire to Restart Level" appears.
Does anyone have suggestions/ideas about this prob? [http://forums.massassi.net/html/smile.gif]

Thanks,
-RayNbow
-RayNbow
2002-02-23, 5:06 AM #2
Autosavegame();


Code:
02/2002 GBK
Symbols
Message Entered
Sector Trigger0
Sector Trigger1
Sector Trigger2
Sector Trigger3
End
Code
Entered: Autosavegame(); 
Stop;
End



An extremely simple cog that will automatically quicksave the game upon entrance into any of the 4 sectors.

 

Credit me. :)

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2002-02-23, 7:32 AM #3
If you just want to get rid of that message you could edit the sithstrings.uni file.

Not sure if you can just remove it completely, but you could atleast remove the text and it would post blank line then.
- Wisdom is 99% experience, 1% knowledge. -
2002-02-23, 7:35 AM #4
I believe tbere's an already existing LEC cog that does *exactly* the same thing. [http://forums.massassi.net/html/tongue.gif]
Massassi, delivering a million smiles a day. Well...almost. ;-)
2002-02-23, 12:49 PM #5
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Cguy:
...LEC cog that does *exactly* the same thing.</font>



I am aware of no such cog. And besides, it couldnt possibly match the simplicity and ease of use of mine!


------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2002-02-24, 1:36 AM #6
Heh, thanks for the help [http://forums.massassi.net/html/smile.gif]

-RayNbow
-RayNbow
2002-02-24, 12:02 PM #7
Remember that an autosave is not a quicksave. Quicksaves are stored to a file and can be loaded while autosaves are only temporary. An autosave is discarded when the level ends.

[This message has been edited by SaberMaster (edited February 25, 2002).]
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2002-02-24, 4:21 PM #8
Quote:
<font face="Verdana, Arial" size="2">I am aware of no such cog. And besides, it couldnt possibly match the simplicity and ease of use of mine!</font>


...this comes from the guy who uses nested for loops and arrays with 2 elements. You should not be allowed to COG.
2002-02-24, 5:42 PM #9
00_playerstarts.cog in JK's Res2.gob. [http://forums.massassi.net/html/tongue.gif]
Massassi, delivering a million smiles a day. Well...almost. ;-)
2002-02-24, 6:01 PM #10
Have you ever actully used that cog? Below is the actual code from that cog.


Code:
entered:
   // SetRespawn(GetSourceRef(), GetSenderID());
   return;

startup:
   SetPulse(30);
   Return;

pulse:
   Print("Waypoints should be removed !!!");
   Return;

end



1) It doesnt use 'Autosavegame()'.

2) All it does it print 'Waypoints should be removed!' every 30 seconds.

3) No, I did not modify the code. Crack Res2 open, and see for yourself.


(Btw, that cog is © LEC...)

------------------
Success is the inverse relationship between effort, gain, and loss.

JK editing resources.

[This message has been edited by GBK (edited February 24, 2002).]
And when the moment is right, I'm gonna fly a kite.
2002-02-25, 4:43 AM #11
That seems to be an early cog that LEC left in the cog directory for some reason. SetRespawn() isn't a verb so the cog can't work.

There are other old, disfunctional cogs in the Res2 so it's not unusual.

------------------
Each cog better than the next
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.

↑ Up to the top!