Author Topic: War2 Triggers Editor released!  (Read 70992 times)

Offline ~ToRa~

  • Server Admin
  • Death Knight
  • *****
  • Posts: 3550
  • The General
    • View Profile
Re: War2 Triggers Editor released!
« Reply #15 on: May 14, 2022, 09:39:04 PM »
@Mistral

Love the new version Mistral.
Would you be able to do a write up on the functions on the new version?
Most players haven’t a clue how Dessert Strike works would be great to list the latest commands and different features.
I think players can list what the cost is per unite and what the best strats are.
war2 > war3

Offline Mistral

  • Administrator
  • Axe Thrower
  • *****
  • Posts: 419
    • View Profile
Re: War2 Triggers Editor released!
« Reply #16 on: May 15, 2022, 08:49:09 AM »

Offline Mistral

  • Administrator
  • Axe Thrower
  • *****
  • Posts: 419
    • View Profile
Re: War2 Triggers Editor released!
« Reply #17 on: August 17, 2022, 10:55:32 AM »
updated to 1.4.1
fixed some bugs
added trigger sort units not in region
added trigger get center of region
added trigger remove terrain in region
added new smart dota 1.4 map to triggers examples

Offline Mistral

  • Administrator
  • Axe Thrower
  • *****
  • Posts: 419
    • View Profile
Re: War2 Triggers Editor released!
« Reply #18 on: October 07, 2022, 02:09:34 PM »
updated to 1.5
fixed some bugs
added trigger build goldmine anywhere
added trigger build forest anywhere
added trigger build forest gold price
added trigger player is controled by human/computer/nobody
added trigger create unit in VALUE XY and VALUE AMOUNT
added trigger use ships speed upgrade for towers speed
added trigger change custom mission objective
added trigger change custom units name
added move units to VALUE XY trigger

Offline Player

  • Axe Thrower
  • ****
  • Posts: 485
    • View Profile
Re: War2 Triggers Editor released!
« Reply #19 on: February 17, 2023, 04:27:27 PM »
@Mistral - where is the option to turn the lumber bug on/off?  I thought I saw it there before.

Offline Mistral

  • Administrator
  • Axe Thrower
  • *****
  • Posts: 419
    • View Profile
Re: War2 Triggers Editor released!
« Reply #20 on: February 17, 2023, 05:04:18 PM »
wat is lumber bug exactly?
i think i never had any triggers for it lol

Offline Player

  • Axe Thrower
  • ****
  • Posts: 485
    • View Profile
Re: War2 Triggers Editor released!
« Reply #21 on: February 17, 2023, 08:21:01 PM »
The thing where you command a peon to chop wood, make a lumber mill and you get the +125 wood after it's done building even though the peon never chopped anything.  Thought it was in there, all good if not.


Offline Mistral

  • Administrator
  • Axe Thrower
  • *****
  • Posts: 419
    • View Profile
Re: War2 Triggers Editor released!
« Reply #22 on: February 24, 2023, 07:47:42 AM »
this thing never was in triggers
this is old DOS version trick - it was fixed in war2 BNE by original blizzard

basically bug was like this - peon receiving PEON_HARVEST_WOOD flag when he was actually sended to chop
not even need to touch tree at all, u can even send peon to chop someting in fog of war on other side of map.
so basically this is flag that checked if needed to give res, but peon cannot enter into lumbermill with just it, he also need PEON_LOADED flag.
but there is no check if peon loaded when he is ALREADY INSIDE and this is happens exactly when he finished build lumbermill or TH.
so u basically can get +100 free wood when build TH or +125 when build lumbermill (or builded TH and already had mill)

and fun fact - it was working every single time.
so PRO players in DOS version on 1996-99 always sended peon to chop before building first TH or lumbermill or expand TH.

Offline Warchief Lightbringer-

  • Server Admin
  • Axe Thrower
  • *****
  • Posts: 428
    • View Profile
Re: War2 Triggers Editor released!
« Reply #23 on: May 02, 2023, 12:25:28 AM »
Thanks. Will download user created maps and play some. Been replaying the war2 campaign lately (still on tides of darkness then will finish dark portal before doing the user created campaign)

Are there more maps than the 5-6 examples you posted for single play?
aka DeaDLyGaMeS

Offline Mistral

  • Administrator
  • Axe Thrower
  • *****
  • Posts: 419
    • View Profile
Re: War2 Triggers Editor released!
« Reply #24 on: May 02, 2023, 10:38:41 AM »
no there is only those maps for now as i know
at least those is only maps that ME created (maps with triggers)
and i dunno about maps of OTHER players but it seems like there is still noone, no one created any maps unfortunately
i still waiting for days when someone creates custom maps

also u can check some super cool custom campanigns that me and my friends created
https://forum.war2.ru/index.php/topic,5534.0.html
https://forum.war2.ru/index.php/topic,6639.0.html

Offline Warchief Lightbringer-

  • Server Admin
  • Axe Thrower
  • *****
  • Posts: 428
    • View Profile
Re: War2 Triggers Editor released!
« Reply #25 on: May 04, 2023, 01:04:09 AM »
no there is only those maps for now as i know
at least those is only maps that ME created (maps with triggers)
and i dunno about maps of OTHER players but it seems like there is still noone, no one created any maps unfortunately
i still waiting for days when someone creates custom maps

also u can check some super cool custom campanigns that me and my friends created
https://forum.war2.ru/index.php/topic,5534.0.html
https://forum.war2.ru/index.php/topic,6639.0.html

Exactly what I needed! Thanks man. Been enjoying doing the campaign lately. MP is way too hectic for a 10 something year old rusty me.. lol
aka DeaDLyGaMeS

Offline Buttercraft

  • Grunt
  • ***
  • Posts: 60
    • View Profile
Re: War2 Triggers Editor released!
« Reply #26 on: June 27, 2023, 05:13:55 AM »
Hi Mistral, want to thank you for this great tool and have some suggestions. :thumbsup:

I think a random function would be very useful, Set Value = Rand function (ex, Random number between x and y) and also Amount = Rand (example Timer between 5 and 20 seconds).

Second suggestion, Starcraft maps can embed sound files (at ~30% of the original size), as the scm is just an MPQ container file, would it be possible to embed sounds into the trigger file?

Offline Mistral

  • Administrator
  • Axe Thrower
  • *****
  • Posts: 419
    • View Profile
Re: War2 Triggers Editor released!
« Reply #27 on: June 27, 2023, 05:51:21 AM »
so for random i thinked about it but cannot implement for now

for sounds
PUD maps are basically a file with set of sections
triggers being stored is old unused OILM section which was used for oil distribution in old alpha war2
but size of this section is depends of map size so max amount of bytes that triggers can be is for 128x128 map = 16k bytes
so this is not possible to put custom sound files and etc u just not have any place for even 1 sound
it is possible to add more sections i think but then maps becomes uncompatible with original map editor and even puddraft too
if u open and save map in them then all other non supported sections being removed from map file

p.s. lol also imagine the lag when someone joins lobby and needs to download 50mb map with tons of cursed custom sounds :) :) :) :)
« Last Edit: June 27, 2023, 06:01:23 AM by Mistral »

Offline Buttercraft

  • Grunt
  • ***
  • Posts: 60
    • View Profile
Re: War2 Triggers Editor released!
« Reply #28 on: June 28, 2023, 12:21:05 AM »
Yeah it migt be a problem :)) I didn't notice the trigger maps are embedded without separable files for online play, makes sense.

I was thinking of Sniper CTF or bomb plant/defusal with random groups of NPC units moving around the map to create danger for both teams, as well as runes so you must send spotters first, with each round you can buy fire throwing grunts, additional spotters(submersible peon), demo team etc, or air strike (temporary battleship or catapult with 128 range and turtle missiles), etc, the random factor makes each round different as much as is possible, random terrain would be cool but maybe a bit ambitious.

I think random can be implemented another way (Hp of unit under some effect) but it's slow, you lose player slots and I don't know how reliable that method will be generally.

Offline Buttercraft

  • Grunt
  • ***
  • Posts: 60
    • View Profile
Re: War2 Triggers Editor released!
« Reply #29 on: June 28, 2023, 12:34:25 AM »
By the way, it would be really nice to change the speed of "even faster" being the most popular selection.

For reference, fastest defaults to 13, even faster is 20. Something like 17 plays better, I think.