SWBF CUSTOM

The best way to custom your games.
 
HomeFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 [résolu]Lua replacement for Space Maps

View previous topic View next topic Go down 
AuthorMessage
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
avatar

Messages : 408
Registration Date : 2012-04-02
Age : 22
Location : Baktoid Combat Automata

PostSubject: [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
Back to top Go down
View user profile http://imageshack.us/a/img841/5206/glitchesultimatesidemod.jpg
ARC_Troopa_Nate
Clone Trooper Lietenant Colonel
Clone Trooper Lietenant Colonel


Messages : 200
Registration Date : 2011-07-07
Age : 19
Location : Behind you...

PostSubject: 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"
Back to top Go down
View user profile http://www.moddb.com/mods/star-wars-battlefront-expansion-mod
 

[résolu]Lua replacement for Space Maps

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» Renegade Space Marines
» Space Marine Scout Heavy choice
» Space Marine Techmarines w/ Servitors
» [Rumors] Codex: Space Marine Compilation
» Victories of the Space Marines

Permissions in this forum:You cannot reply to topics in this forum
SWBF CUSTOM :: Star Wars Battlefront Games :: Modding-