Quote from
Whysopro? on January 4, 2011, 12:58 pm
Hmmm....so I am makin' my map in Portal 2 style, and I have watched all the media videos like 4 times so far. One thing I noticed that I was missing was the cube changing colors.
As seen in this media video: http://www.thinkwithportals.com/media_03.html, the ring of the cube changes color from blue to orange when placed on a button. My question is if that's possible with current techniques?
I was thinking I could setup the template with 2 cubes parented, one regular and one companion, then toggle visibility somehow.
Hmmm....so I am makin' my map in Portal 2 style, and I have watched all the media videos like 4 times so far. One thing I noticed that I was missing was the cube changing colors.
As seen in this media video: http://www.thinkwithportals.com/media_03.html, the ring of the cube changes color from blue to orange when placed on a button. My question is if that's possible with current techniques?
I was thinking I could setup the template with 2 cubes parented, one regular and one companion, then toggle visibility somehow.
I hate hanging with angry people. Why live life if your not having fun ALL the time? =)
O o
/?/___________________________________
| BBBLLLLLLAAAAAAAAAAAAAAARRRGGGG!!!
\_\???????????????????????????????????
_|_
As long as the 2 appearances you want to switch between are 2 skins of the same model (which they are for the standard portal storage/companion cube), you can just have the button output to "skin" of the physics prop when it it put on or taken off. Set the parameter to 1 for companion and 0 for regular.
I remember doing something something similar with a logic timer and a weighted sphere to make is light constantly pulsate.
Just keep in mind that this will work with cubes from box droppers but will happen to any cubes on the map with the same name, such as the next one in the dropper. You may be able to fix this by firing the button's output to !activator, instead of the cube's targetname.
As long as the 2 appearances you want to switch between are 2 skins of the same model (which they are for the standard portal storage/companion cube), you can just have the button output to "skin" of the physics prop when it it put on or taken off. Set the parameter to 1 for companion and 0 for regular.
I remember doing something something similar with a logic timer and a weighted sphere to make is light constantly pulsate.
Just keep in mind that this will work with cubes from box droppers but will happen to any cubes on the map with the same name, such as the next one in the dropper. You may be able to fix this by firing the button's output to !activator, instead of the cube's targetname.
I will do anything if it involves eating cake... Unless it's illegal... There's no cake in jail.