Munging help

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

User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: Munging help

Post by acryptozoo »

impspy wrote:Note, if you use the fix you will have to make a new project.


wait so i'll have to start my map over agian :shock:
User avatar
impspy
Captain
Captain
Posts: 493
Joined: Wed Dec 31, 2008 1:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Pax Empiricae; check WIP

Re: Munging help

Post by impspy »

acryptozoo wrote:wait so i'll have to start my map over agian :shock:
Yeah, just save your world file and your scripts, (and sides too) delete the data_KOT folder and remake the project. ;)
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: Munging help

Post by acryptozoo »

so just save KOT.lvl and my Scripts folder and then start agian after cleaning and changing the XD's? (what are they) and after that i should be fine Hopefully
User avatar
impspy
Captain
Captain
Posts: 493
Joined: Wed Dec 31, 2008 1:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Pax Empiricae; check WIP

Re: Munging help

Post by impspy »

acryptozoo wrote:so just save KOT.lvl and my Scripts folder and then start agian after cleaning and changing the XD's? (what are they) and after that i should be fine Hopefully
XD is a smile that represents a laughing face.

Save your worlds/KOT folder and everything in it, as you don't have an lvl yet.
kinetosimpetus
Imperial Systems Expert
Imperial Systems Expert
Posts: 2381
Joined: Wed Mar 25, 2009 4:15 pm
Projects :: A secret project
Games I'm Playing :: Warframe STO

Re: Munging help

Post by kinetosimpetus »

Hidden/Spoiler:
XD = :funny2: :lol:
Ah, you seem to have removed last post before I posted?
Last edited by kinetosimpetus on Thu Apr 22, 2010 10:11 pm, edited 1 time in total.
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: Munging help

Post by acryptozoo »

try clean and munge and if not, try adding 1 per 1 XD (begin since 0)= confused on what that means

i know XD=lauging face
User avatar
hockeygoalie35
Recruit Womprat Killer
Posts: 14
Joined: Tue Apr 13, 2010 8:34 am

Re: Munging help

Post by hockeygoalie35 »

sadly, i had this problem as well, i have WIN7 too :(
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: Munging help

Post by acryptozoo »

hockeygoalie35 wrote:sadly, i had this problem as well, i have WIN7 too :(
good its not just me :oops:

EDIT: please anyone that can help i love to be able to play my maps :bowdown:
User avatar
hockeygoalie35
Recruit Womprat Killer
Posts: 14
Joined: Tue Apr 13, 2010 8:34 am

Re: Munging help

Post by hockeygoalie35 »

and I want to play the sides i made :(
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: Munging help

Post by acryptozoo »

hockeygoalie35 wrote:and I want to play the sides i made :(
hoppefully some help will come soon or not and i will have to quit modding
User avatar
hockeygoalie35
Recruit Womprat Killer
Posts: 14
Joined: Tue Apr 13, 2010 8:34 am

Re: Munging help

Post by hockeygoalie35 »

acryptozoo wrote:
hockeygoalie35 wrote:and I want to play the sides i made :(
hoppefully some help will come soon or not and i will have to quit modding
well, you could always send a friend the file and he can munge it for you....
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: Munging help

Post by acryptozoo »

hockeygoalie35 wrote:
acryptozoo wrote:
hockeygoalie35 wrote:and I want to play the sides i made :(
hoppefully some help will come soon or not and i will have to quit modding
well, you could always send a friend the file and he can munge it for you....
i could use my old computer but its so slow :cpu: wish there was a fix :faint:
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: Munging help

Post by Deviss »

well man begin :)
in your addme.lua only put setting for KOTc_con yeah? and into your mission.req only put that line and clean and munge addme lua and common folder, replace new addme.lua and mission.lvl i hope work fine :)
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: Munging help

Post by acryptozoo »

Deviss wrote:well man begin :)
in your addme.lua only put setting for KOTc_con yeah? and into your mission.req only put that line and clean and munge addme lua and common folder, replace new addme.lua and mission.lvl i hope work fine :)
srry but i don't understand
:?
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: Munging help

Post by Deviss »

acryptozoo wrote:
Deviss wrote:well man begin :)
in your addme.lua only put setting for KOTc_con yeah? and into your mission.req only put that line and clean and munge addme lua and common folder, replace new addme.lua and mission.lvl i hope work fine :)
srry but i don't understand
:?
addme.lua
Hidden/Spoiler:
--Search through the missionlist to find a map that matches mapName,
--then insert the new flags into said entry.
--Use this when you know the map already exists, but this content patch is just
--adding new gamemodes (otherwise you should just add whole new entries to the missionlist)
function AddNewGameModes(missionList, mapName, newFlags)
for i, mission in missionList do
if mission.mapluafile == mapName then
for flag, value in pairs(newFlags) do
mission[flag] = value
end
end
end
end


--insert the new gamemodes or maps here for pre-existing maps:

sp_n = table.getn(sp_missionselect_listbox_contents)
sp_missionselect_listbox_contents[sp_n+1] = { mapluafile = "KOT%s_%s", era_c = 1, mode_con_c = 1,},}
mp_n = table.getn(mp_missionselect_listbox_contents)
mp_missionselect_listbox_contents[mp_n+1] = sp_missionselect_listbox_contents[sp_n+1]

-- associate this mission name with the current downloadable content directory
-- (this tells the engine which maps are downloaded, so you need to include all new mission lua's here)
-- first arg: mapluafile from above
-- second arg: mission script name
-- third arg: level memory modifier. the arg to LuaScript.cpp: DEFAULT_MODEL_MEMORY_PLUS(x)

AddDownloadableContent("KOT","KOTc_con",4)

-- all done
newEntry = nil
n = nil

-- Now load our core.lvl into the shell to add our localize keys
ReadDataFile("..\\..\\addon\\KOT\\data\\_LVL_PC\\core.lvl")
MISSION.REQ
Hidden/Spoiler:
ucft
{
REQN
{
"config"
"ingame_movies"
}

REQN
{
"script"
"AIHeroSupport"
"setup_teams"
"gametype_conquest"
"gametype_capture"
"Objective"
"MultiObjectiveContainer"
"ObjectiveCTF"
"ObjectiveAssault"
"ObjectiveSpaceAssault"
"ObjectiveConquest"
"ObjectiveTDM"
"ObjectiveOneFlagCTF"
"SoundEvent_ctf"
"ObjectiveGoto"
"LinkedShields"
"LinkedDestroyables"
"LinkedTurrets"
"Ambush"
"PlayMovieWithTransition"
}

REQN
{
"lvl"
"KOTc_con"
}
}
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: Munging help

Post by acryptozoo »

Deviss wrote:
acryptozoo wrote:
Deviss wrote:well man begin :)
in your addme.lua only put setting for KOTc_con yeah? and into your mission.req only put that line and clean and munge addme lua and common folder, replace new addme.lua and mission.lvl i hope work fine :)
srry but i don't understand
:?
addme.lua
Hidden/Spoiler:
--Search through the missionlist to find a map that matches mapName,
--then insert the new flags into said entry.
--Use this when you know the map already exists, but this content patch is just
--adding new gamemodes (otherwise you should just add whole new entries to the missionlist)
function AddNewGameModes(missionList, mapName, newFlags)
for i, mission in missionList do
if mission.mapluafile == mapName then
for flag, value in pairs(newFlags) do
mission[flag] = value
end
end
end
end


--insert the new gamemodes or maps here for pre-existing maps:

sp_n = table.getn(sp_missionselect_listbox_contents)
sp_missionselect_listbox_contents[sp_n+1] = { mapluafile = "KOT%s_%s", era_c = 1, mode_con_c = 1,},}
mp_n = table.getn(mp_missionselect_listbox_contents)
mp_missionselect_listbox_contents[mp_n+1] = sp_missionselect_listbox_contents[sp_n+1]

-- associate this mission name with the current downloadable content directory
-- (this tells the engine which maps are downloaded, so you need to include all new mission lua's here)
-- first arg: mapluafile from above
-- second arg: mission script name
-- third arg: level memory modifier. the arg to LuaScript.cpp: DEFAULT_MODEL_MEMORY_PLUS(x)

AddDownloadableContent("KOT","KOTc_con",4)

-- all done
newEntry = nil
n = nil

-- Now load our core.lvl into the shell to add our localize keys
ReadDataFile("..\\..\\addon\\KOT\\data\\_LVL_PC\\core.lvl")
MISSION.REQ
Hidden/Spoiler:
ucft
{
REQN
{
"config"
"ingame_movies"
}

REQN
{
"script"
"AIHeroSupport"
"setup_teams"
"gametype_conquest"
"gametype_capture"
"Objective"
"MultiObjectiveContainer"
"ObjectiveCTF"
"ObjectiveAssault"
"ObjectiveSpaceAssault"
"ObjectiveConquest"
"ObjectiveTDM"
"ObjectiveOneFlagCTF"
"SoundEvent_ctf"
"ObjectiveGoto"
"LinkedShields"
"LinkedDestroyables"
"LinkedTurrets"
"Ambush"
"PlayMovieWithTransition"
}

REQN
{
"lvl"
"KOTc_con"
}
}
oay ill try it
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: Munging help

Post by genaral_mitch »

Oh, come on. Can't anyone help him?

Go to data_abc\worlds\abc and copy everything in there and paste them at desktop.
Next, go to common\scripts\abd and copy all scripts in there.
Now, if you edited your addme.lua, copy that too and delete data_abc.
Make a new project and call it the same name (As in abc.).
Go into your new data_abc\worlds\world1\abc and paste all the contents of you old world1\abd folder.
Next, paste your addme in the new addme folder and paste any scripts you had into commom\scripts\abc.

I've don this plenty of times, so it should be right. But it's also possible it won't fix your munge problem, but it should.
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: Munging help

Post by acryptozoo »

genaral_mitch wrote:Oh, come on. Can't anyone help him?

Go to data_abc\worlds\abc and copy everything in there and paste them at desktop.
Next, go to common\scripts\abd and copy all scripts in there.
Now, if you edited your addme.lua, copy that too and delete data_abc.
Make a new project and call it the same name (As in abc.).
Go into your new data_abc\worlds\world1\abc and paste all the contents of you old world1\abd folder.
Next, paste your addme in the new addme folder and paste any scripts you had into commom\scripts\abc.

I've don this plenty of times, so it should be right. But it's also possible it won't fix your munge problem, but it should.
thank you sooooo much but now im getting errors konw anthing that can fix that
Thanks in adavnce
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: Munging help

Post by Deviss »

acryptozoo wrote:thank you sooooo much but now im getting errors konw anthing that can fix that
Thanks in adavnce
cool but anyway i want bother you, please post the new errors :)
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: Munging help

Post by acryptozoo »

Deviss wrote:
acryptozoo wrote:thank you sooooo much but now im getting errors konw anthing that can fix that
Thanks in adavnce
cool but anyway i want bother you, please post the new errors :)
k when i try to play the map it says it cant load MISSION/kotc_con

Mungee log:http://www.filefront.com/16257827/PC_MungeLog.txt
thanks for helping
Post Reply