Esempio n. 1
0
 protected override void AddInteractions(InteractionObjectPair iop, Sim actor, IViewable target, List <InteractionObjectPair> results)
 {
     foreach (string str in Sim.AnimationClipDataForCAS.sProductionAnimationClassification.Keys)
     {
         Sim.AnimationClipDataForCAS[] rcasArray;
         if (Sim.AnimationClipDataForCAS.sProductionAnimationClassification.TryGetValue(str, out rcasArray))
         {
             foreach (Sim.AnimationClipDataForCAS rcas in rcasArray)
             {
                 PlaySpecificAnimation.Definition interaction = new PlaySpecificAnimation.Definition(rcas.InGameTextForInteraction, rcas.AnimationClipName, ChaosModPainting.BuildPath(ChaosInteractionCategory.Animation, "Play Specific Animation...", str));
                 results.Add(new InteractionObjectPair(interaction, target));
             }
         }
     }
 }
Esempio n. 2
0
 public override string[] GetPath()
 {
     return(ChaosModPainting.BuildPath(ChaosInteractionCategory.Object));
 }
Esempio n. 3
0
 public override string[] GetPath()
 {
     return(ChaosModPainting.BuildPath(ChaosInteractionCategory.Sim, "Summon..."));
 }
Esempio n. 4
0
 protected override void AddInteractions(InteractionObjectPair iop, Sim actor, IViewable target, List <InteractionObjectPair> results)
 {
     string[] menuPath = ChaosModPainting.BuildPath(ChaosInteractionCategory.Animation, "CAS - Test Animations...");
     results.Add(new InteractionObjectPair(new PlayAnimation.Definition("Full Body Animation Suite", menuPath), target));
     results.Add(new InteractionObjectPair(new PlayAnimation.Definition("Face Animation Suite", menuPath), target));
 }