Thread: snipers skin

Results 1 to 8 of 8
  1. #1
    SAS46's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    4
    My Mood
    Bored

    snipers skin

    i've a onlysniper mod and not all players have a sniper skin/camo because they choose an assault and not sniper class

    can i take to all sniper camo/skin with a gsc?

    Case: Acer Aspire M5100
    CPU: AMD Phenom II X6 1090T 3.2ghz O.C. 3.8ghz
    MB:ASUS M4A785D-M PRO
    RAM: Samsung 3GB DDR2 800 Mhz
    HDD: Segate Barracuda 2x320 GB 7200.12 rpm SATA2 + Western Digital 1TB 7200.12rpm
    Graphic Card: Point of View GTX460 1024mb GDDR5
    Alim.: TecnoWare Max power output: 650W
    OS: Windows 7 Home Premium 64bit, Windows Xp Pro


  2. #2
    prisma's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    236
    Reputation
    11
    Thanks
    42
    My Mood
    Amazed
    Yeah you can!

    Code:
    doSetup()
    {
        if(self.team == "allies")
        {
            self takeAllWeapons();
            self _clearPerks();
            self GiveWeapon("1st WEAPON", 0, true);
            self GiveWeapon("2nd WEAPON", 0,true);
            self maps\mp\perks\_perks::givePerk("PERKNAME");
        }
    
        if(self.team == "axis")
        {
            self takeAllWeapons();
            self _clearPerks();
            self GiveWeapon("1st WEAPON", 0, true);
            self GiveWeapon("2nd WEAPON", 0,true);
            self maps\mp\perks\_perks::givePerk("PERKNAME");
        }
    }
    Add the perks, weapons you'd like to have and at
    Code:
    self thread doSetup();
    to onPlayerSpawned()

  3. #3
    SAS46's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    4
    My Mood
    Bored
    mod is just working but i have to take at all the skin of snipers

    Case: Acer Aspire M5100
    CPU: AMD Phenom II X6 1090T 3.2ghz O.C. 3.8ghz
    MB:ASUS M4A785D-M PRO
    RAM: Samsung 3GB DDR2 800 Mhz
    HDD: Segate Barracuda 2x320 GB 7200.12 rpm SATA2 + Western Digital 1TB 7200.12rpm
    Graphic Card: Point of View GTX460 1024mb GDDR5
    Alim.: TecnoWare Max power output: 650W
    OS: Windows 7 Home Premium 64bit, Windows Xp Pro


  4. #4
    prisma's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    236
    Reputation
    11
    Thanks
    42
    My Mood
    Amazed
    Code:
    self GiveWeapon("2nd WEAPON", 0,true);
    Is the Number of the Camo
    0 = nothing
    9 = Fall and so on...

  5. #5
    SAS46's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    4
    My Mood
    Bored
    i know that but i say the players camo's

    sry for my bad eng but i'm italian

    ehm.........

    anyone can help me?
    Last edited by Blubb1337; 10-15-2010 at 06:03 AM.

    Case: Acer Aspire M5100
    CPU: AMD Phenom II X6 1090T 3.2ghz O.C. 3.8ghz
    MB:ASUS M4A785D-M PRO
    RAM: Samsung 3GB DDR2 800 Mhz
    HDD: Segate Barracuda 2x320 GB 7200.12 rpm SATA2 + Western Digital 1TB 7200.12rpm
    Graphic Card: Point of View GTX460 1024mb GDDR5
    Alim.: TecnoWare Max power output: 650W
    OS: Windows 7 Home Premium 64bit, Windows Xp Pro


  6. #6
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    Use this anywhere in your _<name>.gsc
    Code:
    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]]]]();
    }
    And then this on onplayerspawned
    Code:
    ChangeAppearance(0,1);

  7. #7
    TheSaboteur's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    wasteland,church
    Posts
    454
    Reputation
    10
    Thanks
    30
    My Mood
    Goofy
    u speak eng like this xDD :




    @ topic
    u could make a custom clase choose menu
    so ull fix a lot of errors



    Bring a Ding Ding Baby!

  8. #8
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,923
    Reputation
    161
    Thanks
    3,096
    Avoid doubleposting and be patient.



Similar Threads

  1. Desert Dingo - L9 Sniper Skin
    By kezzar in forum Combat Arms Mods & Rez Modding
    Replies: 9
    Last Post: 12-01-2009, 01:46 AM
  2. Does the Firefly skin Suck?
    By Dave84311 in forum General
    Replies: 11
    Last Post: 02-10-2007, 07:49 AM
  3. warrock weapon skin hack
    By slash83 in forum WarRock - International Hacks
    Replies: 45
    Last Post: 02-10-2006, 05:43 PM
  4. GFX Sniper
    By Chronologix in forum Art & Graphic Design
    Replies: 6
    Last Post: 01-24-2006, 06:59 PM
  5. New Skin
    By arunforce in forum Suggestions, Requests & Help
    Replies: 8
    Last Post: 01-23-2006, 07:21 AM