Map no longer shows up in instant action...Great...(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
xwingguy

Map no longer shows up in instant action...Great...(SOLVED!)

Post 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?
Last edited by xwingguy on Mon Oct 23, 2006 11:03 pm, edited 1 time in total.
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 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: Building a railway to Coruscant
Contact:

RE: Map no longer shows up in instant action...Great...

Post by trainmaster611 »

This better not be your Battle over Endor Map :shock:
archer01

RE: Map no longer shows up in instant action...Great...

Post 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... :?
Hebes24
Sith Master
Sith Master
Posts: 2594
Joined: Sat Jun 03, 2006 5:15 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: In An Epic Space Battle!
Contact:

Re: RE: Map no longer shows up in instant action...Great...

Post by Hebes24 »

trainmaster611 wrote:This better not be your Battle over Endor Map :shock:
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?
xwingguy

RE: Re: RE: Map no longer shows up in instant action...Great

Post 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")
archer01

RE: Re: RE: Map no longer shows up in instant action...Great

Post 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).
PvtParts
Jedi
Jedi
Posts: 1001
Joined: Mon Apr 03, 2006 9:12 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: plundering yer booty

RE: Re: RE: Map no longer shows up in instant action...Great

Post 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..
Qdin
Old School Staff
Posts: 2059
Joined: Wed Feb 23, 2005 9:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: Re: RE: Map no longer shows up in instant action...Great

Post by Qdin »

lol - exactly the same advice I had in mind before reading yuour post, Parts xD lol
PvtParts
Jedi
Jedi
Posts: 1001
Joined: Mon Apr 03, 2006 9:12 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: plundering yer booty

Post by PvtParts »

Yeah that seems like the pretty universal solution to unexplainable problems that lie in neither the map, sides, or script.
xwingguy

Post 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.
Hebes24
Sith Master
Sith Master
Posts: 2594
Joined: Sat Jun 03, 2006 5:15 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: In An Epic Space Battle!
Contact:

Post 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)
User avatar
Epena
Old School Staff
Posts: 1176
Joined: Fri Oct 21, 2005 2:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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
xwingguy

Post 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!
t551
General
General
Posts: 791
Joined: Sat Jul 16, 2005 3:23 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by t551 »

I take it that the problem is solved? ...
xwingguy

Post by xwingguy »

SOLVED!!!
Post Reply