Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Help me know dropships
Help me know dropships
Feb 7 2009, 2:46 am
By: Norm  

Feb 7 2009, 2:46 am Norm Post #1



I looked in Staredit & Maplantis wiki and also ran a Forum search in UMS...

Can somebody instruct me on the basics of dropship inventory systems?



None.

Feb 7 2009, 3:29 am Pigy_G Post #2



Dropship inventory system involves locations that only detect units on the ground, not in the air. So when you unload a unit it detects it, but when it's in the drop it doesn't. You can do this by making a location, selecting it's properties and unchecking all of the AIR flags. The location will only detect ground units.

After you do this, simply make a bring condition and action, then follow it up with a AI script saying enter nearest transport.



None.

Feb 7 2009, 3:35 am rockz Post #3

ᴄʜᴇᴇsᴇ ɪᴛ!

Step 1:
find a map which has a dropship selection system.
I happen to have one here, but it's a stacked defense, so it no longer works properly.

Step 2:
Comprehend the triggers.

Step 3:
Mimic the triggers into your own map.

Essentially what you'll have to do is use the "enter transport" ai. If the player unloads a unit (brings unit to ground only location), tell the unit to enter the transport, and set a death count or switch to say that the action has occurred, so you can use it in future triggers. Alternatively, you can just detect the unit unloading in the trigger, but using a death count makes it much easier to make the trigger.

Attachments:
StackedHydraliskDefense.scx
Hits: 7 Size: 28.37kb



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Feb 7 2009, 5:44 am Toothfariy Post #4



i always had a problem with this system when i used hyper triggers

basically you have to detect the drop then load it up before the trigger cycle can begin again, sometimes no matter how much i ran the script it always repeated the trigger

so i just made a death counter that tells me to move the detection location away once the unit has been detected, then when no ground units are left, it moves back

i just thought u might wanna use that information when making w.e u makin, u may not have the same problems i always seem to run into tho



None.

Feb 7 2009, 1:08 pm ForTheSwarm Post #5



Did you try adding the AI script action into the item effect trigger?



None.

Feb 7 2009, 1:57 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

Well usually you set a death counter to 1 when you detect dropship unit 1, to 2 for unit 2 etc. and execute the reenter AI.
Then another trigger runs the spell and resets the dc.
When you detect a unit while the dc is still set, then just let the unit reenter without setting the dc.

Easy to understand, works flawlessly --> use it!




Feb 7 2009, 9:50 pm Falkoner Post #7



Here's a tutorial on setting location elevation, for a dropship system you just have a location that only detects ground units, or one that only detects air units, then you detect if they bring a unit to the location, if it's ground only, or you detect if they don't bring a unit to the location, if it's air only, you do your actions, then run the Enter Nearest Transport AI, to make the units go back in.

Like Nude said, you may want to set a death count, or a switch, when the unit is detected outside the dropship, that way it isn't redetected next trigger cycle before it manages to re enter the dropship, and then clear the switch/death count once it gets back inside.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: Zycorax, Roy