Mouse control

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
Post Reply
dutch
Posts: 4
Joined: Thu Sep 07, 2006 9:09 pm
Location: UK

Mouse control

Post by dutch »

Hi folks

I'm new to RF having played around with Irrlicht for a bit.
Great program!!!!. i'm more a modeler than a programmer so this is exactly what i was looking for.

I have a question though:

Is it possible to use the mouse to navigate the inventory menu during the game??

regards

dutch
User avatar
steven8
Posts: 1487
Joined: Wed Aug 24, 2005 9:08 am
Location: Barberton, OH

Post by steven8 »

Hello dutch,

Welcome to Reality Factory. I'm not quite sure what you mean. Do you mean to use a mouse click to open the menu? Or to hover near the edge of the screen to open the menu?
Steve Dilworth - Resisting change since 1965!
dutch
Posts: 4
Joined: Thu Sep 07, 2006 9:09 pm
Location: UK

Mouse control

Post by dutch »

Hi steven

thanks for your quick reply

what i mean is: when i bring up the inventory during the game, will it be possible to use the mouse to navigate through the items or is it only possible with the keyboard?

I hope you understand

regards

dutch
User avatar
steven8
Posts: 1487
Joined: Wed Aug 24, 2005 9:08 am
Location: Barberton, OH

Post by steven8 »

I see. I do not know, myself, but Juutis has been doing a lot of work o scripted inventory systems. He may have an answer. Heck, I know the newest release has mouse-picking in the demo, but I'm not sure if inventory was one of the things. Make sure you check out the demos with the newest release.
Steve Dilworth - Resisting change since 1965!
dutch
Posts: 4
Joined: Thu Sep 07, 2006 9:09 pm
Location: UK

Mouse control

Post by dutch »

Hi steve

thanks for your time anyway. I will look a bit deeper and hopefully someone else might be able to tell me if it is possible

regards

dutch
User avatar
steven8
Posts: 1487
Joined: Wed Aug 24, 2005 9:08 am
Location: Barberton, OH

Post by steven8 »

Sorry I couldn't be of more help.

Unfortunately, I answer many things from work, and am no where near RF to check. I will try to check sometime tomorrow to see if the demos show whether or not it can be done.
Steve Dilworth - Resisting change since 1965!
User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Post by Juutis »

If I understood you correctly, yes.
There are some scripting commands which can be used to check where the mouse cursor is. It's also possible to draw bitmap images on the screen with script commands, so basically you would have to disable the built-in inventory system and write a script that handles it.

It's not an easy task, however. And if you aren't very experienced scripter, I don't recommend to try something like that.


And welcome to the forums!! :D
Pain is only psychological.
User avatar
scott
Posts: 1151
Joined: Tue Jul 05, 2005 1:59 am
Location: United Kingdom

Post by scott »

wel not to try it straight away, learn a few simple script commands and then build up to menu creating.
*GD*
dutch
Posts: 4
Joined: Thu Sep 07, 2006 9:09 pm
Location: UK

Mouse control

Post by dutch »

Thanks everybody

I'll stick to the easier stuff for now :lol:

dutch
Post Reply