Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Poor design of UNIx/UNIS section
Poor design of UNIx/UNIS section
Mar 23 2019, 5:18 pm
By: sethmachine  

Mar 23 2019, 5:18 pm sethmachine Post #1



Hi,

So I learned today that UNIx/UNIS will not update any unit settings unless the flag for saying the unit settings aren't default is set.

See: http://www.starcraftai.com/wiki/CHK_Format#.22UNIS.22_-_Unit_Settings

Confusingly I would think a flag of 0 meant to use default values, but 0 means use custom values.

Curious that the flag can be set to 1 but you can still store in the CHK the modified values and SC will happily ignore them.



None.

Mar 23 2019, 5:26 pm Suicidal Insanity Post #2

I see you !

That is good design - that way if you disable custom settings, and later re-enable them, you didn't lose what you had configured.




Mar 23 2019, 5:34 pm sethmachine Post #3



That is good design - that way if you disable custom settings, and later re-enable them, you didn't lose what you had configured.

hmm I guess I am thinking from writing UNIx programmatically.

I wouldn't add custom settings if I didn't intend to use them.

I guess from using the GUI it makes more sense to do it this way.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[12:26 pm]
NudeRaider -- There used to be a tutorial around for getting computer players to cast spells. But you can still view it at Ancient SEN. Note that your dt has to have at least 81 hit points.
[12:07 pm]
NudeRaider -- RdeRenato
RdeRenato shouted: I will try, I imagine it will be difficult to blind a dark templar
not really. Can be done without EUDs: Put a dt and a medic in a pen. Give the medic vision of him. Add an attacking unit that the medic CAN'T see and make it attack the medic. This should be enough to make it blind the dt.
[08:06 am]
IlyaSnopchenko -- Or you can write AI scripts explicitly ordering a medic / queen to cast a spell
[04:59 am]
Ultraviolet -- Oh I think I remember, the trick with forcing medics to blind a unit was to get the unit to attack the medic
[09:53 pm]
Sie_Sayoka -- blind and parasite can be done through euds or you can just change the vision radius like ultraviolet said
[09:38 pm]
RdeRenato -- I will try, I imagine it will be difficult to blind a dark templar
[07:16 pm]
Ultraviolet -- Alternatively, you can just use EUDs to modify unit vision range on the fly, creating the potential for a blind effect. Vision range is one of those dynamic variables (not sure if this is actually the correct terminology) that doesn't require a unit to be recreated for it to take effect. It goes into effect immediately for all units of that type and can be changed as often as you like.
[07:15 pm]
Ultraviolet -- I'm not sure about parasite, but for blind, I seem to remember if you place CPU medics on cliffs around, they will blind any enemy units who pass. Might have to be units of a certain value or type, not sure about that detail
[05:34 pm]
Dem0n -- without EUDs, you have to aggravate a Medic/Queen so that it blinds/parasites the unit
[05:34 pm]
Dem0n -- probably with EUDs
Please log in to shout.


Members Online: Roy