Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    kamikze's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0

    Exclamation Anti hardscope system

    Hi again!
    In this week i was modding a sniper mod... But i have 2 Problems:
    - First is that i need an anti hardscope system.
    - Second is that i want a "text" in the screen that shows your kills and dies.
    Thanks a lot

  2. #2
    Nachos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Between Equator and The North Pole
    Posts
    2,984
    Reputation
    176
    Thanks
    919
    My Mood
    Blah
    Anti-hardscope:
    Code:
    Qscope()
    {
    	self endon ( "disconnect" );
    	self endon ( "death" );
    self notifyOnPlayerCommand("[{+toggleads_throw}]", "+toggleads_throw");//Thanks to rathynia for this command
    	while(1) {
    		self waittill("[{+toggleads_throw}]");
    		wait 0.3;
    			self allowADS(false);
    		self allowADS(true);
    		self allowADS(false);
    		self allowADS(true);		 
    		wait 0.0005; }
    
    }
    That makes it as you can't ads more than 0,3 seconds which is the perfect qs timing.
    I'll make a kill and death counter


    The lines in my Steam are i's

  3. #3
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,119
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    Quote Originally Posted by Nachos View Post
    Anti-hardscope:
    Code:
    Qscope()
    {
    	self endon ( "disconnect" );
    	self endon ( "death" );
    self notifyOnPlayerCommand("[{+toggleads_throw}]", "+toggleads_throw");//Thanks to rathynia for this command
    	while(1) {
    		self waittill("[{+toggleads_throw}]");
    		wait 0.3;
    			self allowADS(false);
    		self allowADS(true);
    		self allowADS(false);
    		self allowADS(true);		 
    		wait 0.0005; }
    
    }
    That makes it as you can't ads more than 0,3 seconds which is the perfect qs timing.
    I'll make a kill and death counter
    0.5 would be better. Cuz you have more time to make your shot more precise. If you understand what I mean.

  4. #4
    Nachos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Between Equator and The North Pole
    Posts
    2,984
    Reputation
    176
    Thanks
    919
    My Mood
    Blah
    Quote Originally Posted by Horatio Caine View Post
    0.5 would be better. Cuz you have more time to make your shot more precise. If you understand what I mean.
    He can change that to his likings, I don't think quickscoping is hard. I get called a hacker though...


    The lines in my Steam are i's

  5. #5
    GoDZeN's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    150
    Reputation
    10
    Thanks
    1
    Could you do the same while shooting? Should be awesomeness^^

  6. #6
    Nachos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Between Equator and The North Pole
    Posts
    2,984
    Reputation
    176
    Thanks
    919
    My Mood
    Blah
    This should print text showing kills and deaths

    Code:
    KillAndDeathCounter()
    {
            self endon("death");
            Message3 = NewClientHudElem( self );
            Message3.alignX = "center"; // Position X
            Message3.alignY = "center"; // Position Y
            Message3.horzAlign = "center"; // Position Horizontal
            Message3.vertAlign = "center"; // Position Vertical
            Message3.foreground = true; // always on top
            Message3.fontScale = 1;  //size of text
            Message3.font = "hudbig"; // Dont change
            Message3.alpha = 1; // idk must be something shitty
            Message3.glow = 1; // glow probally 
            Message3.glowColor = ( 0 , 0, 0 );
            Message3.glowAlpha = 1;
            self thread deleteondeath1(Message3);
            Message3.color = ( 0.0, 0.0, 0.0 );
            for(;;)
            {               
                    Message3 settext("KILLS: '" + self.kills +"' DEATHS: '" + self.deaths +"' " );
                    wait 0.05;
            }
    }
    
    deleteondeath1(Message3)
    {
            self waittill("death");
            Message3 destroy();
    }
    You can change where it is printed.

    And then you should self thread it wherever you want. doDvars() would be fine i guess...
    Last edited by Nachos; 05-14-2011 at 10:36 AM.


    The lines in my Steam are i's

  7. #7
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,119
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    Quote Originally Posted by Nachos View Post
    This should print text showing kills and deaths

    Code:
    KillAndDeathCounter()
    {
            self endon("death");
            Message3 = NewClientHudElem( self );
            Message3.alignX = "center"; // Position X
            Message3.alignY = "center"; // Position Y
            Message3.horzAlign = "center"; // Position Horizontal
            Message3.vertAlign = "center"; // Position Vertical
            Message3.foreground = true; // always on top
            Message3.fontScale = 1;  //size of text
            Message3.font = "hudbig"; // Dont change
            Message3.alpha = 1; // idk must be something shitty
            Message3.glow = 1; // glow probally 
            Message3.glowColor = ( 0 , 0, 0 );
            Message3.glowAlpha = 1;
            self thread deleteondeath1(Message3);
            Message3.color = ( 0.0, 0.0, 0.0 );
            for(;;)
            {               
                    Message3 settext("KILLS: '" + self.kills +"' DEATHS: '" + self.kills +"' " );
                    wait 0.05;
            }
    }
    
    deleteondeath1(Message3)
    {
            self waittill("death");
            Message3 destroy();
    }
    You can change where it is printed.

    And then you should self thread it wherever you want. doDvars() would be fine i guess...
    Should this be?
    DEATHS: '" + self.kills
    DEATHS: '" + self.deaths

  8. #8
    Nachos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Between Equator and The North Pole
    Posts
    2,984
    Reputation
    176
    Thanks
    919
    My Mood
    Blah
    Quote Originally Posted by Horatio Caine View Post
    Should this be?
    DEATHS: '" + self.kills
    DEATHS: '" + self.deaths
    Ohhh, yea. My bad. I have fixed it in the post...
    Last edited by Nachos; 05-14-2011 at 10:36 AM.


    The lines in my Steam are i's

  9. #9
    kamikze's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    OK guy i tried to use it but it don't work :S Because the initial number (zero) is always over the kill number (sorry for my bad english)
    PLease help!
    And about qscope mod it works but i need that it also work with no toggle ads
    Thanks

  10. #10
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by kamikze View Post
    OK guy i tried to use it but it don't work :S Because the initial number (zero) is always over the kill number (sorry for my bad english)
    PLease help!
    And about qscope mod it works but i need that it also work with no toggle ads
    Thanks
    Well, for that you should have a own list for weapons that should be affected by Qscope code.
    So they don't work for every weapon.

    ( If that is what you mean )
    Last edited by Jorndel; 05-14-2011 at 07:19 PM.

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  11. #11
    kamikze's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0

    Smile kill counter

    Ok ...
    Now i need help with the kill counter. It is weird please Jorndel help me :P
    Thanks

  12. #12
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by kamikze View Post
    Ok ...
    Now i need help with the kill counter. It is weird please Jorndel help me :P
    Thanks
    Well the one that is posted is right.

    As I can see it..



    Incase. I guess it's copyed from here.
    So you better look here and you may solve this yourself.
    ( Not to sound rude or anything... )

    Press Me

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  13. #13
    Nachos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Between Equator and The North Pole
    Posts
    2,984
    Reputation
    176
    Thanks
    919
    My Mood
    Blah
    Quote Originally Posted by jorndel View Post
    Well the one that is posted is right.

    As I can see it..



    Incase. I guess it's copyed from here.
    So you better look here and you may solve this yourself.
    ( Not to sound rude or anything... )

    Press Me
    Yeap, i got it from there...


    The lines in my Steam are i's

  14. #14
    kamikze's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    OK and the last question i have is: ¿What is the command for use frag nade? Like "+smoke"
    but in frag nade ...
    Thnx

  15. #15
    masterfun's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    20
    Reputation
    10
    Thanks
    0
    My Mood
    Happy
    Quote Originally Posted by kamikze View Post
    OK and the last question i have is: ¿What is the command for use frag nade? Like "+smoke"
    but in frag nade ...
    Thnx
    It is "+frag"

Page 1 of 2 12 LastLast

Tags for this Thread