Results 1 to 8 of 8
  1. #1
    AZUMIKKEL's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    My moms house... what's so funny about that?
    Posts
    790
    Reputation
    19
    Thanks
    462
    My Mood
    Sneaky

    [SOLVED] [GSC] Setting one player to do specific damage

    How would one go around doing this? Whatever I try it turns out to give everyone the specified damage.
    www.YouTube.com/MpKiller100

  2. #2
    rathynia's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    Modern Warfare 2 Section.
    Posts
    458
    Reputation
    126
    Thanks
    537
    My Mood
    Aggressive
    Code:
    if(self.name=="AZUMIKKEL")
    {
    iDamage = "Value"
    }
    Just a guess of mine I couldn't find it in any mods I must have deleted it :O
    So if it works tell me!
    Or maybe I was hallucinating IDK
    Nothing Is "Impossible" For The Word Itself Says "I'm Possible".
    If you get a thank from me you better act like it's a reward, because I don't give them out easily.

    Computer Specs:
    Processor - AMD Athlon(tm) II X4 640 Processor 3.0 GHz (Not OverClocked)
    RAM - 8.0 GB
    OS - Microsoft Windows 7 Ultimate Edition 64-bit
    Video Card - GeForce GTX 550 Ti
    Video RAM 4.0 GB
    Pixel Shader version 5.0
    Vertex Shader version 5.0
    Sound Card - NVIDIA High Definition Audio
    Disk space - 1,640 GB

  3. The Following User Says Thank You to rathynia For This Useful Post:

    AZUMIKKEL (08-21-2010)

  4. #3
    AZUMIKKEL's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    My moms house... what's so funny about that?
    Posts
    790
    Reputation
    19
    Thanks
    462
    My Mood
    Sneaky
    Quote Originally Posted by rathynia View Post
    Code:
    if(self.name=="AZUMIKKEL")
    {
    iDamage = "Value"
    }
    Just a guess of mine I couldn't find it in any mods I must have deleted it :O
    So if it works tell me!
    Or maybe I was hallucinating IDK
    1. Doing a self variable in a level thread would only apply to the host.
    2. The damage thread is called by the person TAKING damage.
    3. I'm making new rolls for RTD v3 so doing it to a name wouldnt help much.

    I'll see what happens if i do something like
    if(eInflictor.doSuperDamage)
    iDamage = 9999;

    Worked setting self.doSuperDamage = 1; in the _missions.gsc and then doing
    if(eInflictor.doSuperDamage)
    iDamage = 9999;

    The problem is that you get killed by your own stuns and shit :P
    Last edited by AZUMIKKEL; 08-21-2010 at 09:30 AM.
    www.YouTube.com/MpKiller100

  5. #4
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    Quote Originally Posted by AZUMIKKEL View Post
    3. I'm making new rolls for RTD v3 so doing it to a name wouldnt help much.
    RTD v3? 0.o *excited as fuck as im bored of adding my own rolls and dont got any more ideas *

  6. #5
    AZUMIKKEL's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    My moms house... what's so funny about that?
    Posts
    790
    Reputation
    19
    Thanks
    462
    My Mood
    Sneaky
    One thing.
    Does anyone know the name of Commando Pro perk? the dvar bg_falldamagemax/minheight wont do.

    Never mind, the weapon name of fall damage seems to be "none" so if(sWeapon != "none") fixed it.
    Thanks anyways guys
    Last edited by AZUMIKKEL; 08-21-2010 at 10:21 AM.
    www.YouTube.com/MpKiller100

  7. #6
    TheLynx's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Sverige
    Posts
    366
    Reputation
    10
    Thanks
    42
    My Mood
    Happy
    How many lol rolls can we expect?

  8. #7
    Skyline.'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    10,160
    Reputation
    403
    Thanks
    1,613
    Quote Originally Posted by TheLynx View Post
    How many lol rolls can we expect?
    more than you can LOL about.

    solved?...


  9. #8
    Archangel's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Between Both Worlds
    Posts
    8,868
    Reputation
    1021
    Thanks
    8,868
    My Mood
    Angelic
    /marked as solved

Similar Threads

  1. [SOLVED] Can some one help with my source?
    By TheNoobCoder in forum CrossFire Help
    Replies: 10
    Last Post: 09-04-2010, 11:18 PM
  2. [SOLVED]Give all joined players killstreak rewards
    By elmasmalo1 in forum Call of Duty Modern Warfare 2 Help
    Replies: 6
    Last Post: 08-23-2010, 04:33 AM
  3. [SOLVED] Error : set player data error at argument 3
    By xxxx6666 in forum Call of Duty Modern Warfare 2 Help
    Replies: 8
    Last Post: 07-04-2010, 09:15 AM
  4. [SOLVED] .GSC files
    By Josephlittle™ in forum Call of Duty Modern Warfare 2 Help
    Replies: 6
    Last Post: 06-24-2010, 05:01 AM
  5. One Player Game[Teaser]
    By xaznvietlife in forum Combat Arms Glitches
    Replies: 22
    Last Post: 07-21-2009, 11:44 PM