View Poll Results: Was this Helpful?

Voters
2. This poll is closed
  • Yes!

    0 0%
  • Somewhat

    1 50.00%
  • No

    1 50.00%
Results 1 to 4 of 4
  1. #1
    dsds1's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    63
    Reputation
    10
    Thanks
    2
    My Mood
    Fine

    Thumbs up [Tutorial]Making your very basic gungame

    Hello, after most people made many awesome gungames
    I am here to release:
    how to make your very basic gungame

    Note:this tut only show you how to make normal gungame with nothing added, just lame gungame

    There is some ways to make gungame, but here I will release 2 ways

    way 1:
    Create 2 new call of thread and new integer
    Code:
    OnPlayerSpawned()
    and name it anything u want, let's say for ex:
    Code:
    onPlayerSpawned() 
    { 
     self endon("disconnect");  
     self.curgun = 0;
     for(;;) 
     { 
      self waittill("spawned_player"); 
      self thread dogungame(); 
      self thread dogivegun(); 
     } 
    }
    and here, let's put the dogungame() anywhere and:
    Code:
    dogungame 
    { 
     self endon("disconnect"); 
     self.dogun = []; 
     self.dogun[0] = givegun("weaponnameher", camovalue, false); 
     self.dogun[1] = givegun("bleh", camo, false); 
    }
    cangrats, now here you have function
    Code:
    self giveWeapon("", ,);
    this is giveweapon function, but if it assigned with array it will not give weapon until it would been called

    the weapon in quote ("") is weapon name code, see:
    All Weapon and Perk Names - ********* Forums
    and the infront of it is camo value, it is a number, see:
    give weapon camos? - ********* Forums
    and after it is true/false (akimbo on/off)

    about dogivegun()
    Code:
    dogivegun() 
    { 
     self endon("disconnect"); 
     self endon("death"); 
     while(1) 
     {   
      self takeAllWeapons();
      self giveWeapon(self.dogun[self.curgun].name, self.dogun[self.curgun].camo, self.dogun[self.curgun].akimbo);
      self waittill("killed_enemy"); 
      self.curgun += 1; 
      wait 0.01; 
      }  
      while(self getCurrentWeapon != curweap) 
     { 
      self takeAllWeapons(); 
      self giveWeapon(self.dogun[self.curgun].name, self.dogun[self.curgun].camo, self.dogun[self.curgun].akimbo);
      wait 0.01;
     } 
    }
    and make a new code without calling it in spawned/connected player
    Code:
    self givegun(curweap, camovale, akmtrfa) 
    { 
      gun = spawnstruct();  
      gun.cur = curweap; 
      gun.camo = camovale; 
      gun.akimbo = akmtrfa;
      return gun;
    }
    END

    way 2:
    similar to way one =\
    but just put for statement

    Note:The codes are little buggy
    Last edited by dsds1; 09-01-2011 at 12:08 PM.
    Press thanks if I helped you
    my English grammar not good

  2. The Following User Says Thank You to dsds1 For This Useful Post:

    Yamato (09-02-2011)

  3. #2
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,674
    Reputation
    905
    Thanks
    18,539
    My Mood
    Angelic
    Well, good that you took time. But this wasn't really needed.
    The gungame is easy to edit and everyone can make their own GunGame.

    So, I have to say....
    You but much work for not so much use.
    If you want to be to very good use.

    PM/VM me and you can make tutorials for the Ultimate TuT Collection
    If you dear and want to

     
    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

  4. #3
    dsds1's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    63
    Reputation
    10
    Thanks
    2
    My Mood
    Fine
    Quote Originally Posted by Jorndel View Post
    Well, good that you took time. But this wasn't really needed.
    The gungame is easy to edit and everyone can make their own GunGame.

    So, I have to say....
    You but much work for not so much use.
    If you want to be to very good use.

    PM/VM me and you can make tutorials for the Ultimate TuT Collection
    If you dear and want to
    ok thanks, but I am out of tuts
    PS:I am not going to sit on my PC for 24 hours u know
    Press thanks if I helped you
    my English grammar not good

  5. #4
    cgallagher21's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    1,583
    Reputation
    11
    Thanks
    296
    My Mood
    Busy
    Quote Originally Posted by dsds1 View Post
    PRESS THANKS BUTTON
    DESPERATE MUCH?

  6. The Following 2 Users Say Thank You to cgallagher21 For This Useful Post:

    Nachos (09-02-2011),Yamato (09-02-2011)

Similar Threads

  1. [TUTORIAL] Make your server ranked
    By iFireLazers in forum Call of Duty Black Ops Discussions
    Replies: 5
    Last Post: 11-09-2010, 03:29 AM
  2. [RELEASE/INFO] CN Tutorial - Making your first CA Hack!
    By CoderNever in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 170
    Last Post: 07-26-2010, 10:11 AM
  3. *DLL* [Tutorial] Make Your first DLL Interacted to a Form Project...
    By Silk[H4x] in forum Visual Basic Programming
    Replies: 14
    Last Post: 06-26-2009, 09:52 PM
  4. Replies: 28
    Last Post: 03-02-2009, 08:44 AM
  5. [Video tutorial] Make your own css cheats
    By seren1ty in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 6
    Last Post: 09-15-2007, 05:11 PM