Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Why are they junkyard roaming?!?!
Why are they junkyard roaming?!?!
May 4 2008, 8:37 am
By: Madroc  

May 4 2008, 8:37 am Madroc Post #1



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 :blush:



None.

May 4 2008, 9:47 am NudeRaider Post #2

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.




May 4 2008, 1:23 pm Falkoner Post #3



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 :P



None.

May 4 2008, 3:48 pm O)FaRTy1billion[MM] Post #4

👻 👾 👽 💪

Quote from NudeRaider
Critters are always junkyard roaming.
No they don't. :P 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!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

May 4 2008, 6:24 pm Madroc Post #5



Quote from NudeRaider
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.


Quote from Falkoner
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 :P

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.

Quote from O)FaRTy1billion[MM]
Quote from NudeRaider
Critters are always junkyard roaming.
No they don't. :P 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 :wtfage: )

Thanks for the replies guys :rolleyes:



None.

May 4 2008, 7:45 pm NudeRaider Post #6

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 Madroc
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 :wtfage: )

Thanks for the replies guys :rolleyes:
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.




May 4 2008, 8:48 pm Madroc Post #7



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?
Quote from NudeRaider
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.

May 4 2008, 9:52 pm NudeRaider Post #8

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

8739




May 4 2008, 10:24 pm Symmetry Post #9

Dungeon Master

I'm pretty sure that's only for time, not damage...



:voy: :jaff: :voy: :jaff:

May 4 2008, 10:55 pm Falkoner Post #10



Yeah, since damage can easily be set to 9999 :P

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.

May 5 2008, 1:06 am NudeRaider Post #11

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. :blush:




May 6 2008, 12:58 am ZzEzZ Post #12



Hmm, did they get ordered to that location right before you teleported them? maybe they are still trying to finish it o.0



None.

May 6 2008, 1:32 am Nukes_are_nice Post #13



xtra editor is bad. Use ScmDraft2, it is way better. And you dont need any code to set damage to 0 in ScmDraft2.



None.

May 6 2008, 10:17 pm Moose Post #14

We live in a society.

Quote from NudeRaider
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. :)




May 7 2008, 2:53 am O)FaRTy1billion[MM] Post #15

👻 👾 👽 💪

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!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[2024-5-06. : 3:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[2024-5-06. : 12:51 am]
Oh_Man -- definitely EUD
[2024-5-05. : 9:35 pm]
Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
[2024-5-05. : 9:35 pm]
Vrael -- that is insane
[2024-5-05. : 9:35 pm]
Vrael -- damn is that all EUD effects?
[2024-5-04. : 10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
Please log in to shout.


Members Online: RIVE