Glitch Storm Trooper Corporal
Messages : 408 Registration Date : 2012-04-02 Age : 29 Location : Baktoid Combat Automata
| Subject: [résolu]Lua replacement for Space Maps 8/13/2012, 10:54 pm | |
| This just one example for the multiple space maps. With one example mode. Its spa3, or in game Space Kashyyyk. The only problem is when I play any of the space maps is that the name changes do not appear on the weapons and units, otherwise it works.
addme AddNewGameModes( sp_missionselect_listbox_contents, "spa3c%s_%s", {era_c = 1, mode_ass_c = 1,} ) AddNewGameModes( mp_missionselect_listbox_contents, "spa3c%s_%s", {era_c = 1, mode_ass_c = 1,} )
AddDownloadableContent("spa3c","spa3cc_ass",4)
mission "spa3c_ass"
The only change to "spa3_ass.lua" was the added "dc:"
ReadDataFile("dc:SIDE\\cis.lvl", "cis_inf_pilot", "cis_inf_marine", "cis_fly_fedlander_dome", "cis_fly_droidfighter_sc", "cis_fly_droidfighter_dome", "cis_fly_greviousfighter", "cis_fly_droidgunship", "cis_fly_tridroidfighter")
Here's my overall progress with the space maps. https://www.dropbox.com/sh/n35orbv5o91553l/5D3ltJ3W1-
Last edited by Glitch on 8/15/2012, 11:29 pm; edited 1 time in total |
|
ARC_Troopa_Nate Clone Trooper Lietenant Colonel
Messages : 203 Registration Date : 2011-07-07 Age : 26 Location : Behind you...
| Subject: Re: [résolu]Lua replacement for Space Maps 8/14/2012, 12:55 am | |
| Try this instead
addme AddNewGameModes( sp_missionselect_listbox_contents, "spa3%s_%s", {era_c = 1, mode_ass_c = 1,} ) AddNewGameModes( mp_missionselect_listbox_contents, "spa3%s_%s", {era_c = 1, mode_ass_c = 1,} )
AddDownloadableContent("spa3","spa3c_ass",4)
mission "spa3c_ass" |
|