MATH Actions

A forum for discussing map making ideas and problems for the Myth series.
Post Reply
A-Red
Posts: 771
Joined: Fri Jul 23, 2004 8:36 pm

MATH Actions

Post by A-Red »

Hey all. Are there any tutorials or other good sources of information on how to use the new Math and Query Unit actions, and what sort of things they're good for?

Also, what is Unit Indicator, and why is it a separate MA when all its flags are also in Unit Control?
User avatar
Pyro
Bug Finder Extraordinaire
Posts: 4751
Joined: Sun Mar 21, 2004 2:14 pm
Location: Texas

Re: MATH Actions

Post by Pyro »

The Loathing doc and the parameter descriptions seen in Loathing can help with some of this at least to get you started. This thread explains a basic setup for Math.

Math MA basically lets you do any basic math equation which can be good if you want to test for certain values or alter them. It is like a cross between a GEOM and a MUNG.

QUNI lets you retrieve values from units. So instead of having some TUNI or GEOM figure out if a unit has at least a certain amount, you can just grab the exact value and maybe play around with it in MATH.

UIND right now only has those overhead text parameters CTRL already has. It works as the original set of params found in CTRL but you can specify which team or which player can see it. Think of it like that Fear feature for local proj groups where you can set them to be seen by the owner's team or the owner's player. Well it would actually be closer to that SOUN flag that lets a sound and its subtitle only be seen by the owner team or owner player.
A-Red
Posts: 771
Joined: Fri Jul 23, 2004 8:36 pm

Re: MATH Actions

Post by A-Red »

Awesome, thanks! I'll get caught up on all these 1.8 features sooner or later. Anything else you've personally found to be super useful? I noticed the Reboot Action param in Mungers, which seems like it's got some great potential (recycling Platoons, for instance).
User avatar
Pyro
Bug Finder Extraordinaire
Posts: 4751
Joined: Sun Mar 21, 2004 2:14 pm
Location: Texas

Re: MATH Actions

Post by Pyro »

In the mapmaking docs, anything with *New* is a 1.8.0 feature. With 1.7.x features indicated by *1.7.0*, *1.7.1*, and *1.7.2* text. These should make it easy to search using whatever search function your browser has (Ctrl-F for some). In some cases old options are altered with additional capabilities.

The LOCK action is an interesting one if you have a use for it. It allows you to run a group of tests like TUNI or GEOM a lot quicker than if you ran them in a series. Apparently it was broken in the past and someone fixed it back in 1.7.0. Bear can be useful for some ambient units you may want on some maps. Works like Deer, Chicken, etc but attacks others near them as the name may imply.

Fade Screen may be of use. Got added around the same time as Math so its not new but still recent if you haven't been keeping up with new features. Custom Ending and Custom Scoring are useful too if you want to make custom gametypes for multiplayer.

If you work with inventory and artifacts, it may interest you to know about the changes in the TUNI params "Object Held" and "Object Held Inventory" that can now test for units using inventory 0 and having no inventory.
Post Reply