OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Alan34 on 20 Oct 2003, 15:30:17

Title: MP briefing with Resistance side
Post by: Alan34 on 20 Oct 2003, 15:30:17
I read the MP briefing tutorial and did not see this covered.  I have a MP mission with East and Resistance sides with Res being hostle to East.  Using the template as a guidline, nothing shows up in the mission plan for the Resistance side.  I tried using GUER instead of West and still nothing.  East side is working fine.  Any ideas to get the proper mission plan for the Resistance briefing?
Title: Re:MP briefing with Resistance side
Post by: Terox on 20 Oct 2003, 19:52:43
Normally if only part of the briefing is visible using the ingame view, the error normally occurs at the end of the HTML line that is visible and in most circumstances tends to be an end of section marker

eg
<hr>

or a switch that hasn't been switched off properly

eg <p> not terminating later with </p>
<h4> not terminating with </h4>

Also the use of illegal symbols such as "&" can also screw things up

The above are the most common reasons why a briefing doesnt display properly

and the correct title for resistance briefing is Guerrila, not Guer

eg
<! --- "Plan" section for RESISTANCE>
<p><a name="plan.guerrila"></a>
Short description of the mission for the Resistance.
</p>
<hr>

<p><a name = "OBJ_GUERRILA_1"></a>First objective for the Resistance.
</p>
<hr>



hope this helps you solve yer problem mate
Title: Re:MP briefing with Resistance side
Post by: Alan34 on 20 Oct 2003, 20:35:02
Mucho thanks :D
Title: Re:MP briefing with Resistance side
Post by: Alan34 on 20 Oct 2003, 22:01:34
Almost there:)  I attached copy of MP briefing, the Resistance side works fine but for East; both East objectives and Resistance objectives are displayed.  I converted to txt because htm uploads are not allowed.
Title: Re:MP briefing with Resistance side
Post by: Terox on 21 Oct 2003, 19:40:54
you should really be doing your briefings using notepad
What you have uploaded isnt a text file of the briefing html code, to do that simply change the end file to txt instead of html and then upload that

but use notepad or some other simple text editor

the upload doesnt show anything of relevance
Title: Re:MP briefing with Resistance side
Post by: Alan34 on 22 Oct 2003, 02:10:19
I tested that upload from my work PC and I would assert that it does show exactly what is in the briefing file.  At any rate, the code is short so I'll  just put it up directly:

<html>

<head>
<title>**Mission Name**</title>
</head>

<body bgcolor="#FFFFFF">

<h2><a name="Main"></a></h2>

<! ** START Common Notes section ** >

<p>** NOTES TEXT **<br>
<br>** MORE NOTES TEXT **</p>

<! ** END Common Notes section ** >

<hr>

<! ** START EAST Plan section ** >

<p><a name="plan.east"></a> ** Main EAST briefing notes ** <br>
<br> ** More East briefing notes **<br>
<br></p>

<hr>

<p><a name="OBJ_EAST_1"></a>East Objective 1</p>
<hr>
<p><a name="OBJ_EAST_2"></a>East Objective 2</p>
<hr>

<! ** END EAST Plan section ** >

<! ** START GUER Plan section ** >

<hr>

<p><a name="plan.guerrila"></a> ** Main GUER briefing notes ** <br>
<br> ** More GUER briefing notes **<br>
<br></p>

<hr>

<p><a name="OBJ_GUERRILA_1"></a>Guer Objective 1</p>
<hr>
<p><a name="OBJ_GUERRILA_2"></a>Guer Objective 2</p>

<! ** END GUER Plan section ** >

<hr>

<p><br></p>

<! ** START Mission End section ** >

<h2><a name="Debriefing:End1">East won</a></h2>

<p><br></p>

<p> ** EAST ONLY sees this section ** </p>

<p><br></p>

<hr>

<p><br></p>

<h2><a name="Debriefing:End2">Guer won</a></h2>

<p><br></p>

<p> ** GUER ONLY sees this section ** </p>

<p><br></p>

<hr>


</body>
</html>

Title: Re:MP briefing with Resistance side
Post by: Terox on 22 Oct 2003, 16:40:38
<h2><a name="Main.east"></a></h2>
<br> blah blah blah
<br> blah blah blah
<hr>      <! --- END OF--- "NOTES (Links page)" section for EAST>


<h2><a name="Main.guerrila"></a></h2>
<br> blah blah blah
<br> blah blah blah
<hr>      <! --- END OF--- "NOTES (Links page)" section for Resistance>

in my briefings i have a different "Main" for each side, maybe this could be the problem, or maybe in the editor you should have resistance be friendly to either nobody or West




Hope this helps ya
Title: Re:MP briefing with Resistance side
Post by: Alan34 on 26 Oct 2003, 06:12:43
Thanks for the info.  I now have separate notes section for each side.  I tried making Resistance friendly to Nobody and original problem persists. The East side briefing shows both East and Res objectives. :(
Title: Re:MP briefing with Resistance side
Post by: Alan34 on 09 Nov 2003, 15:41:30
Trying to get this thread moving again.  Here is the latest version of my MP briefing:

<html>

<head>
<title>**Mission Name**</title>
</head>

<body bgcolor="#FFFFFF">


<h2><a name="Main.guerrila"></a></h2>

<! ** START Resistance Notes section ** >

<p>** NOTES Resistance TEXT **<br>
<br>** MORE Resistance NOTES TEXT **</p>

<! ** END Resistance Notes section ** >

<hr>


<! ** START GUER Plan section ** >


<hr>

<p><a name="plan.guerrila"></a> ** Main GUER briefing notes ** <br>
<br> ** More GUER briefing notes **<br>
<br></p>

<hr>

<p><a name="OBJ_GUERRILA_1"></a>Guer Objective 1</p>
<hr>
<p><a name="OBJ_GUERRILA_2"></a>Guer Objective 2</p>

<! ** END GUER Plan section ** >

<hr>

<p><br></p>
<h2><a name="Main.east"></a></h2>

<! ** START East Notes section ** >

<p>** NOTES East TEXT **<br>
<br>** MORE East NOTES TEXT **</p>

<! ** END East Notes section ** >

<hr>


<! ** START EAST Plan section ** >
<hr>

<p><a name="plan.east"></a> ** Main EAST briefing notes ** <br>
<br> ** More East briefing notes **<br>
<br></p>

<hr>

<p><a name="OBJ_EAST_1"></a>East Objective 1</p>
<hr>
<p><a name="OBJ_EAST_2"></a>East Objective 2</p>
<hr>

<! ** END EAST Plan section ** >





<! ** START Mission End section ** >

<h2><a name="Debriefing:End1">East won</a></h2>

<p><br></p>

<p> ** EAST ONLY sees this section ** </p>

<p><br></p>

<hr>

<p><br></p>

<h2><a name="Debriefing:End2">Guer won</a></h2>

<p><br></p>

<p> ** GUER ONLY sees this section ** </p>

<p><br></p>

<hr>


</body>
</html>

Same problem persists, the East side briefing shows both guerrila and east objectives.  Everything else seems to be ok.   I've looked for examples of Resistance vs East MP briefings and have found none so far:(
Title: Re:MP briefing with Resistance side
Post by: Terox on 09 Nov 2003, 15:47:46
doner some testing, same result, only way i could work around this is by simply not having the

p><a name="plan.guerrila"></a>

section in

try adding the lines contained within to the main
Title: Re:MP briefing with Resistance side
Post by: Alan34 on 09 Nov 2003, 17:29:54
Can you post that working html code?   I followed your sugestion but I think I'm making a mistake as it's not working right.  Thanks
Title: Re:MP briefing with Resistance side
Post by: Planck on 09 Nov 2003, 18:55:36
Maybe I am misunderstanding the problem, but, couldn't you put the following in your init.sqs to hide the Guerrila objectives from East.

? side player == east : "OBJ_GUERRILA_1" ObjStatus "HIDDEN"
? side player == east : "OBJ_GUERRILA_2" ObjStatus "HIDDEN"

and vica versa for the East objectives:

? side player == guerrila : "OBJ_EAST_1" ObjStatus "HIDDEN"
? side player == guerrila : "OBJ_EAST_2" ObjStatus "HIDDEN"



Planck
Title: Re:MP briefing with Resistance side
Post by: Alan34 on 09 Nov 2003, 19:34:08
I tried that already, without success.  Strange thing is that only the East briefing is problematic (showing both East & Guer obj's), the Res(Guerrila) briefing only shows the guer objectives.  
Title: Re:MP briefing with Resistance side
Post by: Planck on 10 Nov 2003, 20:35:18
Ok try this one it doesn't have that problem, though it does have a problem with the east debriefing.

It is in .txt format, just change the name to briefing.html.

Try it anyway.

Remember to include the following lines in your init.sqs.

? side player == east : "GUERRILA_1" ObjStatus "HIDDEN"
? side player == east : "GUERRILA_2" ObjStatus "HIDDEN"


Planck