OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Ding on 30 Jul 2005, 19:24:17

Title: Removing the mouse
Post by: Ding on 30 Jul 2005, 19:24:17
hi, i have made my own dialog it is a red boarder that gets lighter as you go in so it acts as a  screen cover basically, the problem i have is that in the cutscene im using it in, the mouse still shows in the middle of it and it is messing up the whole of the cutscene, what is the command to remove the mouse temporarily until the cutscene has finished?
Title: Re:Removing the mouse
Post by: Blanco on 31 Jul 2005, 00:48:14
You can''t remove the cursor -\
Title: Re:Removing the mouse
Post by: Ding on 31 Jul 2005, 08:00:02
:( i thought you might not beable to, are you sure there is not some way to do it with the ext file?
Title: Re:Removing the mouse
Post by: Blanco on 31 Jul 2005, 08:30:56
99% sure, I have the same problem when I use the scrolltext script.
BIS never thought OFPfans were so inventive with dialogs.
They must have been thinkin' ... what's a dialog without a mousepointer?

 
Title: Re:Removing the mouse
Post by: Ding on 31 Jul 2005, 20:36:01
yeah good pint :D, i have a realy nice picture with alpha channels that i am using to make a scene look like it is a dream, bloody cursor in the middle ):, oh well, maybe this wil le fixed in AA or ofp2, but i doubt it D:
Title: Re:Removing the mouse
Post by: Sui on 01 Aug 2005, 05:38:13
Try using a resource instead of a dialog.

A resource will cover the mouse, though will not be clickable (I'm assuming you don't want it to be if you're getting rid of the mouse though) ;)
Title: Re:Removing the mouse
Post by: Ding on 01 Aug 2005, 08:00:45
yeah thats right :), are there any tutorials or can someone give me an explenation on how to put my resource into the game, will check the editors depot.
Title: Re:Removing the mouse
Post by: Ding on 09 Aug 2005, 22:01:48
well i learnt how to do resources, this is still a problem though as they work slightly differently from dialogs, even though there is no mouse pointer which is good, you cant define how long you want them with open and close commands which is annoying as you define there length in the descriptionif you put in a black out, it atomaticly closes the resource as its just about to start blacking out which looks nasty and like it has been poorly done.
Title: Re:Removing the mouse
Post by: General Barron on 16 Aug 2005, 08:40:37
Resource tutorial:

http://www.ofpec.com/editors/resource_view.php?id=773

Quote
this is still a problem though as they work slightly differently from dialogs
There are two different "layers" that resources can be displayed on. Which layer is used is determined via the two resource commands: cutrsc and titlersc. The cuttext and titletext commands also use these same layers. If you, for example, call a resource via "cutrsc", then try to do a fade out via "cuttext", the fade out will override the resource like you are seeing. If you were to use "titletext" instead, it should make the fade on the other "layer", so the resource should be left up.

This also gives you a way to control when the resource is removed from the screen, despite whatever you enter in the description.ext. Just make an empty text appear on the screen, and it will remove the resource on that layer.