OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Gooner861 on 11 Jul 2004, 16:02:30
-
Ok so ive used Chris's script editor to create my briefing which looks like this:
<html>
<! ******************************************************************* >
<! **** Briefing file for Operation Flashpoint >
<! **** Generated by Chris's OFP Script Editor >
<! **** Create Briefing Wizard >
<! ******************************************************************* >
<head>
<title>Briefing</title>
</head>
<body bgcolor="#FFFFFF">
<! ****************************************** >
<! **** Notes section in handwriting >
<! ****************************************** >
<h2><a name="Main"></a></h2><h6>
</h6><hr>
<! ****************************************** >
<! **** Plan section >
<! ****************************************** >
<p><a name="FINAL STRIKE"></a>
<! **** Mission plan text **** >
Contact has been lost with <a href = "marker:Lipany">Lipany</a>, we have limited intel on this seeing as we are leaving the island today. Explosions and gunfire have been heard in the surrounding area so expect the worst. You will be supported by Bravo and Alpha squad and a couple of tanks from the 5th Armoured Corp.Also note that we have a group of our own men there, get them out. Good luck soldier.
</p><hr>
<! **** Objective 1 **** >
<p><a name="OBJ_1"></a>
Follow the tanks from the 5th Armoured Corp and rally at the <a href = "marker:Junction">T junction</a> East of Bor
</p><hr>
<! **** Objective 2 **** >
<p><a name="OBJ_2"></a> Take cover and move on into Lipany!! Clear the god damn town.
</p><hr>
<! **** Objective 3 **** >
<p><a name="OBJ_3"></a>
<a href = "marker:Trucks">Follow the trucks</a> seen leaving, possibly holding our own men
</p><hr>
<! ****************************************** >
<! **** Debriefing >
<! ****************************************** >
<! **** End #1 **** >
<hr><br><h2><p><a name="Debriefing:End1">
Town secure
</a></p></h2><br><p>
The resistance seem to have reappered, well done on securing Lipany. Many lives have been lost but at least the town is back in our hands </p><br>
</body>
</html>
Now in the editor the briefing shows up fine but wen i test it as you would play it , the briefing doesnt show. Only the objectives show plus all the weapon selection i created does not show either.
Help once again
Gooner
-
<html>
<! ******************************************************************* >
<! **** Briefing file for Operation Flashpoint >
<! **** Generated by Chris's OFP Script Editor >
<! **** Create Briefing Wizard >
<! ******************************************************************* >
<head>
<title>Briefing</title>
</head>
<body bgcolor="#FFFFFF">
<! ****************************************** >
<! **** Notes section in handwriting >
<! ****************************************** >
<h2><a name="Main"></a></h2><h6>
</h6><hr>
<! ****************************************** >
<! **** Plan section >
<! ****************************************** >
<p><a name="plan"></a>
<! **** Mission plan text **** >
Contact has been lost with <a href = "marker:Lipany">Lipany</a>, we have limited intel on this seeing as we are leaving the island today. Explosions and gunfire have been heard in the surrounding area so expect the worst. You will be supported by Bravo and Alpha squad and a couple of tanks from the 5th Armoured Corp.Also note that we have a group of our own men there, get them out. Good luck soldier.
</p><hr>
<! **** Objective 1 **** >
<p><a name="OBJ_1"></a>
Follow the tanks from the 5th Armoured Corp and rally at the <a href = "marker:Junction">T junction</a> East of Bor
</p><hr>
<! **** Objective 2 **** >
<p><a name="OBJ_2"></a> Take cover and move on into Lipany!! Clear the god d**n town.
</p><hr>
<! **** Objective 3 **** >
<p><a name="OBJ_3"></a>
<a href = "marker:Trucks">Follow the trucks</a> seen leaving, possibly holding our own men
</p><hr>
<! ****************************************** >
<! **** Debriefing >
<! ****************************************** >
<! **** End #1 **** >
<hr><br><h2><p><a name="Debriefing:End1">
Town secure
</a></p></h2><br><p>
The resistance seem to have reappered, well done on securing Lipany. Many lives have been lost but at least the town is back in our hands </p><br>
</body>
</html>
That should do it.
:beat: *Gets Shot* :beat:
-
Can i just ask wot u have dun with it armsty ;D
Cheers
Gooner
-
Simple, I changed
<p><a name="FINAL STRIKE"></a>
with
<p><a name="plan"></a>
:beat: *Gets Shot* :beat:
-
Thanks it now works!!!!!
One last thing though, how come there is no weapon selection after i have dun this in my description.ext:
class CfgMusic
{
// List of music tracks (.ogg files without the .ogg extension)
tracks[] = {song25, song3, song5};
// Class definition needed for each music track
class song25
{
// Name to display in mission editor
name = "song25";
// Music path, volume, pitch
sound[] = {\music\song25.ogg, db + 0, 1.0};
};
class song3
{
// Name to display in mission editor
name = "song3";
// Music path, volume, pitch
sound[] = {\music\song3.ogg, db + 0, 1.0};
};
class song5
{
// Name to display in mission editor
name = "song5";
// Music path, volume, pitch
sound[] = {\music\song5.ogg, db + 0, 1.0};
};
};
class Weapons
{
// Add the weapons to the mission gear
class Binocular
{
Count = 2;
};
class Revolver
{
Count = 2;
};
class RPGLauncher
{
Count = 2;
};
class Steyr
{
Count = 2;
};
class M60
{
Count = 2;
};
class LAWLauncher
{
Count = 2;
};
class M16
{
Count = 2;
};
class Ingram
{
Count = 3;
};
class HK
{
Count = 3;
};
class GlockS
{
Count = 3;
};
class Glock
{
Count = 3;
};
class Beretta
{
Count = 3;
};
class 6G30
{
Count = 3;
};
};
class Magazines
{
// Add the magazines to the mission gear
class HandGrenade
{
Count = 5;
};
class UZIMag
{
Count = 15;
};
class SteyrMag
{
Count = 15;
};
class RevolverMag
{
Count = 15;
};
};
Cheers
Gooner
-
Well I'm no super expert with .exts but maybe spacing it differently when you change to weapons might help. CHO
fpse has some errors sometimes I think...
Anyways if it doesn't work still highlight the music part and then cut it and paste it below the ammo. Since it may be an icon/end marker error in the music part that's messing up your weapon selection.
Hope it helps... :P