Talk:Prop weighted cube: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
 
Line 17: Line 17:


:: I was unaware of the RTTI, that's good to know. I originally found CPropWeightedCube in the CSGO leak which is what I was referencing. --[[User:BetweenReality|BetweenReality]] ([[User talk:BetweenReality|talk]]) 17:57, 26 October 2025 (PDT)
:: I was unaware of the RTTI, that's good to know. I originally found CPropWeightedCube in the CSGO leak which is what I was referencing. --[[User:BetweenReality|BetweenReality]] ([[User talk:BetweenReality|talk]]) 17:57, 26 October 2025 (PDT)
::: Ah, I had assumed it wasn't there because there's so little of Portal 2 in the CSGO leak.<br/>— [[User:SirYodaJedi|SirYodaJedi]] ([[User_talk:SirYodaJedi|talk]]) 18:19, 26 October 2025 (PDT)

Latest revision as of 18:19, 26 October 2025

Picture layout

Can we get the picture to drop down over the heading lines?--Henke37 14:17, 28 May 2011 (UTC)

It seems to be placed properly, what do you mean? —Mattshu 18:01, 28 May 2011 (UTC)

What's Schrödinger's Cube?

I'm assuming it's something related to quantum superposition, but I've never heard of it before, and the only search result for "Schrödinger" on this wiki is this page. Searching "Schrodinger" (with an o instead of ö) only gives 3 other pages, which don't seem to give any more information on it. Perhaps it should be explained here, or on the page for Portal 2: Community Edition. --Tiny Desk Engineer (Talk Page) 10:21, 21 June 2022 (PDT)

Acording to a P2CE developer, "it teleports lasers between two cubes", so one cube is an input, an the other the ouput i guess. --Toony17xd (talk) 12:43, 11 December 2022 (PST)

Class Hierarchy from leaked code

This is probably a question for a lot of entities but I was specifically looking at prop_weighted_cube code and realized this page has no class hierarchy. Obviously there is no official code released for this so we wouldn't know the hierarchy otherwise, but the question is if we should still add hierarchies for cases like this anyway since we technically know what they are, or if they should stay anonymous instead. Attempting to use the CD template for this entity actually somewhat works, surprisingly (where is it getting that information from?) --BetweenReality (talk) 00:12, 26 October 2025 (PDT)

Class Hierarchy information is public even with no code due to presence of RTTI in the binaries. PyClassInformer in IDA can dump these --Ficool2 (talk) 03:00, 26 October 2025 (PDT)
It's getting the information from Template:CD/superclass. Since, as Ficool mentioned, this information is obtainable w/o source code (essential here, since afaik there is no leaked code for prop_weighted_cube nvm), it should be included, because it's useful for knowing what sort of undocumented features the entities may have (either via vscript or non-FGD KVs), without bloating the entity page with shared information.
SirYodaJedi (talk) 10:37, 26 October 2025 (PDT)
I was unaware of the RTTI, that's good to know. I originally found CPropWeightedCube in the CSGO leak which is what I was referencing. --BetweenReality (talk) 17:57, 26 October 2025 (PDT)
Ah, I had assumed it wasn't there because there's so little of Portal 2 in the CSGO leak.
SirYodaJedi (talk) 18:19, 26 October 2025 (PDT)