SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: wsa30h on May 17, 2020, 05:49:18 AM

Title: more missions for cw campaign without replacing or losing missions ?
Post by: wsa30h on May 17, 2020, 05:49:18 AM
is it possible to load a custom map and a custom campaign script as an 8th mission in the cw era i already asked dark phantom and his technique works to replace mission 1 or any other mission but i was wondering wherever we can add a completely new mission after attack on kashyyyk  ? this is the script for replacing current missions i tried replacing new entry after sp campaign with dnlable = 1 but it gives me an error on line 10 last token error.       local newEntry = { mapluafile = "wsa30hc_h", side = 1, showstr = "WSA's PLANET", description = "description here", movie = "wsa30h1fly" }

SPCampaign_CW[1] = newEntry

newEntry = { mapluafile = "mission2c_h", side = 1, showstr = "SECOND MAP", description = "2nd campaign map!", movie = "wsa30h1fly" }
Title: Re: more missions for cw campaign without replacing or losing missions ?
Post by: Dark_Phantom on May 17, 2020, 06:37:23 AM
You dont need dnldable = 1 even if you are adding a mission to the end.
dnldable = 1 only matters if you want to have an addon mission be used, but I said you have to replace the main mission.lvl, but i said that it probably didnt work because it's not in that table structure.
That error means you have a syntax error by the way.
Title: Re: more missions for cw campaign without replacing or losing missions ?
Post by: wsa30h on May 17, 2020, 07:55:44 AM
mhh is there a way to add it to the table structure or is that exe related ?
Title: Re: more missions for cw campaign without replacing or losing missions ?
Post by: Dark_Phantom on May 17, 2020, 06:09:15 PM
Exe related.
Title: Re: more missions for cw campaign without replacing or losing missions ?
Post by: wsa30h on May 18, 2020, 03:56:50 AM
a pity but since you said the game woundt save progress past the normal missions i have decided to go with your first suggestion.
EhPortal 1.34 © 2024, WebDev