# Where do I begin to make a variant system Like Total War

**URL:** <https://forums.unrealengine.com/t/where-do-i-begin-to-make-a-variant-system-like-total-war/409963>\
**Category:** Blueprint\
**Tags:** coding, unreal-engine, meshes, Blueprint, question\
**Created:** [November 18, 2017, 4:56pm UTC](https://forums.unrealengine.com/t/where-do-i-begin-to-make-a-variant-system-like-total-war/409963 "2017-11-18T16:56:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lonestanding27](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lonestanding27/32/627066_2.png) [@Lonestanding27](https://forums.unrealengine.com/u/Lonestanding27)\
**Post date:** [November 18, 2017, 4:56pm UTC](https://forums.unrealengine.com/t/where-do-i-begin-to-make-a-variant-system-like-total-war/409963/1 "2017-11-18T16:56:44Z")

</div>

Hello everyone, I have a quick question. I am new to learning how to make games here on Unreal, I’m trying to learn how to make a variant system very similar to Total War. For I was trying to create a Blueprint for my units to able to be customizable, but with the selection have variants of the type of weapons and armor the unit uses. For Total War’s System use what are called “variant definition files” where it lists the different meshes used for the unit you are designing. Here is a example of the code for the file that I’m talking about:

```
> <VARIANT_MESH> <SLOT name="body" >
> <VARIANT_MESH_REFERENCE
> definition="VariantMeshes/VariantMeshDefinitions/se_state_troops_base.VariantMeshDefinition"
> /> </SLOT> <SLOT name="weapon_1"
> attach_point="be_prop_0" /> <SLOT
> name="weapon_2"
> attach_point="be_prop_1" >
> <VARIANT_MESH_REFERENCE
> definition="VariantMeshes/VariantMeshDefinitions/emp_state_troops_spears_1h_set1.VariantMeshDefinition" /> </SLOT> <SLOT name="shield"
> attach_point="be_prop_2" >
> <VARIANT_MESH_REFERENCE
> definition="VariantMeshes/VariantMeshDefinitions/emp_state_troops_shields_set1.VariantMeshDefinition"
> /> </SLOT> <SLOT name="weapon_3"
> attach_point="be_prop_3" /> <SLOT
> name="weapon_4"
> attach_point="be_prop_4" /> <SLOT
> name="weapon_5"
> attach_point="be_prop_5" />
> </VARIANT_MESH>

```

I’m just wondering How that would work in Blueprint, and if there are tutorals speaking on such a thing. Thank you for your time.  
LOS27

---

<div class="post-metadata">

**Author:** ![Lonestanding27](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lonestanding27/32/627066_2.png) [@Lonestanding27](https://forums.unrealengine.com/u/Lonestanding27)\
**Post date:** [November 22, 2017, 5:19pm UTC](https://forums.unrealengine.com/t/where-do-i-begin-to-make-a-variant-system-like-total-war/409963/2 "2017-11-22T17:19:03Z")

</div>

Anyone???
