Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] Re-attach addons?
[SOLVED] Re-attach addons?
Jun 5 2011, 9:40 pm
By: FlashBeer  

Jun 5 2011, 9:40 pm FlashBeer Post #1



Is it possible to re-attach addons so that players can still maintain the ability to build units, or be able to disable lift-off while still being able to build units?



None.

Jun 5 2011, 9:54 pm Raitaki Post #2



...I don't quite understand. Are you asking the way to make a Terran building build its addon units after lift off, and how to prevent players from lifting off?
To prevent players from lifting off, place a location on the buildings, double click the location, uncheck "Low Ground", "Mid Ground" and "High Ground" then run a trigger to remove the building and place a new one if the player brings the building into the location.



None.

Jun 5 2011, 10:02 pm Lanthanide Post #3



Your question, or specifically what you're trying to do, is not clear.

In-game, the only way to have an addon attached to a building is to have the add-on sitting next to the building. You can't have an add-on at one part of the map, and a building in another. Once the building is lifted, any previous add-ons attached will be disabled. You can create sprite disabled buildings that prevent lift-off, however these won't be able to build units and probably can't have add-ons either. There is no other way to specifically disable add-on (maybe having the air-space above the building completely full will prevent it?)

You can however pre-place such add-ons in Scmdraft2, and you can also pre-place add-ons that are active for a specific player (normally they turn to Neutral if you lift the building). In the former case, if the player lifts the base building, the add-on will go back to nuetral. In the latter case, if they create a base building next to the add-on, and then left it, the add-on will go back to neutral.

To make a long-distance attachment in Scmdraft2:
1. Place the base building and the add-on so that the graphic attaches and the green add-on line is created
2. Select either the building, or the add-on, and press Ctrl-Arrow key to move the building by 1 tile around the map - the green line will stay and get longer, and the add-on will still show the 'attached' graphic. You can press Shift-Arrow key to move the building by 1 pixel instead of 1 tile.

To make a player-owned add-on without the base building:
1. Create just the add-on for the player
2. Under Options - Units, make sure Addon Autoplayerswap is enabled.



None.

Jun 5 2011, 11:40 pm FlashBeer Post #4



I just want the players to maintain the ability to build any type of unit— whether it's re-attaching the addon, preventing lift-off, or another method.



None.

Jun 6 2011, 4:12 am The_UrChai Post #5



Quote from FlashBeer
I just want the players to maintain the ability to build any type of unit— whether it's re-attaching the addon, preventing lift-off, or another method.
Well re-attaching the addons would be easy enough with triggers as long as the building is centered correctly in the map and by the triggers. Anti-lift off is easy. Discourage that by naming the building something like: lift-off= deaths and having some text display calling them a noob or something :P seen that in maps.



None.

Jun 6 2011, 8:28 am FlashBeer Post #6



Hmm... could have sworn before that recreating buildings didn't reconnect the addons. Maybe I did something different before. Anyway— finished is a topic, and it is.



None.

Jun 6 2011, 2:42 pm rockz Post #7

ᴄʜᴇᴇsᴇ ɪᴛ!

By the way: http://www.staredit.net/files/609/

I did just that (among other things) in this map.



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

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[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.
Please log in to shout.


Members Online: Roy