Quote from
Mr. Happy on January 3, 2011, 2:02 am
Hey guys, I'm wondering if anyone knows, what is the classname of the portal "bullet" that flies through the air? I assume it has a name, it should be an entity even if it has no proxy or fgd for Hammer.
Hey guys, I'm wondering if anyone knows, what is the classname of the portal "bullet" that flies through the air? I assume it has a name, it should be an entity even if it has no proxy or fgd for Hammer.
I do my science from scratch.
Quote from
Whysopro? on January 3, 2011, 2:14 am
I believe bullets are not calculated with an entity. They are just a simple particle effect, as is with any other game.
I believe bullets are not calculated with an entity. They are just a simple particle effect, as is with any other game.
I hate hanging with angry people. Why live life if your not having fun ALL the time? =)
O o
/?/___________________________________
| BBBLLLLLLAAAAAAAAAAAAAAARRRGGGG!!!
\_\???????????????????????????????????
_|_
Quote from
Mr. Happy on January 3, 2011, 12:35 pm
That doesn't seem right to me, I don't think the portal gun uses a traceline like bullet weapons but rather a projectile so that impacts can be delayed until it reaches a surface. I would assume that it would be a particle effect emitted from an edict, and if there is an edict involved I should be able to filter for it's classname, but then again you may be right and there is nothing beyond the particles. But IIRC modern hard coded particle effects still use a spawned info_particle_system, can any programmers confirm any of this, or am I really SOL?
That doesn't seem right to me, I don't think the portal gun uses a traceline like bullet weapons but rather a projectile so that impacts can be delayed until it reaches a surface. I would assume that it would be a particle effect emitted from an edict, and if there is an edict involved I should be able to filter for it's classname, but then again you may be right and there is nothing beyond the particles. But IIRC modern hard coded particle effects still use a spawned info_particle_system, can any programmers confirm any of this, or am I really SOL?
I do my science from scratch.
Quote from
Whysopro? on January 3, 2011, 1:53 pm
Btw if nobody understood that...iirc means "If I remember correctly" and sol is "Shit I am out of luck"
Anyways, you could be right that it spawns a particle system but that would be hard coded into portal itself, not anywhere near hammer. If they had a mod tool to really, and I mean REALLY crack open portals binaries....then you could get a hold of it. But it wouldn't be detectable ingame or by hammer.
EDIT: I am going to do a test anyways. Ill go in third person (I think theres a way) and then turn on wireframe.
Btw if nobody understood that...iirc means "If I remember correctly" and sol is "Shit I am out of luck"
Anyways, you could be right that it spawns a particle system but that would be hard coded into portal itself, not anywhere near hammer. If they had a mod tool to really, and I mean REALLY crack open portals binaries....then you could get a hold of it. But it wouldn't be detectable ingame or by hammer.
EDIT: I am going to do a test anyways. Ill go in third person (I think theres a way) and then turn on wireframe.
I hate hanging with angry people. Why live life if your not having fun ALL the time? =)
O o
/?/___________________________________
| BBBLLLLLLAAAAAAAAAAAAAAARRRGGGG!!!
\_\???????????????????????????????????
_|_
Quote from
Whysopro? on January 3, 2011, 5:28 pm
That's what I figured as well. Seems to be the easiest and least expensive method.
That's what I figured as well. Seems to be the easiest and least expensive method.
I hate hanging with angry people. Why live life if your not having fun ALL the time? =)
O o
/?/___________________________________
| BBBLLLLLLAAAAAAAAAAAAAAARRRGGGG!!!
\_\???????????????????????????????????
_|_
Quote from
Whysopro? on January 3, 2011, 7:40 pm
EDIT: Whoops, firefox error made me send it twice.
EDIT: Whoops, firefox error made me send it twice.
I hate hanging with angry people. Why live life if your not having fun ALL the time? =)
O o
/?/___________________________________
| BBBLLLLLLAAAAAAAAAAAAAAARRRGGGG!!!
\_\???????????????????????????????????
_|_
Quote from
Whysopro? on January 3, 2011, 7:41 pm
Mevious wrote:
My guess from experience is that the "bullet" would be blocked, and that means there's something else happening in the code.
Actually no....A beam shot at a surface will go straight through any objects that move into it's path. That being said also proves hanging_ropes point. It's most likely predetermined then executed.
For instance, if you complete chamber 13 (peptic salve and adrenalin) with the standard 13s ninja method, you must shoot the portal then jump off the button which closes the door infront of your beam.
Mevious wrote:
My guess from experience is that the "bullet" would be blocked, and that means there's something else happening in the code.
Actually no....A beam shot at a surface will go straight through any objects that move into it's path. That being said also proves hanging_ropes point. It's most likely predetermined then executed.
For instance, if you complete chamber 13 (peptic salve and adrenalin) with the standard 13s ninja method, you must shoot the portal then jump off the button which closes the door infront of your beam.
I hate hanging with angry people. Why live life if your not having fun ALL the time? =)
O o
/?/___________________________________
| BBBLLLLLLAAAAAAAAAAAAAAARRRGGGG!!!
\_\???????????????????????????????????
_|_