Items in boxes

  • Thread starter Thread starter Arimus
  • Start date Start date
A

Arimus

Guest
Not sure if this has been asked before (I did a search but didn't find anything) but in the movie you see the player destroying boxes and getting the contents inside. Those items inside the boxes.....would they be spawned when the box is destroyed or would they exist in the boxes before they are destroyed?

Maybe a stupid quesiton but I was just curious.
 
God knows. I think it would be likely that they spawned.
 
spawned maybe...why would they complicate things even more? spawned is just fine

EDIT-> damnit got beaten by the dude with the g-man avatar
 
I am guessing they are spawned also but obviously the source engine is capable of this kind of detail which is awsome :) :thumbs:
 
Arimus said:
I am guessing they are spawned also but obviously the source engine is capable of this kind of detail which is awsome :) :thumbs:
but why even do it? sheesh, just make things as simple as possible
 
If they weren't spawned....would you hear them rattle around inside when moving the box with the manipulator? That would be good......
 
[sl@yer] said:
If they weren't spawned....would you hear them rattle around inside when moving the box with the manipulator? That would be good......
sheesh, all you guys want too much from games, sure, it can be done, but why even bother with something we problably wouldnt notice?
 
Tarkus said:
sheesh, all you guys want too much from games, sure, it can be done, but why even bother with something we problably wouldnt notice?

The little unimportant details do add to the immersion....but true, I wouldn't care if Valve chose to omit things like this.
 
This is pointless, who cares if there is or is not anything in those boxes when you shake them. You guys shouldn't e-mail this (if anyone was thinking about anyway), valve shouldn't however omit important stuff like HDR and fix bugs (shadow overlaying,e.t.c.)
 
lans said:
This is pointless, who cares if there is or is not anything in those boxes when you shake them. You guys shouldn't e-mail this (if anyone was thinking about anyway), valve shouldn't however omit important stuff like HDR and fix bugs (shadow overlaying,e.t.c.)

I don't think anyone was actually going to email this.....we were merely speculating. Obviously it's not important, but it's something to talk about.
 
Whoever finds Schrödinger's Cat first will get a tour of valve's secret chocolate factory...
 
The more crate bashin', the better. Wheeeeeeeeee!
 
TechnoHippyChic said:
Whoever finds Schrödinger's Cat first will get a tour of valve's secret chocolate factory...

Heh...yeah. Well I suppose quantum mechanics wouldn't be too out of place in the storyline.....
 
Not one person brought up the fact in HL1 the objects would spawn when the box was destroyed (Spawn On Break) and it will be done in hl2 otherwise the boxes would need to be hollowed.

heres proof
 
Well in the video with the crane Gordon manipulates a box and then throws it against a wall, the stuff inside was behaving under the physics of the box i.e. the bounced off the wall and back at Gordon, they just didn't drop out of thin air.
 
Arimus said:
Not sure if this has been asked before (I did a search but didn't find anything) but in the movie you see the player destroying boxes and getting the contents inside. Those items inside the boxes.....would they be spawned when the box is destroyed or would they exist in the boxes before they are destroyed?

Maybe a stupid quesiton but I was just curious.

ur question reminds me of the map op4_demise from the expansion Opposing Force in which theres one area where u can move and destroy the boxes and where ever they break is the place that a med pak and a satchel re-spawn..

so with that in mind, in HL2 i would expect something similar. :)
 
Well, according to Stryyder, it looks like they are actually in there!
I would love to hear that rattiling sound, hehe. Like guessing whats inside the present at christams. :P
 
If you throw a bardboard box out in the rain (assuming it rains in hl2) will it get soggy and fall apart if you pick it up?


Stryyder said:
Well in the video with the crane Gordon manipulates a box and then throws it against a wall, the stuff inside was behaving under the physics of the box i.e. the bounced off the wall and back at Gordon, they just didn't drop out of thin air.

^Thats because, like with anything physical simulated in hl2, objects are given momentum. Like if a badguy starts to run to the right off you and you shoot it, it'll ragdoll but continue to move right until it hits the floor.

Was that what you were saying Stry?
 
Well no. You just give the spawned object the same velocity and position as the box had and watch it move :).

if you put the object in the box its gonna cost a bit of rendering power before its filtered out.

Also I wonder how materials work with boxes is there a box material that like averages the strength of it? because if it wasnt hollow mass and density calculations would be off if you used a standard wood material.
 
Sure, hl1 boxes spawn on destruction, but this is hl2. It wouldn't be hard to make a nice wooden material box that was hollow and just put what you want in there. Wouldn't be any more complicated either.

And it is important, details are important!
 
RogueShadow said:
Sure, hl1 boxes spawn on destruction, but this is hl2. It wouldn't be hard to make a nice wooden material box that was hollow and just put what you want in there. Wouldn't be any more complicated either.

And it is important, details are important!
Yeah, I mean it's HL2!...Come on...
 
The mapper desides whats affected by physics. So according to your logic all six sides of any box would need to be seperate entities tied to eachother (group entitie=bad)
 
Ah I wish I had not gotten a job and continued programming... now I have to ask stupid questions like this lol: Could you not just have the box make a rattling sound? And when the box is broken, spawn the object inside, and change the "solid" box into the broken pieces? The only problem this might create would be the physics involving a free moving object inside of another object. If the object inside had less of a frictional coefficient than the box to the surface it was sliding on, wouldnt the object inside accelerate faster than the box, and upon hitting the inside of the box speed the box up? I'm finishing up physics in my senior year of HS now but I have not done anything like this =).
 
now if u had an option to turn polygons renderability on/off in the engine, and if you could trigger that with the Entity IO system they've got, then that might be a cheap way of doing it, but its not something I would putting in unless I had time to burn.
 
Back
Top