SWBF CUSTOM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

SWBF CUSTOM

The best way to custom your games.
 
HomeLatest imagesSearchRegisterLog 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
Glitch

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

[résolu]Lua replacement for Space Maps Empty
PostSubject: [résolu]Lua replacement for Space Maps   [résolu]Lua replacement for Space Maps I_icon_minitime8/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
https://2img.net/r/ihimg/a/img841/5206/glitchesultimatesidemod.jpg
ARC_Troopa_Nate
Clone Trooper Lietenant Colonel
Clone Trooper Lietenant Colonel
avatar

Messages : 203
Registration Date : 2011-07-07
Age : 25
Location : Behind you...

[résolu]Lua replacement for Space Maps Empty
PostSubject: Re: [résolu]Lua replacement for Space Maps   [résolu]Lua replacement for Space Maps I_icon_minitime8/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
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

-
» Galactic Conquest Space Maps
» [résolu]Converting BF1 Maps
» Adding new sound to stock maps.
» [résolu]Animation
» [résolu]Need help with flamethrower

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