コード例 #1
0
ファイル: WebSwing.cs プロジェクト: sollaholla/Spider-Man-2.0
 /// <summary>
 ///     The main constructor.
 /// </summary>
 public WebSwing(SpiderManProfile profile) : base(profile)
 {
     // Request our animations.
     Streaming.RequestAnimationDictionary("skydive@parachute@");
     Streaming.RequestAnimationDictionary("missrappel");
     Streaming.RequestAnimationDictionary("swimming@swim");
     Streaming.RequestAnimationDictionary("move_fall");
     new Model("bmx").Request();
 }
コード例 #2
0
 public WallCrawl(SpiderManProfile profile) : base(profile)
 {
     // Request our thingys.
     Streaming.RequestAnimationDictionary("swimming@swim");
     Streaming.RequestAnimationDictionary("move_crouch_proto");
     Streaming.RequestAnimationDictionary("laddersbase");
     Streaming.RequestAnimationDictionary("move_m@brave");
     new Model("w_pi_pistol").Request();
 }
コード例 #3
0
ファイル: Melee.cs プロジェクト: sollaholla/Spider-Man-2.0
 /// <summary>
 ///     The main constructor.
 /// </summary>
 public Melee(SpiderManProfile profile) : base(profile)
 {
     Streaming.RequestAnimationDictionary("melee@unarmed@streamed_core");
     Streaming.RequestAnimationDictionary("anim@mp_snowball");
     Streaming.RequestAnimationDictionary("random@arrests");
     Streaming.RequestAnimationDictionary("swimming@swim");
     Streaming.RequestAnimationDictionary("weapons@projectile@");
     Profile.LocalUser.BlockPermanentEvents = true;
 }
コード例 #4
0
 public TazerWebs(SpiderManProfile profile) :
     base(profile)
 {
     Abilities = new List <SpecialAbility>
     {
         new WebZip(profile),
         new WebSwing(profile)
     };
     Streaming.RequestAnimationDictionary("ragdoll@human");
 }
コード例 #5
0
 /// <summary>
 ///     The main ctor.
 /// </summary>
 public WebAttachments(SpiderManProfile profile) : base(profile)
 {
     Streaming.RequestAnimationDictionary("guard_reactions");
     Streaming.RequestAnimationDictionary("move_crouch_proto");
     Streaming.RequestAnimationDictionary("amb@code_human_wander_texting@male@base");
     Streaming.RequestAnimationDictionary("weapons@projectile@");
     Streaming.RequestAnimationDictionary("swimming@swim");
     new Model("bmx").Request();
     BackgroundThread.RegisterTick(UpdateAttachments);
 }
コード例 #6
0
ファイル: WebZip.cs プロジェクト: sollaholla/Spider-Man-2.0
        /// <summary>
        ///     Called in the first tick of the main
        ///     script.
        /// </summary>
        public WebZip(SpiderManProfile profile) : base(profile)
        {
            // Make sure to request rope textures,
            // if they haven't already loaded.
            Rope.LoadTextures();

            // Request our animations.
            Streaming.RequestAnimationDictionary("weapons@projectile@");
            Streaming.RequestAnimationDictionary("move_fall");
            Streaming.RequestAnimationDictionary("swimming@swim");
            Streaming.RequestAnimationDictionary("amb@world_vehicle_police_carbase");
            Streaming.RequestAnimationDictionary("skydive@base");
            Streaming.RequestAnimationDictionary("move_crouch_proto");

            new Model("bmx").Request();
        }
コード例 #7
0
 public InstantKill(SpiderManProfile profile) :
     base(profile)
 {
     Streaming.RequestAnimationDictionary("melee@unarmed@base");
 }