Page 1 of 1

Adding Hunt [Solved]

Posted: Thu Aug 04, 2011 2:26 am
by Lumind
Well, I have learnt 3 guides about adding Hunt mode, do all operation clearly. But when munged, then select that map mode in SWBF2 and run it to play - game stopes and some message appear:
FATAL:
Could not open MISSION\BADg_hunt.lvl
Four times the same problem.

So, who has meet the same problem and how to find a solution?

Say if need more detail info.

Re: Adding Hunt

Posted: Thu Aug 04, 2011 3:29 am
by AQT
Have you created a REQ file for this mode and listed it in your mission.req file? If this was one of the three guides you followed, those steps were needed.
Lumind wrote:Say if need more detail info.
You should always provide every piece of detailed information relating to the problem when asking for help.

Re: Adding Hunt

Posted: Thu Aug 04, 2011 3:30 am
by THEWULFMAN
Did you remember to add the lua in your mission.req and did you make a .req for your hunt lua?



Edit: Ninja'd :lol:

Re: Adding Hunt

Posted: Thu Aug 04, 2011 3:45 am
by Lumind
AQT wrote:Have you created a REQ file for this mode and listed it in your mission.req file? If this was one of the three guides you followed, those steps were needed.
Lumind wrote:Say if need more detail info.
You should always provide every piece of detailed information relating to the problem when asking for help.
this, another 1 here, Fierfek's. Only 1 result - fatal.
created a req, listed in mission req.
I can describe my done operations, but it will be a copy of that guide. Task in task was done 4 times.

But whatever:
1.copied "hot1g_hunt.lua" in "BF2_ModTools\data_BAD\Common\scripts\BAD"
2. changed line in it
ReadDataFile("HOT\\hot1.lvl", "hoth_hunt")

to this
ReadDataFile("dc:BAD\\BAD.lvl", "BAD_hunt")
3. in BF2_ModTools\data_BAD\Common\mission create a new req file called BADg_hunt
4. opened it and add this in:
ucft
{
REQN
{
"script"
"***^ERA^_hunt"
}
}
5.in BF2_ModTools\data_BAD\Common opened mission.req and add this:
"BADg_hunt"
6. in addme.lua added mode_hunt_g = 1, after mapluafile = "***%s_%s", era_g = 1, era_c = 1,
7. in the AddDownloadableContent added a line AddDownloadableContent("BAD","BADg_hunt",4)
8.then create a new layer called "hunt"
9.# Click on game modes configure
# Remove it from common layers
# Type in hunt into the mode name box and then click add
# Click on the add button in Layers Used and add the hunt layer
# Click on update REQs and MRQs and navigate to your ***.req
# Add your command posts and layer specific objects (actually here maybe a problem, cauze I added only cp, regions and spawnpathes. maybe there's something else?)
10.Munged with the common checked.
11. Launch SWBF2-> Select BAD-> Hunt mode-> Launch -> and FATAL message appeared.

Re: Adding Hunt

Posted: Thu Aug 04, 2011 4:00 am
by AQT
Lumid wrote:4. opened it and add this in:
ucft
{
REQN
{
"script"
"***^ERA^_hunt"
}
}
If you did this literally, then there's your problem. "***^ERA^_hunt" should be "BADg_hunt".

Re: Adding Hunt

Posted: Thu Aug 04, 2011 4:06 am
by Lumind
Wow. That's it. Thanks, so miserable error and so much effect...