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 Product Chat / mouse controls instead of keyboard for compiled game

Author
Message
robert _988778
11
Years of Service
User Offline
Joined: 4th Sep 2012
Location:
Posted: 5th Sep 2012 01:59
Greetings fellow X gods.
I am a firm beleiver that one should be able to control and explore ones universe with but one single hand, the other being occupied by a beautiful lady-mesh or a slice of well buttered toast.
However, the keyboard mapping options for ones built game in FPSC only allow for those square things which I wish not to trouble myself with.
Is it not possible to, for instance have LEFT MOUSE BUTTON for shoot, yes it is, and (apparently not) RMB for move forward? In the menu for control mapping if I press right mouse button after selecting \\\'move forward\\\' the FPSC receprors seem confuesed.

In short, I like to play with a single hand and no more than 2 digits at that. Is that really too much to ask?

Thankyou
robert _988778
11
Years of Service
User Offline
Joined: 4th Sep 2012
Location:
Posted: 5th Sep 2012 11:31
I am having a problem with test mode. When certain (not all) projects are launched into test mode the mouse cursor sticks to the middle of the screen and will not move and nothing can be seen but a blank black screen in the editor, but it doesn't get to the usual full screen of the test. The program locks and CTRL+ALT+DEL is the only answer, or sometimes it closes itself with an error.
I know this problem has been raised before, but the forum has not received any visible solutions that I can find.

Yes, I have the latest directX drivers, yes I have a quick machine. This only happens with more complex projects it seems.

Thankyou
Omegamer
15
Years of Service
User Offline
Joined: 25th Feb 2009
Location: There
Posted: 5th Sep 2012 16:10
Quote: "In short, I like to play with a single hand and no more than 2 digits at that. Is that really too much to ask?"


What about strafing, jumping, crouching etc.?

FPSC only detects left and right mousebutton
robert _988778
11
Years of Service
User Offline
Joined: 4th Sep 2012
Location:
Posted: 5th Sep 2012 17:25
I don't want to strafe and jump and crawl. I just want to run and turn and shoot. With one hand. So I (and my users) don't have to sit at a keyboard like a schoolkid (no offense), and it doesn't detect the right or left mouse click in the controls setup, as I said.

Any more answers please?
robert _988778
11
Years of Service
User Offline
Joined: 4th Sep 2012
Location:
Posted: 5th Sep 2012 17:40
Jump and strafe and crawl, I ask you, you're wearing me out just thinking about it. I've got a gun and I'm mad, I'm gonna blow everybody away, even the good guys. Then I'm going back and killin' 'em all again And then when I'm finished I want to jump, sorry, run, off a cliff in a blaze of GLORY!
YEAH!!
Now, I ask you, do I want to do it sitting at a keyboard like Liberachi trying to get all my buttons right and making my fingers ache, or do I want to do it from my favourite comfy chair with the precision of my favourite killing mouse?

All you need is MOUSE, trust me.

Now, how do I make my apocolyptic Mr evil run along without having to sit on a hard chair at a hard keyboard while busting my eyes on monitor that's too close?
rolfy
17
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 6th Sep 2012 03:54 Edited at: 6th Sep 2012 04:02
Quote: "FPSC only detects left and right mousebutton "

Left mouse button mousestate=1
Right mouse button mousestate=2
Middle mouse button mousestate=3

FPSC uses 'w', keypress 17 to move player forward, would likely not need much of a source change to change it to right mouse button but your gonna have to use the dreaded keyboard to do this.

I looked at altering the game profile in setup.ini changing Key1 =17 to mousestate =2 but it didn't work, so out of luck there. You could always try a long stick.

Awesome! Its one of those threads.
Omegamer
15
Years of Service
User Offline
Joined: 25th Feb 2009
Location: There
Posted: 6th Sep 2012 04:04
Quote: "Middle mouse button mousestate=3"


Forgot about that
Scene Commander
Support Manager
15
Years of Service
User Offline
Joined: 3rd May 2008
Location:
Posted: 6th Sep 2012 10:23
Quote: "So I (and my users) don't have to sit at a keyboard like a schoolkid"


Actually, it sounds more like you do want to play like a schoolkid

But, you can actually use an xbox style controller if you don't want to use the keyboard. It should also be possible to script what you want (although I've not tried) using PLRFORCEMOVE and the aforementioned mouse commands.

Good luck.

SC
robert _988778
11
Years of Service
User Offline
Joined: 4th Sep 2012
Location:
Posted: 6th Sep 2012 12:31
Maybe I do want to PLAY like a school kid, I just don't want to SIT like on, keep up.
I think you're missing the point, the MOUSE is the thing, you get more control with a mouse than with any joystick/pad, can't you see that? You get rotation, which you don't with any joystick I know.
So I want to use the mouse only, but this program, unlike the superior 3DRad, doesn't have the basic controls to map movements to mouseclicks.
I just want to know if it's possible to move forward with the RMB, and nothing else.
If it's not, it's not, fair enough. But surely there must be a way to carry out this most basic of modifications.

And if there isn't it's a bug.
Corno_1
13
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 6th Sep 2012 13:33 Edited at: 6th Sep 2012 13:41
Quote: "Middle mouse button mousestate=3"

I dont know who´s right, but ched write in his unofficial syntax script list that mousestate=3 = left and right mouse buttons are pressed
look at this:
EDIT: I do not know if it work, so test it!


Public void likeFpsc{ System.out.println("I like FPSC!" ) ;}
http://forum.thegamecreators.com/?m=forum_view&t=196656&b=24

Attachments

Login to view attachments
rolfy
17
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 6th Sep 2012 19:24 Edited at: 6th Sep 2012 19:32
Normally we're coming down on older members for being discourteous towards newer members but your attitude and manners are appalling, suggest you get it together or you'll find no one offering help and advice in future.

If you thought about it you would realize that folks are looking into your question which no one has ever required themselves, instead of sitting there demanding we fix it for you, you could maybe try reading up the manual and community guide and fixing it for yourself.

Awesome! Its one of those threads.
robert _988778
11
Years of Service
User Offline
Joined: 4th Sep 2012
Location:
Posted: 6th Sep 2012 20:15
OK I apologise if I caused any offense. Didn't mean to.
rolfy
17
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 7th Sep 2012 06:56 Edited at: 7th Sep 2012 08:11
Dont sweat it too much.
The script in code box below works pretty well (based off Corno_1's, just needed a way to stop player moving), dont think you can disable the w.a.s.d and arrow keys (doesn't for me anyhow), so dropped those out. Not sure its your intention to disable any keys since you may find you want to crouch, whatever, you can always remove these from the script.
Normally right mouse button is reserved for zoom/ironsights with weapons so no idea if going to conflict with things when you equip one, test it out and see how it goes

Put the script into AI Main of a trigger zone, place the zone anywhere in your level.


I also tried the middle mouse and as said it doesn't function, sure I read it was in one of the updates, my bad.

I'll be honest with you, its pretty cool idea, though it might be specifically suited to certain types of game
Might even use this myself.

Awesome! Its one of those threads.
Scene Commander
Support Manager
15
Years of Service
User Offline
Joined: 3rd May 2008
Location:
Posted: 7th Sep 2012 08:52
@Rolfy,

You can disable player movement keys using walkkeys=0 and arrowkeys=0



That code should fix it.
rolfy
17
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 7th Sep 2012 11:58 Edited at: 7th Sep 2012 12:06
Didn't work for me ....using V1.19 if that makes any difference.
See why now
walkkey=0 should have been walkkeys=0. Thats interesting then being able to disable those, thanks

Awesome! Its one of those threads.
robert _988778
11
Years of Service
User Offline
Joined: 4th Sep 2012
Location:
Posted: 7th Sep 2012 23:00
Ah nice replies fellaz. I will try out those suggestions forthwith.
Yes it is a cool idea I think. Who really wants to sit pecking away at a keyboard when the infinite control of a mouse is at your fingertips, once running I will demonstrate what I'm going on about.

I'm not sure why I've got v 1.0 and everybody else has got 1.9 and stuff when mines brand new. What's the deal with that?
robert _988778
11
Years of Service
User Offline
Joined: 4th Sep 2012
Location:
Posted: 7th Sep 2012 23:40
Didn't work for me either
rolfy
17
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 8th Sep 2012 02:39 Edited at: 8th Sep 2012 02:45
Only the action to disable walk keys didn't work for me at first. The move using right mouse button works fine you need v1.19, it will all work if you update.
Download and install.

http://www.thegamecreators.com/?m=view_product&id=2001&page=Files

Awesome! Its one of those threads.
Dar13
15
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 8th Sep 2012 14:06
Quote: "I'm not sure why I've got v 1.0 and everybody else has got 1.9 and stuff when mines brand new. What's the deal with that?"

You have to update the software to at least V1.9, which Rolfy provided the link to.

robert _988778
11
Years of Service
User Offline
Joined: 4th Sep 2012
Location:
Posted: 8th Sep 2012 21:46
Yep got it working, sound as a pound (upgraded to 1.19). Thanks for the input gents.
Leon Kennedy
15
Years of Service
User Offline
Joined: 7th Sep 2008
Location: Neither here nor there
Posted: 10th Sep 2012 20:01
My only question on this, after reading the whole post, is: How do you make the character walk BACKWARDS? Are you using the middle mouse button for this? Because the only thing I see you talking about doing is walking FORWARDS and ROTATING.

Priest of the Church of Joe Wood

In memory of Nanee. 9/1/1993 - 5/16/2009. Rest in Peace, little girl.
robert _988778
11
Years of Service
User Offline
Joined: 4th Sep 2012
Location:
Posted: 22nd Sep 2012 17:24
Turn round and walk forwards. der.
TriSpefear Studios
12
Years of Service
User Offline
Joined: 11th Nov 2011
Location: Dallas, Texas, USA
Posted: 23rd Sep 2012 18:38
Quote: "Because the only thing I see you talking about doing is walking FORWARDS and ROTATING"


That's what the guy wants. No backwards

"Everyone may doubt me, but your just giving me more of a reason to continue on..."
robert _988778
11
Years of Service
User Offline
Joined: 4th Sep 2012
Location:
Posted: 3rd Oct 2012 16:28
i found the solution but it messes with aiming and picking up. If you dont want aiming and picking up its ok but not really suitable as interferes with shooting. bad idea for fpsc, stick to keyboard methinks.

Login to post a reply

Server time is: 2024-05-02 12:18:24
Your offset time is: 2024-05-02 12:18:24