Any Cube Dropper
Quote from Zephlon on July 24, 2011, 9:27 pmI want to have a cube dropper that will drop a cube of the user's choice (not a monster box). One button to change between the cube types showing the selected one in a glass box. And another button to drop the cube.
Basically, I want something like Portal 2 Playground's cube spawner in my level.
I want to have a cube dropper that will drop a cube of the user's choice (not a monster box). One button to change between the cube types showing the selected one in a glass box. And another button to drop the cube.
Basically, I want something like Portal 2 Playground's cube spawner in my level.
Quote from iWork925 on July 24, 2011, 10:29 pmmaybe decompile and see how he did it.
maybe decompile and see how he did it.

PortalStories.com
"Oh, in case you got covered in that repulsion gel, here's some advice the lab boys gave me: DO NOT get covered in the repulsion gel."
Quote from Skotty on July 25, 2011, 4:04 amI will create a modified instance for you.
Edit:
I uploaded it after 3 hours of work, see attachments.
You must set the same prefixname of a dropper and its previewbox with the buttons.
I will create a modified instance for you.
Edit:
I uploaded it after 3 hours of work, see attachments.
You must set the same prefixname of a dropper and its previewbox with the buttons.
Quote from Zephlon on July 25, 2011, 1:30 pmI tried using your instances, but can't get them to work.
I discovered that if I make a cube and give it an input "Skin" with a parameter override of 1, it will change into the companion cube.
I tried using your instances, but can't get them to work.
I discovered that if I make a cube and give it an input "Skin" with a parameter override of 1, it will change into the companion cube.
Quote from Vordwann on July 25, 2011, 2:18 pmThat'll only work with a reflectocube if you enable using new skins.
That'll only work with a reflectocube if you enable using new skins.
[spoiler][SP] Alternate[/spoiler]
Quote from Skotty on July 25, 2011, 3:04 pmJust put both instances (the dropper and the preview with the buttons) in your map with func_instance and set both fixup names the same! Nothing else to do.
Just put both instances (the dropper and the preview with the buttons) in your map with func_instance and set both fixup names the same! Nothing else to do.
Quote from Zephlon on July 25, 2011, 3:52 pmOne more thing, I don't want it to fizzle a cube that has been dropped. (In other words, I want to be able to drop multiple cubes.) How can I change that?
One more thing, I don't want it to fizzle a cube that has been dropped. (In other words, I want to be able to drop multiple cubes.) How can I change that?
Quote from Skotty on July 25, 2011, 8:07 pmYou can change it by changing the instance.
Open the dropper instance and remove the output "OnEndTouchAll !activator AddOutput OnUser1 !self:Dissolve" from the trigger_multiple named "Trigger" (it's the big one!). Now save the file and recompile your map. It should work.
You can change it by changing the instance.
Open the dropper instance and remove the output "OnEndTouchAll !activator AddOutput OnUser1 !self:Dissolve" from the trigger_multiple named "Trigger" (it's the big one!). Now save the file and recompile your map. It should work.