Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Enter access code script

Author
Message
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 4th Oct 2006 00:36
This script changes the default "PRESS ENTER TO USE" on a switch to a "ENTER ACCESS CODE" in order to open a door or whatever you might use a switch for. You can change the access code in the script, as well as the button sound when a key is pressed.

The script, instuctions/license, and "ENTER ACCESS CODE" image are included.



The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 4th Oct 2006 00:37
And here is the access code download.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

Attachments

Login to view attachments
Silent Thunder
18
Years of Service
User Offline
Joined: 6th Feb 2006
Location: The Ship
Posted: 4th Oct 2006 00:42
nice, this will come in handy, thanks.

Take my survey please!
My Upcomming Media Pack
torti
18
Years of Service
User Offline
Joined: 18th Aug 2006
Location: In the mount doing some ground and pound
Posted: 4th Oct 2006 00:49
Cool, thanks

Bicos aim dschreman, mai inglisch is not so well
s4real
VIP Member
18
Years of Service
User Offline
Joined: 22nd Jul 2006
Location:
Posted: 4th Oct 2006 01:08
Nice script and good work


Many thanks.
MK83
FPSC Reloaded TGC Backer
18
Years of Service
User Offline
Joined: 10th Jun 2006
Location: Greeneville, TN
Posted: 4th Oct 2006 01:49
Very Good.


http://www.mk83productions.com http://www.freewebs.com/mk83
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 4th Oct 2006 04:10
top notch bro.

thanks

GIR UNIT
User Banned
Posted: 4th Oct 2006 05:47 Edited at: 4th Oct 2006 05:47
I love it!

For Free objects go to www.freewebs.com/freefpsstuff
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 4th Oct 2006 07:14
Cool.Thanks a lot.
I bet a lot of people will find a use for this.

Prince
18
Years of Service
User Offline
Joined: 23rd Aug 2006
Location:
Posted: 4th Oct 2006 09:50
Good work xplosys. I guess many were waiting for something like this.
DJ Professor K
18
Years of Service
User Offline
Joined: 19th Dec 2005
Location: Somwhr in front of a brokn kyboard.....
Posted: 4th Oct 2006 12:11
Woa, thx, i was tring to make this, but i failed lot's of times (i evan made it to use lots of switchs in a specific order, but, it didn't work).

Thx you

My love is seperated in 2 parts, 1 of them is 3ds Max 7, the other; FPSC.
stormboy
19
Years of Service
User Offline
Joined: 8th May 2005
Location:
Posted: 4th Oct 2006 13:17 Edited at: 4th Oct 2006 14:26
Script does not work as is, for me.
I have made a decent hud picture for this script and it can be downloaded here, it's better than the white placeholder image provided in the zip file.

I approach the switch and the white hud picture comes up but
I get no sound when I type in 1234 and the switch does not change to unlocked/open, and the door does not open, I'm using on a remote door thats been working fine from a switch for a week.

I hope it can work because it's a great gameplay add

Attachments

Login to view attachments
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 4th Oct 2006 16:01 Edited at: 4th Oct 2006 16:37
I don't know what happened with the white placeholder. I must have zipped the wrong image. Thanks for the new one.
As for the rest, it sounds like you are pointing to the wrong fpi script. I can't say for sure, of course. It works for me.

Also remember, that's 1 2 3 4 on the numeric keypad, not the main keyboard. Make sure your numlocks is correct or change the keys.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

stormboy
19
Years of Service
User Offline
Joined: 8th May 2005
Location:
Posted: 4th Oct 2006 16:48 Edited at: 4th Oct 2006 17:03
I didn't realize it was numeric keyboard I'll check it out.

Yep works great now!

I like this script, finding access codes and so on
is something to do!

One thing to contemplate though, it's incredibly easy to hack
if you have the sounds on, just keep hitting numerics until you
get a confirm beep and do again.
filya
18
Years of Service
User Offline
Joined: 23rd Aug 2006
Location: USA
Posted: 4th Oct 2006 17:32
whoa explosys! thank you so much!

I tried making something like this for use in my level design entry....but failed
Appreciate this!

-- n00b at playing games...and now at making em too :p --
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 4th Oct 2006 18:00
Quote: "One thing to contemplate though, it's incredibly easy to hack
if you have the sounds on, just keep hitting numerics until you
get a confirm beep and do again. "


I guess that's one more choice for the game maker. Make it easy, or make it hard. Also, you dont have to use only numerics. You can use alpha keys as well. Just try not to use any keys that are already assigned to other tasks in the game or it will cause problems.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

guerilla
19
Years of Service
User Offline
Joined: 5th Aug 2005
Location:
Posted: 16th Nov 2006 20:53 Edited at: 16th Nov 2006 20:54
i tryed to get it working, and it works but something turns wrong,
when i come near the door the hud is displayed and i type the code and the door opens but the door is grey
take a look at the picture.

CCC-GAMES

Attachments

Login to view attachments
AlanC
18
Years of Service
User Offline
Joined: 28th Sep 2006
Location: Seattle, WA
Posted: 16th Nov 2006 21:07
I'm gonna try this out. Good work

FPS Creator Tip 1491: Add some light to your games
Silent Thunder
18
Years of Service
User Offline
Joined: 6th Feb 2006
Location: The Ship
Posted: 17th Nov 2006 00:46
post in .jpg please.

Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 17th Nov 2006 02:13
Quote: "i tryed to get it working, and it works but something turns wrong,
when i come near the door the hud is displayed and i type the code and the door opens but the door is grey
take a look at the picture."

That also happens to me and I can't walk through the doorway.

FPSC Hint's and Tips Guide (pdf)
Best Regards,
Nickydude
the programmer
18
Years of Service
User Offline
Joined: 5th Jan 2006
Location:
Posted: 17th Nov 2006 02:23
im having a weird issue?

so i put the script in the main script section of the switch.
when i aprouch the switch i get a wite box but i cannot type the numebers in?

is there somthing im not doing"probebly"?

cheers tho i hope this will work
the programmer
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 17th Nov 2006 03:12
To all who have questions or issues:

Please don't take this the wrong way. When I made the script it worked fine and most people who downloaded and used it said the same. I can not account for anyone's computer or program and how they may or may not have installed or used the script, and what differences there may be between my program files and your own. I hope you can figure it out, as I had to in the beginning, and get it to work.

I just don't have the will or patience to support it, or try to determine the causes of your problems. I give it over to you completely as I've moved on to other things. Perhaps someone else will be kind enough to shed some light on it.

I wish you the best.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

the programmer
18
Years of Service
User Offline
Joined: 5th Jan 2006
Location:
Posted: 17th Nov 2006 04:02
I understand the situation .

But i do thank you for the script, i will study this more and try to account for this problem.

If any body has any ideas to this bug, i would please ask for your assistance.

Cheers "hope you can help"
the programmer
SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 17th Nov 2006 15:40
xplosys, when I go near the switch, the door opens even before I enter any code? Why is this?

filya
18
Years of Service
User Offline
Joined: 23rd Aug 2006
Location: USA
Posted: 17th Nov 2006 16:22 Edited at: 17th Nov 2006 16:23
Quote: "Xplosys : "I just don't have the will or patience to support it, or try to determine the causes of your problems. I give it over to you completely as I've moved on to other things. Perhaps someone else will be kind enough to shed some light on it.""


Higgins, just letting you know in case you missed it. So you dont keep waiting for a reply.
I shall try and help you once I get home and try it myself.

-- n00b at playing games...and now at making em too :p --
Nue B
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 17th Nov 2006 19:50 Edited at: 17th Nov 2006 22:00
I hope you didn't steal script from my game Quarantined...


Edit:
Quote: "Who are you addressing?"


Who started this thread?

Nue B. or not Nue B. That is the question.
filya
18
Years of Service
User Offline
Joined: 23rd Aug 2006
Location: USA
Posted: 17th Nov 2006 19:58
?? who are you addressing Nue B?

-- game dev is fun...but taking up too much time --
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 18th Nov 2006 16:16
Quote: "I hope you didn't steal script from my game Quarantined..."


@Nue B

Your post is a little confusing but it seems that you may be accusing me of stealing something from you. If this is not the case, please forgive my misunderstanding. If it is, you should have e-mailed me with the accusation instead of posting it for the public to see. But since you chose to air it in public, let me clear things up for you.

A simple look at my script should have shown that it was not yours. Now I have never seen yours, but I just can't imagine that they are the same. Your post seems to be a poor attempt to blow your own horn and let us know that you know a little scripting. Only a big-headed idiot would make such a stupid accusation in public.

Like I said, if that is not what you meant, then none of this applies.

Best.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

Nue B
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 20th Nov 2006 19:24
I did not accuse you. I said I hope...
now pull your panties out and play on player.

Nue B. or not Nue B. That is the question.
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 20th Nov 2006 20:42
Once again a quick look at the script should have clued you in, but thanks for clearing that up. You weren't really saying I stole it, just kind of implying, just like I was kind of implying that you were a big-headed idiot, but not really saying it.

Best.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

Nue B
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 21st Nov 2006 00:36
LOL. Well I appreciate your straight forward attitude.
Best.

Nue B. or not Nue B. That is the question.
the programmer
18
Years of Service
User Offline
Joined: 5th Jan 2006
Location:
Posted: 25th Nov 2006 22:40
do i need emptys MOD for this to work?

cheers
the programmer
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 25th Nov 2006 22:57
No, any version from 1.02 up will work.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

Airslide
20
Years of Service
User Offline
Joined: 18th Oct 2004
Location: California
Posted: 26th Nov 2006 00:06 Edited at: 26th Nov 2006 00:07
Good Job xplosys. I've been working on my own for the past few hours, and now I see this! Luckily, not all my work went to waste - in mine you can enter the wrong number and it 'resets', if you want I can send it to you to look at

EDIT: Though mine is a bit complex - newer users will find yours more inviting.

xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 26th Nov 2006 00:47
Always looking for new ideas and ways to do things. Send it on, bro.

Best.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

Airslide
20
Years of Service
User Offline
Joined: 18th Oct 2004
Location: California
Posted: 26th Nov 2006 03:50
Okay, I'll send it in a sec.

The reason I find mine more useful is that with yours you can kinda just press all the keys randomly and get it. With this it takes a bit more guess work (or just finding the code like a good person ) because of the reset.

xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 26th Nov 2006 15:49
I really had no purpose in mind when I made it. I was just taken by the scancode bug and trying to make everything I could think of. lol

I'm over it now and on to other things. I will cetainly use it in the game I just started so your script will help.

Thanks.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

Airslide
20
Years of Service
User Offline
Joined: 18th Oct 2004
Location: California
Posted: 26th Nov 2006 20:14
Your welcome I did send it, right? My memory seems to have blacked out all of yesterday

xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 26th Nov 2006 21:06
No...lol.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

Airslide
20
Years of Service
User Offline
Joined: 18th Oct 2004
Location: California
Posted: 26th Nov 2006 22:07
Oh - ooops..I'll send it now

the programmer
18
Years of Service
User Offline
Joined: 5th Jan 2006
Location:
Posted: 2nd Dec 2006 00:25
Okay i have one other quistion.

So i put this script in the "main" part of my wall switch, then i change the "if used" to the name of my remote door. Should this open the remotedoor?

Why i ask this is because it does not work on my machine, am i not doing somthing.
Cheers tho looks like a good one
the programmer
Lewis
VBOTB Developer '10
19
Years of Service
User Offline
Joined: 16th Mar 2005
Location: Queensland, Australia
Posted: 2nd Dec 2006 05:08
we kinda need the keycode to reset if you get it wrong...then it'll be ideal. if you can do that, ill release the HUD image, the robot voice i made and all that.

Lewis From OsborneCreations.co.uk
Arska
18
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Finland
Posted: 13th Feb 2007 16:16 Edited at: 13th Feb 2007 16:31
I have my own version of Switch Code Script. This is harder to work but it works better than original. Regulal code of that Code Snippet is 1-2-3-4 of right number pad.

Original version bugs: if right code is e.g. 1-2-3-4-5 and you put e.g. 1-5-2-6-3-5-4-5, code is right and door or other entity is action.. ??

Very complicated script, can anybody test?

And, nobody hack!



Firemegaboys.Urli.Net
Games and website for everybody
Airslide
20
Years of Service
User Offline
Joined: 18th Oct 2004
Location: California
Posted: 15th Feb 2007 00:30 Edited at: 15th Feb 2007 00:33
Looks an awful lot like mine..but edited...I'm going to go compare, could just be me.

EDIT: Nevermind, just me....the excess of lines is what made it so familiar

Xaque
17
Years of Service
User Offline
Joined: 11th Dec 2006
Location: Denmark
Posted: 23rd Feb 2007 11:11
if someone stil have problems whit the the whent grey when they type the code

try this

make a door give it door_remote script
make a access code switch or something else give it enteraccesscode script and i when used field type the doors name

it works for me

Sorry im not good to english
Johnathon
17
Years of Service
User Offline
Joined: 20th Feb 2007
Location: South Park
Posted: 20th Mar 2007 10:22
Please post how to change code. I need help. I'm using a laptop and they don't have a numpad. If you can, thanks. Help!
Veron
18
Years of Service
User Offline
Joined: 22nd Nov 2006
Location:
Posted: 20th Mar 2007 12:35
Jonathon:

Change the scancodekeypressed value to a value for the numbers above the letters on your laptop. Search Google for a scancodemap or something like that.

Need web design help with PHP or XHTML? E-mail me!
http://veron.sitesled.com Visit Veron! Free games, programs and applications! Made in DBPRO, FPSC, and C++!
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 21st Mar 2007 05:31
Hate to bump this up again but just wanted to say thanks to xplosys. This was code I really needed and am using it a lot. Also I thought I would make available the scancodes in a bmp image. Should be linked in the "view" and/or "download" buttons. I believe that this is also courtesy of xplosys. Maybe I got it from the fps tips and tricks pdf file. Can't remember.

As opposed to Highlander.

Attachments

Login to view attachments
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 21st Mar 2007 05:36
Please post it as a .jpg or .png.

Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 21st Mar 2007 15:48 Edited at: 21st Mar 2007 15:53
Oops! Well, Fred, I was just lazy, this was the format in which I had originally gotten it. But to satisfy the dial-up users so that they don't have to have a cup of java while waiting for it to download, here is a jpg -- you can use the view button now as well.

As opposed to Highlander.

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-23 16:21:14
Your offset time is: 2024-11-23 16:21:14