OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SilentHunter on 19 Feb 2005, 00:14:18
-
How do i force the game to change to the map view,
The ol' forcemap command shows the map, but keeps the guis on screen.
It needs to flow in perfectly, just as if u were hitting the map toggle key.
Thanks
-
i think Sui's Facile Ground used a map in the intro. ask him or find the mission and de-pbo it.
-
That was in the intro though... not the mission.
As far as putting the map up on the screen as if the player pushed the M key goes, I don't think it can be done.
The forcemap command puts the map up, but not the map interface (you'll still behave as if you can run and shoot).
I haven't been able to get around that.
If anyone figures out how, let me know as I was going to base a platoon command engine around it :P ::)
-
At risk of being kicked off ofpec
I don't think it can be done.
Is not a seris of words that should appear under the title "Operation Flashpoint"
*salutes the site*
-
The forcemap command puts the map up, but not the map interface (you'll still behave as if you can run and shoot).
disableuserinput can be used to make sure the player doesn't move, but it won't fix the gui problem...
-
Wouldn't creating a camera remove the GUI?
-
Yeap... but it also disables the player's control of the mouse ;)
In the past I tried to use the map as a background to a dialog, for a platoon control script.
I found that commands like mapclick simply didn't work, as OFP didn't detect the map was displayed...
Sure, it was on the screen and you couldn't see anything else, but other than that it still behaved as if the player was moving and shooting as per usual...
Having said that, that doesn't necessarily mean it can't be done. Just that I don't know how to do it :)