Map name in mission selected list?

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
Lord_Bandu

Map name in mission selected list?

Post by Lord_Bandu »

When i select my mission the name doesnt show up in the mission select list


i guess its something to do with the addme lua file but im not sure what needs doing . heres what it looks like at the moment.

-- add the new tat level to the missionlist
local newEntry = { mapluafile = "modTAT", showstr = "TATOOINE: IMPERIAL GROUND ASSAULT", side_a = 1, dnldable = 1, }

--append it to the sp missionlist table
local n = getn(sp_missionselect_listbox_contents)
sp_missionselect_listbox_contents[n+1] = newEntry

-- append it to the mp missionlist table
n = getn(mp_missionselect_listbox_contents)
mp_missionselect_listbox_contents[n+1] = newEntry

any help would be great
Lord_Bandu

Post by Lord_Bandu »

but eddies maps show name as normal .

so when the 1.2 patch comes out where do i write my map name ?

--append it to the sp missionlist table
local n = getn(sp_missionselect_listbox_contents)
sp_missionselect_listbox_contents[n+1] = newEntry



EDIT - on a side note iv managed to get my jawa sounds but thats pushed out my speederbike sounds (no speederbikes in mos eisley map) so i tried entering both tat1 and tat2 sound data but still no speederbike noise . this is confusing me ...here is what my lua looks like at present ...

ReadDataFile("sound\\tat.lvl;tat2gcw");
ReadDataFile("sound\\tat.lvl;tat1gcw");
ReadDataFile("SIDE\\all.lvl",
"all_inf_basicdesert",
"all_fly_moncalamari_dome",


and ...


-- Sound Stats
OpenAudioStream("sound\\tat.lvl", "tatgcw_music");
OpenAudioStream("sound\\tat.lvl", "tat2");
OpenAudioStream("dc:sound\\mod.lvl", "modTAT");
OpenAudioStream("dc:sound\\mod.lvl", "modTAT");
OpenAudioStream("sound\\gcw.lvl", "gcw_vo");
OpenAudioStream("sound\\gcw.lvl", "gcw_tac_vo");
-- OpenAudioStream("dc:sound\\mod.lvl", "modTAT_emt");
--OpenAudioStream("dc:sound\\tat.lvl", "tat3_emt");
Lord_Bandu

Post by Lord_Bandu »

so i have to choose to have the Jawa sounds or the speederbike sounds :( darn
Saturn_V
Emperor's Hand
Posts: 487
Joined: Sun Dec 26, 2004 12:11 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Post by Saturn_V »

Okay fred, when do we get the tutorial on sound, ;)

I finally got the one you did for modding the sides, worked out okay after a couple of attempts - all that's left is the sound... and the XSI exporter, lol.
Saturn_V
Emperor's Hand
Posts: 487
Joined: Sun Dec 26, 2004 12:11 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Post by Saturn_V »

Edit: post removed
Last edited by Saturn_V on Sun Jan 02, 2005 11:57 am, edited 1 time in total.
eddie
Gametoast Supporter
Gametoast Supporter
Posts: 366
Joined: Mon Oct 18, 2004 3:27 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 eddie »

it is happening to me from day one (that is map name). Just go into addon and enter the name manually.

eg.


-- add the new tat level to the missionlist
local newEntry = { mapluafile = "ety1", showstr = "EDDIE'S TYNNA v0.5", side_a = 1, dnldable = 1, }
Lord_Bandu

Post by Lord_Bandu »

i mean when you select the mission and choose which era ,the map name appears on the right hand side selected mission box . Mine is blank at the moment.


this my lua at the moment:

-- add the new tat level to the missionlist
local newEntry = { mapluafile = "modTAT", showstr = "TATOOINE: IMPERIAL GROUND ASSAULT", side_a = 1, dnldable = 1, }

--append it to the sp missionlist table
local n = getn(sp_missionselect_listbox_contents)
sp_missionselect_listbox_contents[n+1] = newEntry

--append it to the mp missionlist table
n = getn(mp_missionselect_listbox_contents)
mp_missionselect_listbox_contents[n+1] = newEntry


im thinking its something to do with the append to sp missionlist table ....but im not sure
generaalgrievous

Post by generaalgrievous »

you must create a new luna


]
Post Reply