Any Cube Dropper
Posted Jul 24, 2011
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.
Registered users don’t see ads!
Register now!
Posted Jul 24, 2011
Replied
1 hour
later
maybe decompile and see how he did it.
Posted Jul 24, 2011
Replied
3 minutes
later
I tried that but I couldn't understand it.
Posted Jul 25, 2011
Replied
5 hours
later
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.
Posted Jul 25, 2011
Replied
9 hours
later
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.
Posted Jul 25, 2011
Replied
48 minutes
later
That'll only work with a reflectocube if you enable using new skins.
Posted Jul 25, 2011
Replied
46 minutes
later
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.
Posted Jul 25, 2011
Replied
47 minutes
later
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?
Registered users don’t see ads!
Register now!
Posted Jul 25, 2011
Replied
4 hours
later
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.
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.