wc3edit.net

United Warcraft 3 map hacking!
It is currently March 28th, 2024, 1:26 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: October 17th, 2011, 11:46 am 
Offline
Newcomer

Joined: August 21st, 2009, 1:59 pm
Posts: 7
Guys, I'm trying to edit this map(add new units/towers, change the starting gold, etc) but I fail...I can't find the old ones and the mechanics of this map. Where shall I look? There is nothing in object editor. Sorry for being a noob :lol: Help please


Link:
resources/file/14799


Top
 Profile  
 
PostPosted: October 17th, 2011, 4:29 pm 
Offline
Forum Staff
User avatar

Joined: March 17th, 2008, 12:07 am
Posts: 1488
I'm not even going to DL it to tell you that with almost every map ever made, you won't be able to change it the way you want to.
In order to successfully add new units/items/anything NOT trigger (aka coding) related, you would need to fully deprotect AND restore the map
to get into a working condition. You CAN, very easily, change the starting gold via JASS coding (using our cheating tools, and asking someone
with experience to write you a JASS code giving players extra gold right at the beginning).

EDIT: But what the hell, might as well give it a go.
For objects, you'll need units, items, and doodads. I haven't opened WorldEditor in quite some time, so there might be more under that tab.

Here are the files and what they're associated with:
war3map.w3a - All the custom ability data is stored in this file
war3map.w3h - Buffs/Effects
war3map.w3q - Upgrades
war3map.w3t - All the custom item data is stored in this file
war3map.w3u - All the custom unit data is stored in this file
war3map.w3b - Destructibles
war3map.w3d - Doodads
Also, sometimes there can be a war3mapunits.doo that you might need (99% of the time, this file is corrupted beyond belief and would need to be restored. I THINK some deprotectors have the option to try to restore the file)

You could extract those files from the ORIGINAL map (the non-deprotected map) and either place them into the deprotected map (I wouldn't recommend doing that, but you could try), OR you can just remake everything. Both lead to the same result. However, some of those files could also have custom icons that you'll need to bring over from the original map too. Otherwise, the icon will be a bright green box. So bright.

EDIT: Added the files/what they are, and a few more. Doodads/destructibles/upgrades/moar

_________________
Image
Made by the late ILikeHacking

My quote from SKillER

Spoiler:
Chat wrote:
(19:12:41) SKillER: newfags cant triforce
(19:20:30) SKillER: ▲
▲ ▲
(19:20:35) SKillER: aww
(19:20:37) FatherSpace: FAIL
(19:20:43) Kryptonyte: Wow stop failing.
(19:20:47) SKillER: ▲
▲ ▲
(19:21:41) Kryptonyte: .

. ▲
▲ ▲
(19:22:20) Kryptonyte: I guess you were right, newfags can't triforce.
(19:22:29) SKillER: . . ▲
▲ ▲
(19:23:04) SKillER: OMFG
(19:23:06) SKillER: ... THIS CHAT
(19:23:06) SKillER: !
(19:23:36) SKillER: ▲
▲ ▲
(19:23:46) SKillER: ▲
.▲ ▲


Apparently, SKillER is a newfag.


Top
 Profile  
 
PostPosted: October 17th, 2011, 5:02 pm 
Offline
Newcomer

Joined: August 21st, 2009, 1:59 pm
Posts: 7
Thanks for the info, I'll have a look into these files. Btw the map is blood tournament beta 16

edit: Ok, I added war3map.w3u to the deprotected map and now I saw the custom units in object editor. I also added some new units, but the problem is that when I try to host the map I see the map name, but the players screen is blank. Any tips how to fix this? I also noticed that the size of the deprotected map is smaller than the original one. Is that normal? Thanks in advance.


Top
 Profile  
 
PostPosted: October 18th, 2011, 12:22 am 
Offline
Forum Staff
User avatar

Joined: March 17th, 2008, 12:07 am
Posts: 1488
Well, you only added the unit file.
From what you've said, you didn't add the custom items, doodads, etc.
So you're missing quite a bit (aka meaning less data = less size)

As for the loading screen, you'll need to add that manually too.
I'm going to go ahead and assume it was a custom screen, because I think a regular load screen would still show.
I think you can get the loading screen by opening the original map in MPQMaster and taking the war3mapMAP.blp
and adding it to your deprotected map.

Also, when you have a question like that, feel free to double post to get my attention.
If I hadn't randomly decided to click on this thread, you probably wouldn't get an answer
until you bumped it in a few days.

_________________
Image
Made by the late ILikeHacking

My quote from SKillER

Spoiler:
Chat wrote:
(19:12:41) SKillER: newfags cant triforce
(19:20:30) SKillER: ▲
▲ ▲
(19:20:35) SKillER: aww
(19:20:37) FatherSpace: FAIL
(19:20:43) Kryptonyte: Wow stop failing.
(19:20:47) SKillER: ▲
▲ ▲
(19:21:41) Kryptonyte: .

. ▲
▲ ▲
(19:22:20) Kryptonyte: I guess you were right, newfags can't triforce.
(19:22:29) SKillER: . . ▲
▲ ▲
(19:23:04) SKillER: OMFG
(19:23:06) SKillER: ... THIS CHAT
(19:23:06) SKillER: !
(19:23:36) SKillER: ▲
▲ ▲
(19:23:46) SKillER: ▲
.▲ ▲


Apparently, SKillER is a newfag.


Top
 Profile  
 
PostPosted: October 18th, 2011, 9:18 am 
Offline
Newcomer

Joined: August 21st, 2009, 1:59 pm
Posts: 7
Ok I did what you told me to. I copied the other files + war3mapMAP.blp to the deprotected map(the size of the deprotected map is still smaller than the original one) and btw some of the files(like war3map.w3t, war3map.w3b) are missing in the original and deprotected map - I guess simply because there are no items/destructables in the map. But the real problem now is that when I try to save the map with jassnewgen I get the same error screen like the guy who posted this picture(undeclared variables): resources/after-doing-all-you-say-i-hit-this-error-every-time/14802

And btw here is a picture of the ''blank screen'' when I tried to host my other map(with war3map.w3u only)
Attachment:
untitled.JPG




edit: I tried to edit an older version. The problem here is: Function redeclared: InitGlobals

Can you help me to fix either the old version, or the other one? Thanks


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


Top
 Profile  
 
PostPosted: October 18th, 2011, 3:23 pm 
Offline
Forum Staff
User avatar

Joined: March 17th, 2008, 12:07 am
Posts: 1488
Should be a pretty easy fix, if you're comfortable with editing the JASS.

Basically, there is already a function which is named InitGlobals.
You just need to find one of the functions which call is, and edit
it to be anything else. For example: function chicken.
Or anything at all.

edit: Remember that if done in GUI (via World Editor)
that it will have multiple lines which call it, because of how GUI handles functions.
There will be one for the function actions, and the function conditions, so make you
check through thoroughly to edit all of those that pertain to one of those functions.

_________________
Image
Made by the late ILikeHacking

My quote from SKillER

Spoiler:
Chat wrote:
(19:12:41) SKillER: newfags cant triforce
(19:20:30) SKillER: ▲
▲ ▲
(19:20:35) SKillER: aww
(19:20:37) FatherSpace: FAIL
(19:20:43) Kryptonyte: Wow stop failing.
(19:20:47) SKillER: ▲
▲ ▲
(19:21:41) Kryptonyte: .

. ▲
▲ ▲
(19:22:20) Kryptonyte: I guess you were right, newfags can't triforce.
(19:22:29) SKillER: . . ▲
▲ ▲
(19:23:04) SKillER: OMFG
(19:23:06) SKillER: ... THIS CHAT
(19:23:06) SKillER: !
(19:23:36) SKillER: ▲
▲ ▲
(19:23:46) SKillER: ▲
.▲ ▲


Apparently, SKillER is a newfag.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 18 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)