OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: pazuzu on 17 Dec 2004, 20:24:23

Title: No clipboard or map
Post by: pazuzu on 17 Dec 2004, 20:24:23
Hi, I want to start a mission with no clipbord or map visible, but I want them to be visible after 1rst obj is done.

How would I do this?

I've seen it in other maps but I cant remember which.

The mission starts out with players in convoy. Players are riding in cargo while AI drive. I just want the players to be in the dark about where they are going & what the mission is & get ambushed unexpectedly.

Thanks.
Title: Re:No clipboard or map
Post by: Triggerhappy on 17 Dec 2004, 21:44:04
showmap false and showpad false
their all in the comref, check it out before posting, you'll probably get the answer, and faster than you would on the forums
Title: Re:No clipboard or map
Post by: pazuzu on 18 Dec 2004, 00:54:03
Oh ok sorry....

I know the clipboard & map are part of the description.ext so I didn't think it would be a simple command like that. I usually do go there.

Thanks for the help.
Title: Re:No clipboard or map
Post by: Triggerhappy on 18 Dec 2004, 05:17:52
see, the thing is, there have been a lot of really simple questions asked recently that would be easy to find if the person just looked around, but they are lazy...
sorry if i seemed a bit harsh, that was not my intent
Title: Re:No clipboard or map
Post by: pazuzu on 18 Dec 2004, 07:30:56
No  I understand completely.

I read the posts here alot & even the very oldest ones.

I learn alot just from doing that....I just dont recall this topic.
Title: Re:No clipboard or map
Post by: pazuzu on 18 Dec 2004, 07:46:33
Hmm, I tried puting in showmap false & showpad false & it crashes.

It give me message like "f" encountered instead of ";"

I tried using quotes & adding the =

This is supposed to be done in the description.ext right?

Thanks.
Title: Re:No clipboard or map
Post by: pazuzu on 19 Dec 2004, 02:20:29
Ok, I figured out how to make map & notepad disappear.

showMap = 0

showNotepad = 0

But now I cant get them to appear when I want them to using a trigger.

I just tried puting: showMap = 1; showNotepad = 1

In the activation field of a trigger.

I dont get it isn't this how its done?

Thanks.
Title: Re:No clipboard or map
Post by: Triggerhappy on 19 Dec 2004, 02:26:15
i wouldn't know, i've never used it before
Title: Re:No clipboard or map
Post by: Zombie on 19 Dec 2004, 15:47:58
i don't think it is possible to turn them back on.......could you perhaps use hidden objectives?  That is not too difficult to hide/unhide objectives and you could just write the initial briefing to say "You have been sent to the rear area for some R and R, enjoy the ride, you will get new orders when you arrive...."
  Just an idea
Title: Re:No clipboard or map
Post by: AK-Chester on 19 Dec 2004, 19:38:57
...now I cant get them to appear when I want them to using a trigger.
Code: [Select]
showMap true; showPad true; ;)
Title: Re:No clipboard or map
Post by: pazuzu on 19 Dec 2004, 20:59:50
Showmap true & showpad true dont seem to work...I tried showmap=1 also but no cigar.

I think maybe its just not possible to make them reappear.

I usually use hidden objectives but this time I wanted the map & notepad removed just for effect. It shocks people when they dont see a map or brief....leaves them in the dark about what the're in for.

Just a bunch of grunts riding in the back of a covered humvee in the middle of Afghanistan...  :)

Thanks for replying.
Title: Re:No clipboard or map
Post by: AK-Chester on 21 Dec 2004, 20:25:32
Repeat...
Code: [Select]
showMap true; showPad true;...both work fine for me, always did, still do (tested).
Title: Re:No clipboard or map
Post by: pazuzu on 21 Dec 2004, 23:54:41
Oh really?


How did you do it?

To remove I changed the showmap & shownotepad to 0 in the description.ext

Is that right?

& did you make them appear again by using a trigger?


Thanks for replying.
Title: Re:No clipboard or map
Post by: AK-Chester on 22 Dec 2004, 15:05:32
Description.ext:
Code: [Select]
showMap = 0;
showNotepad = 0;
Trigger, on activation:
Code: [Select]
showMap true; showPad true; hint "Map and notepad enabled";That hint is optional, indeed, it's just to check if your trigger activates at all.
Title: Re:No clipboard or map
Post by: pazuzu on 22 Dec 2004, 19:06:28
Wow,  Thats the way I did it....

I must have typed it wrong or just missed something simple.....

I'll try it again.

With shownotepad=0 & showmap=0 in descrition.ext

& in trigger activation field I'll have showMap true; showPad true; hint "Map and notepad enabled";


Thanks for your help.
Title: Re:No clipboard or map
Post by: pazuzu on 22 Dec 2004, 19:12:31
I just tested it & it works perfectly....

Man I must have been braindead when I tested it before  ???


I appreciate your help.