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

Help with editing this map
http://forum.wc3edit.net/deprotection-cheating-f64/help-with-editing-this-map-t23084.html
Page 1 of 1

Author:  itso85 [ October 17th, 2011, 11:46 am ]
Post subject:  Help with editing this map

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

Author:  Kryptonyte [ October 17th, 2011, 4:29 pm ]
Post subject:  Re: Help with editing this map

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

Author:  itso85 [ October 17th, 2011, 5:02 pm ]
Post subject:  Re: Help with editing this map

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.

Author:  Kryptonyte [ October 18th, 2011, 12:22 am ]
Post subject:  Re: Help with editing this map

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.

Author:  itso85 [ October 18th, 2011, 9:18 am ]
Post subject:  Re: Help with editing this map

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

Author:  Kryptonyte [ October 18th, 2011, 3:23 pm ]
Post subject:  Re: Help with editing this map

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.

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