SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding Tutorials => Topic started by: wsa30h on September 19, 2021, 07:12:39 AM

Title: add eras trough addme tutorial
Post by: wsa30h on September 19, 2021, 07:12:39 AM
ok so finally thanks to phantom and bad al and me it is now possible to add new screens trough addme. This is a new screen where you can add new eras to the list. to add a new era you will need to first go to ifs_sp2_era_vbutton_layout and add the letter there. Then you will need to go to -- Turn era into map for 2-way maps and also add the same letter there. last but not least go to START PHANTOM'S CUSTOM CODE and add the letter there. now make a new project and call it era and delete everything in it and just copy your new addme minus the
add new tat level and mission stuff. munge this and in your main project just call the era in this section we will call ours era d
local newEntry = { mapluafile = "fac", showstr = "UKNOWN ASTEROID FACILITY", side_c = 1, side_d = 1, side_a = 1, dnldable = 1, }
now you are finished. the reason we have to make a project named era is because if we load two different addmes with this new code the game will error out so to prevent this i have decided to do it this way.
now call it in this section. you will find now find new era in the instant action menu.One bug is that galactic conquest will crash upon quitting to main menu we are working on a fix.
AddDownloadableContent("fac","facc",4)
AddDownloadableContent("fac","faca",4)
AddDownloadableContent("fac","facd",4)
EhPortal 1.34 © 2024, WebDev