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 / Does someone have a key viewer or chart.- I need it for an adaptive crosshair script, like in COD.

Author
Message
light mod
13
Years of Service
User Offline
Joined: 26th May 2011
Location:
Posted: 15th Jun 2011 02:08 Edited at: 18th Apr 2014 13:03
Does anyone have a key viewer or chart of the key codes for scripting?
Ched80
14
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 15th Jun 2011 11:15 Edited at: 15th Jun 2011 11:16
Here you go:
.

This was taken directly out of the community guide part 1.

[url="http://raptr.com/No_Turn_Right?src=em_forum"][/url]

Attachments

Login to view attachments
skeeter
14
Years of Service
User Offline
Joined: 12th Jun 2010
Location: Australia
Posted: 15th Jun 2011 12:17
can i have that script when your done?
light mod
13
Years of Service
User Offline
Joined: 26th May 2011
Location:
Posted: 15th Jun 2011 12:19 Edited at: 16th Jun 2011 05:03
Thanks.
light mod
13
Years of Service
User Offline
Joined: 26th May 2011
Location:
Posted: 16th Jun 2011 02:17 Edited at: 25th Apr 2014 09:37
Thanks
Ched80
14
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 16th Jun 2011 15:27 Edited at: 16th Jun 2011 15:30
This is closer,

You need
Quote: ":state=0:state=1"

In between the HUD definition and the key pressed code.

You also need to hide your HUDs during the definition by adding "hudhide=1" to each HUD line.

"keypressed" needs two parameters: a keycode and a logic value such as:
Quote: "keypressed=57 1"

otherwise it will not work.

When posting code on the forum you should enclose it within ]code[ and ]/code[ (reversing the brackets) otherwise you end up with huge posts that are difficult to read.

So you get something like this:



[url="http://raptr.com/No_Turn_Right?src=em_forum"][/url]
light mod
13
Years of Service
User Offline
Joined: 26th May 2011
Location:
Posted: 17th Jun 2011 01:42 Edited at: 25th Apr 2014 09:37
Good
2Beastmode4u
13
Years of Service
User Offline
Joined: 14th Feb 2011
Location: Loading...
Posted: 18th Jun 2011 01:42 Edited at: 18th Jun 2011 01:44
Actually no...
"keypressed=" is a condition and all conditions go before the second colon in a line of code; everything after the line of code must be a command. I could do this script for you(if you want), but it seems that this script is helping you a lot in scripting so I will let you finish this one up .

I recommend looking in the official handbook in the Docs folder or in Ched's Syntax list.


Cheers.

God help me, Please.

Come on down to my site at Unleashed FPSCreators
light mod
13
Years of Service
User Offline
Joined: 26th May 2011
Location:
Posted: 18th Jun 2011 03:28 Edited at: 25th Apr 2014 09:37
Can
Ched80
14
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 18th Jun 2011 13:24 Edited at: 18th Jun 2011 13:25
Light mod, we could do it for you, but you will gain so much more from doing it yourself, plus you will then be able to make scripts yourself much quicker. We're happy to help, but I would recommend that you keep trying. You're making excellent progress.

Another tip for you: you can only use hudunshow for one HUD, so you have to keep repeating it for each HUD on the same line:

Quote: ":always:hudunshow=j,hudunshow=w,etc."


[url="http://raptr.com/No_Turn_Right?src=em_forum"][/url]
2Beastmode4u
13
Years of Service
User Offline
Joined: 14th Feb 2011
Location: Loading...
Posted: 20th Jun 2011 00:12
Light Mod,
How is the script going for you?


Cheers.

God help me, Please.

Come on down to my site at Unleashed FPSCreators
light mod
13
Years of Service
User Offline
Joined: 26th May 2011
Location:
Posted: 20th Jun 2011 00:27 Edited at: 25th Apr 2014 09:38
Ched80
14
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 20th Jun 2011 14:47
Could you post it for others to use?

[url="http://raptr.com/No_Turn_Right?src=em_forum"][/url]
2Beastmode4u
13
Years of Service
User Offline
Joined: 14th Feb 2011
Location: Loading...
Posted: 20th Jun 2011 16:19
Ditto. This will be a useful script.


Cheers.

God help me, Please.

Come on down to my site at Unleashed FPSCreators
light mod
13
Years of Service
User Offline
Joined: 26th May 2011
Location:
Posted: 21st Jun 2011 00:39 Edited at: 25th Apr 2014 09:38
i.[ic:offee]
light mod
13
Years of Service
User Offline
Joined: 26th May 2011
Location:
Posted: 21st Jun 2011 09:32 Edited at: 25th Apr 2014 09:38
.

Login to post a reply

Server time is: 2024-11-24 08:31:09
Your offset time is: 2024-11-24 08:31:09