Jump to content
Sign in to follow this  
mrcheetos

Using GPS?

Recommended Posts

In some of the singleplayer missions from BIS, I noticed there is a GPS type gadget on the map screen.

I was wondering how can you implement this in a mission. I've gone through the command refrence, and the editors depot on OFPEC, but alas, I could not find my answer.

Does anyone know if this is possible to do, and if so, how do you enable this?

Share this post


Link to post
Share on other sites
Quote[/b] ]How do I enable GPS?

Put this into your description.ext in your mission folder (if you don't have one, create one).

Code Sample  

showGPS=1

That will enable the GPS shown with the map for each player.

Use the following to enable map, watch, compass and notepad (briefing book).

Code Sample  

showMap=1

showWatch=1

showCompass=1

showNotepad=1

showGPS=1

1 = yes, enable. 0 = no, disable.

From the mission editing FAQ:

http://www.flashpoint1985.com/cgi-bin....t=26723

Some good info here, worth a read even if your eyes glaze over at some of the more complicated stuff. crazy_o.gif

If you want to add it to an existing mission you will have to un-pbo it and add the line into the existing description.ext. Be warned, this file is the most unforgiving (imo) little swine so watch what you're typing or you may find the mission wil no longer load.

You should be looking in the Editing and scripting forum:

http://www.flashpoint1985.com/cgi-bin....SC;c=16

Or search at OFPEC:

http://www.ofpec.com

smile_o.gif

Share this post


Link to post
Share on other sites

Just a small question... Can you add the (for instance) GPS for a single player without adding it to all players?

So make it a local variable not a globally... would this work:

this showGPS=1

Share this post


Link to post
Share on other sites
Quote[/b] ]How do I enable GPS?

Put this into your description.ext in your mission folder (if you don't have one, create one).

Code Sample

showGPS=1

That will enable the GPS shown with the map for each player.

Use the following to enable map, watch, compass and notepad (briefing book).

Code Sample

showMap=1

showWatch=1

showCompass=1

showNotepad=1

showGPS=1

1 = yes, enable. 0 = no, disable.

From the mission editing FAQ:

http://www.flashpoint1985.com/cgi-bin....t=26723

Some good info here, worth a read even if your eyes glaze over at some of the more complicated stuff. crazy_o.gif

If you want to add it to an existing mission you will have to un-pbo it and add the line into the existing description.ext. Be warned, this file is the most unforgiving (imo) little swine so watch what you're typing or you may find the mission wil no longer load.

You should be looking in the Editing and scripting forum:

http://www.flashpoint1985.com/cgi-bin....SC;c=16

Or search at OFPEC:

http://www.ofpec.com

smile_o.gif

Ah, just what I was looking for, thank you.

Share this post


Link to post
Share on other sites

Mission Editing questions belong in the mission editing forum, moving smile_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×