Jump to content

ModuleTestSubject


nli2work

Recommended Posts

I've been seeing this in various squad and mod parts since .24... what is it and what does it do?

    MODULE
{
name = ModuleTestSubject

// nowhere: 0, srf: 1, ocean: 2, atmo: 4, space: 8
environments = 7

useStaging = True
useEvent = True
}

Link to comment
Share on other sites

Yep, only parts with that module will be selected. If you have an agency named to exactly match the manufacturer = whatever entry in the part.cfg, then that agency will offer the contract. I'm not sure what happens if there is no matching agency - it may not be offered as a test, or it may get a random agency.

The environments switch:

Tells you what locations the test can be generated for (IE landed, splashed down, in flight, in orbit, etc) - you basically "add up" the numbers for the locations you want enabled.

0 = no locations

1 = surface only (landed)

2 = ocean only (splashed down)

3 = surface or ocean

4 = atmosphere only (in flight at some random altitude/speed)

5 = surface or atmosphere

6 = ocean or atmosphere

7 = atmosphere, ocean, or surface

8 = space only

9 = surface or space

10 = ocean or space

11 = surface, ocean, or space

12 = atmosphere or space

13 = surface, atmosphere, or space

14 = ocean, atmosphere, or space

15 = surface, ocean, atmosphere, or space (AKA everything)

useStaging = True -- test is activated by staging the part - part must be stage-able normally, otherwise use Event

useEvent = True -- test is activated by right-clicking on the part and choosing the test option. Staged parts can be tested this way in lieu of staging them.

Not sure what happens if you enable both of them.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...