• 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Release] Tank Killstreak
#1
Wink 
Good afternoon

Today Rendflex and me, we are going to release the Tank killstreak V1, we are making a new V2, with improved sistems and optimized. About driving sistem, we had one but after testing I found that it crashes after sometime, so I putted SetModel, Sad. Aiming sistem is good.

You have 2 weapons:

Cannon, you press Right click to aim and you get a ac130 sight, shot and you get an accurate shot.

Turret, if you press R you get a cool mgturret to shot "infantry", you can only fire it during 7 seconds, then it dissapears(like a overheating, we are improving that too, we nearly finished that part)

I hope that you like it, it took lot of time to find model, I made at the end a code to find models and found it. Tongue. We made this for our zombie mod V2, well do release next weekend, so it has an aspect of a box, well make in Tank V2 a linking sistem, we wanted to release this soon so the code is not very good, is in Alpha stage. You can make a killstreak with this, a box(what he have) or make a Tank.gsc like we did, Tongue. Remember to precache in init the model: vehicle_m1a1_abrams_dmg



Code:
Tank(pos, angle)
{
    tank = spawn("script_model", pos );
    tank setModel("vehicle_m1a1_abrams_dmg");
    tank.angles = angle;
    tank Solid();
    tank CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
    tank.headIcon = newHudElem();
    tank.headIcon.x = tank.origin[0];
    tank.headIcon.y = tank.origin[1];
    tank.headIcon.z = tank.origin[2] + 50;
    tank.headIcon.alpha = 0.85;
    tank.headIcon setShader( "cardicon_tank_01", 2,2 );
    tank.headIcon setWaypoint( true, true, false );
              trigger = spawn( "trigger_radius", pos, 0, 50, 50 );
              trigger.angles = angle;
    trigger thread TankThink(pos, angle);
    wait 0.01;
}

TankThink(pos, angle)
{
    self endon("disconnect");
    tank = spawn("script_model", pos );
    tank setModel("vehicle_m1a1_abrams_dmg");
    tank.angles = angle;
    tank Solid();
    tank CloneBrushmodelToScriptmodel( level.airDropCrateCollision );


        while(1)
        {
                self waittill( "trigger", player );  
                if(player.tank != 1)    
                if(Distance(pos, Player.origin) <= 75){
                Player setLowerMessage("activate", "Press ^3[{+activate}]^7 to Drive Tank [^31750^7]" );}
                if(Distance(pos, Player.origin) >50){
                Player ClearLowerMessage("activate", 1);}
                if(Distance(pos, Player.origin) <= 75 && player.tank != 1 && player.cash >= 1750 && player useButtonPressed())
                {
                        player ClearLowerMessage("activate", 1);
                        player.cash -= 1750;
                        tank delete();
                        player thread Tanker();
                        wait 60;
                        player thread Exitted();    
                        wait 1;
                }
                else if(Distance(pos, Player.origin) <= 75 && player.tank != 1 && player.cash <= 1750 && player useButtonPressed())
                {
                        player iPrintln("You do not have enough points!");
                        wait 1;
                }
           wait .25;
        }  
}



Tanker()
{
        self endon ("death");
        self endon ("exitTank");

                            self setModel("vehicle_m1a1_abrams_dmg");
                         self _clearPerks();
                            self allowJump(false);
        self DisableWeaponSwitch();
        self _disableUsability();
                  self.moveSpeedScaler = 0.6;
        self setClientDvar("cg_thirdPerson", 1);
        self setClientDvar("cg_thirdPersonRange", "1024");
                            self thread TankAims();
                            self thread Turret();
                            self maps\mp\perks\_perks::givePerk("specialty_quieter");
}

TankAims()
{
    self endon ( "disconnect" );
    self endon ( "death" );
              self endon ("exitTank");

              self notifyOnPlayerCommand("[{+toggleads_throw}]", "+toggleads_throw");
    while(1)
             {
                            self takeAllWeapons();
        self waittill("[{+toggleads_throw}]");
        wait 0.3;
        self setClientDvar("cg_thirdPerson", 0);
                            self giveWeapon("ac130_40mm_mp", 0, false);
                            self switchToWeapon("ac130_40mm_mp");
                            self waittill( "weapon_fired" );
        self playSound( "bmp_fire" );
        self setClientDvar("cg_thirdPerson", 1);
                            self takeAllWeapons();
                            self giveWeapon("ac130_40mm_mp", 0, false);
                            self switchToWeapon("ac130_40mm_mp");
        wait 0.0005;
             }
}

Turret()
{
    self endon ( "disconnect" );
    self endon ( "death" );
    self endon ("exitTank");

              self EnableLinkTo();
              self notifyOnPlayerCommand( "T", "+reload");  

              for (;;)                
              {
                        self waittill( "T" );
                        Turret = spawnTurret( "misc_turret", self.origin+(50,0,50), "pavelow_minigun_mp" );
                        Turret LinkTo("self");
                        Turret setModel( "weapon_minigun" );
                        Turret.angles = self.angles;
                        Turret MakeUsable();
                        Turret useby(self);
                        Turret EnableLinkTo();
                        self PlayerLinkTo( Turret, 0.5 );
                        wait 7;
                        Turret delete();
                        self Unlink(Turret);
              }
}

ChangeAppearance(Type,MyTeam)
{
    ModelType=[];
    ModelType[0]="GHILLIE";
    ModelType[1]="SNIPER";
    ModelType[2]="LMG";
    ModelType[3]="ASSAULT";
    ModelType[4]="SHOTGUN";
    ModelType[5]="SMG";
    ModelType[6]="RIOT";
    if(Type==7){MyTeam=randomint(2);Type=randomint(7);}
    team=get_enemy_team(self.team);if(MyTeam)team=self.team;
    self detachAll();
    [[game[team+"_model"][ModelType[Type]]]]();
}

Exitted()
{
                            self thread ChangeAppearance(5,1);
        self setClientDvar("cg_thirdPerson", 0);
                            self giveWeapon("ump45_mp");
                            self giveWeapon("spas12_mp");
                            self switchToWeapon("ump45_mp");
                  self.moveSpeedScaler = 1;
                            self allowJump(true);
                            self allowSprint(true);
                            self notify ("exitTank");
}

Thanks for reading, Big Grin

  Reply
#2
realy nice
  Reply
#3
Thats pretty damn sexy.
  Reply
#4
I have wanted to do something like this for black ops =\ anybody know if there is a tank model?
[Image: shotgun21970001.jpg]
Made By IMTHEBOSS
  Reply
#5
(03-17-2011, 22:01)Sh0tGuN2197 Wrote: I have wanted to do something like this for black ops =\ anybody know if there is a tank model?

Try this ones, I havent tried, but I dont think that they would work, it could be great, Tongue

Code:
"vehicle_ger_tracked_panzer4_mp"
"vehicle_usa_tracked_sherman_m4a3_mp"
"vehicle/exhaust/fx_exhaust_t34"
"vehicle/exhaust/fx_exhaust_t97"
  Reply
#6
Wo gehren diese codes hin? kann mir das wer erklren?

sry bin neu Smile
  Reply
#7
(03-24-2011, 17:56)NikeRapid Wrote: Wo gehren diese codes hin? kann mir das wer erklren?

sry bin neu Smile

english please, read your previous thread. thanks
  Reply
#8
(03-24-2011, 18:16)d0h! Wrote:
(03-24-2011, 17:56)NikeRapid Wrote: Wo gehren diese codes hin? kann mir das wer erklren?

sry bin neu Smile

english please, read your previous thread. thanks

Where i must copy the code to?
  Reply
#9
(03-24-2011, 18:46)NikeRapid Wrote:
(03-24-2011, 18:16)d0h! Wrote:
(03-24-2011, 17:56)NikeRapid Wrote: Wo gehren diese codes hin? kann mir das wer erklren?

sry bin neu Smile

english please, read your previous thread. thanks

Where i must copy the code to?

seriously, 2nd time that i tell you to read my post:

http://www.itsmods.com/forum/Thread-Wo-m...5#pid12535
  Reply
#10
Hello

I am going to start improving this, we are 2 making it, if somebody wants to help PM me, Wink
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Dead Ops arcade tank in mutliplayer? Erik The Born 20 9,780 10-29-2013, 16:49
Last Post: Erik The Born
  Duration killstreak The Tronuo 2 2,560 07-12-2013, 18:33
Last Post: The Tronuo
  Preview Tank Killstreak Yamato 16 9,534 05-27-2013, 14:47
Last Post: Yamato
  [GSC] All Weapon/Camo/Perk/Killstreak Names DEREKTROTTER 33 24,159 01-30-2013, 15:26
Last Post: 99IRock
  [Request] Give KillStreak yuri8597 1 2,278 10-29-2012, 01:31
Last Post: DidUknowiPwn
  [Request] weapon/killstreak giver jari333 2 2,454 10-17-2012, 18:56
Last Post: OzonE
  Killstreak On/Off codehelp RaZ 13 6,312 06-20-2012, 09:47
Last Post: RaZ
  [Tutorial] Killstreak list Yamato 0 2,402 06-08-2012, 12:25
Last Post: Yamato
  Anti Killstreak Editing AboAlwe 5 3,875 04-28-2012, 11:00
Last Post: schoerg
  [Request] Killstreak delay time Dumas 2 2,490 04-18-2012, 23:18
Last Post: Dumas

Forum Jump:


Users browsing this thread: 1 Guest(s)