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 / Assign multiple keys to a function.

Author
Message
Michael Thompson
16
Years of Service
User Offline
Joined: 15th Aug 2008
Location: Behind you (if not, in australia)
Posted: 25th Mar 2011 10:49
Hello everyone, I am currently working on a menu project, and I was wondering how would I set my game up so that people can assign 2 buttons to 1 function alike to the options in Call of Duty, through the setup.ini file? (is this possible? if not I want to make this into a request) If it is possible, what would I have to do so that in the settings.ini file, a key would be set to "P" and "O" (scancodes "25" and "24")?
Thanks.

http://www.flashstargamecreations.webs.com
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 25th Mar 2011 20:04
I do believe the source would need to be modified to make this happen.


The one and only,


Only those who sow the seeds of their desires will reap their benefits later.
However, I have seeds of my own to tend to. I don't have time to be someone else's watering can.
Michael Thompson
16
Years of Service
User Offline
Joined: 15th Aug 2008
Location: Behind you (if not, in australia)
Posted: 26th Mar 2011 10:26
Thanks. I presume that would be in PB?

http://www.flashstargamecreations.webs.com
wam69
13
Years of Service
User Offline
Joined: 26th Feb 2011
Location:
Posted: 27th Mar 2011 12:00
I'm french and my english is not very good...

You can do it with this software : SGLauncher

http://doomster.bplaced.net/Documentations/SGLauncher/designer.html

With it, you can make an option button to configure your keys, resolutoin,quality of texture,... And more!

Intel corei7 860 4x 3.0ghz / 8 GO RAM DDRIII 1600MHZ / Nvidia GTX 560 TI / Asus P7p55D / Alimentation / Antec Neopower Blue 650W / Boitier Cooler Master HAF 932

FPSC v1.18 beta 10
Michael Thompson
16
Years of Service
User Offline
Joined: 15th Aug 2008
Location: Behind you (if not, in australia)
Posted: 27th Mar 2011 13:22
But does that allow for multiple values? such as using both "C" and "Ctrl" to crouch?
Thanks.

http://www.flashstargamecreations.webs.com
wam69
13
Years of Service
User Offline
Joined: 26th Feb 2011
Location:
Posted: 27th Mar 2011 13:29
Yes! I've put run and reload on the same letter [enter]

It's not smart but it worked...

Intel corei7 860 4x 3.0ghz / 8 GO RAM DDRIII 1600MHZ / Nvidia GTX 560 TI / Asus P7p55D / Alimentation / Antec Neopower Blue 650W / Boitier Cooler Master HAF 932

FPSC v1.18 beta 10
Michael Thompson
16
Years of Service
User Offline
Joined: 15th Aug 2008
Location: Behind you (if not, in australia)
Posted: 28th Mar 2011 11:46
No I mean as in you can use both R and T to reload for example. I want 2 keys to do the same thing, not 1 key doing 2 things.

http://www.flashstargamecreations.webs.com
wam69
13
Years of Service
User Offline
Joined: 26th Feb 2011
Location:
Posted: 30th Mar 2011 17:29
okay

i understand! That's not possible to put one action to many keys! If you look at the code you can saw it! One key=>one "scancode"

Intel corei7 860 4x 3.0ghz / 8 GO RAM DDRIII 1600MHZ / Nvidia GTX 560 TI / Asus P7p55D / Alimentation / Antec Neopower Blue 650W / Boitier Cooler Master HAF 932

FPSC v1.18 beta 10
Michael Thompson
16
Years of Service
User Offline
Joined: 15th Aug 2008
Location: Behind you (if not, in australia)
Posted: 30th Mar 2011 18:46
Yes, I though so.
Thanks.

http://www.flashstargamecreations.webs.com

Login to post a reply

Server time is: 2024-11-24 11:55:06
Your offset time is: 2024-11-24 11:55:06