Thread: [DFBHD] Using Text Tool in missions
View Single Post
  #39  
Old 09-10-2012, 10:31 AM
Baldo_the_Don is offline Baldo_the_Don
Baldo_the_Don's Avatar
Registered User

Join Date: Jul 2012
Posts: 591

Quote:
Originally Posted by Luis View Post
Sorry again,
but i got more problems than i expected lol.
My bin file for my map is not working.
The MED (unlocked 2.05c), when i try to open the map, says "Unable to load bin file" and blablabla.
But i checked the bin file (with BIN2TXT tool) and it is exact the same as my other maps.
Here's it:

Quote:
'[Mission Dialog]'
STRDLGLINE000 = "Target Building";

'[Info]'
Title = "Target Building";
briefing = "Target Building
Mossylon, Somalia.

Mission:
The drug dealers has taken civilian as hostages, and with that, your team can't bomb out the building where they are otherwise, the blast radious will kill everyone, including the hostages. They got an radio equipment where are transmitting anti-UN propaganda.

Your task:
You and your team will attack the main target building and save the hostages from the enemy hands. Then, destroy the radio equipment with anti-UN propaganda and exit as quickly as possible.

Good luck 5-1";

'[WinConditions]'
STRWINCOND000 = "null";
STRWINCOND001 = "Secure the target building";
STRWINDIRECTIVE001 = "Help the soldiers to invade the target building!";
STRWINMSG001 = "Target building secure, good job.";
STRWINCOND002 = "Destroy the radio equipment";
STRWINDIRECTIVE002 = "Destroy the radio transmitter advertising!";
STRWINMSG002 = "Radio equipment destroyed!";
STRWINCOND003 = "Destroy the roadblock";
STRWINDIRECTIVE003 = "Destroy the roadblock so the convoy can evacuate the area with the hostages!";
STRWINMSG003 = "The roadblock were destroyed!";

'[LoseConditions]'
STRLOSECOND000 = "null";
STRLOSECOND001 = "Delta team killed";
STRLOSEDIRECTIVE001 = "Delta team can't be killed!";
STRLOSEMSG001 = "Delta team is down, mission failed.";
STRLOSECOND002 = "Ranger team killed";
STRLOSEDIRECTIVE002 = "The rangers team can't be killed!";
STRLOSEMSG002 = "Ranger team is down. Mission failed.";
STRLOSECOND003 = "Hostages killed";
STRLOSEDIRECTIVE003 = "The hostages can't be killed!";
STRLOSEMSG003 = "Hostages can't be killed, mission failed.";

'[WPnames]'
STRWPNAME000 = "null";
STRWPNAME001 = "Target building";
STRWPNAME002 = "Roadblock";
STRWPNAME003 = "Convoy";
STRWPNAME004 = "Streets";
STRWPNAME005 = "Drug dealers";
So I copied and pasted the text Luis posted above from the .bin into Editor and saved it as text, without even editing it. Used TXT2BIN and binned it (hee!). Opened the mission in both the 5c and 6b MEDs no problem. Tried it in game no problem.

So I don't know, but I suspect your 5c installation is corrupted or something, Luis.

And I learned something new. If you do not add a briefing2, the G-key will display the briefing! I did not know that was true!

When I make mission .bins, this is a good template:

Code:
'[Info]'
Title = "INSERT TITLE HERE";
briefing = "INSERT BRIEFING HERE";
briefing2 = "<cfc8932bu>INSERT G-KEY BRIEFING HERE<-cbuo>

<cff0000>Red text.<-co>
<cffff00>Yellow text.<-co>
<c00ff00>Green text.<-co>
<c00ffff>Cyan text.<-co>
<c0000ff>Blue text.<-co>
<cff00ff>Violet text.<-co>
<b>Bold text.<-bo>
<u>Underlined text.<-uo>
<i>Italic text.<-io>
";

'[WinConditions]'
STRWINCOND000 = "null";
STRWINDIRECTIVE000 = "null";
STRWINMSG000 = "null";

STRWINCOND001 = "DISPLAYS IN MED AND GOALS LIST IN GAME";
STRWINDIRECTIVE001 = "DISPLAYS IN CHAT TO INSTRUCT PLAYER";
STRWINMSG001 = "DISPLAYS IN CHAT WHEN GOAL IS ACHIEVED";

STRWINCOND002 = "null";
STRWINDIRECTIVE002 = "null";
STRWINMSG002 = "null";

STRWINCOND003 = "null";
STRWINDIRECTIVE003 = "null";
STRWINMSG003 = "null";

STRWINCOND004 = "null";
STRWINDIRECTIVE004 = "null";
STRWINMSG004 = "null";

STRWINCOND005 = "null";
STRWINDIRECTIVE005 = "null";
STRWINMSG005 = "null";

STRWINCOND006 = "null";
STRWINDIRECTIVE006 = "null";
STRWINMSG006 = "null";

STRWINCOND007 = "null";
STRWINDIRECTIVE007 = "null";
STRWINMSG007 = "null";

STRWINCOND008 = "null";
STRWINDIRECTIVE008 = "null";
STRWINMSG008 = "null";

'[LoseConditions]'
STRLOSECOND000 = "null";
STRLOSEDIRECTIVE000 = "null";
STRLOSEMSG000 = "null";

STRLOSECOND001 = "DISPLAYS ONLY IN MED";
STRLOSEDIRECTIVE001 = "DISPLAYS IN CHAT TO TELL PLAYER TO NOT DO THIS";
STRLOSEMSG001 = "DISPLAYS IN POST-MISSION DEBRIEFING IF THIS FAILS THE MISSION";

STRLOSECOND002 = "null";
STRLOSEDIRECTIVE002 = "null";
STRLOSEMSG002 = "null";

STRLOSECOND003 = "null";
STRLOSEDIRECTIVE003 = "null";
STRLOSEMSG003 = "null";

STRLOSECOND004 = "null";
STRLOSEDIRECTIVE004 = "null";
STRLOSEMSG004 = "null";

STRLOSECOND005 = "null";
STRLOSEDIRECTIVE005 = "null";
STRLOSEMSG005 = "null";

STRLOSECOND006 = "null";
STRLOSEDIRECTIVE006 = "null";
STRLOSEMSG006 = "null";

STRLOSECOND007 = "null";
STRLOSEDIRECTIVE007 = "null";
STRLOSEMSG007 = "null";

STRLOSECOND008 = "null";
STRLOSEDIRECTIVE008 = "null";
STRLOSEMSG008 = "null";

'[WPNames]'
STRWPNAME000 = "Unnamed";
STRWPNAME001 = "Alpha";
STRWPNAME002 = "Bravo";
STRWPNAME003 = "Charlie";
STRWPNAME004 = "Delta";
STRWPNAME005 = "Echo";
STRWPNAME006 = "Foxtrot";
STRWPNAME007 = "Golf";
STRWPNAME008 = "Hotel";
STRWPNAME009 = "India";
STRWPNAME010 = "Juliet";
STRWPNAME011 = "Kilo";
STRWPNAME012 = "Lima";
STRWPNAME013 = "Mike";
STRWPNAME014 = "November";
STRWPNAME015 = "Oscar";
STRWPNAME016 = "Papa";
STRWPNAME017 = "Quebec";
STRWPNAME018 = "Romeo";
STRWPNAME019 = "Sierra";
STRWPNAME020 = "Tango";
STRWPNAME021 = "Uniform";
STRWPNAME022 = "Victor";
STRWPNAME023 = "Whiskey";
STRWPNAME024 = "X-ray";
STRWPNAME025 = "Yankee";
STRWPNAME026 = "Zulu";
STRWPNAME027 = "Able";
STRWPNAME028 = "Baker";
STRWPNAME029 = "Cancer";
STRWPNAME030 = "Dog";
STRWPNAME031 = "Easy";
I've never needed anything more than that in a .bin.

Last edited by Baldo_the_Don; 09-10-2012 at 10:56 AM. Reason: <i>Italic text.<-io> really does work!
Reply With Quote