You are not logged in.    Login    New User    Forum Home    Search

Location:
JBPLAY  \  Meteor 2  \  Help and Guidance  \  Password Scripting Help Needed

Back to Threads

Viewing Thread: Password Scripting Help Needed

 

Stryker

Joined: 03 July 2004
Posts: 4
20 December 2004 00:25 (UK time)

Does anyone know of a way to create a door script in which a specific number code is needed to be entered in order to gain access?

You need to login to create posts in this thread.

Zable Fahr

Joined: 04 November 2004
Posts: 74
20 December 2004 07:10 (UK time)

Not until James implements "strcmp" in the scripting engine. Sorry.

You need to login to create posts in this thread.

James Bunting
Joined: 17 September 2003
Posts: 1308
20 December 2004 14:20 (UK time)

Yes he is right, I will also add stricmp.

strcmp and stricmp are used to compare 2 strings in script.

There is also the issue of sector triggers only running once.

Don't worry I will sort something out as I can see the potential of password doors.

James.

You need to login to create posts in this thread.

40oz
 Official Sponsor

Joined: 03 January 2004
Posts: 1799
30 December 2004 07:19 (UK time)

Uh oh, Passwords? I can imagine it now, finding out a code on a message trigger and evantually forgetting it, will it be possible to repeat message triggers after you read them?
*Papercut
Pro-Murder.
Legalize Crime.


You need to login to create posts in this thread.

Assain

Joined: 02 November 2003
Posts: 979
30 December 2004 18:53 (UK time)

You can make it so the PW goes into the PDM. And you can see previous game message by pressing the tilde key

You need to login to create posts in this thread.

Assain

Joined: 02 November 2003
Posts: 979
30 December 2004 18:54 (UK time)

srry doble post :D

Edited: 30 December 2004 18:54


You need to login to create posts in this thread.

James Bunting
Joined: 17 September 2003
Posts: 1308
02 January 2005 00:42 (UK time)

Use the PDA for password stuff, you can press ENTER to review the PDA at any time.

There is a script command that allows you to add a short message to the PDA directly. PDA messages are never deleted throughout the entire game which is handy.

You need to login to create posts in this thread.

Assain

Joined: 02 November 2003
Posts: 979
02 January 2005 23:25 (UK time)

Isnt there a command that deletes the PDM messages for the level and the game?

You need to login to create posts in this thread.

James Bunting
Joined: 17 September 2003
Posts: 1308
03 January 2005 11:56 (UK time)

Actually no there is not.

I think the best way to do this would be to have the ability to specify whether each message is deleted on map exit. This would be done when adding each message (including briefings using an extra flag).

Ideas?

You need to login to create posts in this thread.

Assain

Joined: 02 November 2003
Posts: 979
03 January 2005 20:35 (UK time)

Well how about.... having a script command that does do that! It could be "SC_DeletePDMAll();" to delete all PDM messages (example: you lose your PDM in one mission or data is erased by enemy and stolen) and a "SC_DeletePDMCurrent();" which would delete the PDM messages for that particular mission. You could also have a "SC_DeletePDM("That PDM message...";);" which would just delete the PDM message title specified.

PS: like the new avatars for moderator and ect! Let me gess... me_mantis?

Edited: 03 January 2005 20:36


You need to login to create posts in this thread.

James Bunting
Joined: 17 September 2003
Posts: 1308
03 January 2005 21:19 (UK time)

Actually I made/found and touched up(ahem) them.

You need to login to create posts in this thread.



Forums system (C) 1999-2023 by James Bunting.

Terms of Use