Jump to content

Recommended Posts

Posted (edited)

Is it possible to add new (squadron) skins and configure them to use a tac code? I thought I would be able to add it to the squadron file:

 

...\PWCGBoS\BoSData\Input\Squadron\11th Fighter Air Regiment.json:

		{
			"skinName": "yak7b-redtip-0",
			"planeType": "yak7bs36",
			"startDate": "19390901",
			"endDate": "19450601",
			"squadId": 10111011,
			"country": "Russia",
			"category": "Configured",
			"definedInGame": false,
			"winter": false,
			"useTacticalCodes": true,
			"tacticalCodeColor": "WHITE"
		}

 

But this doesn't seem to have any effect.

 

Alternatively, I can add loose skins to

...\PWCGBoS\BoSData\Input\Skins\Configured\yak7bs36.json


		"yak7b-redtip-0": {
			"skinName": "yak7b-redtip-0",
			"planeType": "yak7bs36",
			"startDate": "19390901",
			"endDate": "19450601",
			"squadId": -2,
			"country": "Russia",
			"category": "Configured",
            "useTacticalCodes": true,
            "tacticalCodeColor": "RED"   
			"definedInGame": false,
			"winter": false
		},

and they show up, but it seems like the "useTacticalCodes" setting is ignored. (Incidentally, I wasn't sure the difference between "squadId" -1 and -2.)

 

Is there any way to add these skins so that they get tactical codes automatically when assigned to a pilot?

Edited by Charon
Posted

Okay, now I understand. There's two places that need the change:

 

..\BoSData\Input\Skins\Configured\$PLANE.json

 

This needs to be updated like so. Note in particular that squadID needs to be set to the id of your squadron, and "useTacticalCodes" and "tacticalCodeColor" should be set.

 

"Mig3s24_233IAP_19": {
			"skinName": "Mig3s24_233IAP_19",
			"planeType": "mig3s24",
			"startDate": "19390901",
			"endDate": "19450601",
			"squadId": 10111027,
			"country": "Russia",
			"category": "Configured",
			"definedInGame": false,
			"winter": false,
            "useTacticalCodes": true,
            "tacticalCodeColor": "BLACK"
		},

 

..\BoSData\Input\Squadron\$SQUADRON.json

 

The "skins" list needs to be updated with the same object, like so:

 

{
            "skinName": "Mig3s24_233IAP_19",
            "planeType": "mig3s24",
            "startDate": "19390901",
            "endDate": "19420101",
            "squadId": 10111027,
            "country": "Russia",
            "category": "Configured",
            "definedInGame": false,
            "winter": false,
            "useTacticalCodes": true,
            "tacticalCodeColor": "BLACK"
        },

 

 

My mistake before was not setting the squadId in the plane specific config.

  • Charon changed the title to Adding blank skins [Solved]
Posted

One other question: Is it possible to configure the skins so that they include tac-codes by default, and are not exclusive? I.e., I want to assign the same squadron skin to two pilots.

 

My use case is that I've made a nice set of blank Yak skins with various numbers of victories marked on them, and I'd like to be able to simply assign players the appropriate skin as their victories grow.

  • Charon changed the title to Adding blank skins

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...