Page 13 of 13 First 3 11 12 13
THREAD: [1.11 Release]Getting multiple Patches in one
  1. 10-31-2011, 03:22 PM
    #1
    Cody_h4x's Avatar
    Cody_h4x
    Nobody is like me
    Cody_h4x's Avatar
    Cody_h4x
    Nobody is like me
    2,404
    Posts
    6,379
    Reputation
    Oct 2010
    NextGenUpdate
    Multiple Patches
    So far I've gotten (and satisfied with)
    My private Patch,
    Craigchrist's "Steal this Patch"
    Hawkin's "Zombieland" Latest version
    all in one

    Alright everyone, I've been bugged about this to release but this is really only common sense and the only thing needed to be done is to modify the second patches init, Connect, and spawned. Its fairly simple your using the same code to switch game modes. I feel this had to go in Modified patches section because even though it's a code its more about the patch itself, but if a mod wants to move it to exploits go ahead. kay:

    By using the Gamemode changer:
    Code:
    GameChange(G){
    self iPrintln("^1Changing Game Mode : ^5Done");
    wait 1;
    setDvar("matchGameType",G);
    setDvar("g_password","");
    map(getDvar("mapname"));
    }
    You can "Dual Boot" into another patch

    (Basically your menu would look like)

    Code:
    menu.namer[1]="GodlyModz v4";
    menu.funcs[1]=::GameChange;
    menu.input[1]=1;
    Just change the variable to any integar your gunna use for that specific patch, because your going to have to go to onPlayerConnect() and thread it.

    So for example putting GodlyModz v4 was like this:
    Code:
    		if(level.matchGameType=="1")
    		{
    			player.Verify1=0;
    			player.Verify2=0;
    			player thread Hunter();
    		}
    but now you can make things more organised for yourself and simply thread it without having to put it through onPlayerSpawned, and again for example my GodlyModz v4 was setup like this:
    Code:
    Hunter(){
    for(;;){
    self waittill("spawned_player");
    //codes here
    }
    So its very simple to put more than one patch in one some of the file sizes on estimation are:

    GodlyModz v4 == About 7,000
    Hunter128's (old patch) == About 3,500
    Chocolates Patch == About 9,000

    Also if your seeting another mod menu than your gunna have to disable the mod menu of the orignal patch, or else you'll be opeing two menus at the same time :carling:
    You can simply do this by calling a "Remove Access" function from your patch for each player, ( Dont forget to remove if (p!=self) or similar) so It removes it for everyone including the host

    Haha a cool thing for xbox patches is that you can really have "unlimited" room...........inb4 all patches in one? :carling:

    If you need any help at all feel free to let me know
    Oh 1 more thing......







    if sum rdc new*** fanboy***s r readin dis right nao fuk u :carling:
    & stop takin creditz0rz
    Last edited by Cody_h4x; 02-27-2012 at 02:42 PM.

  2. The Following 14 Users Say Thank You to Cody_h4x For This Useful Post:

    , , , , , , , , , , , , ,

  3. 03-12-2012, 07:11 PM
    41
    Posts
    9
    Reputation
    Jan 2012
    NextGenUpdate
    cody i got it to work but how do u delete the other menu?
  4. Sponsored Links
  5. 03-12-2012, 10:53 PM
    25
    Posts
    208
    Reputation
    Sep 2011
    NextGenUpdate
    i got those all in there now where do i put the actuall patch at ??
  6. 04-10-2012, 03:07 PM
    4
    Posts
    10
    Reputation
    Dec 2011
    NextGenUpdate
    can u use this with other patches letts say a RDC patch :carling:
Page 13 of 13 First 3 11 12 13

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •