ND

From Portal Corps
Jump to navigation Jump to search

Explanation

.nd files are files that define the data and costumes NPCs use.

Sample

Excerpt from N_Abomination_01.nd

NPC "Abomination_01"
{
	DisplayName "Zombie"
	Class "Zombie"
	Level 1
	Rank 1
	XP 5

	Costume
	{
		EntTypeFile V_Abomination
		CostumeFilePrefix huge
		Scale 250
		BoneScale -0.6696
		ShoulderScale -0.3348
		ChestScale -0.4185
		WaistScale -0.3013
		HipScale -0.3348
		LegScale -0.1
		HeadScales  0,  0,  0
		BrowScales  0,  0,  0
		CheekScales  0,  0,  0
		ChinScales  0,  0,  0
		CraniumScales  0,  0,  0
		JawScales  0,  0,  0
		NoseScales  0,  0,  0
		SkinColor  255, 255, 255
		CostumePart "Chest"
		{
			Geometry "N_Abomination_Chest.GEO/GEO_Chest_Abomination_01"
			Texture1 "!Mega_Zombie_Chest_02"
			Texture2 "!Mega_Zombie_Chest_02_Mask"
			Color1 40, 30, 10
			Color2 150, 150, 150
		}

		CostumePart "Pants"
		{
			Geometry "N_Abomination_Hips.GEO/GEO_Hips_Abomination_01"
			Texture1 "!Mega_Zombie_Hips_01"
			Texture2 "!Mega_Zombie_Hips_01_Mask"
			Color1 150, 150, 150
			Color2 150, 150, 150
		}

		CostumePart "Skirt"
		{
			Geometry "V_Mega_Zombie_Skirt.GEO/GEO_Skirt_Mega_Zombie_01"
			Texture1 "!Mega_Zombie_Skirt_01"
			Texture2 "!Mega_Zombie_Skirt_01_Mask"
			Color1 40, 30, 10
			Color2 20, 20, 10
		}

		CostumePart "Gloves"
		{
			Geometry "N_Abomination_Glove.GEO/GEO_LarmR_Abomination_01"
			Texture1 "!X_Glove_Abomination_01"
			Texture2 "!Abomination_Emblem_01_Mask"
			Color1  225, 200, 175
			Color2  175, 150, 125
		}

		CostumePart "Belt"
		{
			Geometry "N_Abomination_Belt.GEO/GEO_Belt_Abomination_01"
			Texture1 "!X_Boot_Abomination_01"
			Texture2 "!Abomination_Boot_01_Mask"
			Color1  225, 200, 175
			Color2  175, 150, 125
		}

		CostumePart "Head"
		{
			Geometry "N_Abomination_Head.GEO/GEO_Head_Abomination_01"
			Texture1 "!X_Head_Abomination_01"
			Texture2 "!Abomination_Head_01_Mask"
			Color1  255, 255, 225
			Color2  225, 200, 175
		}

		CostumePart "Boots"
		{
			Geometry "N_Abomination_Boot.GEO/GEO_LlegL_Abomination_01"
			Texture1 !Mega_Zombie_Boot_01
			Texture2 none
			Color1  150, 150, 150
			Color2  150, 150, 150
		}

		CostumePart "Hair"
		{
			Geometry NONE // "V_Mega_Zombie_Hair.GEO/GEO_Hair"
			Texture1 "!Foreshadow_hair"
			Texture2 "!Foreshadow_hair_Mask"
			Color1 255, 255, 255
			Color2 255, 200, 200
		}
		CostumePart Shoulders
		{
			Geometry NONE // "V_Mega_Zombie_SpadR.GEO/GEO_SpadR_Mega_Zombie_01"
			Texture1 !Mega_Zombie_SpadR_01
			Texture2 !Mega_Zombie_SpadR_01_Mask
			Color1  50, 30, 30
			Color2  180, 180, 150
		}

		CostumePart ChestDetail
		{
			Geometry "N_Abomination_Emblem.GEO/GEO_Emblem_Abomination_01"
			Texture1 "!X_Emblem_Abomination_01"
			Texture2 "!Abomination_Emblem_01_Mask"
			Color1  225, 200, 175
			Color2  175, 150, 125
		}
	}
}