| 01-12-2007, 10:56 AM | #31 |
It's 2's complement. |
| 02-05-2007, 10:48 PM | #32 | |
Quote:
T = Transparency R = red G = green B = blue |
| 02-05-2007, 10:58 PM | #33 | |
Quote:
|
| 02-24-2007, 12:05 AM | #34 |
(i think wyrm is agreeing with me, not saying it is obvious) Pitzer, if you haven't already, update it! it is wrong! (i haven't checked lately though) If it is the same as when i posted no one has looked at the RED highlight. |
| 02-24-2007, 04:00 AM | #35 |
@wyrm: my statment says "TTRRGGBB" meaning "|cFFFF0000" would be red, Please specify if you are talking to me or to someone else, this needs to be altered but it hasn't |
| 02-24-2007, 08:14 PM | #36 |
I must have misread something. I thought the red text was your correction instead of the original. |
| 02-25-2007, 07:39 PM | #37 |
(Removed caps/color) Your still need to fix it... |
| 02-25-2007, 09:03 PM | #38 |
Calm down its only some text most people know that anyway (obviously not the person who mae that part of the document but) |
| 02-26-2007, 11:26 PM | #39 |
It's good that you're pointing out errors in the docs, but seriously, the caps and color abuse was totally uncalled for, please remove it. I've seen your post some days ago already and it will be included in the next update. However, it's not like I'm updating daily for every tiny thing. Afterall I'm sure everyone here knows that the order is ARGB, and not ABGR. |
| 07-29-2007, 03:52 PM | #40 |
I have a WAI adendum; this is for the end parts of WAI take: Code:
int: game options Unless otherwise noted all of the options are contained in HiWord of options integer. Check for the presence of options by using a mask with following values: Disable Fog Of War: 0x0001 Disable Victory/Defeat Conditions: 0x0002 int: regular game speed string: path to map file int: number "h" of Players (0-2) "h" times players structure *(9) int: ??? Code:
int GameFlags (0x0001 - No fog, 0x0002 - No Victory / Defeat Conditions)
in GameSpeed
string TestMap Path
int NumPlayers
for each player do:
//Start Player Structure
int Handicap (% of 64)
int Player Type (0C - Current AI, 04 - Outside AI, 00 - Standard AI, 06/0E - Observer Chat, 01 - Player)
??? AI Source has two possible types, int or string;
//AI source is the int set 01,00,00,00 when you have a Player/Observer/Current/Standard AI AND
//AI source is a string whe nyou have an outside AI and has a 00 after it; EG, <String>,00
//End Player Structure |
| 07-29-2007, 04:20 PM | #41 |
Thanks. What version of the .wai are we talking here? |
| 07-29-2007, 04:38 PM | #42 |
The wai i examined what wai generated from the latest patch so im assuming latest. |
| 07-29-2007, 05:06 PM | #43 | |
Quote:
I meant that version. Was it 2? Or is there already a newer version? |
| 07-29-2007, 05:38 PM | #44 |
war3map.wtg, TFT version: Code:
*(4)ECA function definition structure int: function type: 0=event, 1=condition, 2=action String: function name int: enable state: 0=function disabled, 1=function enabled "x" times a parameter structure*(5). x depends of the function and is hardcoded. int: ??? int: number "i" of event-condition-action (ECA) function "i" times an ECA function definition structure*(4)(if this trigger doesn't have multiple actions it should be set to 0 so we don't have this section) |
| 07-29-2007, 06:36 PM | #45 |
Yes, the int: ??? shouldn't be there. However the int "i" is correct. It's the number of child ECA's which is usually zero. Only for if (multiple conditions/actions), foreach (multiple actions) ect. it can be > 0. Reminds me I should update the WTG specs, I have a completely rewritten version of it on my HD, just havn't had the time to update yet. Also don't trust the version by Zoxc that is floating around. It's got the parameter structure completely flawed. |
