Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static function UpdateAnimations(out array<AnimSet> CustomAnimSets, XComGameState_Unit UnitState, XComUnitPawn Pawn)
- {
- local XComContentManager Content;
- if(!UnitState.IsSoldier()) return;
- if (UnitState.GetSoldierClassTemplateName() == 'DRAKTEN_SkullRipper')
- {
- UnitState.kAppearance.iAttitude = 0;
- UnitState.UpdatePersonalityTemplate();
- Content = `CONTENT;
- CustomAnimSets.AddItem(AnimSet(Content.RequestGameArchetype("Soldier_ANIM.Anims.AS_Soldier")));
- CustomAnimSets.AddItem(AnimSet(Content.RequestGameArchetype("Templar_ANIM.Anims.AS_Templar")));
- CustomAnimSets.AddItem(AnimSet(Content.RequestGameArchetype("Soldier_Unarmed_ANIM.Anims.AS_UB_Soldier")));
- CustomAnimSets.AddItem(AnimSet(Content.RequestGameArchetype("Soldier_Unarmed_ANIM.Anims.AS_UB_Medkit")));
- CustomAnimSets.AddItem(AnimSet(Content.RequestGameArchetype("Soldier_Unarmed_ANIM.Anims.AS_UB_Skulljack")));
- CustomAnimSets.AddItem(AnimSet(Content.RequestGameArchetype("Templar_ANIM.Anims.AS_UB_Grenade")));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement