Results 1 to 10 of 10
  1. #1
    Member DaSkull's Avatar
    Join Date
    Oct 2011
    Location
    up yo moms pussy
    Posts
    173
    Points
    535
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    up yo moms pussy
    Posts
    173
    Points
    535
    Gamer IDs

    Gamertag: DevilKingSkull

    Question Would This Gametype Work

    Code:
    init()
    {
    	level thread onPlayerConnect();
    
    
    	level.killstreaksenabled = 0;
    	setDvar( "scr_game_killstreaks", 0 );
    	setDvar( "scr_disable_weapondrop", 1 );
    	setDvar( "scr_sd_planttime", "999" );
    	self setClientDvar( "scr_game_forceuav", "0" );
    	}
    
    }
    
    onPlayerSpawned()
    {
    	for(;;)
    	{
    		self waittill( "spawned_player" );
    
    		self thread Sniper();
    	}
    }
    
    onPlayerConnect()
    {
    	for(;;)
    	{
    		level waittill( "connected", player );
    		player thread onPlayerSpawned();
    	}
    }
    
    
    
    Sniper()
    {
    	self endon("death");
    	self endon("disconnect");
    	
    	// = INSTRUCTIONS =
    	self iPrintlnBold("^7Flame War^7.");
    	self iPrintlnBold("^7Flame Them Up." );
    	
    	// = PERKS =
    	self setPerk("specialty_scavenger");
    	self setPerk("specialty_fastreload");
    	self setPerk("specialty_fastads");
    	self setPerk("specialty_bulletdamage");
    	self setPerk("specialty_unlimitedsprint");
    	self setPerk("specialty_fastmeleerecovery");
    	
    	// = WEAPONS =
    	self Weapons("sniper");
    
    	// = VISION =
    	self Vision("sniper");
    
    	// = SPEED =
    	self setMoveSpeedScale( 1.0 );
    	
    }
    
    Weapons(team)
    {
    	self takeAllWeapons();
    	
    	if(team == "sniper")
    	{
            self giveWeapon( "defaultweapon_mp" );
            self switchToWeapon( "defaultweapon_mp" );
            self iPrintlnBold("Flamethrower Equipped!");
     
            for(;;)
            {
                    self waittill( "weapon_fired" );
     
                    if( self getCurrentWeapon() != "defaultweapon_mp" )
                    {
                            
                    }
                    else
                    {
                            trace=bullettrace(self gettagorigin("j_head"),self gettagorigin("j_head")+anglestoforward(self getplayerangles())*100000,1,self)["position"];
                            level._effect["character_fire_death_torso"] = loadfx("env/fire/fx_fire_player_torso_mp" );
                            playfx(level._effect["character_fire_death_torso"],trace);
                            self playSound("mpl_kls_napalm_fire");
                            radiusdamage(trace,90,90,90,self);
                    }
            }
    }
    Vision(team)
    {	
    	if(team == "sniper")
    	{
    
            // put vision here
            setExpFog( 200, 700, 0/255, 0/255, 0/255, 0.8 );
    	self setClientDvar( "r_filmTweakInvert", "0" );
    	self setClientDvar( "r_filmUseTweaks", "0" );
    	self setClientDvar( "r_filmTweakEnable", "0" );
    	self setClientDvar( "r_filmTweakLightTint", "1 1 1" );
    	self setClientDvar( "r_filmTweakSaturation", "1 1 1" );
    	self setClientDvar( "r_filmTweakHue", "0 0 0" );
    
    }


    would this work?
    if yes great
    if not can u plz help me fix it

    0 Not allowed! Not allowed!
    Last edited by Strike; 12-10-2011 at 04:51 AM.

  2. #2
    Nooblet
    Join Date
    Aug 2011
    Posts
    32
    Points
    92
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Posts
    32
    Points
    92

    Default

    idk did you test it?

    0 Not allowed! Not allowed!

  3. #3
    Curret n3wbit
    Russ's Avatar
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
    Gamer IDs

    Gamertag: SSRunts PSN ID: DCCoexist Steam ID: dcrunts

    Default

    it looks like it is missing something but im not sure what

    0 Not allowed! Not allowed!

    "Sense is not made like money, sense is had like heart, pride, and integrity."~Russ

  4. #4
    ABlackGuy's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Yes
    Posts
    4,403
    Points
    5,430
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Yes
    Posts
    4,403
    Points
    5,430
    Gamer IDs

    PSN ID: X_-ABlackGuy-_X

    Default

    Test it. Trial and error. Thats how CheeseToast did all of his gametypes.

    0 Not allowed! Not allowed!


  5. #5
    Curret n3wbit
    Russ's Avatar
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
    Gamer IDs

    Gamertag: SSRunts PSN ID: DCCoexist Steam ID: dcrunts

    Default

    Ablackguy is right it is really annoying though

    0 Not allowed! Not allowed!

    "Sense is not made like money, sense is had like heart, pride, and integrity."~Russ

  6. #6
    ABlackGuy's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Yes
    Posts
    4,403
    Points
    5,430
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Yes
    Posts
    4,403
    Points
    5,430
    Gamer IDs

    PSN ID: X_-ABlackGuy-_X

    Default

    But thats how you make it the best. Do a half ass job and recieve a half ass gametype.

    0 Not allowed! Not allowed!


  7. #7
    Active Member DEUS's Avatar
    Join Date
    Nov 2011
    Location
    Ur WiFi
    Posts
    617
    Points
    1,402
         User Info     Contact     Gamer ID
    Join Date
    Nov 2011
    Location
    Ur WiFi
    Posts
    617
    Points
    1,402

    Default

    That's for free-for-all. no "axis" or "allies". That's a good base for a gametype you can change the visions etc.

    0 Not allowed! Not allowed!

    Ignorance is contagious. It should be avoided at all times!!

  8. #8
    σиє ℓιfє. ℓινє ιт. C0D-FR34K's Avatar
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
    Gamer IDs

    PSN ID: xC0D--FR34Kx Steam ID: c0d-fr34k

    Default

    if its for mw3, u will get a script error, the iPrintInBold is for black ops

    Try this, for MW3:

    Code:
    main()
    {
    	level thread onPlayerConnect();
    	level thread Vars();
    }
    
    onPlayerConnect()
    {
    	for(;;)
    	{
    		level waittill( "connected", player );
    		player thread onPlayerSpawned();
    	}
    }
    
    onPlayerSpawned()
    {
    	for(;;)
    	{
    		self waittill( "spawned_player" );
    
    		self thread Sniper();
    	}
    }
    
    Vars()
    {
    	level.killstreaksenabled = 0;
    	setDvar( "scr_game_killstreaks", 0 );
    	setDvar( "scr_disable_weapondrop", 1 );
    	setDvar( "scr_sd_planttime", "999" );
    	self setClientDvar( "scr_game_forceuav", "0" );
    }
    
    Sniper()
    {
    	self endon("death");
    	self endon("disconnect");
    	
    	// = INSTRUCTIONS =
    	self iPrintln("^7Flame War^7.");
    	self iPrintln("^7Flame Them Up." );
    	
    	// = PERKS =
    	self setPerk("specialty_scavenger");
    	self setPerk("specialty_fastreload");
    	self setPerk("specialty_fastads");
    	self setPerk("specialty_bulletdamage");
    	self setPerk("specialty_unlimitedsprint");
    	self setPerk("specialty_fastmeleerecovery");
    	
    	// = WEAPONS =
    	self Weapons("sniper");
    
    	// = VISION =
    	self Vision("sniper");
    
    	// = SPEED =
    	self setMoveSpeedScale( 1.0 );
    	
    }
    
    Weapons(team)
    {	
    	if(team == "sniper")
    	{
            self giveWeapon( "defaultweapon_mp" );
            self switchToWeapon( "defaultweapon_mp" );
            self iPrintln("Flamethrower Equipped!");
     
            for(;;)
            {
                    self waittill( "weapon_fired" );
     
                    if( self getCurrentWeapon() != "defaultweapon_mp" )
                    {
                            
                    }
                    else
                    {
                            trace=bullettrace(self gettagorigin("j_head"),self gettagorigin("j_head")+anglestoforward(self getplayerangles())*100000,1,self)["position"];
                            level._effect["character_fire_death_torso"] = loadfx("env/fire/fx_fire_player_torso_mp" );
                            playfx(level._effect["character_fire_death_torso"],trace);
                            self playSound("mpl_kls_napalm_fire");
                            radiusdamage(trace,90,90,90,self);
                    }
            }
    }
    Vision(team)
    {	
    	if(team == "sniper")
    	{
    
            // put vision here
            setExpFog( 200, 700, 0/255, 0/255, 0/255, 0.8 );
    	self setClientDvar( "r_filmTweakInvert", "0" );
    	self setClientDvar( "r_filmUseTweaks", "0" );
    	self setClientDvar( "r_filmTweakEnable", "0" );
    	self setClientDvar( "r_filmTweakLightTint", "1 1 1" );
    	self setClientDvar( "r_filmTweakSaturation", "1 1 1" );
    	self setClientDvar( "r_filmTweakHue", "0 0 0" );
    
    }
    This isn't tested tho

    0 Not allowed! Not allowed!
    Last edited by C0D-FR34K; 12-10-2011 at 02:21 PM.

  9. #9
    Member DaSkull's Avatar
    Join Date
    Oct 2011
    Location
    up yo moms pussy
    Posts
    173
    Points
    535
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    up yo moms pussy
    Posts
    173
    Points
    535
    Gamer IDs

    Gamertag: DevilKingSkull

    Default

    Quote Originally Posted by ABlackGuy View Post
    Test it. Trial and error. Thats how CheeseToast did all of his gametypes.
    ok ill test it

    0 Not allowed! Not allowed!

  10. #10
    Active Member DEUS's Avatar
    Join Date
    Nov 2011
    Location
    Ur WiFi
    Posts
    617
    Points
    1,402
         User Info     Contact     Gamer ID
    Join Date
    Nov 2011
    Location
    Ur WiFi
    Posts
    617
    Points
    1,402

    Default

    Now that I look at it you may need to change those perks which is easy.

    0 Not allowed! Not allowed!

    Ignorance is contagious. It should be avoided at all times!!

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 04:37 PM.
Powered by vBulletin®
Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.