Author Topic: show me what ya got...  (Read 18347 times)

DirtOne

  • NoBS|Member
  • General

  • Offline
  • *
  • The Noob Admin

  • 4956
  • Karma:
    +5/-65535
  • Personal Text
    Death Cab For Dirty
Re: show me what ya got...
« Reply #15 on: August 12, 2008, 09:28:43 AM »
what language is that?
is tehre any tutorials for cod2 moding?

looks like C+ , not easy!



yes technically it's QuakeC. and it's easy.

Teach me then  ;D

...just a quick question..but ar eyou alt-tabbing and using same pc? if so.. please stop..

damnit dirt stop being a mexicant and start being a mexiCAN

Evilgenius

  • Guest
Re: show me what ya got...
« Reply #16 on: August 12, 2008, 12:26:35 PM »
* Evilgenius says "wax on...wax off"

Cristobal Alamo

  • Colonel

  • Offline
  • *

  • 629
  • Karma:
    +0/-0
  • Personal Text
    Is it weird that I like being called a bitch?
Re: show me what ya got...
« Reply #17 on: August 12, 2008, 08:52:44 PM »
wax on,wax off?lol

Evilgenius

  • Guest
Re: show me what ya got...
« Reply #18 on: August 12, 2008, 09:12:32 PM »
wtf you never seen karate kid?

smitty1258

  • NoBS|Administrator
  • General

  • Offline
  • *
  • "See, the problem is that God gives men a brain and a penis, and only enough blood to run one at a time."

  • 6071
  • Karma:
    +0/-0
  • Personal Text
    pwning sounds!
    • No Bullshit!
Re: show me what ya got...
« Reply #19 on: August 13, 2008, 01:52:33 AM »
so no one can find the error?

lol
A story. A man fires a rifle for many years. and he goes to war. And afterwards he comes home, and he sees that whatever else he may do with his life - build a house, love a woman, change his son's diaper - he will always remain a jarhead. And all the jarheads killing and dying, they will always be me. We are still in the desert.

Quote from: Baim
not even pentium 1 billion will improve YOUR skills :)
Quote from: Evilgenius
* Evilgenius pulls out his cock to compare

gohanix

  • Lieutenant

  • Offline
  • *

  • 210
  • Karma:
    +1/-0
Re: show me what ya got...
« Reply #20 on: August 13, 2008, 02:03:06 PM »
honestly i didnt look..

Pitbully

  • Colonel

  • Offline
  • *

  • 638
  • Karma:
    +0/-0
Re: show me what ya got...
« Reply #21 on: August 13, 2008, 03:24:13 PM »
Answer your xfire I will edit this until you talk to me fawker...
« Last Edit: August 13, 2008, 03:28:34 PM by Pitbully »
Never piss off a Pitbully




Dirtone:"hell sometimes when i'm on the pub i just tube to hear the noobs saying they gonna come here and get me banned lmao its fucking funny"

gohanix

  • Lieutenant

  • Offline
  • *

  • 210
  • Karma:
    +1/-0
Re: show me what ya got...
« Reply #22 on: August 13, 2008, 03:52:08 PM »
where is the announceSound  function?

gohanix

  • Lieutenant

  • Offline
  • *

  • 210
  • Karma:
    +1/-0
Re: show me what ya got...
« Reply #23 on: August 13, 2008, 04:07:03 PM »
if ((level.awe_announcerheadshot == 1) || (level.awe_announcerheadshot == 3))
      {
         self iprintlnbold (&"ANNOUNCER_TOOK_HEADSHOT");
         attacker iprintlnbold (&"ANNOUNCER_GAVE_HEADSHOT");
      }
   
      if ((level.awe_announcerheadshot == 2) || (level.awe_announcerheadshot == 3))
      {
         self thread announceSound ("headshot", 1.5);
         attacker thread announceSound ("headshot", 1.5);
      }

explain why you check for 1(or2) or 3 ???

i dotn know the awe mod at all.. but these if statements look funny

Sounds

  • NoBS|Administrator
  • General

  • Offline
  • *

  • 1793
  • Karma:
    +0/-0
Re: show me what ya got...
« Reply #24 on: August 13, 2008, 04:30:08 PM »
if ((level.awe_announcerheadshot == 1) || (level.awe_announcerheadshot == 3))
      {
         self iprintlnbold (&"ANNOUNCER_TOOK_HEADSHOT");
         attacker iprintlnbold (&"ANNOUNCER_GAVE_HEADSHOT");
      }
   
      if ((level.awe_announcerheadshot == 2) || (level.awe_announcerheadshot == 3))
      {
         self thread announceSound ("headshot", 1.5);
         attacker thread announceSound ("headshot", 1.5);
      }

explain why you check for 1(or2) or 3 ???

i dotn know the awe mod at all.. but these if statements look funny

it's doing different things for different values there. if level.awe_announcerheadshot == 1 is announces just as text on the screen.

if level.awe_announcerheadshot == 2 it just makes the sound play.

if level.awe_announcerheadshot == 3 it does both of the above.

Quote from: smitty1258
i was expecting more white sauce i guess

vonDuTch

  • NoBS|Administrator
  • General

  • Offline
  • *

  • 6431
  • Karma:
    +0/-0
  • Personal Text
    No Bullshit Clan
Re: show me what ya got...
« Reply #25 on: August 13, 2008, 04:49:56 PM »
still abrakadabra to me, c+ even more of it!!!!! plain englisch pls!!!! LOLZzZZz

Pitbully

  • Colonel

  • Offline
  • *

  • 638
  • Karma:
    +0/-0
Re: show me what ya got...
« Reply #26 on: August 13, 2008, 04:50:23 PM »
Lol gohanix steals my ideas...  1 of the variables doesnt seem to be correct.  I would test the variables and how its passing them.  It also looks like the nested if statement is being skipped hence why no headshot and no headbash sound.
|| = and

Is there any reason you wouldnt play the sound?????  dont know why the or / or the and statement is there ( I mean this ||  )

If it was me.

{
   if (sHitLoc != "head")
      return;

   if (sMeansOfDeath == "MOD_MELEE")
   {
      if ((level.awe_announcerheadbash == 1) || (level.awe_announcerheadbash == 3))
      {
         self iprintlnbold (&"ANNOUNCER_TOOK_HEADBASH");
         self thread announceSound ("headhunter", 1.5);
         attacker iprintlnbold (&"ANNOUNCER_GAVE_HEADBASH");
         attacker thread announceSound ("headhunter", 1.5);   
      }
   
      
   }
   else
   {
      if ((level.awe_announcerheadshot == 1) || (level.awe_announcerheadshot == 3))
      {
         self iprintlnbold (&"ANNOUNCER_TOOK_HEADSHOT");
         self thread announceSound ("headshot", 1.5);
         attacker iprintlnbold (&"ANNOUNCER_GAVE_HEADSHOT");
                                      attacker thread announceSound ("headshot", 1.5);
      }
   
         
      
   }
}
« Last Edit: August 13, 2008, 05:03:44 PM by Pitbully »
Never piss off a Pitbully




Dirtone:"hell sometimes when i'm on the pub i just tube to hear the noobs saying they gonna come here and get me banned lmao its fucking funny"

gohanix

  • Lieutenant

  • Offline
  • *

  • 210
  • Karma:
    +1/-0
Re: show me what ya got...
« Reply #27 on: August 13, 2008, 05:15:51 PM »
can you explain the meaning of the values.. 1 2 3?

Sounds

  • NoBS|Administrator
  • General

  • Offline
  • *

  • 1793
  • Karma:
    +0/-0
Re: show me what ya got...
« Reply #28 on: August 13, 2008, 06:26:25 PM »
// Announce head shot kill (0 = disabled, 1 = message only, 2 = sound only, 3 = both, default = 0)
// Will be announced to the victim and his killer
set awe_announcer_headshot 3

Quote from: smitty1258
i was expecting more white sauce i guess

Sounds

  • NoBS|Administrator
  • General

  • Offline
  • *

  • 1793
  • Karma:
    +0/-0
Re: show me what ya got...
« Reply #29 on: August 13, 2008, 06:26:58 PM »
Lol gohanix steals my ideas...  1 of the variables doesnt seem to be correct.  I would test the variables and how its passing them.  It also looks like the nested if statement is being skipped hence why no headshot and no headbash sound.
|| = and

Is there any reason you wouldnt play the sound?????  dont know why the or / or the and statement is there ( I mean this ||  )

If it was me.

{
   if (sHitLoc != "head")
      return;

   if (sMeansOfDeath == "MOD_MELEE")
   {
      if ((level.awe_announcerheadbash == 1) || (level.awe_announcerheadbash == 3))
      {
         self iprintlnbold (&"ANNOUNCER_TOOK_HEADBASH");
         self thread announceSound ("headhunter", 1.5);
         attacker iprintlnbold (&"ANNOUNCER_GAVE_HEADBASH");
         attacker thread announceSound ("headhunter", 1.5);   
      }
   
      
   }
   else
   {
      if ((level.awe_announcerheadshot == 1) || (level.awe_announcerheadshot == 3))
      {
         self iprintlnbold (&"ANNOUNCER_TOOK_HEADSHOT");
         self thread announceSound ("headshot", 1.5);
         attacker iprintlnbold (&"ANNOUNCER_GAVE_HEADSHOT");
                                      attacker thread announceSound ("headshot", 1.5);
      }
   
         
      
   }
}


meeeep, sorry wrong answer, try again.

Quote from: smitty1258
i was expecting more white sauce i guess