Author Topic: no sound gun and invisibility ??  (Read 997 times)

0 Members and 1 Guest are viewing this topic.

malak-14

  • Intentional Cheater
  • **
  • Posts: 30
    • View Profile
no sound gun and invisibility ??
« on: June 14, 2012, 10:46:08 pm »
Hi all TKC , someone know if is possible to make a script for invisibility and no sound for gun or little sound like SD ??

how can i create a script like that ?

there is a tutorial for that ?

and if is possible to run very fast ??

thanks a lot to people help me , sorry for my bad english  :icon_biggrin2

darkrounge

  • Online Villain
  • ***
  • Posts: 166
    • View Profile
Re: no sound gun and invisibility ??
« Reply #1 on: June 15, 2012, 02:47:10 am »
To run fast, use teleport, bind it to a key and teleport short distances, thus making you move faster.
No sound gun, dunno about that, but if you sniper from a distance then it's no sound.

malak-14

  • Intentional Cheater
  • **
  • Posts: 30
    • View Profile
Re: no sound gun and invisibility ??
« Reply #2 on: June 15, 2012, 03:46:45 am »
thanks for your reply

i have try this for run fast but nothing work i need help  :icon_thumbsup

Code: [Select]
["_veh", "_player", "_speed", "_vel", "_dir"];

    //Le v?hicule en question:   
    _veh= this select 0;
    _player = player _veh;   
    //Vitesse min; c? partir de quelle vitesse on va donner un coup de pousse.
    _vitesse_min = 1;
    //Vitesse max; ? dire ? partir de quelle vitesse on stoppe le coup de pouce
    _vitesse_max = 10;
    //Vitesse du coup de pouce en km/h
    _speed = 2;

//On cr?e une premi?re boucle tant que notre v?hicule est en vie:
while {(alive _vehicle)} do {

//On patiente un peu (si on boucle trop rapidement, on risque de surcharger le p?c?)
sleep 0.1;
    //On cr?e une  nouvelle boucle tant que la vitesse du v?hicule est inf?rieur ? la vitesse max:
    while {(speed _vehicle) < _vitesse_max} do {   
    //On  cr?e un petite condition; faut que la vitesse de notre v?hicule soit inf?rieur ? la vitesse min et qu'il ne soit pas ? l'arr?t (ou presque)
    if((speed _vehicle) < _vitesse_min && (speed _vehicle) > 3) then {       
        //----> Issu du wiki BIS       
        _vel = velocity _player;
        _dir = direction _player;   
        _player setVelocity [(_vel select 0)+(sin _dir*_speed),(_vel select 1)+ (cos _dir*_speed),(_vel select 2)];
        sleep 0.1;
        };
    };
};

Gerk

  • Klass Klown
  • ***
  • Posts: 377
    • View Profile
Re: no sound gun and invisibility ??
« Reply #3 on: June 15, 2012, 11:05:06 pm »
thanks for your reply

i have try this for run fast but nothing work i need help  :icon_thumbsup

Code: [Select]
["_veh", "_player", "_speed", "_vel", "_dir"];

    //Le véhicule en question:   
    _veh= this select 0;
    _player = player _veh;   
    //Vitesse min; cà partir de quelle vitesse on va donner un coup de pousse.
    _vitesse_min = 1;
    //Vitesse max; à dire à partir de quelle vitesse on stoppe le coup de pouce
    _vitesse_max = 10;
    //Vitesse du coup de pouce en km/h
    _speed = 2;

//On crée une première boucle tant que notre véhicule est en vie:
while {(alive _vehicle)} do {

//On patiente un peu (si on boucle trop rapidement, on risque de surcharger le pécé)
sleep 0.1;
    //On crée une  nouvelle boucle tant que la vitesse du véhicule est inférieur à la vitesse max:
    while {(speed _vehicle) < _vitesse_max} do {   
    //On  crée un petite condition; faut que la vitesse de notre véhicule soit inférieur à la vitesse min et qu'il ne soit pas à l'arrêt (ou presque)
    if((speed _vehicle) < _vitesse_min && (speed _vehicle) > 3) then {       
        //----> Issu du wiki BIS       
        _vel = velocity _player;
        _dir = direction _player;   
        _player setVelocity [(_vel select 0)+(sin _dir*_speed),(_vel select 1)+ (cos _dir*_speed),(_vel select 2)];
        sleep 0.1;
        };
    };
};

keyhandler =
{
   private["_handled","_ctrl", "_dikCode", "_shift", "_ctrlKey", "_alt"];
   _ctrl = _this select 0;
   _dikCode = _this select 1;
   _shift = _this select 2;
   _ctrlKey = _this select 3;
   _alt = _this select 4;
   _handled = false;
   if (_dikCode == 42) then {
         _ctrl = nil;
         _handled = true;
         _vcl = vehicle player;
          _vel  = velocity _vcl;
         _vcl setVelocity [(_vel select 0) * 1.090, (_vel select 1) * 1.090, (_vel select 2) * 0.99];
      };

   _handled;
};
Gerk_is_best=(findDisplay 46) displayAddEventHandler ["keyDown", "_this call keyhandler"];

P.S use god mode before you activate this

Showy

  • Relentless Teamkiller
  • **
  • Posts: 53
    • View Profile
Re: no sound gun and invisibility ??
« Reply #4 on: June 15, 2012, 11:10:02 pm »
I finally wrote a fast run script the other day, thanks for posting though. I really like going into and through structures.

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: no sound gun and invisibility ??
« Reply #5 on: June 16, 2012, 12:40:43 am »

Gerk_is_best=(findDisplay 46) displayAddEventHandler ["keyDown", "_this call keyhandler"];

P.S use god mode before you activate this

credits mrmedic.
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

Buster

  • Klass Klown
  • ***
  • Posts: 295
  • Kool Kat
    • View Profile
Re: no sound gun and invisibility ??
« Reply #6 on: June 16, 2012, 05:17:49 am »
Credits & thanks:
 Written by conKORD, inspired by Kronzky's targetrange.  :icon_thumbsup

ZOldDude

  • The Unknown Rank!
  • Administrator
  • MasstKer
  • *
  • Posts: 20874
  • Old School TKC
    • View Profile
    • Admin
Re: no sound gun and invisibility ??
« Reply #7 on: June 16, 2012, 07:59:00 am »
Kronzky is a wealth of information.

*While we crash and burn, small, low tech, agrarian societies such as the Hmong in the mountains of Laos will continue on without so much as blinking an eye.*