Page 1 of 1
Map name in mission selected list?
Posted: Sat Jan 01, 2005 6:39 pm
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
Posted: Sat Jan 01, 2005 8:38 pm
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");
Posted: Sat Jan 01, 2005 9:00 pm
by Lord_Bandu
so i have to choose to have the Jawa sounds or the speederbike sounds

darn
Posted: Sat Jan 01, 2005 9:44 pm
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.
Posted: Sun Jan 02, 2005 11:14 am
by Saturn_V
Edit: post removed
Posted: Sun Jan 02, 2005 11:57 am
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, }
Posted: Sun Jan 02, 2005 2:26 pm
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
Posted: Fri Aug 12, 2005 5:01 am
by generaalgrievous
you must create a new luna
]