Results 1 to 2 of 2
  1. #1
    MuhKuh2010's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    46
    Reputation
    10
    Thanks
    5
    My Mood
    Innocent

    gungame mod help :)

    Hey!
    My Gun Game mod looks like this:

    Code:
    [...]
    
    
    initGuns()
    {
        self.inverse = false; //Inverted gungame?
        self.upgscore = 150; //Score necessary for upgrade. Leave at 100 for 2 kill upgrade. Do 50 for 1 kill, 150 for 3 kill.
        self.finalkills = 1; //Kills to win after getting final weapon
        self.gunList = [];
        // Gun Name, Laser Sight, Akimbo
        self.gunList[0] = createGun("throwingknife_mp", 9, false, false);
        self.gunList[1] = createGun("usp_fmj_silencer_mp", 9, false, false);
        self.gunList[2] = createGun("pp2000_mp", 9, false, false);
        self.gunList[3] = createGun("spas12_reflex_xmags_mp", 9, true, false);
        self.gunList[4] = createGun("mp5k_fmj_reflex_mp", 9, false, false);
        self.gunList[5] = createGun("m4_heartbeat_reflex_mp", 9, false, false);
        self.gunList[6] = createGun("sa80_grip_reflex_mp", 9, false, false);
        self.gunList[7] = createGun("barrett_fmj_thermal_mp", 9, true, false);
        self.gunList[8] = createGun("at4_mp", 9, true, false);
        self.gunList[9] = createGun("killstreak_predator_missile_mp", 9, false, false);
     self.gunList[10] = createGun("claymore_mp", 9, false, false);
        self.gunList[11] = createGun("glock_akimbo_fmj_mp", 9, false, true);
    [...]
    }
    
    createGun(gunName, camo, laserSight, akimbo)
    {
        gun = spawnstruct();
        gun.name = gunName;
        gun.camo = camo;
        gun.laser = laserSight;
        gun.akimbo = akimbo;
        return gun;
    }
    
    
    [...]
    the red thing doesnt work.
    You should get predator Missiles until you get the number of kills than it should go on with number 10.

    I looked into the code and i only know a little bit of c# xD

    so can anyone help me plz

    thought of sth like this:


    Code:
     
    self.gunList[9] = createKillstreak("killstreak_predator_missile_mp");
    
    [...]
    
    createKillstreak(killstreakName)
    {
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( killstreakName, false )
    }



    haha ok I have no idea what to code at all ^^...
    I want you to get the named killstreak and u always get a new one after you have used it until u have the kills for the new weapon.

  2. #2
    Skyline.'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    10,160
    Reputation
    416
    Thanks
    1,614
    is the predator missile even categorized as a "weapon"?, meaning like actual guns?...

    EDIT: what if you put instead of "createGun" to "giveKillstreak" ??, i dont know much coding, but i have some idea of common identifiers.

    sorry if this didn't help


Similar Threads

  1. [Help Request] Scope Modding Help! D:
    By Molecule in forum Combat Arms Mod Help
    Replies: 10
    Last Post: 09-18-2011, 06:20 PM
  2. [Help Request] Visual mods help
    By faron123123 in forum Vindictus Help
    Replies: 1
    Last Post: 08-23-2011, 11:25 PM
  3. [Help Request] mods help
    By zerg32196 in forum Minecraft Help
    Replies: 0
    Last Post: 07-07-2011, 09:51 PM
  4. [Help Request] Combat arms rez mod. (Help!!!)
    By legokiller45 in forum Combat Arms Help
    Replies: 3
    Last Post: 06-24-2011, 10:48 AM
  5. Can someone help me get GunGame mod on PC
    By Vlaviva in forum Call of Duty Modern Warfare 2 Discussions
    Replies: 6
    Last Post: 03-16-2011, 09:46 PM