How do I edit map description.

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

afis
Junior Member
Posts: 26
Joined: June 22nd, 2009, 3:47 pm

How do I edit map description.

Post by afis »

ok, well I edited a protected map by extracting the war3map.w3a and war3map.w3u files, changing them, and re-importing and it all works fine. but now I would like to know how to edit the map description to let people know in advance about some of the changes (they will find out anyway since some of them are quiet visible). How do I add a change log to the loading screen to let people know what the changes are before or as soon as the game begins. The map.j looks really strange so I don't know how to edit it.
Spoiler:
globals
integer e=0
unit o
player a
integer V
boolean E
boolean O
boolean R
boolean I=false
boolean A
timer N=CreateTimer()
unit B
integer c
integer C
player D
integer f
group F=CreateGroup()
boolean G=false
boolean h=false
integer H
sound j=CreateSoundFromLabel("InterfaceError",false,false,false,10,10)
constant real J=1
player k
boolean K
boolean l
boolean L
trigger m=CreateTrigger()
trigger M=CreateTrigger()
trigger P=CreateTrigger()
trigger q=CreateTrigger()
dialog Q=DialogCreate()
dialog s=DialogCreate()
button S
button T
button U
button w
button W
button Z
boolean

is there a file I can change to add my change log without fully deprotecting the map?

P.S. the map.j actually looks fairly normal here, but in notepad it has a bunch of little rectangles between words I don't understand. not sure how to work with the protected version of it
User avatar
haxorico
Super Moderator
Posts: 3190
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND

Re: How do I edit map description.

Post by haxorico »

war3map.j file is for the triggers. and for placing stuff (units cameras regions w/e)

the description file is in war3map.wts.

its in separated parts. but i think u can manage.
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:


Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).


Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
User avatar
Ken
Spice Pirate
Posts: 862
Joined: January 29th, 2009, 5:35 pm
Title: LHC
Location: Canada

Re: How do I edit map description.

Post by Ken »

Not necessarily.

Search for function config. Second line of the function should be "call SetMapDescription("something")"

If it says TRIGSTR_xxxx, extract war3map.wts and find the number, change the value there.

Otherwise, just change the string in war3map.j

Afterward, import the modified file back into the map and flush it.
Spoiler:
xkiska wrote:BARTIMEAUS is more understandable then u
Senethior459 wrote:Wow, Dream Theatre reminds me of Dragonforce, but with real skill.
Ozzapoo wrote:We laughed, we cried. Trashed.
FatherSpace: You don't find smart chicks hawt?
GeorgeMots: not anymore, im fed up with that kind of girls
FatherSpace: lol
FatherSpace: What happened?
GeorgeMots: most smart girls find out that i date/do/see other girls....
FatherSpace: ...
FatherSpace: So monogamy is your enemy?
Bartimaeus: Hmm, well, I hope my sister hasn't been kidnapped.
FatherSpace: What happened, Bart?
Bartimaeus: She walked out of the house saying that she was going over to some friends, and it's been like two hours, and my mom is trying to get a hold of her, which she's been unable to.
Bartimaeus: I can also hear three car alarms going off.
GeorgeMots: how old is she?
Bartimaeus: I haven't a clue. Probably 17.
UndeadxAssassin: wut
AbusivePie: You don't know how old your sister is?
Bartimaeus: Nope.
UndeadxAssassin: Epic fail
GeorgeMots: is she cute??
Bartimaeus: So, uh, how about you get into the Christmas spirit and put that avatar on before I do it myself and take away your bloody avatar-changin' rights?
UndeadxAssassin: If I thought of a random one...
UndeadxAssassin: Like....
UndeadxAssassin: I'll get back to you on that
afis
Junior Member
Posts: 26
Joined: June 22nd, 2009, 3:47 pm

Re: How do I edit map description.

Post by afis »

thanks for the assist. it was under string 33 in the wts, fairly easy change. only downside is space constraints or size it shows.
User avatar
UndeadxAssassin
Grammar King
Posts: 2115
Joined: June 22nd, 2008, 10:11 pm
Title: Worst human for 4eva
Location: Mostly USEast

Re: How do I edit map description.

Post by UndeadxAssassin »

When you replace the file using MPQMaster, just go to "Operations -> Compact(Flush)"

Normally it'll make the map size smaller.

If the option is grayed out, close MPQ, then open it up (and the map) again. should work then.
(20:53:52) Bartimaeus: Thank you, Jen.
(20:53:56) Bartimaeus: Truly, you are wise.


(23:44:12) Bartimaeus: I was in pubic school until middle school...


Learn how to extract and read RAW Codes here!

Need help? Click here and ask your question!