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 > Programming
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 07-29-2007, 07:51 PM   #46
SFilip
reenignE
 
SFilip's Avatar
 
Join Date: Mar 2006
Posts: 321

SFilip has a spectacular aura about (111)SFilip has a spectacular aura about (111)SFilip has a spectacular aura about (111)SFilip has a spectacular aura about (111)

Send a message via MSN to SFilip
Default

> Yes, the int: ??? shouldn't be there.
Ah that makes sense too, thanks :)

And that rewritten version would probably be very helpful to me, could you at least post it here if you don't have the time to update?
__________________
Want to create your own natives for Jass? Try RtC project's nAPI

Last edited by SFilip : 07-29-2007 at 07:52 PM.
SFilip is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 07-29-2007, 09:14 PM   #47
PitzerMike
Alcopops
 
PitzerMike's Avatar


Tools & Tutorials Moderator
 
Join Date: Jan 2003
Posts: 2,794

Submissions (12)

PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)

Approved Map: Pitzer's Minesweeper

Default

Here's the interesting bits:

Code:
ECA Structure

int: ECA type (0=event, 1=condition, 2=action, 3=call)
optional if this is not a top-level ECA
  int: branch (0=if-conditions, 1=then-actions, 2=else-actions, if the parent is not an if/then/else this will be 0 because there's only one branch)
string: name
int: enabled (0=disabled, 1=enabled)
  "x" times a parameter structure (where "x" depends on the number of parameters defined in TriggerData.txt)
int: number "n" of children
  "n" times an ECA structure (when parsing these child-ECAs we need to read the additinal branch-int mentioned above also)


Parameter Structure

int: Parameter type (0=preset, 1=variable, 2=function, 3=jass)
string: value
        = preset name if paremeter type == 0
        = variable name if parameter type == 1
        = default display value when function is not found in TriggerData.txt if parameter type == 2
        = jass string if parameter type == 3
int: functioncount "fc" (usually 0, only for parameter type is function it's 1)
  "fc" times an ECA structure
int: arrayindexcount "ic" (usually 0, only if parameter type is variable and the variable is an array it's 1, as long as Blizz doesn't decide to invent multidimensional arrays it's safe to assume this can't be higher than 1 - lazy bastards)
  "ic" times a Parameter structure

On a side note I have recently written C++ code that loads/writes TriggerData, TriggerStrings, wct and wtg data from files/memory. Maybe that would be more useful than the specs alone?
__________________
Zoom (requires log in)

Last edited by PitzerMike : 07-29-2007 at 09:16 PM.
PitzerMike is offline   Reply With Quote
Old 07-30-2007, 01:11 AM   #48
TheSecretArts
Galaxy Scripter
 
TheSecretArts's Avatar
 
Join Date: Mar 2007
Posts: 1,077

Submissions (2)

TheSecretArts will become famous soon enough (38)TheSecretArts will become famous soon enough (38)

Send a message via AIM to TheSecretArts Send a message via MSN to TheSecretArts Send a message via Yahoo to TheSecretArts
Default

yes, you should talk to BD about adding it to the .net library
__________________
I have officially moved exclusively to Starcraft 2 mapmaking.
Project: Escape Velocity: Nova Reloaded
Don't expect me to finish this project lol...
TheSecretArts is offline   Reply With Quote
Old 07-30-2007, 06:20 AM   #49
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


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

Submissions (37)

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

Hero Contest #3 - 2nd Place

Default

if only C++ was .net or .net was C++ ...

Aw god, that would be terrible!
__________________
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 07-30-2007, 06:26 AM   #50
PitzerMike
Alcopops
 
PitzerMike's Avatar


Tools & Tutorials Moderator
 
Join Date: Jan 2003
Posts: 2,794

Submissions (12)

PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)

Approved Map: Pitzer's Minesweeper

Default

Quote:
Originally Posted by Vexorian
if only C++ was .net or .net was C++ ...

Aw god, that would be terrible!

Change a few symbols here and there and you've got managed c++ ;)
__________________
Zoom (requires log in)
PitzerMike is offline   Reply With Quote
Old 07-30-2007, 11:44 PM   #51
TheSecretArts
Galaxy Scripter
 
TheSecretArts's Avatar
 
Join Date: Mar 2007
Posts: 1,077

Submissions (2)

TheSecretArts will become famous soon enough (38)TheSecretArts will become famous soon enough (38)

Send a message via AIM to TheSecretArts Send a message via MSN to TheSecretArts Send a message via Yahoo to TheSecretArts
Default

ai version 2
__________________
I have officially moved exclusively to Starcraft 2 mapmaking.
Project: Escape Velocity: Nova Reloaded
Don't expect me to finish this project lol...
TheSecretArts is offline   Reply With Quote
Old 07-31-2007, 12:05 AM   #52
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


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

Submissions (37)

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

Hero Contest #3 - 2nd Place

Default

If only managed C++ wasn't managed C++...
__________________
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 07-31-2007, 12:11 AM   #53
TheSecretArts
Galaxy Scripter
 
TheSecretArts's Avatar
 
Join Date: Mar 2007
Posts: 1,077

Submissions (2)

TheSecretArts will become famous soon enough (38)TheSecretArts will become famous soon enough (38)

Send a message via AIM to TheSecretArts Send a message via MSN to TheSecretArts Send a message via Yahoo to TheSecretArts
Default

the world would be a better place
__________________
I have officially moved exclusively to Starcraft 2 mapmaking.
Project: Escape Velocity: Nova Reloaded
Don't expect me to finish this project lol...
TheSecretArts is offline   Reply With Quote
Old 10-10-2007, 04:09 AM   #54
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


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

Submissions (37)

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

Hero Contest #3 - 2nd Place

Default

This document looks pretty strange on firefox on ubuntu, should use <ul> instead of funny characters for lists...
__________________
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 10-10-2007, 08:17 AM   #55
PitzerMike
Alcopops
 
PitzerMike's Avatar


Tools & Tutorials Moderator
 
Join Date: Jan 2003
Posts: 2,794

Submissions (12)

PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)

Approved Map: Pitzer's Minesweeper

Default

It happened after the server move. It looked ok on Firefox before.
I also have an updated version of it, but I don't know if the ftp will ever come back.
__________________
Zoom (requires log in)

Last edited by PitzerMike : 10-10-2007 at 08:19 AM.
PitzerMike is offline   Reply With Quote
Old 09-02-2008, 07:11 PM   #56
Strilanc
User
 
Strilanc's Avatar
 
Join Date: Jun 2007
Posts: 917

Submissions (4)

Strilanc has a spectacular aura about (131)

2008 Spell olympics - Fire - Gold

Default

A very nice resource. The 'more up to date' page shows up in broken html though.
__________________
Don't pay attention to this signature, it's self-contradictory.
Strilanc is offline   Reply With Quote
Old 09-05-2008, 05:45 PM   #57
PitzerMike
Alcopops
 
PitzerMike's Avatar


Tools & Tutorials Moderator
 
Join Date: Jan 2003
Posts: 2,794

Submissions (12)

PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)

Approved Map: Pitzer's Minesweeper

Default

Quote:
Originally Posted by Strilanc
A very nice resource. The 'more up to date' page shows up in broken html though.

You'll have to right-click save-as it, then open it locally.
__________________
Zoom (requires log in)
PitzerMike is offline   Reply With Quote
Old 10-26-2008, 01:31 AM   #58
wyrmlord
User
 
wyrmlord's Avatar
 
Join Date: Feb 2006
Posts: 399

Submissions (2)

wyrmlord has a spectacular aura about (77)wyrmlord has a spectacular aura about (77)wyrmlord has a spectacular aura about (77)

Default

Could you mention that the coordinates for the war3map.wpm start at the bottom left corner? (0,0 being bottom left, width,height being top right) Although I could be wrong, it doesn't appear to be noted anywhere. I just spent awhile trying to debug a program that messed with the war3map.wpm only to realize that the origin was not at the top left as I had originally expected it to be.
__________________
A member of Clan TDG - Quality mapmaking and playtesting.

Tired of boring old GUI? Want to learn JASS? Take a look at these tutorials.
wyrmlord is offline   Reply With Quote
Old 12-05-2008, 01:50 PM   #59
PitzerMike
Alcopops
 
PitzerMike's Avatar


Tools & Tutorials Moderator
 
Join Date: Jan 2003
Posts: 2,794

Submissions (12)

PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)

Approved Map: Pitzer's Minesweeper

Default

Some new stuff about blps right there: http://wc3campaigns.net/showthread.php?t=103242
__________________
Zoom (requires log in)
PitzerMike is offline   Reply With Quote
Old 10-08-2013, 12:34 AM   #60
PurgeandFire111
User
 
PurgeandFire111's Avatar
 
Join Date: Dec 2006
Posts: 253

PurgeandFire111 will become famous soon enough (58)PurgeandFire111 will become famous soon enough (58)

Default

I'm attaching this updated version again since it was lost in the last downtime.

Just note that the external links in the attachment will lead you to dropbox (e.g. for the other specs, like KMK's MDX specs or Magos' BLP specs). If you need to look at those, just look at the original HTML doc in the first post.
Attached Files
File Type: html W3M and W3X Files Format.html (122.8 KB, 91 views)
PurgeandFire111 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 07:55 AM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

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