Skip to content
  • 0 Unread 0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse

Plutonium

  1. Home
  2. MW3 Modding Support & Discussion
  3. I need a GSC by anticamp

I need a GSC by anticamp

Scheduled Pinned Locked Moved MW3 Modding Support & Discussion
2 Posts 2 Posters 349 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Yosmanyundefined Offline
    Yosmanyundefined Offline
    Yosmany
    wrote on last edited by Yosmany
    #1

    Hello, if someone has a gsc from aticamp, I need it to be able to download it for me, to implement it on my server.

    Kalitosundefined 1 Reply Last reply
    0
    • Yosmanyundefined Yosmany

      Hello, if someone has a gsc from aticamp, I need it to be able to download it for me, to implement it on my server.

      Kalitosundefined Offline
      Kalitosundefined Offline
      Kalitos
      wrote on last edited by
      #2

      Yosmany

      
      
      #include maps\mp\_utility;
      #include common_scripts\utility;
      #include maps\mp\gametypes\_hud_util;
      //#include maps\mp\gametypes\_hud_message;
      
      init()
      {		
          level thread onPlayerConnect();
      }
      
      onPlayerConnect()
      {
          for(;;)
          {
              level waittill("connected", player);
              player thread onPlayerSpawned();
          }
      }
      
      onPlayerSpawned()
      {
          self endon("disconnect");
      	level endon("game_ended");
          for(;;)
          {
              self waittill("spawned_player");       
      		self thread watch_anti_camp();
      		// Will appear each time when the player spawn, that's just an exemple.
      		//self iprintln("Black Ops 2 - GSC Studio | Project : ^2Anticamp MW3"); 
          }
      }
      
      watch_anti_camp()
      {
      	self endon("disconnect");
      	self endon("death");
      	self endon("joined_spectators");
      	level endon("destroy_bar");
      	level endon("game_ended");
      	//if(getintdvar("scr_anticamp"!=1)
      	//return;
      	self.camping = 0;
      	if(!isDefined(self.bar))
      	{
      		self.bar = self maps\mp\gametypes\_hud_util::createBar((1,1,1), 64, 8);
      		self.bar maps\mp\gametypes\_hud_util::setPoint("CENTER", undefined, 0, 230);
      	}
      	while(isAlive(self))
      	{
      		oldorg = self.origin;
      		wait .1;
      		if(distance(oldorg, self.origin) < 3.5)
      			self.camping += 0.015;
      		else
      			self.camping -= 0.0055;
      		if(self.camping > 1)
      			self.camping = 1;
      		else if(self.camping < 0)
      		self.camping = 0;
      		
      		self.bar maps\mp\gametypes\_hud_util::updateBar(self.camping);
      		if(self.camping == 1)
      		{
      			self iprintlnbold("^2Move ^7or you will be ^1killed!");
      			oldorg = self.origin;
      			wait 5;
      			if(distance(oldorg, self.origin) < 150)
      			{
      				self.bar maps\mp\gametypes\_hud_util::updateBar(0);
      				self.bar destroy();
      				self suicide();
      				level notify("destroy_bar");
      				
      			}
      		}
      	}
      }
      
      1 Reply Last reply
      1

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Unread 0
      • Recent
      • Tags
      • Popular
      • Users
      • Groups