Staredit Network

Staredit Network -> UMS Assistance -> [SOLVED] Automatically Loading Units
Report, edit, etc...Posted by LazyCoder on 2007-01-01 at 13:14:10
I did the run ai script load units into transport thing. As soon as all the units are loaded, the computer starts unloading them. Is there anyway to keep it from unloading them?
Report, edit, etc...Posted by CheatEnabled on 2007-01-01 at 13:50:09
Load for one player, then give it to another computer.
Report, edit, etc...Posted by LazyCoder on 2007-01-01 at 18:00:10
That doesn't work. The computer still unloads them. I'll just have the player load them in with the script while they're not looking.
Report, edit, etc...Posted by Mp)Blu on 2007-01-01 at 18:19:38
Maybe because you are ordering the units to attack?
Report, edit, etc...Posted by Falkoner on 2007-01-01 at 18:50:06
Are there any other AI scripts being run to the dropship or are there any enemies around?
Report, edit, etc...Posted by fritfrat(U) on 2007-01-02 at 09:00:46
If computer dropships are not moving they generally unload. I don't guarantee that this will work, but try constantly ordering move.
Report, edit, etc...Posted by Undead-Fox on 2007-01-02 at 10:44:40
Do what Blizzard did and cheat!

Make it LOOK like the units are going into the Dropship, and use the sound of them being LOADED in the Dropship, and actually REMOVE the units. Then you can move the Dropship to the destination needed and recreate the same effect, save for UNLOADING sound, and RECREATE the units. If need-be, you can use a simple location to follow that dropship, so you don't have to have a location for each single unit.

With that method, you can actually create a 'Bottomless' Dropship wink.gif. You can make it LOOK like there is more units in it than it can actually hold.
Report, edit, etc...Posted by Pyro-Fire on 2007-01-02 at 13:10:19
try loading the units, then order the dropship to move, in the same trigger.

of courses, place a wait period between the 2 actions.

This should allow you to keep the units inside the dropship.

But i'm not too sure... perhaps check some of the blizzard campaign maps and find out how they did it.

but i am pretty confident that because the dropship has no further orders, it will just unload the units thinking it has reached its destination.
Report, edit, etc...Posted by LazyCoder on 2007-01-02 at 15:59:21
It unloads them while moving as well. What I ended up doing was, since the human player does not have shared vision with itself anyways, I just made it load the dropship in the fog of war.

I couldn't fake it because it is for one of those dropship casting systems.

Starcraft always has these sort of wierd quirks.
Report, edit, etc...Posted by Pyro-Fire on 2007-01-02 at 16:37:07
issue a load ai script...

then create a new trigger that gives the dropship to a human player when no units remain in the area.
Report, edit, etc...Posted by Falkoner on 2007-01-02 at 17:52:53
So they just hotkey their dropship before it moves into fog of war so they can use it?? very good, although it still seems strange why they kept unloading. What units were you loading in?
Report, edit, etc...Posted by Tuxedo Templar on 2007-01-02 at 19:43:48
You could give it to a neutral player if you don't want it doing that (after it finishes loading). Like player 12.
Report, edit, etc...Posted by Pyro-Fire on 2007-01-02 at 20:04:55
QUOTE(LazyCoder @ Jan 2 2007, 03:59 PM)
It unloads them while moving as well.  What I ended up doing was, since the human player does not have shared vision with itself anyways, I just made it load the dropship in the fog of war.

I couldn't fake it because it is for one of those dropship casting systems.

Starcraft always has these sort of wierd quirks.
[right][snapback]609077[/snapback][/right]


@TT: if i understand your post correctly, this would be the reason why the dropship cannot be given to a neutral player.. The desired use of the dropship is for a casting system

Anyway, What i can further suggest is that you try download the mario kart 2 UMS map, and have a look at the triggers (of course the map is protected, so use a Trigger Viewer, there should be 1 in the dldb) see how the creator did it.

I have said mario kart 2 because that is the last map that i can remember that uses this kind of casting system.
Report, edit, etc...Posted by LazyCoder on 2007-01-04 at 00:08:14
I'm using it for a password system like in Rush. I've fixed the problem now. Instead of having the computer load in the units, I just had the dropship in the fog of war while it was owned by a player, and had the player load them in. It works well because fog of war was off for the player anyways.
Next Page (1)