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 / Press "key combination" to start (like shift + F12)

Author
Message
Tomas Forum
FPSC Reloaded TGC Backer
15
Years of Service
User Offline
Joined: 20th Apr 2009
Location: The Netherlands
Posted: 28th May 2009 20:23
If somebody has an idea to make a KEY COMBINATION to start... this will solve the problem of the bloom key-combination mods.
Please give me some idea's!!!

Example: New Game > Loading page > "Press Shift F12 to start game"
and it will start your game AND the omega bloom mod... THANK YOU

Tomas
DarkFrost
15
Years of Service
User Offline
Joined: 3rd May 2009
Location: ON, Canada
Posted: 28th May 2009 21:55
If you are planning on releasing this game with the omega bloom mod than do not do so. It uses things that negate you from commercially using them. Without permission it would be a dumb move. BTW I have no idea how to do that.

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 28th May 2009 23:30
A key combination would require the keys to be pressed in sequence (Not together) or it would require you to use a Mod with a better "keypressed" condition. Ply's Mod has such a condition.


The one and only,


JRH
18
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Stirling, UK
Posted: 29th May 2009 18:16
In basic FPI scripting



Hope that was useful,
JRH

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 29th May 2009 22:36
Sorry JRH, but only a single scancode can be returned at any one time. That is, when two keys are pressed then the dominant key (not sure what makes a key dominant over another, exactly) is the one that gets returned as the scancode.


The one and only,


Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 30th May 2009 18:10
:state=0,scancodekeypressed=X:state=1
:state=1,scancodekeypressed=X:state=2

You can do it so that a [fullscreen] black hud appears. And after pressing the keys it removes.

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 31st May 2009 06:06
@Red Eye:

That would require you to press the keys in sequence, not both of them together.

I'm sure it would work given that they pressed the first key and THEN the second key while still holding the first key, but only if the second key is dominant to the first.


The one and only,


Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 31st May 2009 19:15
That is true Ply. But with the omegamod, you can also press it in a sequence and it will work also. so i dont see the problem.

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 1st Jun 2009 00:29
What if I pressed F12 and then Ctrl?

The ENB Mod (why must people insist on calling it "omegamod"?) will start up because both of the keys were pressed, but the script won't recognize that since the last thing it saw was the player pressing "Ctrl" and is still waiting for the F12 key to be pressed.


The one and only,


Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 1st Jun 2009 11:44
Cleared Up then...

Login to post a reply

Server time is: 2024-11-25 02:11:36
Your offset time is: 2024-11-25 02:11:36