yoyoman wrote:Can you call it something else instead of hunt?
Yup. In your addme.lua add in this
Hidden/Spoiler:
change = {era_c = { name="Name of your mode", icon2="Whatever icon you want" },},}
Mine looks like this
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 totally new maps here:
local sp_n = 0
local mp_n = 0
sp_n = table.getn(sp_missionselect_listbox_contents)
Make sure not to have any typos and it looks exactly like mine with the commas and brackets.
Re: How do I add xl mode to my map?
Posted: Sat Sep 18, 2010 12:20 pm
by yoyoman
where do you putt the icons?
Re: How do I add xl mode to my map?
Posted: Sat Sep 18, 2010 12:23 pm
by DarthD.U.C.K.
if you are usinga shipped/convopackmode the icons are set automatically. if you want a custom icon, you should read the 1.3 patch documentation (should be in battlefronts gamedata folder after installing the patch). it should include a tutorial about adding custom icons
Re: How do I add xl mode to my map?
Posted: Sat Sep 18, 2010 12:29 pm
by yoyoman
there is a icon in the sides folder that I want to use can I use that one?
Re: How do I add xl mode to my map?
Posted: Sat Sep 18, 2010 12:32 pm
by DarthD.U.C.K.
you can use anything you want as long as it fulfills the standards of modeicons. i have noidea what they are though but that should be mentioned in the tutorial
Re: How do I add xl mode to my map?
Posted: Sat Sep 18, 2010 12:51 pm
by yoyoman
off topic: I can not find the territorial and I looked for it but could not find it. Could you pleas help. Thanks
Re: How do I add xl mode to my map?
Posted: Sat Sep 18, 2010 12:55 pm
by DarthD.U.C.K.
you should be able to find it in the "LucasArts\Star Wars Battlefront II\GameData\v1.3patch\docs\howtos" territory
Re: How do I add xl mode to my map?
Posted: Sat Sep 18, 2010 1:04 pm
by yoyoman
I don't get which part of the of the territorial am I suppose to look at.