Supreme Commander: Forged Alliance

Supreme Commander: Forged Alliance

Parasus Jan 30, 2021 @ 3:33pm
Unit Manager
Is there a way to deactivate only T3/T4 Artillery buildings, atom weapons? for players and AI
< >
Showing 1-2 of 2 comments
MostLostNoob Jan 30, 2021 @ 9:25pm 
There's a "No Nukes" restriction already in the unit manager. As for T3/T4 artillery, there's no way to restrict those in the game as-is; however, you can mod those restrictions into the unit manager. Here's a link to a unit restriction mod I created:

https://drive.google.com/file/d/1moeUyQEEHLrzTF-DXnRSIFWbvLu3zsjW/view?usp=sharing

Obviously, you'll need to make some changes to all the files. For the "categories" in the CustomUnitRestrictions.lua file, you'll need to find the unit ids for all the T3 & T4 artillery. To do that, you'll need to enable cheats in the lobby & create a sandbox game. Within the sandbox game, use Alt+F2 to open the cheat/spawn menu & then look/search for those. The search function only lets you search for the entire description of a unit, so selecting tech levels T3 & Exp then scrolling may be a little easier.

Once you have the changes made, put the mod in the correct directory (Windows+R):

%USERPROFILE%/Documents\My Games\Gas Powered Games\Supreme Commander Forged Alliance\mods

After that, open the game & go into Extras > Mod Manager to enable the mod you just created. You need to enable the mod first before going into a game lobby so that the restrictions table is updated correctly.

I could never get the tooltip to work, but it's unimportant as long as you know what's being restricted via the "name" in the CustomUnitRestrictions.lua file.


Modding resources:
https://supcom.fandom.com/wiki/Modding
https://supcom.fandom.com/wiki/Beginners_Tutorial._SC/FA_Creating_an_Upgradeable_Structure.
https://wiki.faforever.com/index.php?title=Modding
https://forum.faforever.com/topic/739/guide-creating-a-basic-balance-mod-with-a-merge-blueprint?_=1608476874183
Red Spot Jan 31, 2021 @ 2:09am 
Get FAF it allows you to set restrictions pretty much unit by unit.
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Jan 30, 2021 @ 3:33pm
Posts: 2