Page 1 of 1
Map no longer shows up in instant action...Great...(SOLVED!)
Posted: Sat Oct 07, 2006 10:25 am
by xwingguy
I'm not sure why but my endor map no longer will show up in instant action. I deleted in from the addon list for about a week and then remunged it. Now it doesn't show up. I've made sure that it's not because I have too many mod maps--I deleted 3 that showed up in the list and Endor still won't show up. I've checked the addme several times and I've painfully cleaned and remunged the map three times. No unusual errors have showed up in the munge log. Any ideas?
RE: Map no longer shows up in instant action...Great...
Posted: Sat Oct 07, 2006 2:22 pm
by trainmaster611
This better not be your Battle over Endor Map

RE: Map no longer shows up in instant action...Great...
Posted: Sat Oct 07, 2006 2:29 pm
by archer01
Is it gone from the multiplayer listing too? Or just the instant action list?
If it's gone from the multiplayer list too, post your addme script. There's gotta be something wrong with it...

Re: RE: Map no longer shows up in instant action...Great...
Posted: Sat Oct 07, 2006 3:26 pm
by Hebes24
trainmaster611 wrote:This better not be your Battle over Endor Map

xwingguy wrote:my endor map no longer will show up in instant action
Sadly I think it is.

I agree with
archer. Anything in the Bfront2 log?
RE: Re: RE: Map no longer shows up in instant action...Great
Posted: Sat Oct 07, 2006 7:34 pm
by xwingguy
nothing mentions my map in the bfront2 log when I open the instant action menu.
I've never touched the addme script but I'll humor you...
Code: Select all
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 totally new maps here:
local sp_n = 0
local mp_n = 0
sp_n = table.getn(sp_missionselect_listbox_contents)
sp_missionselect_listbox_contents[sp_n+1] = { isModLevel = 1, mapluafile = "TST%s_%s", era_g = 1, mode_assault_g = 1,mode_1flag_g = 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("TST","TSTg_1flag",4)
AddDownloadableContent("TST","TSTg_Diet Dr. Pepper",4)
-- all done
newEntry = nil
n = nil
-- Now load our core.lvl into the shell to add our localize keys
ReadDataFile("..\\..\\addon\\TST\\data\\_LVL_PC\\core.lvl")
RE: Re: RE: Map no longer shows up in instant action...Great
Posted: Sat Oct 07, 2006 8:23 pm
by archer01
Hmmm... You're right xwingguy. Off hand, I can't see anything wrong with it. I've never had a problem like this before that wasn't the addme's fault, so I can't be of much help. Sorry.
If you're willing to be experimental, try removing 'everything' from the addon folder (just move all the maps to another folder), munge, then see if there is any change. Just to verify that it isn't another map's addme messing yours up (that and to make sure the addme.script file is actually being copied correctly).
RE: Re: RE: Map no longer shows up in instant action...Great
Posted: Sat Oct 07, 2006 9:22 pm
by PvtParts
Rename your endors mod folder to whatever, or cut it and paste it somewhere (probably on the same drive so it doesn't take long - your going to be moving files a lot).
Make a new mod, name it the sameway as before (though localization changes the display name, I'm not sure if any scripts or anything rely on the three letter name, so no sense risking a conflict), and copy the needed files from your old folder to this one. Thats basically everything you've ever changed - and nothing you havent. Obviously, dont copy your _LVL_PC folder back into this new mod. Only copy files you've edited from the _BUILD folder as well..
Delete from addon folder
Clean and Munge (or Munge since you haven't anything to clean..)
Give that a try..
RE: Re: RE: Map no longer shows up in instant action...Great
Posted: Tue Oct 10, 2006 4:18 pm
by Qdin
lol - exactly the same advice I had in mind before reading yuour post, Parts xD lol
Posted: Tue Oct 10, 2006 5:30 pm
by PvtParts
Yeah that seems like the pretty universal solution to unexplainable problems that lie in neither the map, sides, or script.
Posted: Sun Oct 22, 2006 4:30 pm
by xwingguy
....This is getting quite weird...
I cut my data into another folder and recreated a map of the same name. It didn't show up in any shape or from in the instant action list.
Then I tried to copy the map into another mod map I had been working on that DID show up in instant action. the weird thing is that the game is using the addme script of the old map I copied over even though that addme no longer exists. I copied the stupid addme over TWICE manually.
Posted: Sun Oct 22, 2006 4:33 pm
by Hebes24
Is the old map (the one that isn't working) out of your Addon folder? Is the data_*** folder gone? (not deleted, but out of the Modtools directory)
Posted: Sun Oct 22, 2006 4:45 pm
by Epena
You know, I had tis problem the other day. It was using a three letter thing that I had used previously (when the tools first came out) but deleted that data_*** folder. I recreated the world, and it wouldn't show up in the IA list when munged. Really creepy. It was just a test world, so I just created a new world (with a never-been-used three letter thingee) and did my edits there. Did the trick!
However, your map is somethingt hat has been working, and never had the data_whatever removed fromt he modtools directory...
So create a new world with a different 3 letter thing and paste all your stuff there. Don't transfer to a world that's had stuff done to it oO
Posted: Sun Oct 22, 2006 11:38 pm
by xwingguy
Now I know I'm not really supposed to use all caps etc. but just to show my deep gratitude...
THANK YOU EPENA!
Posted: Sun Oct 22, 2006 11:50 pm
by t551
I take it that the problem is solved? ...
Posted: Mon Oct 23, 2006 10:07 pm
by xwingguy
SOLVED!!!