Page 1 of 1

Addon system for console

Posted: Thu Feb 04, 2021 12:34 am
by cbadal
Hey guys,
Today I released an addon system for the console versions of SWBF2 ( consider it to be in stage alpha)
If anyone here was curious about modding for the console versions check out the addon system (ppsspp) tutorial here:


(It turns out that PPSSPP makes testing changes super nice)

Download addon system with examples here:
https://github.com/BAD-AL/SWBFII_Alt_Ad ... es/tag/0.1

Re: Addon system for console

Posted: Sun Mar 14, 2021 8:50 pm
by cbadal
I've updated the addon system to include support for adding new strings to core.lvl.
SWBFII modders may also find the included 'LVLTool.exe' program useful for replacing certain scripts inside a .lvl file without re-munging the whole thing.

This video shows the addon system with AnthonyBF2's latest PSP release (Version 8 )
[youtube=https://www.youtube.com/watch?v=HyGFpVQ9VHQ]


Also wanted to mention...
In the mission files we should have code like:

Code: Select all

    local assetLocation = "addon\\002\\"
	if ScriptCB_GetPlatform() == "PC" then
		assetLocation = "DC:"
	end 
		
    ReadDataFile(assetLocation .. "SIDE\\all.lvl",
                    "all_inf_rifleman",
                    "all_inf_rocketeer",
                    "all_inf_engineer",
                    "all_inf_sniper",
                    --"all_inf_officer",
                    "all_inf_wookiee",
                    "all_hero_hansolo_tat"
    )
...
So that the mission files locate the assets correctly on PC as well as on the console you're working on.

Re: Addon system for console

Posted: Mon Mar 15, 2021 2:04 pm
by Marth8880
This is awesome! Nicely done!