HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unit Transport Question

10-09-2004, 09:51 PM#1
General Tekno
I want to make a unit that uses the alternate form (bear, crow) spell in order to land so that it can load and unload units. When it lifts off, it will be able to transport the units, but be unable to unload them.
I've given both the unit and its alternate form the "carry unit" spell that the Zepplin has, and given the landed unit the load/unload spell. However, when the unit takes off, I can still unload units by clicking on their picture. How can I disable this?
10-09-2004, 10:05 PM#2
Guest
Simply give the air unit the load ability and the goudn unit unload ability for sea transports works liek a charm
10-09-2004, 11:41 PM#3
Rampager
You can do that? I thought transport-cargo was hardcoded to load and unload regardless of what you gave it.

Strange...
10-09-2004, 11:57 PM#4
Guest
Quote:
Originally Posted by Rampager
You can do that? I thought transport-cargo was hardcoded to load and unload regardless of what you gave it.

Strange...
Its true and easy I found that out when I was messign around with the WE
10-10-2004, 02:40 AM#5
General Tekno
I think you misunderstand. I want to have 1 mode where I load and unload, and another where I cannot load or unload but move. However, when I click on the unit's picture in the cargo hold while it is in its non-loading mode, it unloads a guy. I don't want it to do that, but how do I stop it?
10-10-2004, 02:59 AM#6
Guest
Quote:
Originally Posted by General Tekno
I think you misunderstand. I want to have 1 mode where I load and unload, and another where I cannot load or unload but move. However, when I click on the unit's picture in the cargo hold while it is in its non-loading mode, it unloads a guy. I don't want it to do that, but how do I stop it?


What he's saying is the abilitys work (the load/unload thing) but the problem is that in this game another way of unloading is just clicking the unit picture... my only guess is that somehow you find a way to make it NOT unload the unit, maybe triggers to put pathing blockers on an area below the flying unit..
10-10-2004, 05:09 AM#7
Panto
I'm only operating on a guess here, but you might try using the Devour and Devour Cargo abilities, and add an Unload ability. I don't believe Devour Cargo will auto-unload a unit when you click on it in the status card.

However, you'll want to change Devour and Devour Cargo so that they allow the number of units that you want, and so that they don't damage them.

However, I don't expect you'll in any way be able to get rid of the red "debuff" color on the devoured units' icons.

If you try this out, please let me know what you did, and whether it worked.
10-10-2004, 05:49 AM#8
Guest
Well you could make it so it goes basiclly like this (at the top of my head!)


Code:
event- a unit is unloaded
condition triggering unit equal to (the thign you wanted)
action order unit to load last loaded unit
Display message DONT UNLOAD MORON!!
The message thing was just for fun =P
10-11-2004, 10:40 PM#9
General Tekno
The devour idea didnt work.
10-11-2004, 11:12 PM#10
Guest
Quote:
Originally Posted by rtm_is_back
Well you could make it so it goes basiclly like this (at the top of my head!)


Code:
event- a unit is unloaded
condition triggering unit equal to (the thign you wanted)
action order unit to load last loaded unit
Display message DONT UNLOAD MORON!!
The message thing was just for fun =P

LOOK!!!! ON MY POst (caps sorry)!!!
10-12-2004, 02:55 AM#11
Panto
That's too bad. How didn't it work? Did it let you unload units by clicking their icons? Or didn't it let you unload them with an Unload ability?
10-12-2004, 10:34 PM#12
General Tekno
It let me unload guys by clicking on them, and also only allowed 1 at once even though I changed it. And I don't think that there's an 'unit is unloaded' event.
In any case, I'm thinking now of somehow using the root spell instead, as it would fix the problem, but that will be more difficult to use as I want the unit to have a ground attack in one of its modes that you research.
10-13-2004, 02:36 AM#13
Panto
Perhaps you could make a two-level Root ability, much like Raise Dead is a two-level ability.

If you make the first level just a root with no attacks enabled, and the second level the same ability with attack 1 enabled when rooted (or whatnot), and then use the upgrade to up the level of the ability, that might work.
10-14-2004, 01:11 AM#14
General Tekno
Great idea Panto! I'll try it out, that sounds like it will work. I'll just have to use a trigger to change movement height then.
10-14-2004, 04:49 AM#15
Panto
You can also investigate whether having a set of abilities like the Hippogryph coupling might work, instead of Load.