Page 1 of 1

"Is campaign-only" tech property

Posted: Sun Jun 23, 2019 4:51 am
by Reika
So that scripts/mods iterating the list can skip ones that do not appear in the normal singleplayer game, without hardcoding a big list and having it break every six versions.

Re: "Is campaign-only" tech property

Posted: Sun Jun 23, 2019 5:29 am
by DaveMcW
It already exists.

Code: Select all

enabled = false

Re: "Is campaign-only" tech property

Posted: Sun Jun 23, 2019 6:08 am
by Reika
DaveMcW wrote:
Sun Jun 23, 2019 5:29 am
It already exists.

Code: Select all

enabled = false
...Why is it called 'enabled' of all things?

Re: "Is campaign-only" tech property

Posted: Sun Jun 23, 2019 7:48 am
by Deadlock989
Reika wrote:
Sun Jun 23, 2019 6:08 am
DaveMcW wrote:
Sun Jun 23, 2019 5:29 am
It already exists.

Code: Select all

enabled = false
...Why is it called 'enabled' of all things?
Because it controls whether or not the technology is enabled. Shocking.

Re: "Is campaign-only" tech property

Posted: Sun Jun 23, 2019 3:20 pm
by Reika
Deadlock989 wrote:
Sun Jun 23, 2019 7:48 am
Reika wrote:
Sun Jun 23, 2019 6:08 am
DaveMcW wrote:
Sun Jun 23, 2019 5:29 am
It already exists.

Code: Select all

enabled = false
...Why is it called 'enabled' of all things?
Because it controls whether or not the technology is enabled. Shocking.
"Enabled" and "Available in Campaign only" are not remotely close to being the same thing.

Re: "Is campaign-only" tech property

Posted: Sun Jun 23, 2019 3:29 pm
by Deadlock989
Reika wrote:
Sun Jun 23, 2019 3:20 pm
"Enabled" and "Available in Campaign only" are not remotely close to being the same thing.
*shrug* Oh well, if you want to be pedantic, no, they're not.

However, attached below is a list of vanilla technologies that are not used in the campaign and not enabled by default.

.
.
.

Re: "Is campaign-only" tech property

Posted: Mon Jun 24, 2019 1:06 am
by Reika
Deadlock989 wrote:
Sun Jun 23, 2019 3:29 pm
Reika wrote:
Sun Jun 23, 2019 3:20 pm
"Enabled" and "Available in Campaign only" are not remotely close to being the same thing.
*shrug* Oh well, if you want to be pedantic, no, they're not.

However, attached below is a list of vanilla technologies that are not used in the campaign and not enabled by default.

.
.
.
And you have what proof that that list remains that way in modded and for all future game versions?

Re: "Is campaign-only" tech property

Posted: Mon Jun 24, 2019 5:17 am
by Deadlock989
Reika wrote:
Mon Jun 24, 2019 1:06 am
And you have what proof that that list remains that way in modded and for all future game versions?
There's clearly something wrong with you.