Jump to content
Sign in to follow this  
nutbar

Hate to say it, but briefing/objective probs

Recommended Posts

Ok, my briefing.html file shows up looking ok, but in my objective tags in my mission, when objectives get completed with "OBJ_1" objstatus "DONE", they show up on the screen saying objective was completed, but when I go to the map screen and look at my mission status, the objectives are still those black circles, not nice green check marks. I can't figure this one out... I hope to god nobody asks me to redo my briefing.html file, it took me 3 days to make it work!

Hm, in my .html file, an objective is like:

<p><a name = "OBJ_1"></a>blah...

</p>

<hr>

Just so you know smile.gif

Share this post


Link to post
Share on other sites

Hmm... I'm going to try it because I'm desperate, but you're closing an <a> tag that doesn't exist? Either the people who made the html parser have no understanding of html (eek), or this is a glaring bug that should be fixed...

Let me test this now... noper, no workie. Here's what my entire mission section in the briefing.html file is:

<hr>

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

You'll start <a href="marker:Insertion">here</a> by your HMMWV.

<br>

<br>

Move to the <a href="marker:Town">town</a> and seize control from the Russians.

</p>

<hr>

<br>

<p><a name = "OBJ_1"></a>Neutralize all hostile forces present in and around the <a href="marker:Town">town</a>.

</p>

<hr>

<p><a name = "OBJ_2"></a>Take out any additional forces headed inbound, if required.

</p>

<hr>

<p><a name = "OBJ_3"></a>Retreat to the <a href="marker:Extraction">extraction point</a> after completing your main objective.

</p>

<hr>

Heh, please help, this is the only "bug" I have left in my mission!

Share this post


Link to post
Share on other sites

Eh, I just used one of the breifing generators to make my breifings, and they work. That bit was just copied and pasted straight from one it created yesterday, and it works.

This example is from an official mission, Infantry from the single player missions. I didn't make it, BIS did. If all else fails use one of the generators.

<html>

<head>

<meta http-equiv="Content-Type"

content="text/html; charset=windows-1250">

<meta name="GENERATOR" content="vb">

<title>Titulek</title>

</head>

<body bgcolor="#FFFFFF">

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

<! --- popis mise s odkazy na markery>

<h6>

<br>

After a couple of days' waiting, we're moving this morning against the Russians. Armored and infantry divisions across the whole front line will break through the enemy positions to the north.

<br><br>

Our orders are to seize the area around the towns of Dourdan and Houdan. Intel reports only light armored and infantry presence - so hopefully this shouldn’t be too hard.<br><br>

Even so, it might be worth looking back over a few <a href="#Intel">training notes</a>. Just to be safe.<br>

</h6>

<! --- konec popisu mise>

<hr>

<h2><a name="Intel"></a>Training notes</h2>

<p>

<br>

- When moving under fire, zig-zag randomly. This gives the enemy less opportunity to lock you in his sights. Don’t 'zig' in front of a buddy

or you might get shot in the back.

<br><br>

- When stopping, do so behind full or partial cover (a bush is concealment, not cover - because bullets go through bushes).

It makes you harder to find and hit.

<br><br>

- Move from cover to cover and don't be predictable, because all the enemy has to do is aim and wait for you to run into his sights.

<br><br>

- When firing from behind cover, change firing positions/places to keep the enemy from predicting where you will next appear.

Confuse him. Remain unpredictable.

<br><br>

- After diving for cover, do not return fire from the same place you dived in. The enemy will be expecting that.

<br><br>

- Lie down whenever possible. It reduces your silhouette and the target it represents.

<br><br>

- Don't get caught with the horizon or open sky behind you, it makes your silhouette easy to recognize and target.

<br><br>

- Do not move and fire at the same time. Your shots will be very inaccurate. And you'll be slowing down while in an exposed position.

<br><br>

- Keep moving. This forces the enemy to look for you and try to predict what you are up to. And if you stay stationary too long, he is going to send someone to flank you.

<br><br>

- Reload only behind full cover.

<br><br>

- Scan the area to your front as well as sides, rear and up - avoid tunnel vision. The main reason flanking is so effective

is because of tunnel vision.

<br><br>

- Don't get so suppressed you won't even peek out of cover. The enemy might simply walk up and shoot you.

<br><br>

- Use cover and concealment whenever possible, when running or taking cover. The enemy can't see you coming if there is a tree between the two of you.

<br>

<a href="#Main">Back to notes</a>

</p>

<hr>

<! --- podrobný plán mise step-by-step>

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

<br>

<p>

Clear the immediate area of Soviet forces before proceeding to the beach for airlift.

<br><br>

You'll start on <a href="marker:Start">the beach</a>.

</p>

<hr>

<p><a name = "OBJ_0"></a>Pick up the anti-armor team waiting for you near <a href="marker:RPG">the crossroads</a>.

</p>

<hr>

<p><a name = "OBJ_1"></a>Take them to join Alpha Squad, who are preparing to attack in <a href="marker:Alpha">the valley</a>.

</p>

<hr>

<p><a name = "OBJ_2"></a>With the support of Bravo Squad, conquer <A HREF="marker:area">the area of Dourdan and Houdan</A>.

</p>

<hr>

<p><a name = "OBJ_3"></a>Retreat to <a href="marker:End">this beach</a> for extraction.

</p>

<hr>

<! --- konec plánu>

<! --- ----------------------------->

<! --- sekce debriefingu --->

<! --- ----------------------------->

<hr>

<br>

<h2><a name="Debriefing:End1">Mission Completed</a></h2>

<br>

<p>

Mission completed. They almost got you, but you were able to escape.

</p>

<br>

<hr>

<br>

<h2><a name="Debriefing:End2">All is lost</a></h2>

<br>

<p>

Mission failed.

</p>

<br>

<hr>

<br>

<h2><a name="Debriefing:End3">Lost</a></h2>

<br>

<p>

You're hopelessly lost.

</p>

<br>

<hr>

<br>

<h2><a name="Debriefing:End4">Mission completed</a></h2>

<br>

<p>

Great job! It was almost impossible, but you made it. The enemy is on the run.

</p>

<br>

<hr>

<br>

<h2><a name="Debriefing:End5">Mission completed</a></h2>

<br>

<p>

Great job! It was almost impossible but you made it. The enemy is on the run.

</p>

<br>

<hr>

<br>

<h2><a name="Debriefing:End6">Nadpis</a></h2>

<br>

<p>

PopisTextEnd6

</p>

<br>

<! --- konec debriefingu --->

</body>

</html>

Share this post


Link to post
Share on other sites

Ok, sorry, didn't mean to make you post all that (didn't read it either).

I'm a tool. I just re-downloaded the briefing.zip file and re-read it. What it says is the objective name tags MUST start with OBJ_ and then a number (recommended). Then you do:

"<number>" objstatus "...". HEH! I was using the entire OBJ_<number> tag which was wrong sad.gif

My fault, sorry!

Share this post


Link to post
Share on other sites

No problem, just copy and paste:biggrin:

Use OFP breifing generator (official i think), there's another one Briefing generator 2 or something that causes the objectives not to tick off when complete.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×