Results 1 to 7 of 7
  1. #1
    pwnr1234's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    77
    Reputation
    10
    Thanks
    3
    My Mood
    Paranoid

    Post Custom mod - coding help

    Hi Guys

    I hope some of you can help me out with my problem. First: Im not a expirienced coder i just know a little about vb.net, i dont even know with wich language this scripts are written, but i understand the things i see in finished mods.

    So, my idea is to tune the GunGame mod a little.

    My Question now is how i can add specialitys (like special View, Special dvars etc) to a rank. My Idea was too merge some stuff from Gungame and the rolltheDice mod.



    Here is what i have from gungame:

    Code:
    initGuns()
    {
        self.inverse = false; //Inverted gungame?
        self.upgscore = 50; //Score necessary for upgrade. Leave at 100 for 2 kill upgrade. Do 50 for 1 kill, 150 for 3 kill.
    
        self.finalkills = 5; //Kills to win after getting final weapon
        self.gunList = [];
    
        // Gun Name, Laser Sight, Akimbo
        self.gunList[0] = createGun("throwingknife_mp", 9, false, false);
    }
    Here is what i have from RollTheDice
    Code:
    doRandom()
    {
    self endon ( "disconnect" );
    self endon ( "death" );
     
            setDvar("player_sprintUnlimited", 1);
            self maps\mp\perks\_perks::givePerk("specialty_fastreload");
            setDvar( "perk_bulletDamage", 10 );
    
            self setPlayerData( "killstreaks", 0, "none" );
            self setPlayerData( "killstreaks", 1, "none" );
            self setPlayerData( "killstreaks", 2, "none" );
            self Show();
        
            wait 0.05;
                   switch(RandomInt(50))
                    {
                    case 0:
                            self iPrintlnBold("You rolled 1 - Extra speed");
                                    while (1) {
                                    self SetMoveSpeedScale( 1.50 );
                                                                   self VisionSetNakedForPlayer("cobra_sunset3", 1);
                                    wait 1; }
                            break;
                    case 1:
                    break;
    
                                  case 2:
                                  break;
    }
    My Idea is to have somthing like this:
    Code:
    initGuns()
    {
        self.inverse = false; //Inverted gungame?
        self.upgscore = 50; //Score necessary for upgrade. Leave at 100 for 2 kill upgrade. Do 50 for 1 kill, 150 for 3 kill.
        self.finalkills = 5; //Kills to win after getting final weapon
        self.gunList = [];
    
       
    
    // Gun Name, Laser Sight, Akimbo
                    self.gunList[0] = createGun("throwingknife_mp", 9, false, false);         
                                                           self SetMoveSpeedScale( 1.50 );
                                                                   self VisionSetNakedForPlayer("cobra_sunset3", 1);
    }




    I know its not working like this, so how is it possible to merge them?



    Thank you in advance and please excuse my poor englisch



    cheers!

  2. #2
    knightlvx's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    belguim
    Posts
    283
    Reputation
    10
    Thanks
    36
    My Mood
    Cool
    srry but i don't know anything of coding maybe u can ask some mods maybe they know.


    Leader of BlaZe!

    ----------------------------------->I'm Gonne Snipe you Down!<----------------------------------

  3. #3
    B4M's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Real World
    Posts
    6,939
    Reputation
    478
    Thanks
    1,746
    My Mood
    Bored
    Quote Originally Posted by knightlvx View Post
    srry but i don't know anything of coding maybe u can ask some mods maybe they know.
    If you don't know, don't post!


    Back in '10



    Got a question?PM/VM me!
    I read them all.
    Also contact me via MSN.
    vlad@mpgh.net

    Minion since:07-04-2010
    Mod since:08-31-2010
    Till : 05.07.2011

  4. The Following User Says Thank You to B4M For This Useful Post:

    Skyline. (06-30-2010)

  5. #4
    christophergonzalez's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    154
    Reputation
    10
    Thanks
    8
    well have you tryed googling a website that has codes???

  6. #5
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,323
    My Mood
    Breezy
    You haven't specified which guns you want. RollTheDice has 50 guns/funny perks and statuses and GunGame has 35 guns so yeah.... Are you trynig to look for a throwing knife only mod or something?
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  7. #6
    pwnr1234's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    77
    Reputation
    10
    Thanks
    3
    My Mood
    Paranoid
    Quote Originally Posted by master131 View Post
    You haven't specified which guns you want. RollTheDice has 50 guns/funny perks and statuses and GunGame has 35 guns so yeah.... Are you trynig to look for a throwing knife only mod or something?
    i want to have the struct from gungame, i know how to change the weapons, i just want to add some "effects" to each level. Like NightVision, Invisibility and stuff like this. I mean adding some "rolls" in to the gungame. Understand what i mean?

    cheers

  8. #7
    pwnr1234's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    77
    Reputation
    10
    Thanks
    3
    My Mood
    Paranoid
    cmon, here are some good moders please help me with my little problem
    /push!!

Similar Threads

  1. [Help Request] Need Code Help.
    By [CF]Hackers in forum CrossFire Help
    Replies: 10
    Last Post: 09-10-2011, 11:20 AM
  2. [Help Request] GSC coding help
    By Brabomclaren in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 4
    Last Post: 06-12-2011, 04:05 AM
  3. glass wall coding [help]
    By pbguy145 in forum WarRock - International Hacks
    Replies: 1
    Last Post: 10-09-2007, 08:52 AM
  4. Hack codes HELP
    By TheBlueMax in forum Visual Basic Programming
    Replies: 6
    Last Post: 10-05-2007, 03:39 PM
  5. KWR Verification Code [HELP]!
    By Hispiforce in forum WarRock Korea Hacks
    Replies: 9
    Last Post: 06-09-2007, 10:25 PM