Adding Hunt [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Lumind
Recruit Womprat Killer
Posts: 13
Joined: Mon Aug 01, 2011 11:43 am
Games I'm Playing :: SWRC SWGB SWBF2
Location: Kiev, Ukraine
Contact:

Adding Hunt [Solved]

Post 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.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Adding Hunt

Post 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.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Adding Hunt

Post 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:
Lumind
Recruit Womprat Killer
Posts: 13
Joined: Mon Aug 01, 2011 11:43 am
Games I'm Playing :: SWRC SWGB SWBF2
Location: Kiev, Ukraine
Contact:

Re: Adding Hunt

Post 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.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Adding Hunt

Post 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".
Lumind
Recruit Womprat Killer
Posts: 13
Joined: Mon Aug 01, 2011 11:43 am
Games I'm Playing :: SWRC SWGB SWBF2
Location: Kiev, Ukraine
Contact:

Re: Adding Hunt

Post by Lumind »

Wow. That's it. Thanks, so miserable error and so much effect...
Post Reply