Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Dropship System?
Dropship System?
Sep 27 2009, 1:22 am
By: trillion  

Sep 27 2009, 1:22 am trillion Post #1



I have been searching everywhere and still can't find the answer. I want to make it so that whenever you drop a unit, it will enter the dropship again and spawn a unit for you. Any way to do that? If you can, can you tell me the exact triggers on how to do it..? I can't get it to work. And yes I made one location with high elevation detection and one with low elevation detection. Thanks and sorry for my bad English! :)



None.

Sep 27 2009, 1:33 am Jack Post #2

>be faceless void >mfw I have no face

http://www.staredit.net/wiki/Selection_Systems

Scroll down a bit. Basically, have a location with a dropship above, and if a terran marine (for example) comes to that location, run the Ai script that reloads it into the dropship. Then run the action that creates a unit.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Sep 27 2009, 1:40 am Kaias Post #3



Quote from name:zany_001
http://www.staredit.net/wiki/Selection_Systems

Scroll down a bit. Basically, have a location with a dropship above, and if a terran marine (for example) comes to that location, run the Ai script that reloads it into the dropship. Then run the action that creates a unit.
You forgot to mention that the location that detects the marine must have air elevation markers unchecked.



None.

Sep 27 2009, 1:43 am rockz Post #4

ᴄʜᴇᴇsᴇ ɪᴛ!

Looks like wiki isn't written yet. There's a few triggers, which I won't write out, but these are the things you need to know:

Bring 1 unit to ground only location.
Run AI Script enter transport at ground only location (doesn't have to be, but that's where the dropship is.

There are many maps which use this (rush for example), and all you need to do is open up the triggers in SCMDraft's trigedit, copy/paste into notepad, then search for the run ai script action. It should lead you eventually to the system tux used to make it.



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

Sep 27 2009, 1:44 am Jack Post #5

>be faceless void >mfw I have no face

Quote from Kaias
Quote from name:zany_001
http://www.staredit.net/wiki/Selection_Systems

Scroll down a bit. Basically, have a location with a dropship above, and if a terran marine (for example) comes to that location, run the Ai script that reloads it into the dropship. Then run the action that creates a unit.
You forgot to mention that the location that detects the marine must have air elevation markers unchecked.
He said he had two locations with different elevation.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Sep 27 2009, 1:53 am Kaias Post #6



Quote from name:zany_001
Quote from Kaias
Quote from name:zany_001
http://www.staredit.net/wiki/Selection_Systems

Scroll down a bit. Basically, have a location with a dropship above, and if a terran marine (for example) comes to that location, run the Ai script that reloads it into the dropship. Then run the action that creates a unit.
You forgot to mention that the location that detects the marine must have air elevation markers unchecked.
He said he had two locations with different elevation.
I get the feeling that you hardly know how it works. Different elevations on the same plane means nothing; he is trying to detect it loaded in the High ground and the dropped unit in the Low ground. This is completely wrong.



None.

Sep 27 2009, 1:55 am Jack Post #7

>be faceless void >mfw I have no face

I assumed he meant he had one location to detect ground, and one for the dropship. My bad if he didn't.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Sep 27 2009, 2:38 am trillion Post #8



Here's what I did. It didn't work though, I tried to drop the Zealot hero but it didn't work.

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Bring at least 1 "Thermal Visor (Zealot)" to "Dropship System (Location with air markers unchecked)".
Bring exactly 0 "USING - Thermal Visor (Observer)" to "THE GAME (Arena)" Note: Just making sure that you can only have ONE of these in the arena
Bring at least 1 "[any unit]" to "game has started (Just making sure that the arena round has begun)"

Actions:
Create Unit 1 "USING - Thermal Visor (Creating the unit)" at "P1(Centerlocationed on hero unit)" for "Current Player"
Display Text Message: "(Blank)"
Display Text Message: "THERMAL VISOR ENABLED."
Run AI Script At Location, "Enter Dropship (actually "enter transport")" at "Dropship System (Location with air markers unchecked)".
Preserve Trigger();



None.

Sep 27 2009, 2:45 am Jack Post #9

>be faceless void >mfw I have no face

You want a second location that HAS air flags checked, as well as ground ones. That would be used in the actions for the Ai script.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Sep 27 2009, 2:58 am trillion Post #10



I did but it's still not unloading the unit. :(



None.

Sep 27 2009, 3:36 am darksnow Post #11



i was udner the impression that ai scripts can only be used on computers? =O

im raelly confused



None.

Sep 27 2009, 6:37 am NudeRaider Post #12

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

Unloading the unit is done manually. The loading is done via triggers (ai script). Make sure you have walkable ground under the dropship.

Many ai scipts don't affect humans, but some (like loading dropships and bunkers) do.




Sep 27 2009, 6:42 am Jack Post #13

>be faceless void >mfw I have no face

He is already unloading manually, it's the reloading that doesn't work.

Make a test trigger that has Always as its ONLY condition, and try that.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Sep 27 2009, 6:56 am NudeRaider Post #14

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:zany_001
He is already unloading manually, it's the reloading that doesn't work.

Make a test trigger that has Always as its ONLY condition, and try that.
Quote from trillion
I did but it's still not unloading the unit. :(





Sep 27 2009, 8:26 am Jack Post #15

>be faceless void >mfw I have no face

I fail.
Quote from trillion
Here's what I did. It didn't work though, I tried to drop the Zealot hero but it didn't work.
Mate, are you unloading by clicking the zealot inside the dropship? If so, what happens? Does it come out and not load back in, or does it not come out at all?



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Sep 27 2009, 8:37 am NudeRaider Post #16

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

Is it possible that you have a 2nd trigger that always loads the units into the dropship?
Maybe it does come out when you click it but enters again so quickly that you can't see it.




Sep 27 2009, 8:42 am Jack Post #17

>be faceless void >mfw I have no face

But his trigger would still run, so his obs should appear in the arena. My guess is the terrain underneath is unplaceable, or his conditions aren't being filled.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Sep 27 2009, 3:35 pm trillion Post #18



Quote from name:zany_001
I fail.
Quote from trillion
Here's what I did. It didn't work though, I tried to drop the Zealot hero but it didn't work.
Mate, are you unloading by clicking the zealot inside the dropship? If so, what happens? Does it come out and not load back in, or does it not come out at all?

I'm unloading it by clicking on the zealot in the dropship but it's not coming out... :( The terrain under the dropship is dirt by the way. I don't know what's going on in my map XD



None.

Sep 27 2009, 3:46 pm NudeRaider Post #19

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

There is no way to prevent units from exiting a drop ship, except if there's no room or the terrain underneath is unwalkable.

So the only possible explanation I see is that there's another trigger sending the unit back into the dropship faster than you can see it. You should hear the loading/unloading sounds though.

If that doesn't lead you anywhere post the map.




Sep 27 2009, 4:59 pm theleo_ua Post #20



Quote from NudeRaider
There is no way to prevent units from exiting a drop ship, except if there's no room or the terrain underneath is unwalkable.

Players: owner of shuttle
Conditions: owner of shuttle bring 0 units to ground location under the shuttle
Actions:
Order to all shuttles owned by "owner of shuttle" at "air location of shuttle" move to "air location of shuttle"
Preserve

Players: owner of shuttle
Conditions: owner of shuttle bring at least 1 unit to "ground location under the shuttle"
Actions:
Do some needed actions like "set deaths"
Move all units owned by "owner of shuttle" at "ground location under the shuttle" to "pixel location under the shuttle" (not sure that we need this)
Run ai script "load transport" at "ground location under the shuttle"
Preserve


What do you think? Will it work?



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-5-31. : 2:36 pm]
Wing Zero -- Bop em
[2024-5-31. : 2:36 pm]
Wing Zero -- Mods
[2024-5-29. : 9:40 pm]
Ultraviolet -- :wob:
[2024-5-28. : 8:43 am]
TheHappy115 -- Yea, thats the issue. Thanks. It would also explain why my deleted map couldn't get updated. Updated version reduced collision on units (only thing added) since was dodging game (players collide with each other)
[2024-5-28. : 5:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[2024-5-28. : 5:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[2024-5-28. : 2:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
Please log in to shout.


Members Online: O)FaRTy1billion[MM], jun3hong, Roy