OK so I have my map and I create units for the computer with triggers. Then for some reason, some of them automatically are junkyard roaming!!
I recently opened the map in Starforge so I could make one of the units deal 0 damage and saved it. Then I opened it back up with the Xtra editor (special). This junkyard problem has never happened before I did that. Could that have anything to do with it? Could it be something else?
Weird stuff goin down.
Thanks
None.
We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
Generally it's a bad idea to switch editors. And just to change the damage of a unit it's not needed (if you're not using staredit).
But I never heard about that it would cause units to behave differently.
Critters are always junkyard roaming.
Apart from that you need to apply the "junkyard dog" (at location) ai on units to have them roam around. Check if a trigger with that action could be firing when you don't expect it.
Are you trying to run the JYD AI anywhere at all? Because unless they are critters, they shouldn't start roaming on their own, and I've never heard of any bugs that can write triggers
None.
Critters are always junkyard roaming.
No they don't.
They have a specific critter idle order. They are pretty different... a few steps here, a few steps there vs. going from one side of the map/area to the other. >.>
Yeah. Even switching editors shouldn't mess with triggers (unless you are doing something "illegal" in one of them.)
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!
Generally it's a bad idea to switch editors. And just to change the damage of a unit it's not needed (if you're not using staredit).
But I never heard about that it would cause units to behave differently.
Critters are always junkyard roaming.
Apart from that you need to apply the "junkyard dog" (at location) ai on units to have them roam around. Check if a trigger with that action could be firing when you don't expect it.
Well I didn't think there was a way to make a unit deal 0 damage in the X-tra editor. Is there? If there is, that could fix my problem as I specifically saved the map under a different name before messing with it in StarForge.
Are you trying to run the JYD AI anywhere at all? Because unless they are critters, they shouldn't start roaming on their own, and I've never heard of any bugs that can write triggers
I was running a Junk Yard Dog AI in 5 different locations (which the units said don't lie in) and I deleted them just to make sure and it still does it.
Critters are always junkyard roaming.
No they don't.
They have a specific critter idle order. They are pretty different... a few steps here, a few steps there vs. going from one side of the map/area to the other. >.>
Yeah. Even switching editors shouldn't mess with triggers (unless you are doing something "illegal" in one of them.)
Not doing anything illegal (Unless setting a unit's damage to 0 is illegal
)
Thanks for the replies guys
None.
We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
Well I didn't think there was a way to make a unit deal 0 damage in the X-tra editor. Is there? If there is, that could fix my problem as I specifically saved the map under a different name before messing with it in StarForge.
Not doing anything illegal (Unless setting a unit's damage to 0 is illegal
)
Thanks for the replies guys
Setting to 0 damage isn't illegal. But keep in mind that the unit will still do 0,5 damage in game although it shows 0.
In X-tra editor you have to enter 8437 if I remember correctly. The editor will translate it to 0 when you leave. I think looking at the page again resets it, so you have to reenter it.
This is a bit complicated, so you're better off using scmdraft 2 only.
OK I figured something out, they weren't actually junk yard dogging, they were moving to a specific location, which is weird. In one of my triggers, I have them being moved (teleported) to a spot and then swiftly being teleported to a different spot and another spot in very very quick succession. They seem to be wanting to move back to the location they were at previously. Does that make sense to anyone?
Setting to 0 damage isn't illegal. But keep in mind that the unit will still do 0,5 damage in game although it shows 0.
In X-tra editor you have to enter 8437 if I remember correctly. The editor will translate it to 0 when you leave. I think looking at the page again resets it, so you have to reenter it.
This is a bit complicated, so you're better off using scmdraft 2 only.
Hmm 8437 isn't working and it would be useful in the future for me so I don't have to switch to StarForge every so often. Does anyone else know what number it's supposed to be?
None.
We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
I'm pretty sure that's only for time, not damage...
Yeah, since damage can easily be set to 9999
Just stick with SCM Draft and it shoudn't be a problem.
Post the map in question, or use a text editor to search your triggers for order functions. Although I know there is some kind of built-in AI that tells units to go back to their places when they move, I think that ordering usually negates that...
None.
We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
Quote from name:Killer_Kow
I'm pretty sure that's only for time, not damage...
Lol yeah, obviously you're right.
Hmm, did they get ordered to that location right before you teleported them? maybe they are still trying to finish it o.0
None.
xtra editor is bad. Use ScmDraft2, it is way better. And you dont need any code to set damage to 0 in ScmDraft2.
None.
Setting to 0 damage isn't illegal. But keep in mind that the unit will still do 0,5 damage in game although it shows 0.
In X-tra editor you have to enter 8437 if I remember correctly.
8739 (and apparently 4370, as I just discovered), translate to 0 for times only, not damages. Staredit.exe based editors (including X-Tra) support up to 9999 damage. Keep in mind that instant build times tend to crash SC. Use these 0 values for instant upgrades and abilities though.
Also 9999 time is not long at all. It is only 1260 (for the same reason those two other numbers are 0.) To figure out what any number higher than 4369 (the max) is, multiply it by 15 and then cut off anything more than 2 bytes (in windows calculator, just set the hex/oct/dec to Word and it will do that), and then divide by 15 (or 0x0f).
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!