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 / need to change control in keyboard ( 1 ) ( 0 )

Author
Message
abdullh
12
Years of Service
User Offline
Joined: 30th Aug 2012
Location:
Posted: 27th Dec 2012 02:18
okay
we know that we can change control in script bank file like ( door use - pickup an item etc )

and we can change control in build game

but i can't change number (1) in keyboard ... if i press 1 it will show my some item that i pick it up
i don't need this button i want to change it to ( I ) for example....

another thing i want hide my item it will be ( 0 )
i need to Chang it to ( H )

all i need where is the file script that i can change it

thanks
Ross tra damus
3D Media Maker
19
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Looking to Escape London
Posted: 27th Dec 2012 04:14
Take a look at the link here:

http://forum.thegamecreators.com/?m=forum_view&t=192148&b=23

There is a 'scancode' chart on the first page which will help you plus this is also featured in 'Nickydudes' FPSC Guide.

Good Luck.
abdullh
12
Years of Service
User Offline
Joined: 30th Aug 2012
Location:
Posted: 27th Dec 2012 17:20
yeah i know that and i have it
but where is the file to change this control
ncmako
13
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 28th Dec 2012 06:41
Hi abdullh
There is no file(script) on hand. You have to write one
that suits your personal needs.
Ross tra damus is pointing you in the right direction.
abdullh
12
Years of Service
User Offline
Joined: 30th Aug 2012
Location:
Posted: 28th Dec 2012 21:01
hmmm
i tried ....hahah ... it's really make me confusing .... i will try
but i hope if anyone help me just give me script
that not allow player to change item in numbers only mouse.

the numbers using only for puzzle

in keyboard there is to type numbers in above and left
but in laptop only above

i mean if i finish the game , share it and they playing they will say something wrong if they type number in above , i mean who they have laptop ..it show them items that they collected and type number too ...

so then how can they resolve puzzle using numbers in above

i have script storyteller for puzzle it's working only in left keypad numbers ...but it can't using in above keypad number

so i change it that only using in above

everything it's work .... but we have problem if password 6184
if i press 1 it show me item with enter password

so that's why we need any idea how we can disable show item in numbers
BlackFox
FPSC Master
17
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 31st Dec 2012 17:21
Quote: "but i hope if anyone help me just give me script
that not allow player to change item in numbers only mouse."


The number keys 1-9 are assigned to the weapons in the source code and can't be changed by script. If you pick up a colt first, it will go into slot 1; you pick up a tavor second it goes into slot 2; and so on. If you press 1 above the letters or on number pad on keyboard, the weapon appears. If you turn off Num lock on the keyboard and press 1 the weapon shows, but will not show if you press 1 on the number pad with Num lock turned off.

Quote: "in keyboard there is to type numbers in above and left
but in laptop only above "


Some laptops have the numbers above and the numeric keypad is a secondary function. For example, on my wife's laptop she has numbers 1-0 along the top. Her "number pad" is marked in blue letters on the keys 8,9,U,I,O,PJ,K,LM. To use the "number pad, she has to activate her number lock. Almost all laptops have the numeric pad as a function.


There's no problem that can't be solved without applying a little scripting.

Login to post a reply

Server time is: 2025-08-08 12:11:39
Your offset time is: 2025-08-08 12:11:39