wc3edit.net

United Warcraft 3 map hacking!
It is currently September 15th, 2019, 4:00 pm

All times are UTC




Post new topic Reply to topic  [ 51 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
PostPosted: June 11th, 2010, 7:38 pm 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3792
Location: JEW LAND
no need to do this... make it open "all files" and not "only supported types" (though it should work)..


Top
 Profile  
 
PostPosted: June 11th, 2010, 7:57 pm 
Offline
Forum Staff
User avatar

Joined: June 2nd, 2007, 6:53 pm
Posts: 2732
Title: I Just Lost the Game
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 () {


Top
 Profile  
 
PostPosted: June 12th, 2010, 6:32 am 
Offline
Junior Member
User avatar

Joined: November 20th, 2008, 12:32 pm
Posts: 39
Title: x@!n†™²³
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..^_^


Top
 Profile  
 
PostPosted: June 12th, 2010, 8:38 pm 
Offline
Forum Staff
User avatar

Joined: June 2nd, 2007, 6:53 pm
Posts: 2732
Title: I Just Lost the Game
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.


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: June 13th, 2010, 8:50 am 
Offline
Junior Member
User avatar

Joined: November 20th, 2008, 12:32 pm
Posts: 39
Title: x@!n†™²³
^_^ tnx man....!!!! trying out now...!


Top
 Profile  
 
PostPosted: July 27th, 2010, 10:25 pm 
Offline
Forum Staff
User avatar

Joined: April 17th, 2008, 10:04 pm
Posts: 334
Location: Pittsburgh
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.


Top
 Profile  
 
PostPosted: July 27th, 2010, 10:36 pm 
Offline
Forum Fanatic
User avatar

Joined: October 26th, 2009, 10:22 pm
Posts: 344
Title: mib^
It was posted by "xain819" without credits either v.v

the guy that posted above u pyro :P


Top
 Profile  
 
PostPosted: July 27th, 2010, 11:46 pm 
Offline
Grammar King
User avatar

Joined: June 22nd, 2008, 10:11 pm
Posts: 2379
Location: Mostly USEast
Title: Worst human for 4eva
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.


Top
 Profile  
 
PostPosted: July 28th, 2010, 3:44 pm 
Offline
Forum Staff
User avatar

Joined: June 2nd, 2007, 6:53 pm
Posts: 2732
Title: I Just Lost the Game
So long as they give credit to us, I don't really mind.


Top
 Profile  
 
PostPosted: November 11th, 2010, 2:06 pm 
Offline
Honorary wc3edit.net Traitor
User avatar

Joined: February 1st, 2007, 4:11 pm
Posts: 2513
Location: NEVADA
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 51 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)