[Fixed] Proximity of things to walls
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
- wildweasel
- Posts: 21707
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
- Contact:
- David Ferstat
- Posts: 1113
- Joined: Wed Jul 16, 2003 8:53 am
- Location: Perth, Western Australia
- Contact:
But you have to remember that we're talking about a virtual world, wherein the physics is, indeed, weird at times.Hirogen2 wrote:Nah I mean if I had two equal cubes, they could not exist at the same position at the same time, except if there is some weird physics.
After all, in this virtual world all objects are surrounded by invisible prism-shaped fields that regulate how the objects collide with other things and scenery, where the player can run insanely fast, even while carrying insanely heavy weapons and equipment. Heck, he/she can even run faster if he/she leans in to a wall! We're talking about a world where gravity can be changed at will, and where some objects can defy gravity, again at will. (Ok, so it's not actually THEIR will.)
This world is what we make it. It lives by our rules, not necessarily the reality we're accustomed to.
My point was that in Doom, a line does not necessarily represent an object. Doom's maps may be 2-dimensional, but the engine attempts to present it in a 3-dimensional format. An object placed on a line should work because that object could simply rest on the higher floor.Hirogen2 wrote:Nah I mean if I had two equal cubes, they could not exist at the same position at the same time, except if there is some weird physics.
Now if you were referring to objects lying an a WALL, that's different.
I'd also like to point out that real world physics don't really apply in Doom. Last time I checked, there was no known way a gigantic skull could defy gravity, hurl itself at high speeds with no known form of locomotion, or continue to burn indefinately with no known source of fuel...
- Hirogen2
- Posts: 2033
- Joined: Sat Jul 19, 2003 6:15 am
- Operating System Version (Optional): Tumbleweed x64
- Graphics Processor: Intel with Vulkan/Metal Support
- Location: Central Germany
- Contact:
Well, if there is lo-grav (best zero grav), carrying heavy weapons is easy.David Ferstat wrote:But you have to remember that we're talking about a virtual world, wherein the physics is, indeed, weird at times.Hirogen2 wrote:Nah I mean if I had two equal cubes, they could not exist at the same position at the same time, except if there is some weird physics.
...
There is still reality in there.
I like how Elite Force allows for the carrying of several large weapons at once.Hirogen2 wrote:Well, if there is lo-grav (best zero grav), carrying heavy weapons is easy.David Ferstat wrote:But you have to remember that we're talking about a virtual world, wherein the physics is, indeed, weird at times.Hirogen2 wrote:Nah I mean if I had two equal cubes, they could not exist at the same position at the same time, except if there is some weird physics.
...
There is still reality in there.
"The Hazard Suit has a portable transport buffer that allows a team member to store objects in a null space and rematerialize them at anytime."
Best explaination ever.
- David Ferstat
- Posts: 1113
- Joined: Wed Jul 16, 2003 8:53 am
- Location: Perth, Western Australia
- Contact:
Yes, that was one ( of several things) that REALLY impressed me with "Star Trek Voyager: Elite Force" (a bit of a mouthful, eh?). The portable tranporter buffer was the only explanation I can recall in an FPS game for the various players' astonishing carrying capacity. The fact that it meshed perfectly with "Star Trek" established reality was, I guess, icing on the cake.
Of course, the excellent level design, animation and sound didn't hurt, either.
Of course, the excellent level design, animation and sound didn't hurt, either.
- Hirogen2
- Posts: 2033
- Joined: Sat Jul 19, 2003 6:15 am
- Operating System Version (Optional): Tumbleweed x64
- Graphics Processor: Intel with Vulkan/Metal Support
- Location: Central Germany
- Contact:
Yeah heh... if you look at it, Doom's Backpack is smaller than its rocket launcher!"The Hazard Suit has a portable transport buffer that allows a team member to store objects in a null space and rematerialize them at anytime."
Anyway, ROTT hat the best weapon management. Carry some small ones in your pockets, an MP around the body and a missile/etc weapon in your hand. Taking a look at its sprites, the pistol always was in the right hand, the mis weapon on the left
- Hirogen2
- Posts: 2033
- Joined: Sat Jul 19, 2003 6:15 am
- Operating System Version (Optional): Tumbleweed x64
- Graphics Processor: Intel with Vulkan/Metal Support
- Location: Central Germany
- Contact:
Here is a theoretical workaround: if an object occupies the same point (x,y) as a line (y=m*x+b), offset the thing one unit orthogonal to the line in the direction of the first sidedef. (That is, get the torch out of the wall with the maximum distance at a constant radius). If there is two sidedefs, well then, draw the torch on both sides.
- Hirogen2
- Posts: 2033
- Joined: Sat Jul 19, 2003 6:15 am
- Operating System Version (Optional): Tumbleweed x64
- Graphics Processor: Intel with Vulkan/Metal Support
- Location: Central Germany
- Contact:
Yeah. Read it at http://classicgaming.com/rott , which says that ROTT was #2 after Doom. It "failed" to become a popular game ONLY because of the 90 deg walls. So then.
It failed to become a popular game because it was made by lazy bastards who couldn't be bothered to spare the time or money it would require to actually develop their own engine that would compete with Doom. Instead, they made a few hacks to the (then ancient) Wolf3D engine, slapped in an excessive amount of blood and gore, a drug reference or two, and called it good. I'm sure the kiddies would have bought it up like candy if they'd had the foresight to include nudity as well. Luckily, they figured out their blunder in time for Duke Nukem 3D.Hirogen2 wrote:Yeah. Read it at http://classicgaming.com/rott , which says that ROTT was #2 after Doom. It "failed" to become a popular game ONLY because of the 90 deg walls. So then.
