wc3edit.net
https://forum.wc3edit.net/

Starcraft 2 Cheatpack
http://forum.wc3edit.net/deprotection-cheating-f64/starcraft-2-cheatpack-t17475-20.html
Page 3 of 6

Author:  haxorico [ June 11th, 2010, 7:38 pm ]
Post subject:  Re: Starcraft 2 Cheatpack

no need to do this... make it open "all files" and not "only supported types" (though it should work)..

Author:  Senethior459 [ June 11th, 2010, 7:57 pm ]
Post subject:  Re: Starcraft 2 Cheatpack

Haxorico is right. When you go to the folder the map is in in MPQMaster or whatever you choose to use, in the drop-down filetype selection box, just choose All files and it will allow you to see/select the .sc2map.

Okay. If there is no void InitGlobals in the map, then, below this part:
Code:
include "TriggerLibs/NativeLib"

add these lines:
Code:
void InitGlobals () {
}

and just place the parts from the cheatpack where they need to go around that part.
You'll also need to add this:
Code:
    InitGlobals();

below this, at the bottom of the file:
Code:
void InitMap () {

Author:  xain819 [ June 12th, 2010, 6:32 am ]
Post subject:  Re: Starcraft 2 Cheatpack

okkey tnx men!!
okey... i din'd get the part where you said place the
Code:
InitGlobals();
void InitMap () {

where should i place these 2???


Code:
include "TriggerLibs/NativeLib"

bool[21] gv_tele;
bool[21] gv_fast;
playergroup gv_CHEATER;
string gv_Activator;

void InitGlobals () {
}
    int init_i;

    init_i = 0;
    while (init_i <= 20) {
        gv_tele[init_i] = false;
        init_i = init_i + 1;
    }
    init_i = 0;
    while (init_i <= 20) {
        gv_fast[init_i] = false;
        init_i = init_i + 1;
    }
    gv_CHEATER = PlayerGroupEmpty();
    gv_Activator = "-cheats  ";
   
   InitGlobals();
   void InitMap () {


sorry kinda no0b here... but thanks really..^_^

Author:  Senethior459 [ June 12th, 2010, 8:38 pm ]
Post subject:  Re: Starcraft 2 Cheatpack

I misspoke when I first said to put void InitGlobals under include TriggerLibs/NativeLib. You should place it below this part:
Code:
void InitLibs () {

    libNtve_InitLib();

}


Here's the MapScript.galaxy you uploaded, with the changes I suggested in red. If you add these changes, it will allow you to insert the cheatpack.
Spoiler:
//==================================================================================================
//
// Generated Map Script
//
// Name: Big Game Hunters
// Author: manmoths
//
//==================================================================================================
include "TriggerLibs/NativeLib"

void InitGlobals () {
}


//--------------------------------------------------------------------------------------------------
// Library Initialization
//--------------------------------------------------------------------------------------------------
void InitLibs () {
libNtve_InitLib();
}

//--------------------------------------------------------------------------------------------------
// Trigger Variables
//--------------------------------------------------------------------------------------------------
trigger gt_MeleeInitialization;

//--------------------------------------------------------------------------------------------------
// Trigger: Melee Initialization
//--------------------------------------------------------------------------------------------------
bool gt_MeleeInitialization_Func (bool testConds, bool runActions) {
// Actions
if (!runActions) {
return true;
}
MeleeInitResources();
MeleeInitUnits();
MeleeInitAI();
MeleeInitOptions();
return true;
}

//--------------------------------------------------------------------------------------------------
void gt_MeleeInitialization_Init () {
gt_MeleeInitialization = TriggerCreate("gt_MeleeInitialization_Func");
TriggerAddEventMapInit(gt_MeleeInitialization);
}

//--------------------------------------------------------------------------------------------------
// Trigger Initialization
//--------------------------------------------------------------------------------------------------
void InitTriggers () {
gt_MeleeInitialization_Init();
}

//--------------------------------------------------------------------------------------------------
// Map Initialization
//--------------------------------------------------------------------------------------------------
void InitMap () {
InitLibs();
InitTriggers();
InitGlobals();
}

I also uploaded a cheated copy of the file you uploaded, though I didn't insert it back into the map, as I'm on Linux and don't trust the programs to work right through WINE.

Author:  xain819 [ June 13th, 2010, 8:50 am ]
Post subject:  Re: Starcraft 2 Cheatpack

^_^ tnx man....!!!! trying out now...!

Author:  Pyro7778 [ July 27th, 2010, 10:25 pm ]
Post subject:  Re: Starcraft 2 Cheatpack

Senethior, dunno if you know but someone posted this @ d3scene. Just figured I'd give you the heads up. Didn't see who the post was by.

Author:  Madara [ July 27th, 2010, 10:36 pm ]
Post subject:  Re: Starcraft 2 Cheatpack

It was posted by "xain819" without credits either v.v

the guy that posted above u pyro :P

Author:  UndeadxAssassin [ July 27th, 2010, 11:46 pm ]
Post subject:  Re: Starcraft 2 Cheatpack

Quote:
all credits go to Senethior459 and Krypto


I see credits if you're talking about this one.

Last edited was 12 days ago, too.

Author:  Senethior459 [ July 28th, 2010, 3:44 pm ]
Post subject:  Re: Starcraft 2 Cheatpack

So long as they give credit to us, I don't really mind.

Author:  Xantan [ November 11th, 2010, 2:06 pm ]
Post subject:  Re: Starcraft 2 Cheatpack

this is very useful to learn from

thank you in advanced for making this sc2 map / code

I will be learning/using from this, if that is alright with you.

I can't wait to start SC2 mapping with my brother, he already made this pretty interesting racing map with pretty real gravity/slide to it, I guess... I/my bro may post it eventually to get feedback on it.

I'm surprised how long its been since a SC2 post has been made.

This game is played by million(s)! It's brand new, and its flourishing like crazy; sc1 is already dying.

Man Asia specifically loves doing SC2 $ tournaments and stuff.

Page 3 of 6 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/