Jump to content

Switching between namesake models?


Recommended Posts

For the modulepartvariants method you add a GAMEOBJECTS section to each variant. If you have two models - model_1.mu and model_2.mu you would have a section something like this:

	MODULE
	{
		name = ModulePartVariants
		baseVariant = Variant_1
		VARIANT
		{
			name = Variant_1
			displayName = V1
			primaryColor = #FFFFFF
			secondaryColor = #9F7000
			cost = 50
			mass = 0.250
			GAMEOBJECTS
			{
				model_1 = false		// diasbles model_1.mu
				model_2 = true		// enables model_2.mu
			}
		}
		VARIANT
		{
			name = Variant_2
			displayName = V2
			primaryColor = #DDDDDD
			secondaryColor = #9F7000
			cost = 60
			mass = 0.300
			GAMEOBJECTS
			{
				model_1 = true
				model_2 = false
			}
		}
	}

If the cost and mass is the same for both variants you can (probably) leave the cost and mass out of the VARIANT section.

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...