Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, The_Judge, Grant), 898 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Mouseover-style highlight using the crosshair #118108
03/18/07 19:45
03/18/07 19:45
Joined: Jan 2006
Posts: 20
C
carcorde Offline OP
Newbie
carcorde  Offline OP
Newbie
C

Joined: Jan 2006
Posts: 20
Is it possible to highlight an object using the crosshair? I´m trying to make any shootable object highlight itself as soon as the crosshair passes over it.

Is that even possible if I wish to keep the fist person shooter look?
I´m using the A6.40 Pro FPS template.

Thanks a lot for any help.

Re: Mouseover-style highlight using the crosshair [Re: carcorde] #118109
03/18/07 19:56
03/18/07 19:56
Joined: Apr 2005
Posts: 2,332
Germany, BaWü
aztec Offline

Expert
aztec  Offline

Expert

Joined: Apr 2005
Posts: 2,332
Germany, BaWü
why dont you use a cross picture for the mouse
then you can do the highlight thing with event_mouse_over
I think this was asked a lot and I gave allready some answers so maybe you check some old threads
have no time right now
Maybe tomorow but im sure the others will help you
regards
Aztec


Visit:
schwenkschuster-design.de
Re: Mouseover-style highlight using the crosshair [Re: aztec] #118110
03/18/07 21:07
03/18/07 21:07
Joined: Jan 2006
Posts: 20
C
carcorde Offline OP
Newbie
carcorde  Offline OP
Newbie
C

Joined: Jan 2006
Posts: 20
But if I try turning the mouse mode to 2, I get the pointer all right, and mouse_ent will work for that, but I loose the ability to look around with the mouse. Since this game is to be played only with the mouse, with no keyboard, how do I keep the mouselook working, the crosshair to aim, and can still click and mouseover things with the left mouse button as I walk forward by pressing the right mouse button?

Re: Mouseover-style highlight using the crosshair [Re: carcorde] #118111
03/19/07 18:34
03/19/07 18:34
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
mouse_mode = 1;...

*sing*look in the manual*sing*

Re: Mouseover-style highlight using the crosshair [Re: Scorpion] #118112
03/20/07 20:12
03/20/07 20:12
Joined: Jan 2006
Posts: 20
C
carcorde Offline OP
Newbie
carcorde  Offline OP
Newbie
C

Joined: Jan 2006
Posts: 20
Yeah, thanks for both advices. But the mouse is already set to mode 1, not 0, and it still won´t work as I expected, it won´t "touch" the entities.
No matter, I´ll keep trying.


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1