The DFX map editor and bin files
Tools needed: Devils Claw bin tools and notepad (download here) Get a blank bin file here
*************WARNING************ Do not have your bin file in your map making folder when you open your map in Xmed you will loose all your mission goals *************WARNING************ |
Sample '[Mission Dialog]'2 '[info]' <cFF8030> 1.<-co> Destroy radios around B. <cFF8030> 2.<-co> Destroy all crates in the hangars. <cFF8030> 3.<-co> Destroy the oil reserves. <cFF8030> 4.<-co> Destroy their comms centre. <cFF8030> 4.<-co> Get to helo pad in NW corner for rescue <ucFC8030>Note: <-uco> <cFF8030> -<-co> Stay in mission zone Tree line or death (warning given) <ucFC8030>Important: <-uco> Any Comments please go to: http://www.Hardmaps.com";
|
The first section is what the player sees ingame when he presses the "i" key.
<cFF8030> this changes the colour of the number 1. <-co> this stops the colour change
|
|
This section gives your player waypoints their names |
fig.3 '[WinConditions]' STRWINDIRECTIVE000 = "null";
|
This is an important area, you have to add all your mission goals here, if the player has downloaded your map then he will see any custom goals you create here. To get the correct goals to show for all players these numbers need to be as .mis file, simply open the .mis file in notepad and look for the line subgoals_win 6 3 5 8 46 0 0 0, these numbers will not match your map LOL they are from HmS Airport. Failure to do this will result in players seeing the wrong goals when the map is run in a public server
You also have to add the loose messages
|
'[LoseConditions]' |
Unused |
'[PeopleNames]' STRNAME000 = "null"; STRNAME001 = "Alpha 1"; |
This is how you name the Blue team bots
|
'[CineText]'
|
Unused |
'[LOCATIONS]' LOCATION000 = "null"; LOCATION001 = "Radio "; LOCATION002 = "Helo pad"; LOCATION003 = "Coms"; |
This is your section for name areas of the map |
*************WARNING************ Do not have your bin file in your map making folder when you open your map in Xmed you will loose all your mission goals *************WARNING************ |
Step 1
Create your map, test it then complete all changes.
Step 2
Now you have it in its finished state you need to open the .mis file in notepad to find some info needed for your bin file.
// mission metafile, saved on 12/31/2006, 20:25
begin general_information |
|
subgoals_win 6 3 5 8 46 -1 -1 -1 |
This is the line you are looking for, note that these numbers match those in the sample bin (fig.3) see above |
subgoals_lose -1 -1 -1 -1 -1 -1 -1 -1 win_scores 0 0 0 0 0 0 0 0 |
*************WARNING************ Do not have your bin file in your map making folder when you open your map in Xmed you will loose all your mission goals *************WARNING************ |
Step 3
Naming bots.
If you have freindly (blue team) bots in your map you name them by giving them a number in their item attributes that relates to there name in the bin file. See the red box and text below.
*************WARNING************ Do not have your bin file in your map making folder when you open your map in Xmed you will loose all your mission goals *************WARNING************ |
Step 4
Naming area of your map.
As with player naming you do this by giving your NAMED LOCATION MARKER a number. See the red box and text below
You can increase the size of the area just like any waypoint by changing the number in the distance box.
*************WARNING************ Do not have your bin file in your map making folder when you open your map in Xmed you will loose all your mission goals *************WARNING************ |
Written by *HmS*Trevor