Thread: New mod

Results 1 to 5 of 5
  1. #1
    MarshallPT's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    ZOG
    Posts
    17
    Reputation
    10
    Thanks
    0

    New mod

    hi guys
    I want to make a mod that replaces certain weapons, perks ETC to remove all the overpowered things in mw2 and show at IW how the game should had been done.

    but im completly new to all this
    im learning visual basic but it is so diferent from c++

    could someone help me doing it? i don't need the all code just the start, exemple to show me how i must do and from there i think i can do it by myself

    thx

  2. #2
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    8,643
    Reputation
    748
    Thanks
    1,818
    My Mood
    Doh
    It's not Visual Basic or C++. It's GSC. Mw2 Uses GSC.
    Quote Originally Posted by KING View Post
    Stop FACKING SUMMONING ME TO THESE FUCKTARDS CONVOS.
    DAFUQ IS DIS FACKING SHYT.
    SHYT MAKES NO SENSE.

    On a side note. You fags are fucking hatting.
    You guys don't know shyt about spam.
    Danny would post on everysingle post every fucking hour, you couldnt tell which post was recent or anything. It was a fuck fest, he wouldnt have shyt to say....cares he posted like a fag he is.

    Josh made mutiple threads a day. And not just G, everywhere. That why everyone liked that dumb nikka.

    @Richard Nixon -Are you Endrat? @REAP @Digits2012 @Ghost -Son...I am dissapoint @Sjoerd -SMD @Canadian @FrosK -Dumb name is dumb @Nebulaa @That_Kid -Man Up @The XXX Devil -Oh look another joker avatar-how original and neat

    The rest who I didn't mention comment....Suck my left nut....but not to hard...it hurts.

  3. #3
    MarshallPT's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    ZOG
    Posts
    17
    Reputation
    10
    Thanks
    0
    oh really? hm... i seems to me c or c++ whatever

    gsc so that is the language i have to learn...
    but still, could someone help me doing the mod?

    just give me the example of when user have rpg as secundary weapon it will replace by desert eagle.

    please i don't think im asking too much


    here is a bit of what i need:
    isValidEquipment( refString )
    {
    switch ( refString )
    {
    case "frag_grenade_mp":
    //case "semtex_mp":
    //case "throwingknife_mp":
    //case "specialty_tacticalinsertion":
    //case "specialty_blastshield":
    //case "claymore_mp":
    //case "c4_mp":
    return true;
    default:
    assertMsg( "Replacing invalid equipment: " + refString );
    return false;
    }
    }

    EDIT:
    well... i am working on hard but this s*** is complicated

    GunCheck()
    {
    while(1) {
    if(!isValidPrimary(self getCurrentWeapon())) { //If current weapon is not in the isValidPrimary list
    self takeAllWeapons(); // Take all weapons
    self giveWeapon( "ak47_mp", 0, false ); //Gives them a weapon
    while(self getCurrentWeapon() != "ak47_mp") { //After given weapon, checks if the player hasn't switched to the gun
    self switchToWeapon("ak47_mp"); //Switches to the gun for you
    self setWeaponAmmoStock("ak47_mp", 0 ); //Replace 0 to how much ammo stock you want
    self setWeaponAmmoClip("ak47_mp", 0 ); //Replace 0 to how much ammo clip you want
    wait 0.05; }
    }
    }
    }

    isValidPrimary( primary )
    {
    switch ( primary )
    {
    case "ump45":
    return true;
    }
    return false;
    }
    guys for example this code
    if the player don't use ump45 then the weapon will be replaced by ak47

    but look at "self takeAllWeapons" i don't want to take all weapons only the primary to replace it. is there a command to took only the primary? example: takePrimary or takePrimaryWeapon

    I DIDNT TEST THIS YET BUT I ASSUME THE CODE IS CORRECT

    EDIT2:
    OMG I GIVE UP!!
    i suck at modding. even a simple thing such as replace guns im not able to do...
    Last edited by MarshallPT; 04-10-2011 at 02:44 PM.

  4. #4
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,675
    Reputation
    905
    Thanks
    18,544
    My Mood
    Angelic

    Well:

    Well, this is solved I would say now.

    I have helped him for 2 days now.

    So I teatched him some GSC and now he have his first mod.





     
    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

  5. #5
    MarshallPT's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    ZOG
    Posts
    17
    Reputation
    10
    Thanks
    0
    yes u did^^
    luckily i found u

    thank u very much. the mod is almost complete and will be release soon

    mods may close