Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: AdmiralRalwood on June 28, 2018, 09:46:48 am

Title: "Fix" flags you'd like to see default-enabled
Post by: AdmiralRalwood on June 28, 2018, 09:46:48 am
Functionality was added semi-recently whereby mods targeting a specific version of FSO can have different default values than mods made for previous versions; no such default changes have been implemented yet, but I'd like to make it so that mods targeting 3.8.2 don't have to specifically enable a bunch of flags that are effectively bugfixes. Things like "$Fix AI Class Bug:" in ai_profiles.tbl, or even "$Loop SEXPs Then Arguments:" in game_settings.tbl. What are some options you wish were enabled by default when making a new mod?
Title: Re: "Fix" flags you'd like to see default-enabled
Post by: FrikgFeek on June 28, 2018, 12:53:13 pm
$fix linked primary weapon decision bug:
$allow primary link at mission start:
$aspect bomb invulnerability fix:

All of these are pretty annoying retail bugs that can lead to sometimes counter-intuitive behaviour. There's almost no reason to intentionally disable these in a newer mod.
Title: Re: "Fix" flags you'd like to see default-enabled
Post by: Spoon on June 28, 2018, 01:18:37 pm
$Fixed Turret Collisions:

It makes no sense to hit the barrel of a turret and see that damage go to the hull of the ship instead of the turret you're hitting. And I can't think of any reason why you'd want to have this behavior in your mod.
Title: Re: "Fix" flags you'd like to see default-enabled
Post by: chief1983 on June 29, 2018, 02:39:12 pm
Was that really one that was considered as possibly having a significant effect on retail balance?
Title: Re: "Fix" flags you'd like to see default-enabled
Post by: karajorma on June 29, 2018, 04:34:53 pm
$Loop SEXPs Then Arguments:

Definitely that one!  Not only is it a bug fix, but I'm 99% certain no one ever used the bugged version.
Title: Re: "Fix" flags you'd like to see default-enabled
Post by: General Battuta on June 30, 2018, 06:02:47 am
Fix AI Class Bug could alter a lot of campaign balance but like...I think it's worth it.
Title: Re: "Fix" flags you'd like to see default-enabled
Post by: m!m on June 30, 2018, 09:03:16 am
"default-enabled" doesn't mean that the flag will be activated without the action of the mod. A mod can specify which version of FSO it targets by using $Target Version (http://wiki.hard-light.net/index.php/Game_settings.tbl#.24Target_Version:). FSO then uses that information for controlling what flags are enabled by default so if you don't have that setting in your mod table then nothing changes so don't worry about campaigns suddenly breaking because of this.
Title: Re: "Fix" flags you'd like to see default-enabled
Post by: AdmiralRalwood on June 30, 2018, 08:03:01 pm
Yeah, this is very specifically only for new mods, not existing ones (unless they update to target 3.8.2).