Home   Help Search Login Register  

Author Topic: Briefing: shows on map not on start?  (Read 2372 times)

0 Members and 1 Guest are viewing this topic.

johan_d2

  • Guest
Briefing: shows on map not on start?
« on: 07 Mar 2005, 18:17:41 »
Hi.

My briefing works, as a briefing.html file, and shows correct when I show the map, but not at the start of the mission. Whats wrong with this?

Code: [Select]
<html>
<head>
<title>LOCKDOWN</title>
</head>

<body bgcolor="#FFFFFF">

<!------------------------------------------------>
<!-- Notes Section (in handwriting) -->
<!------------------------------------------------>
<h2><a name="Main"></a></h2>
<h6>
No notes yet
</h6>
<hr>

<!------------------------------------------------>
<!-- Plan Section -->
<!------------------------------------------------>
<p><a name="Plan"></a>
<!-- Mission Plan -->
You will be inserted northeast of the island, then proceed south east to Zinabe, meet the informant who

gives you the direction to the ammostorage. Then proceed south to the swamps and find and

neutralize the rebel leader.
</p>
<hr>

<!-- Objective 1 -->
<p><a name="OBJ_1"></a><a href="marker:marker_obj1">Meet</a> the informant in Zinabe.
</p>
<hr>

<!-- Objective 2 -->
<p><a name="OBJ_2"></a><a href="marker:marker_obj2">Destroy</a> the ammo storage.
</p>
<hr>

<!-- Objective 3 -->
<p><a name="OBJ_3"></a><a href="marker:marker_obj3">Neutralize</a> the rebel leader.
</p>
<hr>

<!------------------------------------------------>
<!-- Debriefing Section -->
<!------------------------------------------------>
<h2><a name="Debriefing:End1">Ending</a></h2>
<p>
Well done, a star deserved.
</p>
<hr>
</body>
</html>

Please help!


Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Briefing: shows on map not on start?
« Reply #1 on: 07 Mar 2005, 18:44:56 »
Have you been messing around with showMap commands?

I never try to debug Briefing files, its too much like hard work.   Get one that works (for example from the Tutorial Mission) and drop in your own text.
Plenty of reviewed ArmA missions for you to play

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Briefing: shows on map not on start?
« Reply #2 on: 07 Mar 2005, 19:00:47 »
if you mean not showing at all at the beginning of a mission you have pbo'd and stuck into the missions folder, then check your description.ext file and make sure it has the following in it -

Code: [Select]
debriefing =  1
showWatch =  1
showCompass =  1
showNotepad =  1
showGPS =  0
showMap =  1

where 0 is off and 1 is on.

johan_d2

  • Guest
Re:Briefing: shows on map not on start?
« Reply #3 on: 07 Mar 2005, 19:02:37 »
No I havent.(messed up with..)

 I first used one from Snypir, from the tutorials, and it was the same result. Also, what is strange, his support pack briefing also dont show, but for example "steal the car" does.

Any more hints?

johan_d2

  • Guest
Re:Briefing: shows on map not on start?
« Reply #4 on: 07 Mar 2005, 19:04:23 »
@bedges.

I have nothing like that in it:

description.ext
Code: [Select]
onLoadIntro="Operation Lockdown";
onLoadMission="Tonal, present day";

and init.sqs

Code: [Select]
; ICPANIM NEEDED!!


~0.5



;============SpawnManager vars===============

;values need to be set on server only
?!(local Server):EXIT

westpatrolteams = []
eastpatrolteams = []

;to deny use of artillery, set to TRUE
westari = TRUE
eastari = TRUE
;=============================================
;=============================================

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Briefing: shows on map not on start?
« Reply #5 on: 07 Mar 2005, 20:08:43 »
well if i understand you correctly, and those bits above are not in your description.ext, you need to put them in! those values dictate whether your notes display at all at the beginning of the mission.

put them before the bits you indicated are there, so

Code: [Select]
debriefing =  1
showWatch =  1
showCompass =  1
showNotepad =  1
showGPS =  0
showMap =  1
onLoadIntro="Operation Lockdown"
onLoadMission="Tonal, present day"
no need for the ; after any lines.

it will work, don't worry ;)
« Last Edit: 07 Mar 2005, 20:10:07 by bedges »

johan_d2

  • Guest
Re:Briefing: shows on map not on start?
« Reply #6 on: 07 Mar 2005, 23:56:07 »
Hi, thanks for the time, but it still has the same effect, no visual briefing at the start.

I bet you are more puzzled then I am..  ::)

Ill try one from BIS it think, see what that does.

Johan

EDIT:

I tried a BIS one, but same result.. and then I tried to export it to single player mission, and tried and it WORKED!

That was NOT told in the tutorials.. LOL!!

Thanks for the help, and dont tell me it should work in the mission editor also!
 :-\
« Last Edit: 08 Mar 2005, 00:10:25 by johan_d2 »

Offline Roni

  • Members
  • *
  • Play the Game !
Re:Briefing: shows on map not on start?
« Reply #7 on: 08 Mar 2005, 03:04:48 »
FWIW . . .

I'm finishing a mission in which the players start off as black ops being inserted into enemy territory.  Well, things go wrong (don't they always ?!   ::)  ) so they have to guide the stricken plane in and recover their gear from the plane before it blows up.  I set all the goodies to 0 (showCompass, showMap etc) at start then used a script to allow players to bring them back.

Two interesting effects.  First is syntax.  In the description.ext file the syntax might be showCompass = 1, but in the script you have to write showCompass true.

Okay, no biggie but the second surprise was that the these commands in a script only apply to the PLAYER !  So if you have 2-3 guys furiously throwing gear out of the plane one might get the compas, the other the map and so on.

This is GREAT !  It means that you can set all variables to "0" st start and simply add them back player by player via script.  Example - same mission but with playable East troopers hunting for the players.  Who cares whether or not the black ops dudes got the map - another script at start simply sets all items to "showXXX true" so long as the player is an EAST player (_player = player).

This would be useful for any hunter vs prey, lost and found or hide and seek type scenario.

Again, FWIW . . .



roni

Grunt249

  • Guest
Re:Briefing: shows on map not on start?
« Reply #8 on: 08 Mar 2005, 07:23:06 »
Okay, I think I understand what is going on here.

It sounds like you are trying to test your missions from the Mission Editor, and when you click on "Preview" the briefing/notes section does not show up before the mission starts. But when you export it as an SP Mission, the briefing DOES work. Is this correct?

If so, the reason is because you need to hold down the ALT key when you click on the "Preview" button from the Mission Editor in order to preview the briefing. This is not a bug, it's just something that was part of the editor. Not showing the briefing before each preview allows the mission designer to make corrections quicker and easier, and if he/she needs to preview the briefing they just need to hold down the "Alt" key while clicking the "Preview" button. (It might not be the Alt key, been a while since I used that feature. But I'm pretty sure, give it a try)

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Briefing: shows on map not on start?
« Reply #9 on: 08 Mar 2005, 08:14:40 »
I thought it was the shift key.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Briefing: shows on map not on start?
« Reply #10 on: 08 Mar 2005, 10:35:58 »
Its the shift key.
Plenty of reviewed ArmA missions for you to play

johan_d2

  • Guest
Re:Briefing: shows on map not on start?
« Reply #11 on: 08 Mar 2005, 23:07:26 »
Indeed it is.

Something else you might know..
I had for fun added on a mission some addons who later I removed.

Tried a multiplayer session (LAN) and the request was for the addon on the other PC while it wasnt used by the mission.
So I removed it from the mission.sqm and loaded again and saved it. Damn, OFP putted it right back in. Where does it remember the addon I not use anymore?


Johan

PS: The shift key worked flawlessly!  ;)

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Briefing: shows on map not on start?
« Reply #12 on: 08 Mar 2005, 23:17:35 »
just a thought - when you say you saved again, did you load a new mission first? because if you had the mission in the editor, and deleted the file while still working on it in the editor, and then simply loaded it again, nothing will change.

so. load the original mission. it will have the unwanted addons.

load a new mission.

alt-tab out of flashpoint and change the original mission 'mission.sqm' file.

back into flashpoint.

load the original mission.

presto. no more unwanted addons.


although, because i am sitting in front of my computer and not your computer, all that stuff above could be a load of nonsense. your computer could simply be going nuts for all i know ;)
« Last Edit: 08 Mar 2005, 23:18:49 by bedges »

johan_d2

  • Guest
Re:Briefing: shows on map not on start?
« Reply #13 on: 08 Mar 2005, 23:19:24 »
Does editing out of OFP counts too? THEN start OFP and load the mission?

Johan

BTW trying now..

EDIT: tried, and it still wants pcmidway.pbo.. strange!
« Last Edit: 08 Mar 2005, 23:25:38 by johan_d2 »

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Briefing: shows on map not on start?
« Reply #14 on: 08 Mar 2005, 23:26:16 »
in general, something which the mission needs to start (description.ext, mission.sqm) will not show any change until you load them in afresh.

other things which are called during the mission (like scripts, the briefing.html and init.sqs files) can be changed as many times as you like, and the changes will show the next time you preview. no need to reload for them.

sadly, there doesn't seem to be a way to test the overview.htm without publishing and testing as a single mission. unless anyone has any bright ideas, such as pressing shift - i did not know that either ;)

Offline Roni

  • Members
  • *
  • Play the Game !
Re:Briefing: shows on map not on start?
« Reply #15 on: 08 Mar 2005, 23:34:24 »
And ANOTHER two cents . . .

If you're happily editing away then you can check your various script changes via Preview (as we all know   :P ).

If you change the init.sqs or description.sqs though then you need to "Save" the mission again before they will take effect.  It seems that while you're in the editor OFP remembers the init and description settings, probably to speed up the preview.



roni

johan_d2

  • Guest
Re:Briefing: shows on map not on start?
« Reply #16 on: 08 Mar 2005, 23:41:57 »
Hi,

Well all works well, exept for the demand of the pbo, who isnt used, at least I cant find it on the map.

In the mission.sqm, the pbo is only listed in the addon section, and doesnt come up furthermore.. heck I delete it and check.. BRB

Johan

EDIT: I get the swing of it.. lol.. examined the mission.sqs and found PCfire as a vehicle what was not shown on the map, changed to bas_barrelfire and voila! all going well now!

Anyhow, we learned a lot today!

Thanks for the efforts, and I have more , but will open a new topic for it.. grin,,
« Last Edit: 09 Mar 2005, 00:03:19 by johan_d2 »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Briefing: shows on map not on start?
« Reply #17 on: 09 Mar 2005, 01:22:28 »
The best way to test the Overview is to cut and paste the misson folder into your Missions directory.   You can then examine and change it freely before saving the final version and cutting and pasting back into the users/yourname/missions directory.  

Copying (rather than cutting) and pasting is not good - you can get confused as to what is what if you have two versions of the missions extant.
Plenty of reviewed ArmA missions for you to play

johan_d2

  • Guest
Re:Briefing: shows on map not on start?
« Reply #18 on: 09 Mar 2005, 03:06:08 »
The best way to test the Overview is to cut and paste the misson folder into your Missions directory.   You can then examine and change it freely before saving the final version and cutting and pasting back into the users/yourname/missions directory.  

Copying (rather than cutting) and pasting is not good - you can get confused as to what is what if you have two versions of the missions extant.

Well, I am working in the mission folder only, learned a lot, got already a hand on scripting, and I didnt talk about the overview.. just the briefing.. :-)
And, now a problem with the end of an intro, but I hope I can fix it.. lol

Johan