wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Warcraft III Modding > Developer's Corner > Warcraft Editing Tools
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 05-19-2008, 05:31 AM   #1
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,905

Submissions (37)

Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)

Hero Contest #3 - 2nd Place

Default WarCiTy 0.2.0

This is a quick and dirty editor for a map's wct file (The one that holds custom text triggers)

Initial version is able to mldly browse and edit the custom text triggers, note that right now there is no way for the program to tell whether a trigger is disabled o a comment or even what's the trigger name... But it does its job fine.

One good feature is that you can export and import these (the custom text) files as a special type of .j file, you can use this feature to process the custom text triggers all grouped into a single file. BTW, the syntax of the generated file is jass/vJass compatible, unless you had disabled triggers in your map that didn't follow the jass syntax or had redundant functions.

Next versions will also deal with the .wtg file and thus will be able to handle disabled triggers correctly.

Roadmap
** Initial version: can only support wct editing, ignores wtg, this makes it unable to add triggers, or actually know information related to the triggers.

Phase two: Will be able to handle .wtg if and only if there are no GUI triggers or GUI variables in the map, else it will go back to the limited mode we got in the initial version. This will allow you to create new custom text triggers, enable them externally (should be good against crazy WE not letting you enable them). Adding categories, controlling their adition order, etc.

Phase three: will automatically convert GUI triggers into custom text and GUI variables into a vJass compatible globals block. Then allow the stuff described in phase two on other maps, if some action/event/function is unrecognized (the map was done by UMSWE or WEU and you don't have a complete triggerdata.txt) it will still default to limited mode.

changelog:
0.2.0: Fixed a bug when saving maps with no custom script section comment.
Attached Files
File Type: 7z warcity0.2.0.7z (335.3 KB, 324 views)
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 05-19-2008, 08:37 AM   #2
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)cohadar is a jewel in the rough (246)

Default

Correct be if I am wrong but would not it be much better for us who can use WE if we simple had global search/replace option in TESH ?
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.
cohadar is offline   Reply With Quote
Old 05-19-2008, 01:35 PM   #3
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,905

Submissions (37)

Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)

Hero Contest #3 - 2nd Place

Default

Probably, but before that becomes an alternative, it would actually have to be implemented. I think it would be ass hard to implement something like that in TESH since that requires somebody to access WE's own data structure holding the custom text...

Oh, another use, if you export the script then import it back it would automatically fix non-lame(windows) line breaks, I remember that tends to be an issue when apple users try to post their maps.
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 05-19-2008, 01:52 PM   #4
emjlr3
Rehabbing
 
emjlr3's Avatar
 
Join Date: Jun 2005
Posts: 1,386

Submissions (14)

emjlr3 is a jewel in the rough (151)emjlr3 is a jewel in the rough (151)

Mapping Contest First Place

Send a message via AIM to emjlr3 Send a message via MSN to emjlr3
Default

sounds great, interested in trying this when I can

so does this do syntax checks for you? TESH style highlghting, etc., or is simply like taking out the .j, editing it and putting it back in ( which would suck)
__________________

Last edited by emjlr3 : 05-19-2008 at 02:15 PM.
emjlr3 is offline   Reply With Quote
Old 05-21-2008, 11:56 PM   #5
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,905

Submissions (37)

Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)

Hero Contest #3 - 2nd Place

Default

I don't think it does any of those things.

The main window just shows the triggers as when the old WE times, it is meant as a quick preview. Its main activity is to import/export the warcity script and then I like to use gvim to edit it, I guess somebody else could also use jasscraft on it, btw another possible use would be to generate those files and then have a tool that process them.

To prevent confusion, the .j file is not war3map.j but something it generates from all the custom text triggers, it is a special .j file with some //! tags to distribute the custom text triggers.

This is the first release and can only export the custom text in the 'limited' format, once I add .wtg handling support it will be able to do a lot of crazy things...

--
*new version bump*
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 08-20-2008, 04:37 AM   #6
Rising_Dusk
Obscurity, the Art


Projects Director
Project Leader: OD
 
Join Date: Feb 2006
Posts: 9,727

Submissions (27)

Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)

Hero Contest #3 - 1st PlaceApproved Map: Desert of ExileApproved Map: Advent of the ZenithHero Contest #2 - 1st PlaceHero Contest - Third place>

Send a message via AIM to Rising_Dusk Send a message via MSN to Rising_Dusk
Default

Can you not add the following two things to this --
  • A replace and replace all feature built into the program.
  • A list of all custom text triggers that you can view, rather than having to Cntl+N/L through them all to find what you want, just pick which ones to look at and label them by their trigger slot names.
Cool program, otherwise.
__________________
Rising_Dusk is offline   Reply With Quote
Old 08-20-2008, 05:19 AM   #7
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,905

Submissions (37)

Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)

Hero Contest #3 - 2nd Place

Default

A list of triggers would just say trigger 1, trigger 2, trigger 3,... Reading the trigger names requires parsing the wtg which requires parsing some stuff that is a little over complicated, I blame GUI. Support for wtg is in the features queue though...
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 08-20-2008, 08:49 AM   #8
Rising_Dusk
Obscurity, the Art


Projects Director
Project Leader: OD
 
Join Date: Feb 2006
Posts: 9,727

Submissions (27)

Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)

Hero Contest #3 - 1st PlaceApproved Map: Desert of ExileApproved Map: Advent of the ZenithHero Contest #2 - 1st PlaceHero Contest - Third place>

Send a message via AIM to Rising_Dusk Send a message via MSN to Rising_Dusk
Default

Well that's good, it would really improve the usability of the program if those things were added. :)
__________________
Rising_Dusk is offline   Reply With Quote
Old 08-27-2008, 07:49 PM   #9
Zoxc
( ~)>
 
Zoxc's Avatar


Respected User
 
Join Date: Feb 2005
Posts: 959

Submissions (9)

Zoxc is just really nice (312)Zoxc is just really nice (312)Zoxc is just really nice (312)

Default

You could just parse the nasty .wtg GUI :]
__________________
Zoxc is offline   Reply With Quote
Old 10-02-2008, 02:20 AM   #10
Joker
User
 
Joker's Avatar
 
Join Date: Sep 2006
Posts: 687

Joker will become famous soon enough (32)Joker will become famous soon enough (32)

Default

Darn, you cant see protected maps with this.
Joker is offline   Reply With Quote
Old 10-02-2008, 05:36 AM   #11
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,905

Submissions (37)

Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)

Hero Contest #3 - 2nd Place

Default

'protected' maps don't usually even have a wct file, so a wct editor sounds extremely unrelated to them.
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 06:37 AM.


Donate

Affiliates
The Hubb http://bylur.com - Warcraft, StarCraft, Diablo and DotA Blog & Forums The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2014, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services