Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static object liveries are not saved #210

Open
Bankler opened this issue Mar 7, 2022 · 0 comments
Open

Static object liveries are not saved #210

Bankler opened this issue Mar 7, 2022 · 0 comments

Comments

@Bankler
Copy link

Bankler commented Mar 7, 2022

After pydcs parses a mission file, some information on Static Objects are lost. Most notably, the liveries on aircraft are not saved.

Instead of the attribute "livery_id", it saves the attribute "canCargo" and sets it to false.

Original:

	[1] = 
	{
		["livery_id"] = "air force ukraine standard",
		["category"] = "Planes",
		["type"] = "Su-27",
		["unitId"] = 1409,
		["rate"] = "50",
		["y"] = 683784.5080273,
		["x"] = -284388.00879465,
		["name"] = "Static Su-27-1",
		["heading"] = 6.0039326268605,
	}, -- end of [1]

After pydcs parsing:

	[1]=
	{
		["canCargo"]=false,
		["category"]="Planes",
		["heading"]=6.0039326268605,
		["name"]="Static Su-27-1",
		["rate"]="50",
		["type"]="Su-27",
		["unitId"]=1409,
		["x"]=-284388.00879465,
		["y"]=683784.5080273
	}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant