an option for the old supreme commander missions

Moderators: speed2, KeyBlue

an option for the old supreme commander missions

Postby DarkKaiser810 » 07 May 2019, 12:36

is there a way to implement a feature that allows us to remove the restrictions placed on the missions since you dont have everything unlocked so the stuff from fa cant be used or you cant go full tier 3 or experimental in the lower vanilla missions

and before someone tells me to use the mod no campaign restrictions sry it doesnt work and probably wont ever be unless someone takes a look at it for faf
DarkKaiser810
Avatar-of-War
 
Posts: 64
Joined: 18 May 2012, 22:41
Has liked: 1 time
Been liked: 1 time
FAF User Name: DarkKaiser810

Re: an option for the old supreme commander missions

Postby speed2 » 07 May 2019, 20:01

It wont be introduced as an option in the lobby, but its possible to make such mod.
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: an option for the old supreme commander missions

Postby DarkKaiser810 » 11 May 2019, 14:02

would you be able to make one since your accustomed to the coop campaign script i just looked at it and i dont even know how to start messing with it the original one seems easier to mess with but i dont even know what to mess with in this one
DarkKaiser810
Avatar-of-War
 
Posts: 64
Joined: 18 May 2012, 22:41
Has liked: 1 time
Been liked: 1 time
FAF User Name: DarkKaiser810

Re: an option for the old supreme commander missions

Postby speed2 » 11 May 2019, 15:46

Well the mod works.

Image
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: an option for the old supreme commander missions

Postby DarkKaiser810 » 11 May 2019, 18:36

i tried it and it wasnt working but the one that was posted in the mod section in my request worked for me
DarkKaiser810
Avatar-of-War
 
Posts: 64
Joined: 18 May 2012, 22:41
Has liked: 1 time
Been liked: 1 time
FAF User Name: DarkKaiser810

Re: an option for the old supreme commander missions

Postby speed2 » 11 May 2019, 18:37

they are almost the same
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: an option for the old supreme commander missions

Postby Uveso » 11 May 2019, 22:18

Hello Speed,

i updated the NoBuildRestrictionsinCampaign mod.

The FAF game version is not calling the function AddRestriction() from the file ScenarioFramework.lua,
it's using the AddRestriction() function inside game.lua.

To fix the mod i added a destructive hook to game.lua to block the AddRestriction() function
and i cleared the ScenarioInfo.Options.RestrictedCategories table inside SetupSession() to
remove map / unit manager restrictions.

So this updated mod will remove all buildrestrictions with the old and new game version.

I did not upload the fixed mod to the vault, but you can download it here:
viewtopic.php?f=41&t=17537#p174579
User avatar
Uveso
Supreme Commander
 
Posts: 1788
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 70 times
Been liked: 291 times
FAF User Name: Uveso


Return to Coop

Who is online

Users browsing this forum: Google [Bot] and 1 guest