Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / Display a map

Author
Message
sberk
16
Years of Service
User Offline
Joined: 6th Jun 2010
Location: next to a cup of coffee
Posted: 6th Jun 2010 16:08
Hi,
I would like to display a map of the level to the player. I haven't found any solution in the forum? Has anybody a recommendation how to present a Map? My only idea is to use a HUD and use scripting to move it together with the player. But this seems very complicated and the game probably slows down.
cheers
sberK

PS: Please mods, if this is the wrong forum, please feel free to move it.
BlackFox
FPSC Master
18
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 6th Jun 2010 21:38
Hello sberk,

I have a development where I display a map when the player picks it up. For example, in one of my levels, the player picks up a map and can cycle through the map by pressing the M key.

The script I use for this particular map is as follows:



As you can see from the script, I use three huds for this script. Map, Map1, and Map2 shows three different maps when the player presses the M key. An example of what my image looks like can be found here. You will notice the first hud shows the player the first map and also indicates to the player to press M to view the next map.

You can do this with anything. Another example I have for you is this same level, but instead of a map, I have a book the player can view. The script I use for the book is as follows:



As you can see, I have the V key bound to viewing the book. I also have two hud pictures for the two different views (book1, book2). You can see an example image of this here.

As far as game play, my method does not slow the game down at all. All it is is a script that uses the specified key to display a hud or multiple huds. It's all up to how you want to do it.

As far as how to create a hud with a map, I did a screen capture with my capture utility, then copied it over the template hud I use all the time. I use a specific size for my map huds, but you can make it any size you want (ex: make it fill the entire screen for more detail).

Hopefully this answers your question.

- BlackFox

sberk
16
Years of Service
User Offline
Joined: 6th Jun 2010
Location: next to a cup of coffee
Posted: 7th Jun 2010 11:34
Hey, thanks a lot for such a long answer. I think this is a good solution.

Login to post a reply

Server time is: 2026-07-05 15:03:32
Your offset time is: 2026-07-05 15:03:32