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 Scripts / [HELP]When you press "M" a map appears

Author
Message
iFreak
12
Years of Service
User Offline
Joined: 20th Dec 2011
Location:
Posted: 24th Dec 2011 15:57
Hey I need a script like in Phobia,

for example, when you press "M" a map appears or "E" to pick up keys or "O" for Missions.

pls post a link to a thread or say how to do that.

... and sorry for my bad english. i hope you unterstand me
TheDesertEagle
13
Years of Service
User Offline
Joined: 7th Jul 2011
Location: Canada - Who knows where else???
Posted: 24th Dec 2011 20:06
please read:
http://forum.thegamecreators.com/?m=forum_view&t=126004&b=23

Joey-May god have mercy upon my enemies, because I won't.
Favourite Game-Call Of Duty MW2
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 24th Dec 2011 20:40
Tis the season.

Map Display

Here is a script I use to show a map (multiple map huds). You will need to change the images and hudnames to suit your needs, but the concept is the same. Steps are as follows:

1. Assign this script to a trigger AI Main script field
2. Place trigger where the player would pickup the map and be able to display it. If you don't need them to pickup a map first, then place the trigger where the player would hit the zone.

Script for the trigger AI Main is as follows:



Press O to show Objectives

To display objectives, you can modify the above script to do the same thing. Instead of showing multiple huds, you can show just one, two, three, etc. Some of us have detailed objective huds we do (such as checkmarks when completed, etc). The concept is still the same as the map script, except if you want to use the O key, change the "scancodekeypressed=11".

Press T to take

Here is a script I use to pickup a key (using the T key). Notice the hud is shown when the player is close to the key (plrdistwithin=50) and they press T (scancodekeypressed=20) to pickup. You can modify or make a variety of scripts with this or others.



I would suggest you take a look at the Community Guides if you have time. They have a lot of example scripts you can use, modify to your needs.


Twitter: @NFoxMedia

Login to post a reply

Server time is: 2024-11-24 04:34:53
Your offset time is: 2024-11-24 04:34:53