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
Map name in mission selected list?
Moderator: Moderators
-
Lord_Bandu
-
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");
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");
-
Saturn_V
- Emperor's Hand
- Posts: 487
- Joined: Sun Dec 26, 2004 12:11 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
-
Saturn_V
- Emperor's Hand
- Posts: 487
- Joined: Sun Dec 26, 2004 12:11 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
-
eddie
- Gametoast Supporter

- Posts: 366
- Joined: Mon Oct 18, 2004 3:27 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
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
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
