Page MenuHomeFeedback Tracker

Workbench - add possibility to create model.cfg from txo file
Assigned, UrgentPublic

Description

While importing animals and other creatures with custom skeletons, will be very useful have in workbench feature which will from txo file create model.cfg wih skeleton section and bones.

example output:

class CfgSkeletons
{
	class Raven
	{
		isDiscrete=0;
		skeletonInherit="";
		skeletonBones[]=
		{
			"Raven_Armature", "",
			"Raven_RootBone", "Raven_Armature",
			"Raven_COG", "Raven_RootBone",
			"Spine1", "Raven_COG",
			"Spine2", "Spine1",
			"Chest", "Spine2",
			"Neck1", "Chest",
			"Neck2", "Neck1",
			"Head", "Neck2",
			"Jaw", "Head",
			"Eye.L", "Head",
			"Eye.R", "Head",
			"EyeLidT.L", "Head",
			"EyeLidT.R", "Head",
			"EyeLidB.L", "Head",
			"EyeLidB.R", "Head",
			"Neck3", "Neck2",
			"pin_lookat", "Neck2",
			"Shoulder.L", "Chest",
			"Arm.L", "Shoulder.L",
			"Hand.L", "Arm.L",
			"Finger.L", "Arm.L",
			"Shoulder.R", "Chest",
			"Arm.R", "Shoulder.R",
			"Hand.R", "Arm.R",
			"Finger.R", "Arm.R",
			"Thigh.L", "Raven_COG",
			"Leg.L", "Thigh.L",
			"Toe2_1.L", "Leg.L",
			"Toe2_2.L", "Toe2_1.L",
			"Toe4_1.L", "Leg.L",
			"Toe4_2.L", "Toe4_1.L",
			"Toe3_1.L", "Leg.L",
			"Toe3_2.L", "Toe3_1.L",
			"Toe1_1.L", "Leg.L",
			"Toe1_2.L", "Toe1_1.L",
			"Thigh.R", "Raven_COG",
			"Leg.R", "Thigh.R",
			"Toe2_1.R", "Leg.R",
			"Toe2_2.R", "Toe2_1.R",
			"Toe4_1.R", "Leg.R",
			"Toe4_2.R", "Toe4_1.R",
			"Toe3_1.R", "Leg.R",
			"Toe3_2.R", "Toe3_1.R",
			"Toe1_1.R", "Leg.R",
			"Toe1_2.R", "Toe1_1.R",
			"Tail1", "Raven_COG",
			"Tail2", "Tail1",
			"Tail3", "Tail2",
			"Tail.R", "Tail2",
			"Tail.L", "Tail2"
		};
	};
};

class CfgModels
{
	class raven
	{
		skeletonName=Raven;
		sectionsInherit="";
		sections[]={"camo"};
		class Animations
		{
		};
	};
};

Details

Severity
Feature
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
General

Event Timeline

Hunterz created this task.Apr 13 2023, 12:24 PM
Geez changed the task status from New to Assigned.Apr 13 2023, 1:41 PM