script

Have questions about CoD4 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
User avatar
Opel
CJ Fan
CJ Fan
Posts: 188
Joined: September 15th, 2008, 12:28 pm
Location: Scotland

script

Post by Opel » April 21st, 2009, 8:44 pm

hi guys i am making a jump map andi want to make something in it its like a big platform but it has seperate bits with leters such as A,B,C and ect. i was wondering how i would script it so when u stood on the letters that u need to stand on the door opens and when u stand on one letter it kinda makes a noise if my explaniation doesent make sense to u i made a pic but that is probually worse

Image

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: script

Post by Drofder2004 » April 21st, 2009, 9:01 pm

Depends how exactly you are doing it.

Is the user simply pressing 1 letter for access or pressing multiple letter to spell a word for access?

Nightmare put up a basic password post somewhere (for keypad passwords) which can easily be translated to a bigger scenario.

More detail is needed imo.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
Opel
CJ Fan
CJ Fan
Posts: 188
Joined: September 15th, 2008, 12:28 pm
Location: Scotland

Re: script

Post by Opel » April 21st, 2009, 9:06 pm

you will have to press multiple letters for it to open

User avatar
Soviet
Core Staff
Core Staff
Posts: 7762
Joined: April 23rd, 2005, 9:12 pm

Re: script

Post by Soviet » April 21st, 2009, 10:19 pm


User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Re: script

Post by Nightmare » April 21st, 2009, 11:59 pm

If you want the code to constantly check if the code is correct, use this: viewtopic.php?p=83118#p83118
If you want to use an enter button, use this: viewtopic.php?p=84065#p84065
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: script

Post by Drofder2004 » April 22nd, 2009, 1:20 am

This was the thread I was on about
.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Re: script

Post by Nightmare » April 22nd, 2009, 2:07 am

Seeing as how multiple people have asked about this in the past and to help simplify things, I made a separate thread in the tutorials which explain what does what in these two different scripts.

You can see it here: viewtopic.php?f=18&t=9628
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

User avatar
Opel
CJ Fan
CJ Fan
Posts: 188
Joined: September 15th, 2008, 12:28 pm
Location: Scotland

Re: script

Post by Opel » April 22nd, 2009, 7:19 am

thx guys i will have a read through them today.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests