Inside3D!
     

TDS : Mouse and point problem

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
Freemanoid



Joined: 16 Jun 2008
Posts: 52
Location: BELARUS

PostPosted: Sun Mar 15, 2009 10:25 pm    Post subject: TDS : Mouse and point problem Reply with quote

Hello everyone. I try to create top-down shooter. In game the cursor which is necessary follows the mouse. The player should turn after the cursor. However I have no idea how to make such thing can somebody help?
_________________
^O,..,o^
Back to top
View user's profile Send private message Visit poster's website
ceriux



Joined: 06 Sep 2008
Posts: 969
Location: Florida, USA

PostPosted: Mon Mar 16, 2009 6:04 am    Post subject: Reply with quote

your asking in the wrong catagory.
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
Error
Inside3D Staff


Joined: 05 Nov 2004
Posts: 558
Location: VA, USA

PostPosted: Mon Mar 16, 2009 9:11 am    Post subject: Reply with quote

yes, if you use darkplaces you can use the prydon client cursor.

it's quite the useful!
_________________
Inside3D : Knowledge Is Power
Darkplaces Documentation Wiki
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
ceriux



Joined: 06 Sep 2008
Posts: 969
Location: Florida, USA

PostPosted: Mon Mar 16, 2009 9:11 am    Post subject: Reply with quote

is the cursor in Prydon only slow because of how much is going on in the mod or maybe because its always being drawn? idk i was having some issues with it being slow.

would a csqc cursor be better for a mod or one like prydons?
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
Error
Inside3D Staff


Joined: 05 Nov 2004
Posts: 558
Location: VA, USA

PostPosted: Mon Mar 16, 2009 10:07 am    Post subject: Reply with quote

up the 'sensitivity' cvar
_________________
Inside3D : Knowledge Is Power
Darkplaces Documentation Wiki
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Freemanoid



Joined: 16 Jun 2008
Posts: 52
Location: BELARUS

PostPosted: Mon Mar 16, 2009 1:01 pm    Post subject: Reply with quote

I cannot use darkplaces because i creating game for pocket pc.
_________________
^O,..,o^
Back to top
View user's profile Send private message Visit poster's website
MauveBib



Joined: 04 Nov 2004
Posts: 602

PostPosted: Mon Mar 16, 2009 1:59 pm    Post subject: Reply with quote

Then your job becomes a whole lot harder. It is possible to code a QC cursor without extensions by captuing player imput wth +strafe set, but it's not easy.
_________________
Apathy Now!
Back to top
View user's profile Send private message
ceriux



Joined: 06 Sep 2008
Posts: 969
Location: Florida, USA

PostPosted: Mon Mar 16, 2009 6:25 pm    Post subject: Reply with quote

which of the three would be the best option for preformance?
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
MauveBib



Joined: 04 Nov 2004
Posts: 602

PostPosted: Mon Mar 16, 2009 6:42 pm    Post subject: Reply with quote

ceriux wrote:
which of the three would be the best option for preformance?


CSQC probably, followed by cl_prydoncursor, followed a very long way back by SSQC player movement capture.
_________________
Apathy Now!
Back to top
View user's profile Send private message
ceriux



Joined: 06 Sep 2008
Posts: 969
Location: Florida, USA

PostPosted: Mon Mar 16, 2009 7:11 pm    Post subject: Reply with quote

alrighty thanks for the info i know what ill use when i need it.
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
Freemanoid



Joined: 16 Jun 2008
Posts: 52
Location: BELARUS

PostPosted: Tue Mar 17, 2009 8:54 am    Post subject: Reply with quote

So i need to use csqc for coding?
_________________
^O,..,o^
Back to top
View user's profile Send private message Visit poster's website
ceriux



Joined: 06 Sep 2008
Posts: 969
Location: Florida, USA

PostPosted: Tue Mar 17, 2009 2:21 pm    Post subject: Reply with quote

no, its just for preformance it might look better too. mine were just personal questions.
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
Spike



Joined: 05 Nov 2004
Posts: 944
Location: UK

PostPosted: Tue Mar 17, 2009 3:10 pm    Post subject: Reply with quote

Freemanoid wrote:
I cannot use darkplaces because i creating game for pocket pc.


then you can't use csqc either.

tbh, support for prydon cursors would be easier to add to a pocketpc engine.
_________________
What's a signature?
Back to top
View user's profile Send private message Visit poster's website
MauveBib



Joined: 04 Nov 2004
Posts: 602

PostPosted: Tue Mar 17, 2009 5:29 pm    Post subject: Reply with quote

In stock quake the only way to do a cursor is to capture player movement. See non-DP Prydon Gate, or DiD2 for an example.

It's not an easy process to duplicate, and not easy to explain. How good are your QC skills?
_________________
Apathy Now!
Back to top
View user's profile Send private message
Freemanoid



Joined: 16 Jun 2008
Posts: 52
Location: BELARUS

PostPosted: Tue Mar 17, 2009 7:04 pm    Post subject: Reply with quote

I think my skills in qc about 4 from 10
_________________
^O,..,o^
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group